Arma Reforger Script API
|
Public Member Functions | |
override void | DisplayStartDraw (IEntity owner) |
Starts drawing the display. | |
override void | DisplayUpdate (IEntity owner, float timeSlice) |
Periodically updates the HUD. | |
void | HandleHUD () |
Handles if HUD should be enabled or disabled. | |
void | RetrieveTriggerInfo (float activationCountdownTimer, float tempWaitTime, int playersCountByFactionInside, int playersCountByFaction, string playerActivationNotificationTitle, bool triggerConditionsStatus, float minimumPlayersNeededPercentage) |
Handles if HUD should be enabled or disabled. | |
void | RetrieveCountInsideTrigger (int countInsideTrigger) |
Retrieves count inside trigger for turning off the HUD in cases where player owning this display is not inside. | |
Public Member Functions inherited from SCR_InfoDisplayExtended | |
void | SetEnabled (bool isEnabled) |
override void | Show (bool show, float speed=UIConstants.FADE_RATE_INSTANT, EAnimationCurve curve=EAnimationCurve.LINEAR) |
Show/hide InfoDisplay properly, not breaking other systems like AdaptiveOpacity or ConditionalVisibility. | |
Public Member Functions inherited from SCR_InfoDisplay | |
SCR_InfoDisplayHandler | GetHandler (TypeName handlerType) |
SCR_InfoDisplayInvoker | GetOnStart () |
SCR_InfoDisplayInvoker | GetOnStop () |
IEntity | GetOwnerEntity () |
Widget | GetContentWidget () |
string | GetContentWidgetName () |
void | SetRootWidget (notnull Widget root) |
void | SetContentWidget (notnull Widget content) |
void | Show (bool show, float speed=UIConstants.FADE_RATE_INSTANT, EAnimationCurve curve=EAnimationCurve.LINEAR) |
Show/hide InfoDisplay properly, not breaking other systems like AdaptiveOpacity or ConditionalVisibility. | |
bool | IsShown () |
Widget | GetRootWidget () |
bool | GetDimensions (out float width, out float height, bool addSafezones=true) |
Get width and height of the InfoDisplay element, optionally with safezones adjustments. | |
bool | GetAnchorPosition (out float x, out float y, EWidgetAnchor anchor=EWidgetAnchor.TOPLEFT, bool addSafezones=true) |
Get width and height of the InfoDisplay element, optionally with safezones adjustments. | |
void | RegisterToHudManager () |
Public Member Functions inherited from GroupInfoDisplay | |
proto external int | GetInfoDisplays (out notnull array< BaseInfoDisplay > outInfoDisplays) |
Public Member Functions inherited from BaseInfoDisplay | |
proto external GenericComponent | FindComponentInParentContainer (TypeName typeName) |
Protected Member Functions | |
void | ShowHUD (bool show) |
Toggles if HUD should be shown or hidden. | |
void | UpdateHUD () |
Updates HUD according to the values and conditions acquired from the trigger. | |
Protected Member Functions inherited from SCR_InfoDisplayExtended | |
bool | DisplayStartDrawInit (IEntity owner) |
void | DisplayStartDraw (IEntity owner) |
void | DisplayStopDraw (IEntity owner) |
void | DisplayInit (IEntity owner) |
void | DisplayUpdate (IEntity owner, float timeSlice) |
void | DisplayControlledEntityChanged (IEntity from, IEntity to) |
void | DisplayConsciousnessChanged (bool conscious, bool init=false) |
void | DisplayOnSuspended () |
Called when GUI is temporarily suspended due to visibility flags; e.g. GM entered and GUI marked as not to show in GM. | |
void | DisplayOnResumed () |
void | InitializeInterfaceSettings () |
void | OnSettingsChanged () |
Protected Member Functions inherited from SCR_InfoDisplay | |
void | OnShownFinished (Widget w, float targetOpacity, WidgetAnimationOpacity anim=null) |
override void | OnStartDraw (IEntity owner) |
void | AdaptiveOpacity_Update (float opacity, float sceneBrightness, bool init=false) |
override void | OnStopDraw (IEntity owner) |
override void | UpdateValues (IEntity owner, float timeSlice) |
override void | OnInit (IEntity owner) |
void | OnInit (IEntity owner) |
void | UpdateValues (IEntity owner, float timeSlice) |
void | OnStartDraw (IEntity owner) |
void | OnStopDraw (IEntity owner) |
Additional Inherited Members | |
Public Attributes inherited from SCR_InfoDisplay | |
ResourceName | m_LayoutPath |
EHudLayers | m_eLayer |
int | m_iOverrideZOrder |
override void SCR_ScenarioFrameworkTriggerCountdownDisplay.DisplayStartDraw | ( | IEntity | owner | ) |
Starts drawing the display.
Implements SCR_InfoDisplayExtended.
override void SCR_ScenarioFrameworkTriggerCountdownDisplay.DisplayUpdate | ( | IEntity | owner, |
float | timeSlice | ||
) |
Periodically updates the HUD.
Implements SCR_InfoDisplayExtended.
void SCR_ScenarioFrameworkTriggerCountdownDisplay.HandleHUD | ( | ) |
Handles if HUD should be enabled or disabled.
void SCR_ScenarioFrameworkTriggerCountdownDisplay.RetrieveCountInsideTrigger | ( | int | countInsideTrigger | ) |
Retrieves count inside trigger for turning off the HUD in cases where player owning this display is not inside.
void SCR_ScenarioFrameworkTriggerCountdownDisplay.RetrieveTriggerInfo | ( | float | activationCountdownTimer, |
float | tempWaitTime, | ||
int | playersCountByFactionInside, | ||
int | playersCountByFaction, | ||
string | playerActivationNotificationTitle, | ||
bool | triggerConditionsStatus, | ||
float | minimumPlayersNeededPercentage | ||
) |
Handles if HUD should be enabled or disabled.
|
protected |
Toggles if HUD should be shown or hidden.
|
protected |
Updates HUD according to the values and conditions acquired from the trigger.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |