DayZ 1.24
Loading...
Searching...
No Matches
PPERequestParamDataBase Class Reference

Data for one material parameter, requester side. More...

Collaboration diagram for PPERequestParamDataBase:
[legend]

Protected Member Functions

void PPERequestParamDataBase (int requester_idx, int mat_id, int param_id, int data_type=0, int priority=0, int mask=PPOperators.SET)
 
void InitValues ()
 
void SetUpdatingDataValues (bool state)
 
bool GetUpdatingDataValues ()
 
void SetDataActive (bool state)
 
bool IsDataActive ()
 
void SetSettingDefaultValues (bool state)
 
bool IsSettingDefaultValues ()
 
int GetRequesterIDX ()
 
int GetMaterialID ()
 
int GetParameterID ()
 
int GetVarType ()
 
void SetInteractionMask (int mask)
 
int GetInteractionMask ()
 
void SetPriorityLayer (int priority)
 
int GetPriorityLayer ()
 

Protected Attributes

bool m_UpdatingDataValues
 
bool m_IsActive
 
bool m_SettingDefaultValues
 
int m_MaterialID
 
int m_ParameterID
 
int m_VariableType
 
int m_RequesterIDX
 
int m_InteractionMask
 
int m_Priority
 

Private Member Functions

void PPERequestParamDataInt (int requester_idx, int mat_id, int param_id, int data_type=0, int priority=0, int mask=PPOperators.SET, bool relative=false)
 
void PPERequestParamDataColor (int requester_idx, int mat_id, int param_id, int data_type=0, int priority=0, int mask=PPOperators.SET, bool relative=false)
 
override void InitValues ()
 

Private Attributes

PPERequesterBase m_Requester
 
int m_IntTarget
 
int m_IntCurrent
 
int m_IntLast
 
ref array< floatm_ColorTarget
 
ref array< floatm_ColorCurrent
 
ref array< floatm_ColorLast
 
ref array< floatm_ColorFormerTarget
 
ref array< floatm_ColorStart
 

Detailed Description

Data for one material parameter, requester side.

Definition at line 2 of file PPERequestData.c.

Constructor & Destructor Documentation

◆ PPERequestParamDataBase()

void PPERequestParamDataBase::PPERequestParamDataBase ( int requester_idx,
int mat_id,
int param_id,
int data_type = 0,
int priority = 0,
int mask = PPOperators.SET )
inlineprotected

Member Function Documentation

◆ GetInteractionMask()

int PPERequestParamDataBase::GetInteractionMask ( )
inlineprotected

Definition at line 89 of file PPERequestData.c.

90 {
91 return m_InteractionMask;
92 }

References m_InteractionMask.

◆ GetMaterialID()

int PPERequestParamDataBase::GetMaterialID ( )
inlineprotected

Definition at line 69 of file PPERequestData.c.

70 {
71 return m_MaterialID;
72 }

References m_MaterialID.

◆ GetParameterID()

int PPERequestParamDataBase::GetParameterID ( )
inlineprotected

Definition at line 74 of file PPERequestData.c.

75 {
76 return m_ParameterID;
77 }

References m_ParameterID.

◆ GetPriorityLayer()

int PPERequestParamDataBase::GetPriorityLayer ( )
inlineprotected

Definition at line 99 of file PPERequestData.c.

100 {
101 return m_Priority;
102 }

References m_Priority.

◆ GetRequesterIDX()

int PPERequestParamDataBase::GetRequesterIDX ( )
inlineprotected

Definition at line 64 of file PPERequestData.c.

65 {
66 return m_RequesterIDX;
67 }

References m_RequesterIDX.

◆ GetUpdatingDataValues()

bool PPERequestParamDataBase::GetUpdatingDataValues ( )
inlineprotected

Definition at line 39 of file PPERequestData.c.

40 {
42 }

References m_UpdatingDataValues.

◆ GetVarType()

int PPERequestParamDataBase::GetVarType ( )
inlineprotected

Definition at line 79 of file PPERequestData.c.

80 {
81 return m_VariableType;
82 }

References m_VariableType.

◆ InitValues() [1/2]

void PPERequestParamDataBase::InitValues ( )
inlineprotected

Definition at line 30 of file PPERequestData.c.

31 {
32 }

Referenced by PPERequestParamDataBase().

◆ InitValues() [2/2]

override void PPERequestParamDataBase::InitValues ( )
inlineprivate

Definition at line 171 of file PPERequestData.c.

172 {
173 m_ColorTarget = {0.0, 0.0, 0.0, 0.0};
174 m_ColorCurrent = {0, 0.0, 0.0, 0.0};
175 m_ColorLast = {0.0, 0.0, 0.0, 0.0};
176 m_ColorFormerTarget = {0.0, 0.0, 0.0, 0.0};
177 m_ColorStart = {0.0, 0.0, 0.0, 0.0};
178 }
ref array< float > m_ColorStart
ref array< float > m_ColorCurrent
ref array< float > m_ColorTarget
ref array< float > m_ColorFormerTarget
ref array< float > m_ColorLast

◆ IsDataActive()

bool PPERequestParamDataBase::IsDataActive ( )
inlineprotected

Definition at line 49 of file PPERequestData.c.

50 {
51 return m_IsActive;
52 }

References m_IsActive.

◆ IsSettingDefaultValues()

bool PPERequestParamDataBase::IsSettingDefaultValues ( )
inlineprotected

Definition at line 59 of file PPERequestData.c.

60 {
62 }

References m_SettingDefaultValues.

◆ PPERequestParamDataColor()

void PPERequestParamDataBase::PPERequestParamDataColor ( int requester_idx,
int mat_id,
int param_id,
int data_type = 0,
int priority = 0,
int mask = PPOperators.SET,
bool relative = false )
inlineprivate

Definition at line 166 of file PPERequestData.c.

167 {
168 m_VariableType = PPEConstants.VAR_TYPE_COLOR;
169 }

◆ PPERequestParamDataInt()

void PPERequestParamDataBase::PPERequestParamDataInt ( int requester_idx,
int mat_id,
int param_id,
int data_type = 0,
int priority = 0,
int mask = PPOperators.SET,
bool relative = false )
inlineprivate

Definition at line 125 of file PPERequestData.c.

126 {
127 m_IntCurrent = -1;
128 m_IntLast = -1;
129 m_VariableType = PPEConstants.VAR_TYPE_INT;
130 }

◆ SetDataActive()

void PPERequestParamDataBase::SetDataActive ( bool state)
inlineprotected

Definition at line 44 of file PPERequestData.c.

45 {
47 }

References m_IsActive.

◆ SetInteractionMask()

void PPERequestParamDataBase::SetInteractionMask ( int mask)
inlineprotected

Definition at line 84 of file PPERequestData.c.

85 {
87 }

References m_InteractionMask.

◆ SetPriorityLayer()

void PPERequestParamDataBase::SetPriorityLayer ( int priority)
inlineprotected

Definition at line 94 of file PPERequestData.c.

95 {
97 }

References m_Priority.

◆ SetSettingDefaultValues()

void PPERequestParamDataBase::SetSettingDefaultValues ( bool state)
inlineprotected

Definition at line 54 of file PPERequestData.c.

55 {
57 }

References m_SettingDefaultValues.

◆ SetUpdatingDataValues()

void PPERequestParamDataBase::SetUpdatingDataValues ( bool state)
inlineprotected

Definition at line 34 of file PPERequestData.c.

35 {
37 }

References m_UpdatingDataValues.

Member Data Documentation

◆ m_ColorCurrent

ref array<float> PPERequestParamDataBase::m_ColorCurrent
private

Definition at line 160 of file PPERequestData.c.

◆ m_ColorFormerTarget

ref array<float> PPERequestParamDataBase::m_ColorFormerTarget
private

Definition at line 163 of file PPERequestData.c.

◆ m_ColorLast

ref array<float> PPERequestParamDataBase::m_ColorLast
private

Definition at line 161 of file PPERequestData.c.

◆ m_ColorStart

ref array<float> PPERequestParamDataBase::m_ColorStart
private

Definition at line 164 of file PPERequestData.c.

◆ m_ColorTarget

ref array<float> PPERequestParamDataBase::m_ColorTarget
private

Definition at line 159 of file PPERequestData.c.

◆ m_IntCurrent

int PPERequestParamDataBase::m_IntCurrent
private

Definition at line 122 of file PPERequestData.c.

◆ m_InteractionMask

int PPERequestParamDataBase::m_InteractionMask
protected

◆ m_IntLast

int PPERequestParamDataBase::m_IntLast
private

Definition at line 123 of file PPERequestData.c.

◆ m_IntTarget

int PPERequestParamDataBase::m_IntTarget
private

Definition at line 121 of file PPERequestData.c.

◆ m_IsActive

bool PPERequestParamDataBase::m_IsActive
protected

Definition at line 6 of file PPERequestData.c.

Referenced by IsDataActive(), PPERequestParamDataBase(), and SetDataActive().

◆ m_MaterialID

int PPERequestParamDataBase::m_MaterialID
protected

Definition at line 9 of file PPERequestData.c.

Referenced by GetMaterialID(), and PPERequestParamDataBase().

◆ m_ParameterID

int PPERequestParamDataBase::m_ParameterID
protected

Definition at line 10 of file PPERequestData.c.

Referenced by GetParameterID(), and PPERequestParamDataBase().

◆ m_Priority

int PPERequestParamDataBase::m_Priority
protected

Definition at line 14 of file PPERequestData.c.

Referenced by GetPriorityLayer(), PPERequestParamDataBase(), and SetPriorityLayer().

◆ m_Requester

PPERequesterBase PPERequestParamDataBase::m_Requester
private

Definition at line 4 of file PPERequestData.c.

◆ m_RequesterIDX

int PPERequestParamDataBase::m_RequesterIDX
protected

Definition at line 12 of file PPERequestData.c.

Referenced by GetRequesterIDX(), and PPERequestParamDataBase().

◆ m_SettingDefaultValues

bool PPERequestParamDataBase::m_SettingDefaultValues
protected

◆ m_UpdatingDataValues

bool PPERequestParamDataBase::m_UpdatingDataValues
protected

◆ m_VariableType

int PPERequestParamDataBase::m_VariableType
protected

Definition at line 11 of file PPERequestData.c.

Referenced by GetVarType(), and PPERequestParamDataBase().


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