MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / GetLabel

Function GetLabel

Source/Scripting/angelscript/asfuncs.cpp:2673–2682  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2671}
2672
2673std::string GetLabel(Object* obj) {
2674 switch (obj->GetType()) {
2675 case _env_object:
2676 return ((EnvObject*)obj)->GetLabel();
2677 break;
2678 default:
2679 return "";
2680 break;
2681 }
2682}
2683
2684void ASUpdateScriptParams(Object* obj) {
2685 obj->UpdateScriptParams();

Callers

nothing calls this directly

Calls 2

GetLabelMethod · 0.80
GetTypeMethod · 0.45

Tested by

no test coverage detected