Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
PPEMatClassParameterCommandData Class Reference

Protected Member Functions

void PPEMatClassParameterCommandData (int mat_idx, int parameter_idx, PPEClassBase parent)
void AddPriorityInfo (int priority)
 Adds 'layers' to be iterated throug.
void DbgPrnt (string text)
Param GetCurrentValues ()
 Careful, only actual values, WITHOUT string.
Param GetDefaultValues ()
 Careful, formating is such, that param1 is ALWAYS string, containing parameter name, should it be needed. Actual values follow.
override int GetParameterVarType ()
int GetParameterVarType ()
override int GetParameterVarType ()
override int GetParameterVarType ()
override void InitCuttent ()
void InitCuttent ()
override void InitCuttent ()
override void InitCuttent ()
override void InitDefaults ()
void InitDefaults ()
override void InitDefaults ()
override void InitDefaults ()
void InsertRequestData (PPERequestParamDataBase request_data)
void ModifyResultValues (inout Param result_values)
 Modifies values to be used for setter methods later in the manager update. Currently used only on PPEMatClassParameterColor, TODO!!
void PPEMatClassParameterBool (int mat_idx, int parameter_idx, PPEClassBase parent)
void PPEMatClassParameterFloat (int mat_idx, int parameter_idx, PPEClassBase parent)
void PPEMatClassParameterInt (int mat_idx, int parameter_idx, PPEClassBase parent)
void PrepareLayerInfo (int layer, bool value, int operator)
void PrepareLayerInfo (int layer, float value, int operator)
void PrepareLayerInfo (int layer, int value, int operator)
void RegisterDefaults (Param p)
 Adds name and default values from material registration, override on children to properly add for each type.
void RemovePriorityInfo (int priority)
 Currently unused; layer info gets cleared every update.
void SetMaterialIndex (int value)
void SetParameterIndex (int value)
override void SetParameterValueDefault (inout Param p_total)
 No active requests for the mat. parameter value change, sets the value to DEFAULT.
void SetParameterValueDefault (inout Param p_total)
override void SetParameterValueDefault (inout Param p_total)
 No active requests for the mat. parameter value change, sets the value to DEFAULT (zero?).
override void SetParameterValueDefault (inout Param p_total)
 No active requests for the mat. parameter value change, sets the value to DEFAULT.
void SetParent (PPEClassBase parent)
override void Update (float timeslice, out Param p_total, out bool setting_defaults, int order)
void Update (float timeslice, out Param p_total, out bool setting_defaults, int order)
override void Update (float timeslice, out Param p_total, out bool setting_defaults, int order)
override void Update (float timeslice, out Param p_total, out bool setting_defaults, int order)

Protected Attributes

PPETemplateDefBool m_Bool
ref Param m_CurrentValues
ref Param m_Defaults
ref map< int, ref array< int > > m_Dependencies
PPETemplateDefFloat m_Float
PPETemplateDefInt m_Int
ref map< int, ref array< bool, int > > m_LayerInfo
ref map< int, ref array< float, int > > m_LayerInfo
ref map< int, ref array< int, int > > m_LayerInfo
int m_MaterialIndex
int m_ParameterIndex
PPEClassBase m_Parent
ref ActiveParameterRequestsMap m_RequestMap
int m_UpdatedCount
bool m_ValueDefault
float m_ValueDefault
int m_ValueDefault
float m_ValueMax
float m_ValueMin

Private Member Functions

override int GetParameterVarType ()
override int GetParameterVarType ()
override int GetParameterVarType ()

Private Attributes

const int LAYER_INFO_OPERATOR = 1
const int LAYER_INFO_VALUE = 0
ref array< intm_CommandLayersArray

Detailed Description

Definition at line 1 of file ppematclassparameterbool.c.

Constructor & Destructor Documentation

◆ PPEMatClassParameterCommandData()

void PPEMatClassParameterCommandData ( int mat_idx,
int parameter_idx,
PPEClassBase parent )
inlineprotected

Member Function Documentation

◆ AddPriorityInfo()

void AddPriorityInfo ( int priority)
inlineprotected

Adds 'layers' to be iterated throug.

Definition at line 81 of file ppematclassparametercommanddata.c.

References m_CommandLayersArray.

Referenced by PrepareLayerInfo(), PrepareLayerInfo(), and PrepareLayerInfo().

◆ DbgPrnt()

void DbgPrnt ( string text)
inlineprotected

Definition at line 127 of file ppematclassparametercommanddata.c.

◆ GetCurrentValues()

◆ GetDefaultValues()

Param GetDefaultValues ( )
inlineprotected

Careful, formating is such, that param1 is ALWAYS string, containing parameter name, should it be needed. Actual values follow.

Definition at line 116 of file ppematclassparametercommanddata.c.

References m_Defaults.

Referenced by GetPostProcessDefaultValues().

◆ GetParameterVarType() [1/7]

override int GetParameterVarType ( )
inlineprotected

Definition at line 24 of file ppematclassparameterbool.c.

Referenced by PPEClassBase::SetFinalParameterValue().

◆ GetParameterVarType() [2/7]

int GetParameterVarType ( )
inlineprotected

Definition at line 31 of file ppematclassparametercommanddata.c.

◆ GetParameterVarType() [3/7]

override int GetParameterVarType ( )
inlineprotected

Definition at line 29 of file ppematclassparameterfloat.c.

◆ GetParameterVarType() [4/7]

override int GetParameterVarType ( )
inlineprotected

Definition at line 24 of file ppematclassparameterint.c.

◆ GetParameterVarType() [5/7]

override int GetParameterVarType ( )
inlineprivate

Definition at line 3 of file ppematclassparameterresource.c.

◆ GetParameterVarType() [6/7]

override int GetParameterVarType ( )
inlineprivate

Definition at line 3 of file ppematclassparametertexture.c.

◆ GetParameterVarType() [7/7]

override int GetParameterVarType ( )
inlineprivate

Definition at line 3 of file ppematclassparametervector.c.

◆ InitCuttent() [1/4]

override void InitCuttent ( )
inlineprotected

Definition at line 19 of file ppematclassparameterbool.c.

References m_CurrentValues, and m_ValueDefault.

Referenced by RegisterDefaults().

◆ InitCuttent() [2/4]

void InitCuttent ( )
inlineprotected

Definition at line 109 of file ppematclassparametercommanddata.c.

◆ InitCuttent() [3/4]

override void InitCuttent ( )
inlineprotected

Definition at line 24 of file ppematclassparameterfloat.c.

References m_CurrentValues, and m_ValueDefault.

◆ InitCuttent() [4/4]

override void InitCuttent ( )
inlineprotected

Definition at line 19 of file ppematclassparameterint.c.

References m_CurrentValues, and m_ValueDefault.

◆ InitDefaults() [1/4]

override void InitDefaults ( )
inlineprotected

Definition at line 13 of file ppematclassparameterbool.c.

References Class::CastTo(), m_Bool, m_Defaults, and m_ValueDefault.

Referenced by RegisterDefaults().

◆ InitDefaults() [2/4]

void InitDefaults ( )
inlineprotected

Definition at line 107 of file ppematclassparametercommanddata.c.

◆ InitDefaults() [3/4]

override void InitDefaults ( )
inlineprotected

◆ InitDefaults() [4/4]

override void InitDefaults ( )
inlineprotected

Definition at line 13 of file ppematclassparameterint.c.

References Class::CastTo(), m_Defaults, m_Int, and m_ValueDefault.

◆ InsertRequestData()

void InsertRequestData ( PPERequestParamDataBase request_data)
inlineprotected

◆ ModifyResultValues()

void ModifyResultValues ( inout Param result_values)
inlineprotected

Modifies values to be used for setter methods later in the manager update. Currently used only on PPEMatClassParameterColor, TODO!!

Definition at line 76 of file ppematclassparametercommanddata.c.

◆ PPEMatClassParameterBool()

void PPEMatClassParameterBool ( int mat_idx,
int parameter_idx,
PPEClassBase parent )
inlineprotected

Definition at line 8 of file ppematclassparameterbool.c.

References m_LayerInfo.

◆ PPEMatClassParameterFloat()

void PPEMatClassParameterFloat ( int mat_idx,
int parameter_idx,
PPEClassBase parent )
inlineprotected

Definition at line 10 of file ppematclassparameterfloat.c.

References m_LayerInfo.

◆ PPEMatClassParameterInt()

void PPEMatClassParameterInt ( int mat_idx,
int parameter_idx,
PPEClassBase parent )
inlineprotected

Definition at line 8 of file ppematclassparameterint.c.

References m_LayerInfo.

◆ PrepareLayerInfo() [1/3]

void PrepareLayerInfo ( int layer,
bool value,
int operator )
inlineprotected

Definition at line 178 of file ppematclassparameterbool.c.

References AddPriorityInfo(), and m_LayerInfo.

Referenced by Update().

◆ PrepareLayerInfo() [2/3]

void PrepareLayerInfo ( int layer,
float value,
int operator )
inlineprotected

Definition at line 227 of file ppematclassparameterfloat.c.

References AddPriorityInfo(), and m_LayerInfo.

◆ PrepareLayerInfo() [3/3]

void PrepareLayerInfo ( int layer,
int value,
int operator )
inlineprotected

Definition at line 178 of file ppematclassparameterint.c.

References AddPriorityInfo(), and m_LayerInfo.

◆ RegisterDefaults()

void RegisterDefaults ( Param p)
inlineprotected

Adds name and default values from material registration, override on children to properly add for each type.

Definition at line 100 of file ppematclassparametercommanddata.c.

References InitCuttent(), InitDefaults(), and m_Defaults.

◆ RemovePriorityInfo()

void RemovePriorityInfo ( int priority)
inlineprotected

Currently unused; layer info gets cleared every update.

Definition at line 95 of file ppematclassparametercommanddata.c.

◆ SetMaterialIndex()

void SetMaterialIndex ( int value)
inlineprotected

Definition at line 36 of file ppematclassparametercommanddata.c.

References m_MaterialIndex.

◆ SetParameterIndex()

void SetParameterIndex ( int value)
inlineprotected

Definition at line 41 of file ppematclassparametercommanddata.c.

References m_ParameterIndex.

◆ SetParameterValueDefault() [1/4]

override void SetParameterValueDefault ( inout Param p_total)
inlineprotected

No active requests for the mat. parameter value change, sets the value to DEFAULT.

Definition at line 185 of file ppematclassparameterbool.c.

References m_CurrentValues, and m_Defaults.

Referenced by Update().

◆ SetParameterValueDefault() [2/4]

void SetParameterValueDefault ( inout Param p_total)
inlineprotected

Definition at line 111 of file ppematclassparametercommanddata.c.

◆ SetParameterValueDefault() [3/4]

override void SetParameterValueDefault ( inout Param p_total)
inlineprotected

No active requests for the mat. parameter value change, sets the value to DEFAULT (zero?).

Definition at line 234 of file ppematclassparameterfloat.c.

References m_CurrentValues, and m_Defaults.

◆ SetParameterValueDefault() [4/4]

override void SetParameterValueDefault ( inout Param p_total)
inlineprotected

No active requests for the mat. parameter value change, sets the value to DEFAULT.

Definition at line 185 of file ppematclassparameterint.c.

References m_CurrentValues, and m_Defaults.

◆ SetParent()

void SetParent ( PPEClassBase parent)
inlineprotected

Definition at line 46 of file ppematclassparametercommanddata.c.

References m_Parent.

◆ Update() [1/4]

◆ Update() [2/4]

void Update ( float timeslice,
out Param p_total,
out bool setting_defaults,
int order )
inlineprotected

◆ Update() [3/4]

◆ Update() [4/4]

Field Documentation

◆ LAYER_INFO_OPERATOR

const int LAYER_INFO_OPERATOR = 1
private

Definition at line 7 of file ppematclassparametercommanddata.c.

Referenced by Update().

◆ LAYER_INFO_VALUE

const int LAYER_INFO_VALUE = 0
private

Definition at line 6 of file ppematclassparametercommanddata.c.

Referenced by Update().

◆ m_Bool

PPETemplateDefBool m_Bool
protected

Definition at line 5 of file ppematclassparameterbool.c.

Referenced by InitDefaults().

◆ m_CommandLayersArray

ref array<int> m_CommandLayersArray
private

◆ m_CurrentValues

ref Param m_CurrentValues
protected

◆ m_Defaults

ref Param m_Defaults
protected

◆ m_Dependencies

ref map<int,ref array<int> > m_Dependencies
protected

Definition at line 18 of file ppematclassparametercommanddata.c.

Referenced by Update().

◆ m_Float

PPETemplateDefFloat m_Float
protected

Definition at line 5 of file ppematclassparameterfloat.c.

Referenced by InitDefaults().

◆ m_Int

PPETemplateDefInt m_Int
protected

Definition at line 5 of file ppematclassparameterint.c.

Referenced by InitDefaults().

◆ m_LayerInfo [1/3]

◆ m_LayerInfo [2/3]

ref map<int,ref array<float,int> > m_LayerInfo
protected

Definition at line 3 of file ppematclassparameterfloat.c.

◆ m_LayerInfo [3/3]

ref map<int,ref array<int,int> > m_LayerInfo
protected

Definition at line 3 of file ppematclassparameterint.c.

◆ m_MaterialIndex

int m_MaterialIndex
protected

◆ m_ParameterIndex

int m_ParameterIndex
protected

◆ m_Parent

PPEClassBase m_Parent
protected

◆ m_RequestMap

ref ActiveParameterRequestsMap m_RequestMap
protected

◆ m_UpdatedCount

int m_UpdatedCount
protected

Definition at line 10 of file ppematclassparametercommanddata.c.

Referenced by PPEMatClassParameterCommandData().

◆ m_ValueDefault [1/3]

bool m_ValueDefault
protected

Definition at line 6 of file ppematclassparameterbool.c.

Referenced by InitCuttent(), InitDefaults(), and Update().

◆ m_ValueDefault [2/3]

float m_ValueDefault
protected

Definition at line 6 of file ppematclassparameterfloat.c.

◆ m_ValueDefault [3/3]

int m_ValueDefault
protected

Definition at line 6 of file ppematclassparameterint.c.

◆ m_ValueMax

float m_ValueMax
protected

Definition at line 8 of file ppematclassparameterfloat.c.

Referenced by InitDefaults(), and Update().

◆ m_ValueMin

float m_ValueMin
protected

Definition at line 7 of file ppematclassparameterfloat.c.

Referenced by InitDefaults(), and Update().


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