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

Method Switch

ogsr_engine/xrGame/Torch.cpp:198–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198void CTorch::Switch()
199{
200 bool bActive = !m_switched_on;
201 Switch(bActive);
202}
203
204void CTorch::Switch(bool light_on)
205{

Callers 10

DeviceUpdateMethod · 0.45
DeviceUpdateMethod · 0.45
bfAssignObjectMethod · 0.45
IR_OnKeyboardPressMethod · 0.45
use_HolderMethod · 0.45
DeviceUpdateMethod · 0.45
DoorSwitchMethod · 0.45
switch_torchMethod · 0.45
SwitchTorchMethod · 0.45
bfAssignObjectMethod · 0.45

Calls 10

H_ParentFunction · 0.85
VisualFunction · 0.85
g_AliveMethod · 0.80
PositionMethod · 0.80
HUDviewMethod · 0.80
LL_BoneIDMethod · 0.80
LL_SetBoneVisibleMethod · 0.80
emptyMethod · 0.45
set_activeMethod · 0.45
CalculateBonesMethod · 0.45

Tested by

no test coverage detected