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

Method PHCapture

ogsr_engine/xrGame/PhysicsShellHolder.cpp:476–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474}
475
476CPHCapture* CPhysicsShellHolder::PHCapture()
477{
478 CCharacterPhysicsSupport* ph_sup = character_physics_support();
479 if (!ph_sup)
480 return nullptr;
481 CPHMovementControl* mov = ph_sup->movement();
482 if (!mov)
483 return nullptr;
484 return mov->PHCapture();
485}
486
487bool CPhysicsShellHolder::IsInventoryItem() { return !!cast_inventory_item(); }
488

Callers 15

shedule_UpdateMethod · 0.45
GetCarryWeightMethod · 0.45
ActorUseMethod · 0.45
CanAccelerateMethod · 0.45
CanJumpMethod · 0.45
in_NetRelcaseMethod · 0.45
initializeMethod · 0.45
finalizeMethod · 0.45
critical_finalizeMethod · 0.45
check_completionMethod · 0.45
finalizeMethod · 0.45

Calls 2

movementMethod · 0.80

Tested by

no test coverage detected