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

Method Hide

ogsr_engine/xrGame/Weapon.cpp:2037–2049  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2035}
2036
2037void CWeapon::Hide(bool now)
2038{
2039 if (now)
2040 {
2041 OnStateSwitch(eHidden, GetState());
2042 SetState(eHidden);
2043 StopHUDSounds();
2044 }
2045 else
2046 SwitchState(eHiding);
2047
2048 OnZoomOut();
2049}
2050
2051void CWeapon::Show(bool now)
2052{

Callers 8

ActivateMethod · 0.45
ScreenshotMethod · 0.45
ExecuteMethod · 0.45
ExecuteMethod · 0.45
ExecuteMethod · 0.45
start_logo_introMethod · 0.45
StopMenuMethod · 0.45
CleanInternalsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected