Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
pperequestplatformsbase.c File Reference

Go to the source code of this file.

Data Structures

class  PPERequesterBase
 
class  PPERequesterBase
 

Functions

class PPERequesterBase GetCategoryMask ()
 mask for mass-handling methods like 'StopAllEffects' More...
 
void PPERequesterBase (int requester_IDX)
 
void SetRequesterUpdating (bool state)
 Has to be set for the requester to be handled. More...
 
void Start (Param par=null)
 
void Stop (Param par=null)
 
bool IsRequesterRunning ()
 
void SetRequesterIDX (int idx)
 automatically assigned by PPERequesterBank More...
 
int GetRequesterIDX ()
 Returns requester index. More...
 
protected void SetTargetValueBool (int mat_id, int param_idx, bool val, int priority_layer, int operator=PPOperators.SET)
 
protected void SetTargetValueBoolDefault (int mat_id, int param_idx)
 
protected void SetTargetValueInt (int mat_id, int param_idx, bool relative, int val, int priority_layer, int operator=PPOperators.SET)
 
protected void SetTargetValueIntDefault (int mat_id, int param_idx)
 
protected void SetTargetValueFloat (int mat_id, int param_idx, bool relative, float val, int priority_layer, int operator=PPOperators.ADD_RELATIVE)
 
protected void SetTargetValueFloatDefault (int mat_id, int param_idx)
 
protected void SetTargetValueColor (int mat_id, int param_idx, ref array< float > val, int priority_layer, int operator=PPOperators.ADD_RELATIVE)
 
protected void SetTargetValueColorDefault (int mat_id, int param_idx)
 
protected void QueueValuesSend ()
 Sets this requester to update in the manager. More...
 
PPERequestParamDataBase GetRequestData (int mat_id, int param_idx, int type)
 returns request data for specific parameter, or creates one if one does not exist in this request yet (singletons) More...
 
protected PPERequestParamDataBase PrepareData (int mat_id, int param_idx, int type)
 
map< int, ref map< int, ref PPERequestParamDataBase > > GetActiveRequestStructure ()
 
protected void ClearRequesterData ()
 
protected void SendCurrentValueData (PPERequestParamDataBase data)
 
void OnUpdate (float delta)
 
protected void OnStart (Param par=null)
 
protected void OnStop (Param par=null)
 automatically resets all material parameters of this requester to defaults More...
 
protected float RelativizeValue (float value, int var_type, int mat_id, int param_id, bool relative)
 converts all values used to relative values (if not relative already) More...
 
protected void SetDefaultValuesAll ()
 Sets all requested values to default, ignoring them in further calculations. More...
 
void DbgPrnt (string text)
 

Variables

protected bool m_IsRunning
 
protected bool m_ValuesSent
 
protected int m_IDX
 
protected bool m_Valid = false
 
protected ref map< int, ref map< int, ref PPERequestParamDataBase > > m_RequestDataStructure
 

Function Documentation

◆ ClearRequesterData()

protected void GetCategoryMask::ClearRequesterData ( )

Definition at line 322 of file pperequestplatformsbase.c.

◆ DbgPrnt()

void GetCategoryMask::DbgPrnt ( string  text)

Definition at line 422 of file pperequestplatformsbase.c.

◆ GetActiveRequestStructure()

map<int,ref map<int,ref PPERequestParamDataBase> > GetCategoryMask::GetActiveRequestStructure ( )

Definition at line 317 of file pperequestplatformsbase.c.

◆ GetCategoryMask()

int GetCategoryMask ( )

mask for mass-handling methods like 'StopAllEffects'

Definition at line 436 of file pperequestplatformsbase.c.

◆ GetRequestData()

PPERequestParamDataBase GetCategoryMask::GetRequestData ( int  mat_id,
int  param_idx,
int  type 
)

returns request data for specific parameter, or creates one if one does not exist in this request yet (singletons)

Definition at line 259 of file pperequestplatformsbase.c.

◆ GetRequesterIDX()

int GetCategoryMask::GetRequesterIDX ( )

Returns requester index.

Definition at line 63 of file pperequestplatformsbase.c.

◆ IsRequesterRunning()

bool GetCategoryMask::IsRequesterRunning ( )

Definition at line 51 of file pperequestplatformsbase.c.

◆ OnStart()

protected void GetCategoryMask::OnStart ( Param  par = null)

Definition at line 352 of file pperequestplatformsbase.c.

◆ OnStop()

protected void GetCategoryMask::OnStop ( Param  par = null)

automatically resets all material parameters of this requester to defaults

Definition at line 358 of file pperequestplatformsbase.c.

◆ OnUpdate()

void GetCategoryMask::OnUpdate ( float  delta)

Definition at line 334 of file pperequestplatformsbase.c.

◆ PPERequesterBase()

void GetCategoryMask::PPERequesterBase ( int  requester_IDX)

Definition at line 10 of file pperequestplatformsbase.c.

◆ PrepareData()

protected PPERequestParamDataBase GetCategoryMask::PrepareData ( int  mat_id,
int  param_idx,
int  type 
)

Definition at line 292 of file pperequestplatformsbase.c.

◆ QueueValuesSend()

protected void GetCategoryMask::QueueValuesSend ( )

Sets this requester to update in the manager.

Definition at line 251 of file pperequestplatformsbase.c.

◆ RelativizeValue()

protected float GetCategoryMask::RelativizeValue ( float  value,
int  var_type,
int  mat_id,
int  param_id,
bool  relative 
)

converts all values used to relative values (if not relative already)

Definition at line 366 of file pperequestplatformsbase.c.

◆ SendCurrentValueData()

protected void GetCategoryMask::SendCurrentValueData ( PPERequestParamDataBase  data)

Definition at line 327 of file pperequestplatformsbase.c.

◆ SetDefaultValuesAll()

protected void GetCategoryMask::SetDefaultValuesAll ( )

Sets all requested values to default, ignoring them in further calculations.

Definition at line 386 of file pperequestplatformsbase.c.

◆ SetRequesterIDX()

void GetCategoryMask::SetRequesterIDX ( int  idx)

automatically assigned by PPERequesterBank

Definition at line 57 of file pperequestplatformsbase.c.

◆ SetRequesterUpdating()

void GetCategoryMask::SetRequesterUpdating ( bool  state)

Has to be set for the requester to be handled.

Definition at line 21 of file pperequestplatformsbase.c.

◆ SetTargetValueBool()

protected void GetCategoryMask::SetTargetValueBool ( int  mat_id,
int  param_idx,
bool  val,
int  priority_layer,
int  operator = PPOperators.SET 
)

Definition at line 76 of file pperequestplatformsbase.c.

◆ SetTargetValueBoolDefault()

protected void GetCategoryMask::SetTargetValueBoolDefault ( int  mat_id,
int  param_idx 
)

Definition at line 98 of file pperequestplatformsbase.c.

◆ SetTargetValueColor()

protected void GetCategoryMask::SetTargetValueColor ( int  mat_id,
int  param_idx,
ref array< float val,
int  priority_layer,
int  operator = PPOperators.ADD_RELATIVE 
)

Definition at line 195 of file pperequestplatformsbase.c.

◆ SetTargetValueColorDefault()

protected void GetCategoryMask::SetTargetValueColorDefault ( int  mat_id,
int  param_idx 
)

Definition at line 219 of file pperequestplatformsbase.c.

◆ SetTargetValueFloat()

protected void GetCategoryMask::SetTargetValueFloat ( int  mat_id,
int  param_idx,
bool  relative,
float  val,
int  priority_layer,
int  operator = PPOperators.ADD_RELATIVE 
)

Definition at line 153 of file pperequestplatformsbase.c.

◆ SetTargetValueFloatDefault()

protected void GetCategoryMask::SetTargetValueFloatDefault ( int  mat_id,
int  param_idx 
)

Definition at line 176 of file pperequestplatformsbase.c.

◆ SetTargetValueInt()

protected void GetCategoryMask::SetTargetValueInt ( int  mat_id,
int  param_idx,
bool  relative,
int  val,
int  priority_layer,
int  operator = PPOperators.SET 
)

Definition at line 115 of file pperequestplatformsbase.c.

◆ SetTargetValueIntDefault()

protected void GetCategoryMask::SetTargetValueIntDefault ( int  mat_id,
int  param_idx 
)

Definition at line 136 of file pperequestplatformsbase.c.

◆ Start()

void GetCategoryMask::Start ( Param  par = null)

Definition at line 36 of file pperequestplatformsbase.c.

◆ Stop()

void GetCategoryMask::Stop ( Param  par = null)

Definition at line 42 of file pperequestplatformsbase.c.

Variable Documentation

◆ m_IDX

protected int m_IDX

Definition at line 4 of file pperequestplatformsbase.c.

◆ m_IsRunning

protected bool m_IsRunning

Definition at line 2 of file pperequestplatformsbase.c.

◆ m_RequestDataStructure

protected ref map<int,ref map<int,ref PPERequestParamDataBase> > m_RequestDataStructure

Definition at line 8 of file pperequestplatformsbase.c.

◆ m_Valid

protected bool m_Valid = false

Definition at line 6 of file pperequestplatformsbase.c.

◆ m_ValuesSent

protected bool m_ValuesSent

Definition at line 3 of file pperequestplatformsbase.c.