Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
playerlightmanager.c File Reference

Go to the source code of this file.

Data Structures

class  ActionTargetLighSource

Functions

void AddLightSource (Object object)
ref array< ref ActionTargetGetLightSourceList ()
int GetSelectedLightSourceIdx ()
ref ActionTarget GetSelectedLightSourceTarget ()
void PlayerLightManager (PlayerBase player)
void RemoveLightSource (Object object)
void SelectLightSourceTarget (ActionTarget target)
void SetSelectedLightSourceIdx (int value)
void UpdateLightSourceList ()

Variables

ref ActionTargetLighSource m_LightItemTarget
PlayerBase m_Player
ActionTargetLighSource m_SelectedLightSource
ref array< ref ActionTargetm_ValidLightItems

Function Documentation

◆ AddLightSource()

void AddLightSource ( Object object)

Definition at line 22 of file playerlightmanager.c.

References m_LightItemTarget, UpdateLightSourceList(), and vector::Zero.

◆ GetLightSourceList()

ref array< ref ActionTarget > GetLightSourceList ( )

Definition at line 50 of file playerlightmanager.c.

References m_ValidLightItems.

◆ GetSelectedLightSourceIdx()

int GetSelectedLightSourceIdx ( )

Definition at line 60 of file playerlightmanager.c.

References m_SelectedLightSource.

◆ GetSelectedLightSourceTarget()

ref ActionTarget GetSelectedLightSourceTarget ( )

Definition at line 71 of file playerlightmanager.c.

References ActionTarget, m_SelectedLightSource, and m_ValidLightItems.

◆ PlayerLightManager()

void PlayerLightManager ( PlayerBase player)

Definition at line 14 of file playerlightmanager.c.

References m_LightItemTarget, and m_ValidLightItems.

◆ RemoveLightSource()

void RemoveLightSource ( Object object)

Definition at line 28 of file playerlightmanager.c.

References m_LightItemTarget, UpdateLightSourceList(), and vector::Zero.

◆ SelectLightSourceTarget()

void SelectLightSourceTarget ( ActionTarget target)

Definition at line 65 of file playerlightmanager.c.

References ActionTarget, m_ValidLightItems, and SetSelectedLightSourceIdx().

◆ SetSelectedLightSourceIdx()

void SetSelectedLightSourceIdx ( int value)

Definition at line 55 of file playerlightmanager.c.

References m_SelectedLightSource.

Referenced by SelectLightSourceTarget().

◆ UpdateLightSourceList()

void UpdateLightSourceList ( )

Definition at line 35 of file playerlightmanager.c.

References m_LightItemTarget, and m_ValidLightItems.

Referenced by AddLightSource(), and RemoveLightSource().

Variable Documentation

◆ m_LightItemTarget

◆ m_Player

Definition at line 12 of file playerlightmanager.c.

◆ m_SelectedLightSource

◆ m_ValidLightItems