MCPcopy Create free account
hub / github.com/anjo76/angelscript / GetPropertyTypeId

Method GetPropertyTypeId

sdk/angelscript/source/as_scriptobject.cpp:780–786  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

778}
779
780int asCScriptObject::GetPropertyTypeId(asUINT prop) const
781{
782 if( prop >= objType->properties.GetLength() )
783 return asINVALID_ARG;
784
785 return objType->engine->GetTypeIdFromDataType(objType->properties[prop]->type);
786}
787
788const char *asCScriptObject::GetPropertyName(asUINT prop) const
789{

Callers 2

ifFunction · 0.80
TestFunction · 0.80

Calls 2

GetTypeIdFromDataTypeMethod · 0.80
GetLengthMethod · 0.45

Tested by 1

TestFunction · 0.64