grouped gameplay effect widgets and their handling Подробнее...
Защищенные члены | |
void | GameplayEffectWidgets () |
void | ~GameplayEffectWidgets () |
void | RegisterLayouts (string path, array< int > types) |
Registers new layout and ties effect IDs to it. | |
void | PairIDToTypes () |
TranslateIDToType (int typeID) | |
override void | RegisterGameplayEffectData (int id, Param p) |
void | InitWidgetSet (int type, bool updating=false, int user_id_override=-1) |
InitWidgetSet. | |
bool | CreateHandledClass (typename handled_type, array< ref Widget > input, int type, int user_override) |
array< int > | CompileEffectListing () |
returns all vanilla effects, nested in a vanilla layout. If using different layouts for custom effects, please register and link separately | |
void | UpdateVisibility () |
override void | AddActiveEffects (array< int > effects) |
override void | RemoveActiveEffects (array< int > effects) |
override void | StopAllEffects () |
override bool | IsAnyEffectRunning () |
override void | AddSuspendRequest (int request_id) |
override void | RemoveSuspendRequest (int request_id) |
override void | ClearSuspendRequests () |
override int | GetSuspendRequestCount () |
override void | UpdateWidgets (int type=-1, float timeSlice=0, Param p=null, int handle=-1) |
Usually called in course of an OnFrame update, can be manually called from elsewhere with parameters. | |
void | CalculateValues (int type=-1, float timeSlice=0, Param p=null, int handle=-1) |
Only one calculation per unique WidgetSet. | |
void | ProcessWidgetUpdate (Widget w, int type, float timeSlice=0, Param p=null, int handle=-1) |
void | CalculateBreathEffect (float timeSlice=0, int type=-1, Param p=null) |
void | UpdateBreathEffect (ImageWidget w) |
void | CalculateOccluderEffect (int type, float timeSlice, Param p, int handle) |
void | UpdateOccluderEffect (ImageWidget w, int type, float timeSlice, Param p, int handle) |
void | CalculateFlashbangEffect (int type, float timeSlice, Param p, int handle) |
void | UpdateFlashbangEffect (ImageWidget w) |
void | HandleWidgetRoot (float timeSlice=0, Param p=null, int handle=-1) |
override void | Update (float timeSlice) |
Generic update, called on frame from the player. | |
override void | OnVoiceEvent (float breathing_resistance01) |
Защищенные данные | |
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
См. определение в файле GameplayEffectWidgets.c строка 6