|
| void | SCR_WeaponInfo_MultiWeaponTurret () |
| |
| 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.
|
| |
| 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 () |
| |
| proto external int | GetInfoDisplays (out notnull array< BaseInfoDisplay > outInfoDisplays) |
| |
| proto external GenericComponent | FindComponentInParentContainer (TypeName typeName) |
| |
|
| void | OnTurretChanged (TurretComponent newTurret) |
| |
| void | OnFiremodeChangedInit () |
| |
| void | OnFiremodeChanged (EWeaponGroupFireMode newFiremode) |
| |
| void | OnSelectedFiregroupChange (bool hasAmmo) |
| |
| void | OnAmmoCountChanged (BaseWeaponComponent changedWeaponComp, BaseMuzzleComponent changedMuzzleComp, BaseMagazineComponent changedMagComp, int newAmmoCount, bool isBarrelChambered) |
| |
| void | OnNewWeaponAttached (IEntity newWeapon) |
| |
| void | OnNewWeaponDetached (IEntity newWeapon) |
| |
| void | OnTurretReload (BaseWeaponComponent weapon, bool isFinished, TurretControllerComponent turretController) |
| |
| void | OnZoomChanged (float zoom, float fov) |
| |
| void | OnCompartmentEntered (IEntity vehicle, BaseCompartmentManagerComponent manager, IEntity occupant, int managerID, int slotID) |
| |
| void | FillMagazines () |
| |
| void | CreateEmptyPylon (WeaponSlotComponent slotComp) |
| |
| void | CreateMagazine (WeaponSlotComponent slotComp) |
| |
| void | SetMagazinePositionalZOrder (WeaponSlotComponent slotComp, Widget magWidget) |
| |
| void | FillAmmoTypes () |
| |
| void | UpdateAmmoTypes () |
| |
| EAmmoType | GetAllRocketAmmoTypes (WeaponSlotComponent weaponSlotComp) |
| |
| EAmmoType | GetCurrentRocketAmmoType (WeaponSlotComponent weaponSlotComp) |
| |
| EAmmoType | GetGenericAmmoTypes (WeaponSlotComponent weaponSlotComp) |
| |
| void | HighlightCurrentAmmoType () |
| |
| void | SetCurrentAmmoType () |
| |
| void | UpdateWeaponNames () |
| |
| void | UpdateFireModeIndicator (EWeaponGroupFireMode newFiremode) |
| |
| void | UpdateQuantityIndicator (EWeaponGroupFireMode fireMode, int quantity, int weaponGroupId=0) |
| | Method used to update the visibility as well as the text of the projectile quantity indicator.
|
| |
| void | UpdateZoomIndicator () |
| |
| bool | IsPilot (IEntity ownerVehicle) |
| |
| void | AddEventHandlers (IEntity owner) |
| |
| void | AddSlotsEvents () |
| |
| void | RemoveSlotEvents () |
| |
| void | RemoveEventHandlers (IEntity owner) |
| |
| override bool | DisplayStartDrawInit (IEntity owner) |
| |
| override void | DisplayStartDraw (IEntity owner) |
| |
| override void | DisplayStopDraw (IEntity owner) |
| |
| override void | DisplayUpdate (IEntity owner, float timeSlice) |
| |
| void | FadeElements () |
| |
| void | AnimateWidget_ColorFlash (Widget w, EWeaponFeature requiredFlag=-1, float speed=UIConstants.FADE_RATE_SLOW) |
| |
| void | DisplayInit (IEntity owner) |
| |
| 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 () |
| |
| void | OnShownFinished (Widget w, float targetOpacity, WidgetAnimationOpacity anim=null) |
| |
| void | AdaptiveOpacity_Update (float opacity, float sceneBrightness, bool init=false) |
| |