class game.ui
ChatBoxGameController
game.ui.ChatBoxGameController
- 12 properties
- 11 functions
Extends game.ui.HUDGameController game.ui.WidgetGameController world.ui.IWidgetGameController ink.IWidgetController IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
player | WeakHandle<game.PuppetBase> | 0x58 | scripted |
chatBoxBlackboardId | red.CallbackObject? | 0x68 | scripted |
chatBox | ink.WidgetReference | 0x78 | scripted |
enteredText | ink.TextInputWidgetReference | 0x90 | scripted |
chatBoxOpen | bool | 0xA8 | scripted |
recentChatsShown | WeakHandle<ink.Widget>[] | 0xB0 | scripted |
recentContainer | WeakHandle<ink.VerticalPanelWidget> | 0xC0 | scripted |
historyContainer | WeakHandle<ink.VerticalPanelWidget> | 0xD0 | scripted |
chatHistory | game.ui.ChatBoxText[] | 0xE0 | scripted |
lastChatId | int | 0xF0 | scripted |
maxChatsDisplayed | int | 0xF4 | scripted |
maxChatHistory | int | 0xF8 | scripted |
Functions
void UpdateInputContext(bool isChatBoxContext)RTTIre.Hooks.PlaceVoid( "gameuiChatBoxGameController", "UpdateInputContext", (ChatBoxGameController_UpdateInputContext x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ChatBoxGameController_UpdateInputContext( game.ui.ChatBoxGameController self, bool isChatBoxContext );void SetMaxEnteredChars(WeakHandle<ink.TextInputWidget> enteredText)RTTIre.Hooks.PlaceVoid( "gameuiChatBoxGameController", "SetMaxEnteredChars", (ChatBoxGameController_SetMaxEnteredChars x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ChatBoxGameController_SetMaxEnteredChars( game.ui.ChatBoxGameController self, WeakHandle<ink.TextInputWidget> enteredText );bool OnInitialize()RTTIre.Hooks.Place( "gameuiChatBoxGameController", "OnInitialize", (ChatBoxGameController_OnInitialize x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ChatBoxGameController_OnInitialize( game.ui.ChatBoxGameController self );void DisplayChat(game.ui.ChatBoxText chatBoxText)RTTIre.Hooks.PlaceVoid( "gameuiChatBoxGameController", "DisplayChat;script_ref<ChatBoxText>", (ChatBoxGameController_DisplayChat x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ChatBoxGameController_DisplayChat( game.ui.ChatBoxGameController self, game.ui.ChatBoxText chatBoxText );void DisplayHistory(game.ui.ChatBoxText chatBoxText)RTTIre.Hooks.PlaceVoid( "gameuiChatBoxGameController", "DisplayHistory;script_ref<ChatBoxText>", (ChatBoxGameController_DisplayHistory x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ChatBoxGameController_DisplayHistory( game.ui.ChatBoxGameController self, game.ui.ChatBoxText chatBoxText );bool OnHideRecentChat(WeakHandle<ink.Widget> chatItem)RTTIre.Hooks.Place( "gameuiChatBoxGameController", "OnHideRecentChat", (ChatBoxGameController_OnHideRecentChat x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ChatBoxGameController_OnHideRecentChat( game.ui.ChatBoxGameController self, WeakHandle<ink.Widget> chatItem );bool OnUninitialize()RTTIre.Hooks.Place( "gameuiChatBoxGameController", "OnUninitialize", (ChatBoxGameController_OnUninitialize x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ChatBoxGameController_OnUninitialize( game.ui.ChatBoxGameController self );bool OnAction(game.input.ScriptListenerAction action, game.input.ScriptListenerActionConsumer consumer)RTTIre.Hooks.Place( "gameuiChatBoxGameController", "OnAction", (ChatBoxGameController_OnAction x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct ChatBoxGameController_OnAction( game.ui.ChatBoxGameController self, game.input.ScriptListenerAction action, game.input.ScriptListenerActionConsumer consumer );void ShowChatBox(bool show)RTTIre.Hooks.PlaceVoid( "gameuiChatBoxGameController", "ShowChatBox;Bool", (ChatBoxGameController_ShowChatBox x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ChatBoxGameController_ShowChatBox( game.ui.ChatBoxGameController self, bool show );void ShowHistory()RTTIre.Hooks.PlaceVoid( "gameuiChatBoxGameController", "ShowHistory;", (ChatBoxGameController_ShowHistory x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ChatBoxGameController_ShowHistory( game.ui.ChatBoxGameController self );void SendChat()RTTIre.Hooks.PlaceVoid( "gameuiChatBoxGameController", "SendChat;", (ChatBoxGameController_SendChat x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct ChatBoxGameController_SendChat( game.ui.ChatBoxGameController self );