PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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 UpdatePersonalLight ()
 Updates state of PL.
 
static void UpdateHitDirectionValues ()
 

Static Private Attributes

static ScriptedLightBase m_PersonalLight
 
static bool m_PersonalLightEnabledOnCurrentServer = false
 
static bool m_PersonalLightDisabledByDebug = false
 
static bool m_PersonalLightIsSwitchedOn = true
 

Member Function Documentation

◆ CreatePersonalLight()

static void CreatePersonalLight ( )
inlinestaticprivate

Creates PL if it doesn't exist already.

References GetGame().

◆ OnGameplayDataHandlerSync()

override void OnGameplayDataHandlerSync ( )
inlineprivate

◆ SwitchPersonalLight()

static void SwitchPersonalLight ( bool  state)
inlinestaticprivate

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

References GetGame().

◆ UpdateHitDirectionValues()

static void UpdateHitDirectionValues ( )
inlinestaticprivate

◆ UpdatePersonalLight()

static void UpdatePersonalLight ( )
inlinestaticprivate

Updates state of PL.

References GetCLIParam().

Field Documentation

◆ m_PersonalLight

ScriptedLightBase m_PersonalLight
staticprivate

◆ m_PersonalLightDisabledByDebug

bool m_PersonalLightDisabledByDebug = false
staticprivate

◆ m_PersonalLightEnabledOnCurrentServer

bool m_PersonalLightEnabledOnCurrentServer = false
staticprivate

◆ m_PersonalLightIsSwitchedOn

bool m_PersonalLightIsSwitchedOn = true
staticprivate

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