Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
PlayerBase Class Reference

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

Detailed Description

Definition at line 1 of file playerbaseclient.c.

Member Function Documentation

◆ CreatePersonalLight()

void CreatePersonalLight ( )
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().

◆ OnGameplayDataHandlerSync()

override void OnGameplayDataHandlerSync ( )
inlineprivate

◆ SwitchPersonalLight()

void SwitchPersonalLight ( bool state)
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().

◆ UpdateHitDirectionValues()

void UpdateHitDirectionValues ( )
inlinestaticprivate

Definition at line 76 of file playerbaseclient.c.

References HitDirectionEffectBase::CheckValues().

Referenced by OnGameplayDataHandlerSync().

◆ UpdatePersonalLight()

void UpdatePersonalLight ( )
inlinestaticprivate

Field Documentation

◆ m_PersonalLight

ScriptedLightBase m_PersonalLight
staticprivate

Definition at line 3 of file playerbaseclient.c.

Referenced by CreatePersonalLight(), and UpdatePersonalLight().

◆ m_PersonalLightDisabledByDebug

bool m_PersonalLightDisabledByDebug = false
staticprivate

Definition at line 5 of file playerbaseclient.c.

Referenced by UpdatePersonalLight().

◆ m_PersonalLightEnabledOnCurrentServer

bool m_PersonalLightEnabledOnCurrentServer = false
staticprivate

Definition at line 4 of file playerbaseclient.c.

Referenced by OnGameplayDataHandlerSync(), and UpdatePersonalLight().

◆ m_PersonalLightIsSwitchedOn

bool m_PersonalLightIsSwitchedOn = true
staticprivate

Definition at line 6 of file playerbaseclient.c.

Referenced by SwitchPersonalLight(), and UpdatePersonalLight().


The documentation for this class was generated from the following file: