Delta-v/Content.Shared/Chat
Kot 937989ca35
Add chat.max_announcement_length cvar (#23571)
* Add announce message length to UI and make a cvar for it

* Update comm console server-side trim to use the cvar

* Rely on the new OnTextChanged event

Because OnKeyBindUp only works for keys that have binds

* Add a similar indicator to nukies' war declaration UI

* Remove message length indicators for now cuz it requires the engine update

* Rename cvar slightly

* Refactor duplicated code to a helper method

* Remove message trimming from *Window class as it's better to live in the BoundUserInterface where the other message handling happens

* Rename to chat.max_announcement_length

(cherry picked from commit 8c5898b0065cd2cf196c0383bc99c57c0f11795b)
2024-01-27 23:40:23 +01:00
..
Prototypes Make all prototype types partial (#21374) 2023-11-12 20:29:57 +01:00
TypingIndicator Make all prototype types partial (#21374) 2023-11-12 20:29:57 +01:00
ChatChannel.cs Psionics (#44) 2023-10-08 20:07:53 +02:00
ChatChannelExtensions.cs Add admin alerts (#13589) 2023-03-23 11:10:49 -04:00
ChatSelectChannel.cs Psionics (#44) 2023-10-08 20:07:53 +02:00
MsgChatMessage.cs Update NetMessage to pass in MemoryStream (#21796) 2023-12-02 20:25:44 +01:00
MsgDeleteChatMessagesBy.cs Add admin Erase verb, add checkbox to erase from the ban panel (#20985) 2023-10-14 22:19:04 +02:00
SharedChatSystem.cs Add chat.max_announcement_length cvar (#23571) 2024-01-27 23:40:23 +01:00