|
Arma Reforger Script API
|
Public Member Functions | |
| string | GetGearSymbol (bool automatic, int gear, int gearCount) |
| Present proper symbol for selected gear. | |
| void | GetGearboxModeDisplay (bool automatic, int futureGear, int currentGear) |
| Construct the string to be displayed in the window. | |
| override void | Scale (TextWidget widget, float scale) |
| override void | DisplayUpdate (IEntity owner, float timeSlice) |
| Update widget. | |
| override bool | DisplayStartDrawInit (IEntity owner) |
| override void | DisplayStartDraw (IEntity owner) |
| Create the UI. | |
| override void | DisplayInit (IEntity owner) |
| Init the UI, runs 1x at the start of the game. | |
Public Member Functions inherited from SCR_BaseVehicleInfo | |
| override void | DisplayStopDraw (IEntity owner) |
| Destroy the UI. | |
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) |
| 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) |
Public Attributes | |
| ref SCR_VehicleGearShiftWidgets | m_Widgets |
Public Attributes inherited from SCR_BaseVehicleInfo | |
| EVehicleInfoColor | m_eColor |
Public Attributes inherited from SCR_InfoDisplay | |
| ResourceName | m_LayoutPath |
| EHudLayers | m_eLayer |
| int | m_iOverrideZOrder |
Additional Inherited Members | |
Protected Member Functions inherited from SCR_BaseVehicleInfo | |
| EVehicleInfoState | GetState () |
| Can be overridden to get state of actual system or linked to an event. | |
| bool | IsBlinking () |
| Can be overridden to get state of actual system or linked to an event. | |
| void | Scale (ImageWidget widget, float scale) |
| void | Scale (OverlayWidget widget, float scale) |
| void | SetIcon (string icon) |
| void | SetColor (EVehicleInfoState state, EVehicleInfoColor color) |
| bool | UpdateRequired (EVehicleInfoState state) |
Protected Member Functions inherited from SCR_InfoDisplayExtended | |
| 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) |
| void | AdaptiveOpacity_Update (float opacity, float sceneBrightness, bool init=false) |
Static Protected Attributes inherited from SCR_BaseVehicleInfo | |
| const int | ICON_SIZE = 64 |
| override void SCR_GearShiftInfo.DisplayInit | ( | IEntity | owner | ) |
Init the UI, runs 1x at the start of the game.
Implements SCR_BaseVehicleInfo.
| override void SCR_GearShiftInfo.DisplayStartDraw | ( | IEntity | owner | ) |
Create the UI.
Implements SCR_BaseVehicleInfo.
| override bool SCR_GearShiftInfo.DisplayStartDrawInit | ( | IEntity | owner | ) |
Implements SCR_BaseVehicleInfo.
| override void SCR_GearShiftInfo.DisplayUpdate | ( | IEntity | owner, |
| float | timeSlice ) |
Update widget.
Implements SCR_BaseVehicleInfo.
| void SCR_GearShiftInfo.GetGearboxModeDisplay | ( | bool | automatic, |
| int | futureGear, | ||
| int | currentGear ) |
Construct the string to be displayed in the window.
| string SCR_GearShiftInfo.GetGearSymbol | ( | bool | automatic, |
| int | gear, | ||
| int | gearCount ) |
Present proper symbol for selected gear.
| override void SCR_GearShiftInfo.Scale | ( | TextWidget | widget, |
| float | scale ) |
Implements SCR_BaseVehicleInfo.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| ref SCR_VehicleGearShiftWidgets SCR_GearShiftInfo.m_Widgets |