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

Function alife_object

ogsr_engine/xrGame/alife_simulator_script.cpp:49–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47CALifeSimulator* alife() { return (const_cast<CALifeSimulator*>(ai().get_alife())); }
48
49CSE_ALifeDynamicObject* alife_object(const CALifeSimulator* self, ALife::_OBJECT_ID object_id)
50{
51 VERIFY(self);
52 return (self->objects().object(object_id, true));
53}
54
55bool valid_object_id(const CALifeSimulator* self, ALife::_OBJECT_ID object_id)
56{

Callers 4

net_SpawnMethod · 0.85
ScopeRespawnMethod · 0.85
net_SpawnMethod · 0.85
net_SpawnMethod · 0.85

Calls 5

name_replaceMethod · 0.80
xr_strcmpFunction · 0.50
objectMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected