ChatBoxGameController class
game.ui.ChatBoxGameController
Inheritance
Base: game.ui.HUDGameController
Derived
None.
Properties
| Property | Type | |
|---|---|---|
player | WeakHandle<game.PuppetBase> | scripted |
chatBoxBlackboardId | red.CallbackObject? | scripted |
chatBox | ink.WidgetReference | scripted |
enteredText | ink.TextInputWidgetReference | scripted |
chatBoxOpen | bool | scripted |
recentChatsShown | WeakHandle<ink.Widget>[] | scripted |
recentContainer | WeakHandle<ink.VerticalPanelWidget> | scripted |
historyContainer | WeakHandle<ink.VerticalPanelWidget> | scripted |
chatHistory | game.ui.ChatBoxText[] | scripted |
lastChatId | int | scripted |
maxChatsDisplayed | int | scripted |
maxChatHistory | int | scripted |
Functions
void UpdateInputContext(bool isChatBoxContext)RTTIvoid SetMaxEnteredChars(WeakHandle<ink.TextInputWidget> enteredText)RTTIbool OnInitialize()RTTIbool OnChatAdded(string value)RTTIvoid DisplayChat(game.ui.ChatBoxText chatBoxText)RTTIvoid DisplayHistory(game.ui.ChatBoxText chatBoxText)RTTIbool OnHideRecentChat(WeakHandle<ink.Widget> chatItem)RTTIbool OnUninitialize()RTTIbool OnAction(game.input.ScriptListenerAction action, game.input.ScriptListenerActionConsumer consumer)RTTIvoid ShowChatBox(bool show)RTTIvoid ShowHistory()RTTIvoid SendChat()RTTI