MCPcopy Create free account
hub / github.com/MayaPosch/NymphCast / GetObjectType

Method GetObjectType

src/server/angelscript/angelscript/source/as_module.cpp:1593–1602  ·  view source on GitHub ↗

internal

Source from the content-addressed store, hash-verified

1591
1592// internal
1593asCObjectType *asCModule::GetObjectType(const char *type, asSNameSpace *ns) const
1594{
1595 asSMapNode<asSNameSpaceNamePair, asCTypeInfo*>* result = nullptr;
1596 if(m_typeLookup.MoveTo(&result, {ns, type}))
1597 {
1598 return CastToObjectType(result->value);
1599 }
1600
1601 return 0;
1602}
1603
1604// internal
1605asCGlobalProperty *asCModule::AllocateGlobalProperty(const char *propName, const asCDataType &dt, asSNameSpace *ns)

Callers 11

CallOnThinkMethod · 0.45
CallOnMessageMethod · 0.45
AdjustGetOffsetMethod · 0.45
PerformFunctionCallMethod · 0.45
CreateDelegateMethod · 0.45
RefCastObjectMethod · 0.45
GetThisTypeIdMethod · 0.45
ifFunction · 0.45
PrintValueMethod · 0.45
AddExtraObjectToStoreMethod · 0.45
StoreMethod · 0.45

Calls 2

CastToObjectTypeFunction · 0.85
MoveToMethod · 0.80

Tested by

no test coverage detected