Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
pperequestplatformsbase.c File Reference

Go to the source code of this file.

Classes

class  PPERequesterBase
 

Functions

class PPERequesterBase GetCategoryMask ()
 mask for mass-handling methods like 'StopAllEffects'
 
void PPERequesterBase (int requester_IDX)
 
void SetRequesterUpdating (bool state)
 Has to be set for the requester to be handled.
 
void Start (Param par=null)
 
void Stop (Param par=null)
 
bool IsRequesterRunning ()
 
void SetRequesterIDX (int idx)
 automatically assigned by PPERequesterBank
 
int GetRequesterIDX ()
 Returns requester index.
 
void SetTargetValueBool (int mat_id, int param_idx, bool val, int priority_layer, int operator=PPOperators.SET)
 
void SetTargetValueBoolDefault (int mat_id, int param_idx)
 
void SetTargetValueInt (int mat_id, int param_idx, bool relative, int val, int priority_layer, int operator=PPOperators.SET)
 
void SetTargetValueIntDefault (int mat_id, int param_idx)
 
void SetTargetValueFloat (int mat_id, int param_idx, bool relative, float val, int priority_layer, int operator=PPOperators.ADD_RELATIVE)
 
void SetTargetValueFloatDefault (int mat_id, int param_idx)
 
void SetTargetValueColor (int mat_id, int param_idx, array< float > val, int priority_layer, int operator=PPOperators.ADD_RELATIVE)
 
void SetTargetValueColorDefault (int mat_id, int param_idx)
 
void QueueValuesSend ()
 Sets this requester to update in the manager.
 
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)
 
PPERequestParamDataBase PrepareData (int mat_id, int param_idx, int type)
 
map< int, ref map< int, ref PPERequestParamDataBase > > GetActiveRequestStructure ()
 
void ClearRequesterData ()
 
void SendCurrentValueData (PPERequestParamDataBase data)
 
void OnUpdate (float delta)
 
void OnStart (Param par=null)
 
void OnStop (Param par=null)
 automatically resets all material parameters of this requester to defaults
 
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)
 
void SetDefaultValuesAll ()
 Sets all requested values to default, ignoring them in further calculations.
 
void DbgPrnt (string text)
 

Variables

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

Function Documentation

◆ ClearRequesterData()

void GetCategoryMask::ClearRequesterData ( )
protected

Definition at line 757 of file pperequestplatformsbase.c.

◆ DbgPrnt()

void GetCategoryMask::DbgPrnt ( string text)
protected

Definition at line 857 of file pperequestplatformsbase.c.

◆ GetActiveRequestStructure()

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

Definition at line 752 of file pperequestplatformsbase.c.

◆ GetCategoryMask()

int GetCategoryMask ( )

mask for mass-handling methods like 'StopAllEffects'

Definition at line 1 of file pperequestplatformsbase.c.

◆ GetRequestData()

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

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

Definition at line 694 of file pperequestplatformsbase.c.

◆ GetRequesterIDX()

int GetCategoryMask::GetRequesterIDX ( )
protected

Returns requester index.

Definition at line 498 of file pperequestplatformsbase.c.

◆ IsRequesterRunning()

bool GetCategoryMask::IsRequesterRunning ( )
protected

Definition at line 486 of file pperequestplatformsbase.c.

◆ OnStart()

void OnStart ( Param par = null)
protected

Definition at line 787 of file pperequestplatformsbase.c.

◆ OnStop()

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

automatically resets all material parameters of this requester to defaults

Definition at line 793 of file pperequestplatformsbase.c.

◆ OnUpdate()

void GetCategoryMask::OnUpdate ( float delta)
protected

Definition at line 769 of file pperequestplatformsbase.c.

◆ PPERequesterBase()

void GetCategoryMask::PPERequesterBase ( int requester_IDX)
protected

Definition at line 445 of file pperequestplatformsbase.c.

◆ PrepareData()

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

Definition at line 727 of file pperequestplatformsbase.c.

◆ QueueValuesSend()

void GetCategoryMask::QueueValuesSend ( )
protected

Sets this requester to update in the manager.

Definition at line 686 of file pperequestplatformsbase.c.

◆ RelativizeValue()

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

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

Definition at line 801 of file pperequestplatformsbase.c.

◆ SendCurrentValueData()

void GetCategoryMask::SendCurrentValueData ( PPERequestParamDataBase data)
protected

Definition at line 762 of file pperequestplatformsbase.c.

◆ SetDefaultValuesAll()

void GetCategoryMask::SetDefaultValuesAll ( )
protected

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

Definition at line 821 of file pperequestplatformsbase.c.

◆ SetRequesterIDX()

void GetCategoryMask::SetRequesterIDX ( int idx)
protected

automatically assigned by PPERequesterBank

Definition at line 492 of file pperequestplatformsbase.c.

◆ SetRequesterUpdating()

void GetCategoryMask::SetRequesterUpdating ( bool state)
protected

Has to be set for the requester to be handled.

Definition at line 456 of file pperequestplatformsbase.c.

◆ SetTargetValueBool()

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

Definition at line 511 of file pperequestplatformsbase.c.

◆ SetTargetValueBoolDefault()

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

Definition at line 533 of file pperequestplatformsbase.c.

◆ SetTargetValueColor()

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

Definition at line 630 of file pperequestplatformsbase.c.

◆ SetTargetValueColorDefault()

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

Definition at line 654 of file pperequestplatformsbase.c.

◆ SetTargetValueFloat()

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

Definition at line 588 of file pperequestplatformsbase.c.

◆ SetTargetValueFloatDefault()

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

Definition at line 611 of file pperequestplatformsbase.c.

◆ SetTargetValueInt()

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

Definition at line 550 of file pperequestplatformsbase.c.

◆ SetTargetValueIntDefault()

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

Definition at line 571 of file pperequestplatformsbase.c.

◆ Start()

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

Definition at line 471 of file pperequestplatformsbase.c.

◆ Stop()

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

Definition at line 477 of file pperequestplatformsbase.c.

Variable Documentation

◆ m_IDX

int m_IDX
protected

Definition at line 439 of file pperequestplatformsbase.c.

◆ m_IsRunning

bool m_IsRunning
protected

Definition at line 437 of file pperequestplatformsbase.c.

◆ m_RequestDataStructure

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

Definition at line 443 of file pperequestplatformsbase.c.

◆ m_Valid

bool m_Valid = false
protected

Definition at line 441 of file pperequestplatformsbase.c.

◆ m_ValuesSent

bool m_ValuesSent
protected

Definition at line 438 of file pperequestplatformsbase.c.