|
| override SCR_2DSightsComponent | GetSights () |
| |
| SCR_MagazineIndicatorConfiguration | GetMagazineConfig (SCR_WeaponState state) |
| |
| void | UpdateFireModeIndicator (SCR_WeaponState state) |
| |
| void | UpdateZeroingIndicator (SCR_WeaponState state) |
| |
| void | UpdateZoomIndicator (SCR_WeaponState state) |
| |
| void | UpdateAmmoTypeIndicator (SCR_WeaponState state) |
| |
| void | AnimateWidget_ColorFlash (Widget w, EWeaponFeature requiredFlag=-1, float speed=UIConstants.FADE_RATE_SLOW) |
| |
| void | AnimateWidget_TextPopUp (Widget w, float size, float sizeBoosted, EWeaponFeature requiredFlag=-1, float speed=UIConstants.FADE_RATE_SLOW) |
| |
| 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) |
| |
|
| override void | DisplayUpdate (IEntity owner, float timeSlice) |
| |
| override void | OnMuzzleChanged (BaseWeaponComponent weapon, BaseMuzzleComponent muzzle, BaseMuzzleComponent prevMuzzle) |
| |
| void | OnTurretReload_init (BaseWeaponComponent weapon) |
| |
| void | OnTurretReload (BaseWeaponComponent weapon, bool finished, TurretControllerComponent turretController) |
| |
| void | UpdateMagazineIndicator_Reloading (bool finished) |
| |
| override bool | DisplayStartDrawInit (IEntity owner) |
| |
| override void | DisplayStartDraw (IEntity owner) |
| |
| override void | DisplayStopDraw (IEntity owner) |
| |
| void | EvaluateCurrentCompartment (notnull BaseCompartmentSlot currentCompartment) |
| | Evaluates if compartment requirements were met, and if so, then it will try to show the HUD element, otherwise it will try to hide it.
|
| |
| void | OnCompartmentEntered (IEntity targetEntity, BaseCompartmentManagerComponent manager, int mgrID, int slotID, bool move) |
| |
| override void | DisplayControlledEntityChanged (IEntity from, IEntity to) |
| |
| override void | AddEventHandlers (IEntity owner) |
| |
| override void | RemoveEventHandlers (IEntity owner) |
| |
| void | OnWeaponChanged (BaseWeaponComponent weapon, BaseWeaponComponent prevWeapon) |
| |
| void | OnMuzzleChanged_init (BaseWeaponComponent weapon) |
| |
| void | OnMagazineChanged_init (BaseWeaponComponent weapon, BaseMuzzleComponent muzzle) |
| |
| void | OnMagazineChanged (BaseWeaponComponent weapon, BaseMagazineComponent magazine, BaseMagazineComponent prevMagazine) |
| |
| void | OnMagazineCountChanged_init (BaseWeaponComponent weapon, BaseMagazineComponent magazine) |
| |
| void | OnMagazineCountChanged (BaseWeaponComponent weapon, int magazineCount, bool isGrenade) |
| |
| void | OnAmmoCountChanged_init (BaseWeaponComponent weapon, BaseMagazineComponent magazine) |
| |
| void | OnAmmoCountChanged (BaseWeaponComponent weapon, BaseMuzzleComponent muzzle, BaseMagazineComponent magazine, int ammoCount, bool isBarrelChambered) |
| |
| void | OnFiremodeChanged_init (BaseWeaponComponent weapon, BaseMuzzleComponent muzzle) |
| |
| void | OnFiremodeChanged (BaseWeaponComponent weapon, BaseMuzzleComponent muzzle, BaseFireMode firemode) |
| |
| void | OnZeroingChanged_init (BaseWeaponComponent weapon) |
| |
| void | OnZeroingChanged (BaseWeaponComponent weapon, int zeroing) |
| |
| void | OnADSChanged_init (BaseWeaponComponent weapon) |
| |
| void | OnADSChanged (BaseWeaponComponent weapon, bool inADS) |
| |
| void | OnZoomChanged_init (BaseWeaponComponent weapon) |
| |
| void | OnZoomChanged (float zoom, float fov) |
| |
| void | OnInspectionModeChanged (bool state) |
| |
| void | OnAttachmentChanged (WeaponComponent weapon, bool isAttached, IEntity attachmentEntity) |
| |
| void | FadeElements () |
| |
| void | UpdateMagazineIndicator_Textures (SCR_WeaponState state) |
| |
| void | UpdateMagazineIndicator_Progress (SCR_WeaponState state) |
| |
| void | UpdateMagazineIndicator_Count (SCR_WeaponState state) |
| |
| void | UpdateBulletInChamberIndicator (SCR_WeaponState state) |
| |
| void | UpdateWeaponNameAndCaliber (SCR_WeaponState state) |
| |
| override void | DisplayOnResumed () |
| |
| BaseWeaponManagerComponent | GetWeaponManager (IEntity owner) |
| |
| void | SetWidgetImage (ImageWidget w, string imageOrImageset, string imageName="", int size=-1) |
| | Sets widget's image to an image or imageset.
|
| |
| void | DisplayInit (IEntity owner) |
| |
| 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 | InitializeInterfaceSettings () |
| |
| void | OnSettingsChanged () |
| |
| void | OnShownFinished (Widget w, float targetOpacity, WidgetAnimationOpacity anim=null) |
| |
| void | AdaptiveOpacity_Update (float opacity, float sceneBrightness, bool init=false) |
| |