Type

Angelscript type info

Constructors

this
this(ScriptEngine engine, asITypeInfo* info)

Undocumented in source.

this
this(ScriptEngine engine, Module mod, asITypeInfo* info)

Undocumented in source.

Destructor

~this
~this()

Undocumented in source.

Members

Functions

addRef
int addRef()

Add a reference to this type

derivesFrom
bool derivesFrom(Type other)

Gets whether this type derives from the specified other type

getAccessMask
asDWORD getAccessMask()

Gets this type's access mask

getBaseType
Type getBaseType()

Gets this type's base type

getConfigGroup
string getConfigGroup()

Gets the config group this type belongs to

getEngine
ScriptEngine getEngine()

Gets the scripting engine this type belongs to

getFlags
asDWORD getFlags()

Gets this type's flags

getInterface
Type getInterface(asUINT index)

Gets the interface at the specified index

getInterfaceCount
asUINT getInterfaceCount()

Gets the amount of interfaces this type implements

getModule
Module getModule()

Gets the module this type belongs to

getName
string getName()

Gets the name of this type

getNamespace
string getNamespace()

Gets this type's namespace

getSize
asUINT getSize()

Gets the size in bytes of this type

getSubType
Type getSubType(asUINT subtypeIndex)

Gets the subtype by its index

getSubTypeCount
asUINT getSubTypeCount()

Gets the amount of subtypes this type has

getSubTypeId
int getSubTypeId(asUINT subtypeIndex)

Gets the id the specified subtype

getTypeId
int getTypeId()

Gets this type's type id

implements
bool implements(Type other)

Gets whether this type implements the specified interface

release
int release()

Release a reference from this type

Variables

info
asITypeInfo* info;

Undocumented in source.

Meta