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

Method PHGetSyncItem

ogsr_engine/xrGame/entity_alive.cpp:328–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326 return inherited::PHGetSyncItemsNumber();
327}
328CPHSynchronize* CEntityAlive::PHGetSyncItem(u16 item)
329{
330 if (character_physics_support()->movement()->CharacterExist())
331 return character_physics_support()->movement()->GetSyncItem();
332 else
333 return inherited::PHGetSyncItem(item);
334}
335void CEntityAlive::PHUnFreeze()
336{
337 if (character_physics_support()->movement()->CharacterExist())

Callers 3

RestoreNetStateMethod · 0.45
SyncNetStateMethod · 0.45
OnEventMethod · 0.45

Calls 5

CharacterExistMethod · 0.80
movementMethod · 0.80
GetSyncItemMethod · 0.80
PHGetSyncItemFunction · 0.50

Tested by

no test coverage detected