class
ScriptReflectableWrapper
Provides a base class for all script object wrappers that wrap an IReflectable object that may be passed as a shared pointer.
Public
Methods
IsNativeObjectValid
Checks is the native object alive and valid.
staticGetOrCreateScriptObject
Attempts to retrieve an existing associated script object from the provided native object.
If one doesn't exist, a new script object and the associated script wrapper will be created.
Unlike GetOrCreateScriptObject implemented on TScriptReflectableWrapper, this always accepts the object as an IReflectable, and needs to perform type lookup to get the exact script wrapper type.
staticGetScriptObjectWrapper
Returns the script object wrapper associated with the provided script object, and wrapped by a wrapper that owns the provided meta-data.
Protected
Methods
NotifyNativeObjectDestroyed
Notifies the wrapper that the native object it is managing is about to be destroyed.