MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / get_object

Function get_object

ogsr_engine/xrGame/level_script.cpp:935–942  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

933}
934
935DBG_ScriptObject* get_object(u16 id)
936{
937 xr_map<u16, DBG_ScriptObject*>::iterator it = Level().getScriptRenderQueue()->find(id);
938 if (it == Level().getScriptRenderQueue()->end())
939 return nullptr;
940
941 return it->second;
942}
943
944void remove_object(u16 id)
945{

Callers 5

remove_objectFunction · 0.85
raiseMethod · 0.85
keepMethod · 0.85
loadMethod · 0.85
CSavedGameWrapperMethod · 0.85

Calls 3

getScriptRenderQueueMethod · 0.80
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected