MCPcopy Create free account
hub / github.com/alliedmodders/sourcemod / getType

Method getType

extensions/structs/Struct.cpp:48–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48bool StructInfo::getType( const char *member, MemberType*type )
49{
50 MemberInfo **pInfo = members.retrieve(member);
51
52 if (pInfo == NULL)
53 {
54 return false;
55 }
56
57 *type = (*pInfo)->type;
58
59 return true;
60}
61
62bool StructInfo::getSize( const char *member, int *size )
63{

Callers 12

GetIntMethod · 0.80
GetFloatMethod · 0.80
SetIntMethod · 0.80
SetFloatMethod · 0.80
IsPointerNullMethod · 0.80
setPointerNullMethod · 0.80
GetVectorMethod · 0.80
SetVectorMethod · 0.80
GetStringMethod · 0.80
SetStringMethod · 0.80
GetEHandleMethod · 0.80
SetEHandleMethod · 0.80

Calls 1

retrieveMethod · 0.45

Tested by

no test coverage detected