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

Method HideWeapon

ogsr_engine/xrGame/script_game_object_inventory_owner.cpp:871–871  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

869void CScriptGameObject::RestoreWeapon() { Actor()->SetWeaponHideState(INV_STATE_BLOCK_ALL, false); }
870
871void CScriptGameObject::HideWeapon() { Actor()->SetWeaponHideState(INV_STATE_BLOCK_ALL, true); }
872
873int CScriptGameObject::animation_slot() const
874{

Callers

nothing calls this directly

Calls 2

ActorFunction · 0.85
SetWeaponHideStateMethod · 0.80

Tested by

no test coverage detected