|
Arma Reforger Script API
|
This is a Chat Info Display / Chat HUD. More...
Public Member Functions | |
| override void | DisplayUpdate (IEntity owner, float timeSlice) |
| override void | DisplayStartDraw (IEntity owner) |
| override void | OnSettingsChanged () |
| void | OnChatOpen () |
| When the chat is open, increase it's priority to make it easier to read through the chat. | |
| void | OnChatClose () |
| When chat is closed reset it's priority back to default. | |
| override void | DisplayStopDraw (IEntity owner) |
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) |
Protected Member Functions | |
| void | OnSlotUIResize () |
| Calculate how many Chat line widgets can be shown when HUD resizes. | |
| void | CloseAllChatPanels () |
| void | Callback_OnToggleAction () |
| Called when Enter key is pressed. | |
Protected Member Functions inherited from SCR_InfoDisplayExtended | |
| bool | DisplayStartDrawInit (IEntity owner) |
| 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 () |
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 | |
| static const string | CHAT_INPUT_ACTION = "ChatToggle" |
| const int | HEIGHT_DIVIDER = 50 |
| const int | INPUTFIELD_HEIGHT = 2 |
Additional Inherited Members | |
Public Attributes inherited from SCR_InfoDisplay | |
| ResourceName | m_LayoutPath |
| EHudLayers | m_eLayer |
| int | m_iOverrideZOrder |
This is a Chat Info Display / Chat HUD.
There is a Chat Panel prefab Inside the layout. The Chat HUD opens the chat on a button press, and doesn't do anything more interesting.
|
protected |
Called when Enter key is pressed.
|
protected |
| override void SCR_ChatHud.DisplayStartDraw | ( | IEntity | owner | ) |
Implements SCR_InfoDisplayExtended.
| override void SCR_ChatHud.DisplayStopDraw | ( | IEntity | owner | ) |
Implements SCR_InfoDisplayExtended.
| override void SCR_ChatHud.DisplayUpdate | ( | IEntity | owner, |
| float | timeSlice ) |
Implements SCR_InfoDisplayExtended.
| void SCR_ChatHud.OnChatClose | ( | ) |
When chat is closed reset it's priority back to default.
| void SCR_ChatHud.OnChatOpen | ( | ) |
When the chat is open, increase it's priority to make it easier to read through the chat.
| override void SCR_ChatHud.OnSettingsChanged | ( | ) |
Implements SCR_InfoDisplayExtended.
|
protected |
Calculate how many Chat line widgets can be shown when HUD resizes.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |