DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ SwitchPersonalLight()

static void PlayerBase::SwitchPersonalLight ( bool state)
inlinestaticprivate

Controls the ON/OFF switch of the Personal Light. PL will still shine only if the server allows it.

См. определение в файле PlayerBaseClient.c строка 49

50 {
51 if ( !GetGame().IsServer() || !GetGame().IsMultiplayer() )
52 {
55 }
56 }
static bool m_PersonalLightIsSwitchedOn
Определения PlayerBaseClient.c:6
static void UpdatePersonalLight()
Updates state of PL.
Определения PlayerBaseClient.c:59
proto native CGame GetGame()

Перекрестные ссылки GetGame(), m_PersonalLightIsSwitchedOn и UpdatePersonalLight().