Data Structures | |
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. | |
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, 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. | |
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) | |
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 | |
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) | |
protected void | SetDefaultValuesAll () |
Sets all requested values to default, ignoring them in further calculations. | |
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 |
protected void ClearRequesterData | ( | ) |
void DbgPrnt | ( | string | text | ) |
map< int, ref map< int, ref PPERequestParamDataBase > > GetActiveRequestStructure | ( | ) |
int GetCategoryMask | ( | ) |
mask for mass-handling methods like 'StopAllEffects'
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)
int GetRequesterIDX | ( | ) |
Returns requester index.
bool IsRequesterRunning | ( | ) |
override protected void OnStart | ( | Param | par = null | ) |
Referenced by TimerBase::Run().
protected void OnStop | ( | Param | par = null | ) |
automatically resets all material parameters of this requester to defaults
void OnUpdate | ( | float | delta | ) |
void PPERequesterBase | ( | int | requester_IDX | ) |
protected PPERequestParamDataBase PrepareData | ( | int | mat_id, |
int | param_idx, | ||
int | type | ||
) |
protected void QueueValuesSend | ( | ) |
Sets this requester to update in the manager.
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)
protected void SendCurrentValueData | ( | PPERequestParamDataBase | data | ) |
protected void SetDefaultValuesAll | ( | ) |
Sets all requested values to default, ignoring them in further calculations.
void SetRequesterIDX | ( | int | idx | ) |
automatically assigned by PPERequesterBank
void SetRequesterUpdating | ( | bool | state | ) |
Has to be set for the requester to be handled.
Referenced by PPERequester_GameplayBase::FadeOutEffect(), and PPERequester_GameplayBase::OnUpdate().
protected void SetTargetValueBool | ( | int | mat_id, |
int | param_idx, | ||
bool | val, | ||
int | priority_layer, | ||
int | operator = PPOperators.SET |
||
) |
Referenced by PPERequester_GameplayBase::SetValuesIronsights().
Referenced by PPERequester_GameplayBase::SetValuesOptics().
protected void SetTargetValueColor | ( | int | mat_id, |
int | param_idx, | ||
array< float > | val, | ||
int | priority_layer, | ||
int | operator = PPOperators.ADD_RELATIVE |
||
) |
Referenced by PPERequester_GameplayBase::OnStart(), PPERequester_GameplayBase::OnUpdate(), PPERequester_GameplayBase::ProcessSimulation(), PPERequester_GameplayBase::SetEffectProgress(), PPERequester_GameplayBase::SetFlashbangIntensity(), PPERequester_GameplayBase::SetHitIntensity(), PPERequester_GameplayBase::SetNVMode(), and PPERequester_MenuBase::SetVignetteIntensity().
protected void SetTargetValueFloat | ( | int | mat_id, |
int | param_idx, | ||
bool | relative, | ||
float | val, | ||
int | priority_layer, | ||
int | operator = PPOperators.ADD_RELATIVE |
||
) |
Referenced by PPERequester_GameplayBase::OnStart(), PPERequester_MenuBase::OnStart(), PPERequester_GameplayBase::OnUpdate(), PPERequester_GameplayBase::ProcessFading(), PPERequester_GameplayBase::ProcessSimulation(), PPERequester_GameplayBase::SetBloodLossLevel(), PPERequester_MenuBase::SetBlurIntensity(), PPERequester_GameplayBase::SetEffectProgress(), PPERequester_GameplayBase::SetEyeAccommodation(), PPERequester_GameplayBase::SetFeverIntensity(), PPERequester_GameplayBase::SetFlashbangIntensity(), PPERequester_GameplayBase::SetHitIntensity(), PPERequester_GameplayBase::SetNVMode(), PPERequester_GameplayBase::SetRadialBlur(), PPERequester_GameplayBase::SetValuesIronsights(), PPERequester_GameplayBase::SetValuesOptics(), and PPERequester_MenuBase::SetVignetteIntensity().
protected void SetTargetValueInt | ( | int | mat_id, |
int | param_idx, | ||
bool | relative, | ||
int | val, | ||
int | priority_layer, | ||
int | operator = PPOperators.SET |
||
) |
void Start | ( | Param | par = null | ) |
void Stop | ( | Param | par = null | ) |
protected int m_IDX |
protected bool m_IsRunning |
protected ref map<int,ref map<int,ref PPERequestParamDataBase> > m_RequestDataStructure |
protected bool m_Valid = false |
protected bool m_ValuesSent |