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

Method SetWeaponHideState

ogsr_engine/xrGame/Actor_Weapon.cpp:111–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111void CActor::SetWeaponHideState(u32 State, bool bSet, bool now)
112{
113 if (g_Alive() && this == Level().CurrentControlEntity())
114 this->inventory().SetSlotsBlocked(State, bSet, now);
115}
116
117#define ENEMY_HIT_SPOT "mp_hit_sector_location"
118BOOL g_bShowHitSectors = TRUE;

Callers 14

InitMethod · 0.80
ReleaseMethod · 0.80
RestoreWeaponMethod · 0.80
HideWeaponMethod · 0.80
activateMethod · 0.80
deactivateMethod · 0.80
HideMethod · 0.80
ShowMethod · 0.80
ShowMethod · 0.80
HideMethod · 0.80
ShowMethod · 0.80
HideMethod · 0.80

Calls 3

g_AliveFunction · 0.85
CurrentControlEntityMethod · 0.80
SetSlotsBlockedMethod · 0.80

Tested by

no test coverage detected