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

Function ObjectExists

Source/Scripting/angelscript/asfuncs.cpp:2346–2354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2344}
2345
2346static bool ObjectExists(int id) {
2347 bool result = false;
2348
2349 if (id >= 0) {
2350 result = the_scenegraph->DoesObjectWithIdExist(id);
2351 }
2352
2353 return result;
2354}
2355
2356Object* ReadObjectFromID(int id) {
2357 Object* obj = the_scenegraph->GetObjectFromID(id);

Callers

nothing calls this directly

Calls 1

DoesObjectWithIdExistMethod · 0.80

Tested by

no test coverage detected