DayZ 1.24
Loading...
Searching...
No Matches
GEWidgetsMetaData.c
Go to the documentation of this file.
1/*
2 TODO - doxygen formating
3*/
4
7{
9 int m_Type;
12
14 {
15 m_WidgetArray = input;
16 m_Type = type;
17 m_WidgetSetIdentifier = type;
18
19 if (user_override != -1)
20 m_WidgetSetIdentifier = user_override;
21 }
22
24 {
25 m_WidgetArray = input;
26 m_Type = type;
27 m_WidgetSetIdentifier = type;
28 m_LayoutRoot = layout_root;
29
30 if (user_override != -1)
31 m_WidgetSetIdentifier = user_override;
32 }
33
35 {
36 return m_WidgetArray;
37 }
38
40 {
41 return m_Type;
42 }
43
45 {
46 return m_WidgetSetIdentifier;
47 }
48
51 {
52 return false;
53 }
54
56 {
57 return true;
58 }
59
60 void UpdateVisibility(bool state) {}
62 void Update(float timeSlice = 0, Param p = null, int handle = -1) {}
63 void ForceStop();
64}
65
67{
70
71 protected float m_SaturationMultiplier;//TODO ?
72
74 {
78
79 for (int i = 0; i < input.Count(); i++)
80 {
81 if (Class.CastTo(w, input.Get(i)))
82 m_OriginalColors.Insert(w.GetColor());
83 }
84
86 }
87
92
94 {
96 }
97}
98
eBleedingSourceType m_Type
float m_SaturationMultiplier
map< int, ref GameplayEffectsData > GameplayEffectDataMap
void GameplayEffectsDataImage(array< ref Widget > input, int type, int user_override=-1)
ref array< int > m_CurrentColors
class GameplayEffectsData extends Managed m_OriginalColors
float GetSaturationMultiplier()
void SetSaturationMultiplier(float value)
Super root of all classes in Enforce script.
Definition EnScript.c:11
Manages all bleeding indicators and their updates.
TODO doc.
Definition EnScript.c:118
void GameplayEffectsData(array< ref Widget > input, int type, int user_override=-1)
int m_WidgetSetIdentifier
void UpdateVisibility(bool state)
int GetWidgetSetID()
array< ref Widget > GetWidgetSet()
Widget m_LayoutRoot
void Update(float timeSlice=0, Param p=null, int handle=-1)
int GetWidgetSetType()
void ForceStop()
bool DataInitialized()
bool HasDefinedHandle()
Returns 'true' if this class contains update info.
void RegisterData(Param p)
void Init(array< ref Widget > input, int type, Widget layout_root, int user_override=-1)
ref array< ref Widget > m_WidgetArray
Base Param Class with no parameters. Used as general purpose parameter overloaded with Param1 to Para...
Definition param.c:12
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.