Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
198
void CTorch::Switch()
199
{
200
bool bActive = !m_switched_on;
201
Switch(bActive);
202
}
203
204
void CTorch::Switch(bool light_on)
205
{
Callers
10
DeviceUpdate
Method · 0.45
DeviceUpdate
Method · 0.45
bfAssignObject
Method · 0.45
IR_OnKeyboardPress
Method · 0.45
use_Holder
Method · 0.45
DeviceUpdate
Method · 0.45
DoorSwitch
Method · 0.45
switch_torch
Method · 0.45
SwitchTorch
Method · 0.45
bfAssignObject
Method · 0.45
Calls
10
H_Parent
Function · 0.85
Visual
Function · 0.85
g_Alive
Method · 0.80
Position
Method · 0.80
HUDview
Method · 0.80
LL_BoneID
Method · 0.80
LL_SetBoneVisible
Method · 0.80
empty
Method · 0.45
set_active
Method · 0.45
CalculateBones
Method · 0.45
Tested by
no test coverage detected