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

Method GetMetadataForFunc

sdk/add_on/scriptbuilder/scriptbuilder.cpp:1090–1100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1088}
1089
1090vector<string> CScriptBuilder::GetMetadataForFunc(asIScriptFunction *func)
1091{
1092 if( func )
1093 {
1094 map<int,vector<string> >::iterator it = funcMetadataMap.find(func->GetId());
1095 if( it != funcMetadataMap.end() )
1096 return it->second;
1097 }
1098
1099 return vector<string>();
1100}
1101
1102vector<string> CScriptBuilder::GetMetadataForVar(int varIdx)
1103{

Callers 1

TestFunction · 0.80

Calls 3

findMethod · 0.80
GetIdMethod · 0.80
endMethod · 0.80

Tested by 1

TestFunction · 0.64