![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Private Member Functions | |
| override void | OnGameplayDataHandlerSync () |
Static Private Member Functions | |
| static void | CreatePersonalLight () |
| Creates PL if it doesn't exist already. | |
| static void | SwitchPersonalLight (bool state) |
| Controls the ON/OFF switch of the Personal Light. PL will still shine only if the server allows it. | |
| static void | UpdateHitDirectionValues () |
| static void | UpdatePersonalLight () |
| Updates state of PL. | |
Static Private Attributes | |
| static ScriptedLightBase | m_PersonalLight |
| static bool | m_PersonalLightDisabledByDebug = false |
| static bool | m_PersonalLightEnabledOnCurrentServer = false |
| static bool | m_PersonalLightIsSwitchedOn = true |
Definition at line 1 of file playerbaseclient.c.
|
inlinestaticprivate |
Creates PL if it doesn't exist already.
Definition at line 9 of file playerbaseclient.c.
References g_Game, and m_PersonalLight.
Referenced by UpdatePersonalLight().
|
inlineprivate |
Definition at line 39 of file playerbaseclient.c.
References CfgGameplayHandler::GetDisablePersonalLight(), m_PersonalLightEnabledOnCurrentServer, UpdateHitDirectionValues(), and UpdatePersonalLight().
Referenced by ManBase::OnSelectPlayer().
|
inlinestaticprivate |
Controls the ON/OFF switch of the Personal Light. PL will still shine only if the server allows it.
Definition at line 49 of file playerbaseclient.c.
References g_Game, m_PersonalLightIsSwitchedOn, and UpdatePersonalLight().
|
inlinestaticprivate |
Definition at line 76 of file playerbaseclient.c.
References HitDirectionEffectBase::CheckValues().
Referenced by OnGameplayDataHandlerSync().
|
inlinestaticprivate |
Updates state of PL.
Definition at line 59 of file playerbaseclient.c.
References CreatePersonalLight(), GetCLIParam(), m_PersonalLight, m_PersonalLightDisabledByDebug, m_PersonalLightEnabledOnCurrentServer, and m_PersonalLightIsSwitchedOn.
Referenced by OnGameplayDataHandlerSync(), and SwitchPersonalLight().
|
staticprivate |
Definition at line 3 of file playerbaseclient.c.
Referenced by CreatePersonalLight(), and UpdatePersonalLight().
|
staticprivate |
Definition at line 5 of file playerbaseclient.c.
Referenced by UpdatePersonalLight().
|
staticprivate |
Definition at line 4 of file playerbaseclient.c.
Referenced by OnGameplayDataHandlerSync(), and UpdatePersonalLight().
|
staticprivate |
Definition at line 6 of file playerbaseclient.c.
Referenced by SwitchPersonalLight(), and UpdatePersonalLight().