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

Method alife_object

ogsr_engine/xrGame/GameObject.cpp:67–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67CSE_ALifeDynamicObject* CGameObject::alife_object() const
68{
69 const CALifeSimulator* sim = ai().get_alife();
70 if (sim)
71 return sim->objects().object(ID(), true);
72 return NULL;
73}
74
75void CGameObject::init()
76{

Callers 7

RestoreNetStateMethod · 0.45
SyncNetStateMethod · 0.45
ChangeConditionMethod · 0.45
net_SpawnMethod · 0.45
RestoreNetStateMethod · 0.45
SyncNetStateMethod · 0.45
set_moneyMethod · 0.45

Calls 3

IDFunction · 0.85
get_alifeMethod · 0.80
objectMethod · 0.45

Tested by

no test coverage detected