Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ChatHud Class Reference
Inheritance diagram for SCR_ChatHud:

Protected Member Functions

override void DisplayUpdate (IEntity owner, float timeSlice)
override void DisplayStartDraw (IEntity owner)
override void OnSettingsChanged ()
void OnSlotUIResize ()
 Calculate how many Chat line widgets can be shown when HUD resizes.
void CloseAllChatPanels ()
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)
void Callback_OnToggleAction ()
 Called when Enter key is pressed.

Protected Attributes

SCR_ChatPanel m_ChatPanel
SCR_InfoDisplaySlotHandler m_slotHandler
SCR_HUDSlotUIComponent m_HUDSlotComponent
InputManager m_InputManager
int m_iHUDPriorityDefault
const int HEIGHT_DIVIDER = 50
const int INPUTFIELD_HEIGHT = 2

Static Protected Attributes

static const string CHAT_INPUT_ACTION = "ChatToggle"

Detailed Description

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.

Definition at line 7 of file SCR_ChatHud.c.

Member Function Documentation

◆ Callback_OnToggleAction()

void SCR_ChatHud::Callback_OnToggleAction ( )
inlineprotected

Called when Enter key is pressed.

Definition at line 164 of file SCR_ChatHud.c.

◆ CloseAllChatPanels()

void SCR_ChatHud::CloseAllChatPanels ( )
inlineprotected

Definition at line 119 of file SCR_ChatHud.c.

◆ DisplayStartDraw()

override void SCR_ChatHud::DisplayStartDraw ( IEntity owner)
inlineprotected

Definition at line 43 of file SCR_ChatHud.c.

◆ DisplayStopDraw()

override void SCR_ChatHud::DisplayStopDraw ( IEntity owner)
inlineprotected

Definition at line 153 of file SCR_ChatHud.c.

◆ DisplayUpdate()

override void SCR_ChatHud::DisplayUpdate ( IEntity owner,
float timeSlice )
inlineprotected

Definition at line 22 of file SCR_ChatHud.c.

◆ OnChatClose()

void SCR_ChatHud::OnChatClose ( )
inlineprotected

When chat is closed reset it's priority back to default.

Definition at line 142 of file SCR_ChatHud.c.

◆ OnChatOpen()

void SCR_ChatHud::OnChatOpen ( )
inlineprotected

When the chat is open, increase it's priority to make it easier to read through the chat.

Definition at line 126 of file SCR_ChatHud.c.

◆ OnSettingsChanged()

override void SCR_ChatHud::OnSettingsChanged ( )
inlineprotected

Definition at line 89 of file SCR_ChatHud.c.

◆ OnSlotUIResize()

void SCR_ChatHud::OnSlotUIResize ( )
inlineprotected

Calculate how many Chat line widgets can be shown when HUD resizes.

Definition at line 103 of file SCR_ChatHud.c.

Member Data Documentation

◆ CHAT_INPUT_ACTION

const string SCR_ChatHud::CHAT_INPUT_ACTION = "ChatToggle"
staticprotected

Definition at line 9 of file SCR_ChatHud.c.

◆ HEIGHT_DIVIDER

const int SCR_ChatHud::HEIGHT_DIVIDER = 50
protected

Definition at line 18 of file SCR_ChatHud.c.

◆ INPUTFIELD_HEIGHT

const int SCR_ChatHud::INPUTFIELD_HEIGHT = 2
protected

Definition at line 19 of file SCR_ChatHud.c.

◆ m_ChatPanel

SCR_ChatPanel SCR_ChatHud::m_ChatPanel
protected

Definition at line 11 of file SCR_ChatHud.c.

◆ m_HUDSlotComponent

SCR_HUDSlotUIComponent SCR_ChatHud::m_HUDSlotComponent
protected

Definition at line 13 of file SCR_ChatHud.c.

◆ m_iHUDPriorityDefault

int SCR_ChatHud::m_iHUDPriorityDefault
protected

Definition at line 16 of file SCR_ChatHud.c.

◆ m_InputManager

InputManager SCR_ChatHud::m_InputManager
protected

Definition at line 14 of file SCR_ChatHud.c.

◆ m_slotHandler

SCR_InfoDisplaySlotHandler SCR_ChatHud::m_slotHandler
protected

Definition at line 12 of file SCR_ChatHud.c.


The documentation for this class was generated from the following file: