struct
ScriptTypeMetaData
Contains information about a class exported to script.
Public
Constructors
ScriptTypeMetaData
ScriptTypeMetaData() noexcept(false) = default
ScriptTypeMetaData
ScriptTypeMetaData(const char *assembly, const char *nameSpace, const char *typeName, std::function<void ()> setupScriptBindingsCallback)
Fields
Identifier
MonoTypeIdentifier Identifier
TypeId
u32 TypeId
RTTI ID of the native object.
CreateCallbackType
ScriptWrapperCreateCallbackType CreateCallbackType
Specifies which of the callbacks in the *CreateCallback union is valid.
GetScriptExportable
IScriptExportable *(*)(IReflectable *) GetScriptExportable
SetupScriptBindingsCallback
std::function<void ()> SetupScriptBindingsCallback
Callback that will be triggered when assembly containing the class is loaded or refreshed.
Used for initialization of script bindings for the type.
ScriptClass
MonoClass * ScriptClass
Class object describing the script class.
Only valid after assembly containing this type was loaded.
ScriptObjectWrapperPointerField
MonoField * ScriptObjectWrapperPointerField
Field object that contains a native pointer to the script object wrapper.
Only valid after assembly containing this type was loaded.