DayZ 1.24
Loading...
Searching...
No Matches
PlayerLightManager.c
Go to the documentation of this file.
1class ActionTargetLighSource : ActionTarget
2{
3 bool m_Remove;
4}
5
6//WIP
8{
13
20
21 // can be anything, as long as it has appropriate actions for handling lights, see Mich2001Helmet
23 {
26 }
27
29 {
31 m_LightItemTarget.m_Remove = true;
33 }
34
36 {
38 {
39 if (!m_LightItemTarget.m_Remove)
41 else
43 }
44 }
45
50
55
60
61 void SelectLightSourceTarget(ActionTarget target) //should be ActionTarget?
62 {
63 int idx = m_ValidLightItems.Find(target);
65 }
66
71};
DayZPlayer m_Player
Definition Hand_Events.c:42
void SetSelectedLightSourceIdx(int value)
void SelectLightSourceTarget(ActionTarget target)
ref array< ref ActionTarget > m_ValidLightItems
ref ActionTarget GetSelectedLightSourceTarget()
ActionTargetLighSource m_SelectedLightSource
ref ActionTargetLighSource m_LightItemTarget
void PlayerLightManager(PlayerBase player)
void UpdateLightSourceList()
int GetSelectedLightSourceIdx()
void AddLightSource(Object object)
void RemoveLightSource(Object object)
ref array< ref ActionTarget > GetLightSourceList()
static const vector Zero
Definition EnConvert.c:110