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

Method get_ElementByStoreOrder

ogsr_engine/xrGame/PHShell.cpp:292–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290}
291CPhysicsElement* CPHShell::get_Element(LPCSTR bone_name) { return get_Element((const shared_str&)(bone_name)); }
292CPhysicsElement* CPHShell::get_ElementByStoreOrder(u16 num)
293{
294 R_ASSERT2(num < elements.size(), "argument is out of range");
295 return cast_PhysicsElement(elements[num]);
296}
297
298CPHSynchronize* CPHShell::get_ElementSync(u16 element) { return smart_cast<CPHSynchronize*>(elements[element]); }
299

Callers 15

RestoreNetStateMethod · 0.80
net_DestroyMethod · 0.80
switch_to_freeMethod · 0.80
switchGravityMethod · 0.80
create_camera_shellFunction · 0.80
test_camera_boxFunction · 0.80
collide_cameraFunction · 0.80
PhTuneMethod · 0.80
ExitVelocityMethod · 0.80
BreakMethod · 0.80
ApplyExplosionMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by 1

test_camera_boxFunction · 0.64