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

Method DestroyObject

ogsr_engine/xrGame/GameObject.cpp:803–814  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

801}
802
803void CGameObject::DestroyObject()
804{
805 if (m_bObjectRemoved)
806 return;
807 m_bObjectRemoved = true;
808 if (getDestroy())
809 return;
810
811 NET_Packet P;
812 u_EventGen(P, GE_DESTROY, ID());
813 u_EventSend(P);
814}
815
816void CGameObject::shedule_Update(u32 dt)
817{

Callers 10

AttachMethod · 0.45
UpdateMethod · 0.45
RepackAmmoMethod · 0.45
AttachMethod · 0.45
ExitContactCallbackMethod · 0.45
UpdateActivationMethod · 0.45
OnAfterExplosionMethod · 0.45
sell_useless_itemsMethod · 0.45
SheduleUpdateMethod · 0.45
CALifeSimulator__releaseFunction · 0.45

Calls 2

getDestroyFunction · 0.85
IDFunction · 0.85

Tested by

no test coverage detected