DayZ 1.24
|
grouped gameplay effect widgets and their handling More...
Protected Attributes | |
ref Widget | m_Root |
ref map< int, ref Widget > | m_Layouts |
ref set< ref Widget > | m_UniqueLayouts |
ref GameplayEffectDataMap | m_WidgetDataMap |
ref set< int > | m_RunningEffects |
ref set< int > | m_RunningEffectsPrevious |
ref array< int > | m_UpdatingEffects |
ref array< ref Widget > | m_UpdatedWidgetsCheck |
ref array< int > | m_UpdatedWidgetSetsCheck |
ref set< int > | m_SuspendRequests |
ref map< int, typename > | m_IDToTypeMap |
float | m_TimeProgBreath |
float | m_BreathMultStamina |
float | m_BreathResidue |
const int | WIDGETSET_BREATH = 100 |
int | m_BreathColor |
float | m_BreathAlphaVal |
float | m_FlashbangCoverAlphaVal |
const float | BREATH_HDR_MIN = 0.005 |
const float | BREATH_HDR_MAX = 1.0 |
const float | BREATH_COLOR_MULT_MIN = 0.5 |
const float | BREATH_COLOR_MULT_MAX = 0.8 |
grouped gameplay effect widgets and their handling
Definition at line 6 of file GameplayEffectWidgets.c.
|
inlineprotected |
Definition at line 73 of file GameplayEffectWidgets.c.
Definition at line 263 of file GameplayEffectWidgets.c.
References UpdateVisibility().
Referenced by ManBase::OnCommandHandlerTick().
Definition at line 327 of file GameplayEffectWidgets.c.
References UpdateVisibility().
Referenced by ManBase::OnUnconsciousStart().
|
inlineprotected |
Definition at line 509 of file GameplayEffectWidgets.c.
References ARGBF(), Math::Clamp(), GetSceneHDRMul(), Math::InverseLerp(), and Math::Lerp().
Referenced by CalculateValues().
|
inlineprotected |
Definition at line 548 of file GameplayEffectWidgets.c.
Referenced by CalculateValues().
|
inlineprotected |
Definition at line 537 of file GameplayEffectWidgets.c.
Referenced by CalculateValues().
|
inlineprotected |
Only one calculation per unique WidgetSet.
Definition at line 422 of file GameplayEffectWidgets.c.
References CalculateBreathEffect(), CalculateFlashbangEffect(), and CalculateOccluderEffect().
Referenced by UpdateWidgets().
Definition at line 341 of file GameplayEffectWidgets.c.
References UpdateVisibility().
Referenced by ManBase::SimulateDeath().
returns all vanilla effects, nested in a vanilla layout. If using different layouts for custom effects, please register and link separately
Definition at line 181 of file GameplayEffectWidgets.c.
Referenced by GameplayEffectWidgets().
|
inlineprotected |
Definition at line 168 of file GameplayEffectWidgets.c.
Referenced by InitWidgetSet().
|
inlineprotected |
Definition at line 32 of file GameplayEffectWidgets.c.
References CompileEffectListing(), GetGame(), InitWidgetSet(), m_Root, PairIDToTypes(), RegisterLayouts(), and UpdateVisibility().
Definition at line 347 of file GameplayEffectWidgets.c.
|
inlineprotected |
Definition at line 568 of file GameplayEffectWidgets.c.
References Math::Clamp(), and m_Root.
Referenced by UpdateWidgets().
|
inlineprotected |
InitWidgetSet.
type | int ID of effect widget type |
updating | bool Marks widgets for 'PlayerBase.EOnFrame' updating |
user_id_override | int UserID of a widget to be used instead (allows multiple types to use single widget) |
Definition at line 121 of file GameplayEffectWidgets.c.
References CreateHandledClass(), GameplayEffectsDataImage(), Print(), and TranslateIDToType().
Referenced by GameplayEffectWidgets().
Definition at line 322 of file GameplayEffectWidgets.c.
Referenced by ManBase::EOnFrame(), and StopAllEffects().
|
inlineprotected |
Definition at line 616 of file GameplayEffectWidgets.c.
References Math::Clamp(), and Math::Lerp().
Referenced by ManBase::UpdateMaskBreathWidget().
|
inlineprotected |
Definition at line 95 of file GameplayEffectWidgets.c.
Referenced by GameplayEffectWidgets().
|
inlineprotected |
Definition at line 464 of file GameplayEffectWidgets.c.
References UpdateBreathEffect(), UpdateFlashbangEffect(), and UpdateOccluderEffect().
Referenced by UpdateWidgets().
|
inlineprotected |
Definition at line 105 of file GameplayEffectWidgets.c.
|
inlineprotected |
Registers new layout and ties effect IDs to it.
Definition at line 86 of file GameplayEffectWidgets.c.
References GetGame(), m_Root, and path.
Referenced by GameplayEffectWidgets().
|
inlineprotected |
Definition at line 281 of file GameplayEffectWidgets.c.
References UpdateVisibility().
Referenced by ManBase::OnCommandHandlerTick().
Definition at line 333 of file GameplayEffectWidgets.c.
References UpdateVisibility().
Referenced by ManBase::OnUnconsciousStop().
Definition at line 302 of file GameplayEffectWidgets.c.
References IsAnyEffectRunning(), m_Root, and UpdateVisibility().
Referenced by ManBase::SimulateDeath().
|
inlineprotected |
Definition at line 100 of file GameplayEffectWidgets.c.
Referenced by InitWidgetSet().
Generic update, called on frame from the player.
Definition at line 588 of file GameplayEffectWidgets.c.
References UpdateWidgets().
Referenced by ManBase::EOnFrame().
|
inlineprotected |
Definition at line 528 of file GameplayEffectWidgets.c.
Referenced by ProcessWidgetUpdate().
|
inlineprotected |
Definition at line 560 of file GameplayEffectWidgets.c.
Referenced by ProcessWidgetUpdate().
|
inlineprotected |
Definition at line 541 of file GameplayEffectWidgets.c.
Referenced by ProcessWidgetUpdate().
|
inlineprotected |
Definition at line 199 of file GameplayEffectWidgets.c.
Referenced by AddActiveEffects(), AddSuspendRequest(), ClearSuspendRequests(), GameplayEffectWidgets(), RemoveActiveEffects(), RemoveSuspendRequest(), and StopAllEffects().
|
inlineprotected |
Usually called in course of an OnFrame update, can be manually called from elsewhere with parameters.
Definition at line 353 of file GameplayEffectWidgets.c.
References CalculateValues(), HandleWidgetRoot(), and ProcessWidgetUpdate().
Referenced by ScriptedWidgetEventHandler::OnBleedingIndicationChanged(), and Update().
Definition at line 504 of file GameplayEffectWidgets.c.
Definition at line 503 of file GameplayEffectWidgets.c.
Definition at line 502 of file GameplayEffectWidgets.c.
Definition at line 501 of file GameplayEffectWidgets.c.
|
protected |
Definition at line 29 of file GameplayEffectWidgets.c.
|
protected |
Definition at line 28 of file GameplayEffectWidgets.c.
|
protected |
Definition at line 21 of file GameplayEffectWidgets.c.
|
protected |
Definition at line 22 of file GameplayEffectWidgets.c.
|
protected |
Definition at line 30 of file GameplayEffectWidgets.c.
Definition at line 18 of file GameplayEffectWidgets.c.
Definition at line 9 of file GameplayEffectWidgets.c.
Definition at line 8 of file GameplayEffectWidgets.c.
Definition at line 12 of file GameplayEffectWidgets.c.
Definition at line 13 of file GameplayEffectWidgets.c.
Definition at line 17 of file GameplayEffectWidgets.c.
|
protected |
Definition at line 20 of file GameplayEffectWidgets.c.
Definition at line 10 of file GameplayEffectWidgets.c.
Definition at line 15 of file GameplayEffectWidgets.c.
Definition at line 16 of file GameplayEffectWidgets.c.
Definition at line 14 of file GameplayEffectWidgets.c.
|
protected |
Definition at line 11 of file GameplayEffectWidgets.c.
Definition at line 25 of file GameplayEffectWidgets.c.