what does Player.opened return?
Posted: Wed Nov 18, 2020 6:47 pm
When calling LuaControl.opened the documentation says that LuaEntity or LuaItemStack or LuaEquipment or LuaEquipmentGrid or LuaPlayer or LuaGuiElement or defines.gui_type could be returned.
Is there an elegant way to get the actual runtime type from the returned object?
Is there an elegant way to get the actual runtime type from the returned object?