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

Go to the source code of this file.

Classes

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

Functions

void PPERequestParamDataBool (int requester_idx, int mat_id, int param_id, int data_type=0, int priority=0, int mask=PPOperators.SET, bool relative=false)
 
void PPERequestParamDataFloat (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 ()
 

Variables

class PPERequestParamDataBase m_BoolTarget
 
bool m_BoolCurrent
 
bool m_BoolLast
 
class PPERequestParamDataInt extends PPERequestParamDataBase m_FloatTarget
 
float m_FloatCurrent
 
float m_FloatLast
 
float m_FloatFormerTarget
 
float m_FloatStart
 
class PPERequestParamDataColor extends PPERequestParamDataBase m_VectorTarget
 
vector m_VectorCurrent
 
vector m_VectorLast
 

Function Documentation

◆ InitValues()

override void InitValues ( )

Definition at line 147 of file PPERequestData.c.

148 {
149 m_FloatTarget = float.LOWEST;
150 m_FloatCurrent = float.LOWEST;
151 m_FloatLast = float.LOWEST;
153 m_FloatStart = float.LOWEST;
154 }
class PPERequestParamDataInt extends PPERequestParamDataBase m_FloatTarget
float m_FloatCurrent
float m_FloatFormerTarget
float m_FloatLast
float m_FloatStart
const float LOWEST
Definition EnConvert.c:100

References float::LOWEST, m_FloatCurrent, m_FloatFormerTarget, m_FloatLast, m_FloatStart, and m_FloatTarget.

Referenced by ScriptConsoleWeatherTab::OnClick(), and ScriptConsoleWeatherTab::ScriptConsoleWeatherTab().

◆ PPERequestParamDataBool()

void PPERequestParamDataBool ( int requester_idx,
int mat_id,
int param_id,
int data_type = 0,
int priority = 0,
int mask = PPOperators.SET,
bool relative = false )

Definition at line 111 of file PPERequestData.c.

112 {
113 m_BoolCurrent = 0;
114 m_BoolLast = 0;
115 m_VariableType = PPEConstants.VAR_TYPE_BOOL;
116 }
bool m_BoolCurrent
bool m_BoolLast

References m_BoolCurrent, and m_BoolLast.

Referenced by PPERequesterBase::PrepareData(), PPERequesterBase::SetTargetValueBool(), PPERequesterBase::SetTargetValueBoolDefault(), and PPEMatClassParameterCommandData::Update().

◆ PPERequestParamDataFloat()

void PPERequestParamDataFloat ( int requester_idx,
int mat_id,
int param_id,
int data_type = 0,
int priority = 0,
int mask = PPOperators.SET,
bool relative = false )

Variable Documentation

◆ m_BoolCurrent

bool m_BoolCurrent

Definition at line 108 of file PPERequestData.c.

Referenced by PPERequestParamDataBool().

◆ m_BoolLast

bool m_BoolLast

Definition at line 109 of file PPERequestData.c.

Referenced by PPERequestParamDataBool().

◆ m_BoolTarget

◆ m_FloatCurrent

float m_FloatCurrent

Definition at line 136 of file PPERequestData.c.

Referenced by InitValues().

◆ m_FloatFormerTarget

float m_FloatFormerTarget

Definition at line 139 of file PPERequestData.c.

Referenced by InitValues().

◆ m_FloatLast

float m_FloatLast

Definition at line 137 of file PPERequestData.c.

Referenced by InitValues().

◆ m_FloatStart

float m_FloatStart

Definition at line 140 of file PPERequestData.c.

Referenced by InitValues().

◆ m_FloatTarget

class PPERequestParamDataInt extends PPERequestParamDataBase m_FloatTarget

Referenced by InitValues().

◆ m_VectorCurrent

vector m_VectorCurrent

Definition at line 185 of file PPERequestData.c.

◆ m_VectorLast

vector m_VectorLast

Definition at line 186 of file PPERequestData.c.

◆ m_VectorTarget

class PPERequestParamDataColor extends PPERequestParamDataBase m_VectorTarget