class
#include <Jazz2/Scripting/RegisterRef.h>
CScriptHandle AngelScript reference handle
Constructors, destructors, conversion operators
- CScriptHandle()
- CScriptHandle(const CScriptHandle& other)
- CScriptHandle(void* ref, asITypeInfo* type)
- ~CScriptHandle()
- CScriptHandle(void* ref, int typeId) protected
Public functions
- auto operator=(const CScriptHandle& other) -> CScriptHandle&
- void Set(void* ref, asITypeInfo* type)
- auto operator==(const CScriptHandle& o) const -> bool
- auto operator!=(const CScriptHandle& o) const -> bool
- auto Equals(void* ref, int typeId) const -> bool
- void Cast(void** outRef, int typeId)
- auto GetType() const -> asITypeInfo*
- auto GetTypeId() const -> int
- auto GetRef() -> void*
- void EnumReferences(asIScriptEngine* engine)
- void ReleaseReferences(asIScriptEngine* engine)
Protected functions
- void ReleaseHandle()
- void AddRefHandle()
- auto Assign(void* ref, int typeId) -> CScriptHandle&
Protected variables
Friends
- void Construct(CScriptHandle* self, void* ref, int typeId)
- void RegisterRef(asIScriptEngine* engine)
- Registers
ref
type to AngelScript engine.