DayZ 1.24
Loading...
Searching...
No Matches
GEWidgetsMetaData.c File Reference

Go to the source code of this file.

Classes

class  Managed
 TODO doc. More...
 

Typedefs

typedef map< int, ref GameplayEffectsDataGameplayEffectDataMap
 

Functions

void GameplayEffectsDataImage (array< ref Widget > input, int type, int user_override=-1)
 
void SetSaturationMultiplier (float value)
 
float GetSaturationMultiplier ()
 

Variables

class GameplayEffectsData extends Managed m_OriginalColors
 
ref array< intm_CurrentColors
 
float m_SaturationMultiplier
 

Typedef Documentation

◆ GameplayEffectDataMap

Function Documentation

◆ GameplayEffectsDataImage()

void GameplayEffectsDataImage ( array< ref Widget > input,
int type,
int user_override = -1 )
protected

Definition at line 73 of file GEWidgetsMetaData.c.

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 }
ref array< int > m_CurrentColors
class GameplayEffectsData extends Managed m_OriginalColors
Super root of all classes in Enforce script.
Definition EnScript.c:11
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.

References Class::CastTo(), m_CurrentColors, and m_OriginalColors.

Referenced by GameplayEffectWidgets_base::InitWidgetSet().

◆ GetSaturationMultiplier()

float GetSaturationMultiplier ( )
protected

Definition at line 93 of file GEWidgetsMetaData.c.

94 {
96 }
float m_SaturationMultiplier

References m_SaturationMultiplier.

◆ SetSaturationMultiplier()

void SetSaturationMultiplier ( float value)
protected

Definition at line 88 of file GEWidgetsMetaData.c.

89 {
91 }

References m_SaturationMultiplier.

Variable Documentation

◆ m_CurrentColors

ref array<int> m_CurrentColors

Definition at line 69 of file GEWidgetsMetaData.c.

Referenced by GameplayEffectsDataImage().

◆ m_OriginalColors

◆ m_SaturationMultiplier

float m_SaturationMultiplier
protected

Definition at line 71 of file GEWidgetsMetaData.c.

Referenced by GetSaturationMultiplier(), and SetSaturationMultiplier().