![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Protected Member Functions | |
| void | OpenChatPanel (notnull SCR_ChatPanel panel) |
| Opens the chat panel and ensures that all other panels are closed. | |
| void | CloseChatPanel (notnull SCR_ChatPanel panel) |
| Closes the chat panel. | |
| void | ToggleChatPanel (notnull SCR_ChatPanel panel) |
| Toggles the chat panel: opens if it's closed, closes if it's open. | |
| void | OnMenuClosed () |
| void | ShowAllChatPanels () |
| void | ShowChatPanel (notnull SCR_ChatPanel panel) |
| void | HideAllChatPanels () |
| void | CloseAllChatPanels () |
| array< ref SCR_ChatMessage > | GetMessages () |
| Returns the array of messages. Array is not a copy, so be careful. | |
| array< string > | GetAllRegisteredCommands () |
| Returns an array of all commands registered with GetCommandInvoker. | |
| void | ShowHelpMessage (string msg) |
| ChatCommandInvoker | GetCommandInvoker (string name) |
| bool | GetAnyPanelFadedIn () |
| Returns true when there is any chat panel faded in. | |
| void | Register (SCR_ChatPanel panel) |
| Registration of chat panels. These are called when a chat panel is created and destroyed. | |
| void | Unregister (SCR_ChatPanel panel) |
| void | OnNewMessagePrivate (string msg, int senderId, int receiverId) |
| Handling of new messages. Called by SCR_ChatComponent. | |
| void | OnNewMessageRadioProtocol (string msg, int frequency) |
| void | OnNewMessageGeneral (string msg, int channelId, int senderId) |
| void | OnNewMessage (string msg) |
| override void | OnGameStart () |
| Initializaiton. | |
| override void | OnGameEnd () |
| void | InitDefaultChatCommands () |
| void | Internal_EnableAllChannels () |
| Enables all channels. | |
| void | Internal_OnChatCommand (SCR_ChatPanel panel, string command, string otherData) |
| OTHER. | |
| void | OnNewMessage (SCR_ChatMessage msg) |
| void | OnMessageFiltered (SCR_ProfanityFilterRequestCallback callback, array< string > filteredTexts, SCR_ChatMessage originalMessage) |
Static Protected Member Functions | |
| static SCR_ChatPanelManager | GetInstance () |
| Returns SCR_ChatPanelManager instance. | |
Protected Attributes | |
| const int | CHAT_HISTORY_SIZE = 256 |
| const string | CHAT_COMMAND_CHARACTER = "/" |
| bool | m_bInitDone = false |
| ref array< ref SCR_ChatMessage > | m_aMessages = {} |
| ref array< SCR_ChatPanel > | m_aChatPanels = {} |
| ref array< ref SCR_ProfanityFilterRequestCallback > | m_aProfanityCallbacks = {} |
| ref map< string, ref ChatCommandInvoker > | m_mCommands = new map<string, ref ScriptInvokerBase<ChatCommandCallback>> |
| ScriptedChatEntity | m_ChatEntity |
Singleton object to which SCR_ChatPanels get registered/unregistered. It stores message history and receives messages from SCR_ChatComponent.
Definition at line 12 of file SCR_ChatPanelManager.c.
|
inlineprotected |
Definition at line 115 of file SCR_ChatPanelManager.c.
|
inlineprotected |
Closes the chat panel.
Definition at line 56 of file SCR_ChatPanelManager.c.
|
inlineprotected |
Returns an array of all commands registered with GetCommandInvoker.
Definition at line 144 of file SCR_ChatPanelManager.c.
|
inlineprotected |
Returns true when there is any chat panel faded in.
Definition at line 189 of file SCR_ChatPanelManager.c.
|
inlineprotected |
Returns a script invoker for provided chat command, or creates a new one. This way other systems can create chat commands and subscribe to them.
Definition at line 165 of file SCR_ChatPanelManager.c.
|
inlinestaticprotected |
Returns SCR_ChatPanelManager instance.
Definition at line 127 of file SCR_ChatPanelManager.c.
|
inlineprotected |
Returns the array of messages. Array is not a copy, so be careful.
Definition at line 135 of file SCR_ChatPanelManager.c.
|
inlineprotected |
Definition at line 106 of file SCR_ChatPanelManager.c.
|
inlineprotected |
Definition at line 309 of file SCR_ChatPanelManager.c.
|
inlineprotected |
Enables all channels.
Definition at line 315 of file SCR_ChatPanelManager.c.
|
inlineprotected |
OTHER.
Called from a chat pannel when it detects that user sends a chat command.
Definition at line 340 of file SCR_ChatPanelManager.c.
|
inlineprotected |
Definition at line 303 of file SCR_ChatPanelManager.c.
|
inlineprotected |
Initializaiton.
Definition at line 286 of file SCR_ChatPanelManager.c.
|
inlineprotected |
Definition at line 82 of file SCR_ChatPanelManager.c.
|
inlineprotected |
Notify all registered chat panels
Definition at line 371 of file SCR_ChatPanelManager.c.
|
inlineprotected |
Definition at line 357 of file SCR_ChatPanelManager.c.
|
inlineprotected |
Definition at line 271 of file SCR_ChatPanelManager.c.
|
inlineprotected |
Definition at line 258 of file SCR_ChatPanelManager.c.
|
inlineprotected |
Handling of new messages. Called by SCR_ChatComponent.
Definition at line 226 of file SCR_ChatPanelManager.c.
Definition at line 248 of file SCR_ChatPanelManager.c.
|
inlineprotected |
Opens the chat panel and ensures that all other panels are closed.
Definition at line 41 of file SCR_ChatPanelManager.c.
|
inlineprotected |
Registration of chat panels. These are called when a chat panel is created and destroyed.
Definition at line 205 of file SCR_ChatPanelManager.c.
|
inlineprotected |
Definition at line 91 of file SCR_ChatPanelManager.c.
|
inlineprotected |
Definition at line 100 of file SCR_ChatPanelManager.c.
|
inlineprotected |
Definition at line 154 of file SCR_ChatPanelManager.c.
|
inlineprotected |
Toggles the chat panel: opens if it's closed, closes if it's open.
Definition at line 65 of file SCR_ChatPanelManager.c.
|
inlineprotected |
Definition at line 214 of file SCR_ChatPanelManager.c.
|
protected |
Definition at line 21 of file SCR_ChatPanelManager.c.
|
protected |
Definition at line 17 of file SCR_ChatPanelManager.c.
|
protected |
Definition at line 27 of file SCR_ChatPanelManager.c.
|
protected |
Definition at line 26 of file SCR_ChatPanelManager.c.
|
protected |
Definition at line 28 of file SCR_ChatPanelManager.c.
|
protected |
Definition at line 24 of file SCR_ChatPanelManager.c.
|
protected |
Definition at line 33 of file SCR_ChatPanelManager.c.
|
protected |
Definition at line 31 of file SCR_ChatPanelManager.c.