Matthias Mailänder
0b67b5bfae
Extract translation strings.
2022-09-02 14:41:24 +03:00
Gustas
ce254f8b46
Add per player mutes
2022-08-20 14:52:49 +02:00
Matthias Mailänder
cc58fe1a0f
Extract translation strings.
2022-08-14 16:11:51 +02:00
RoosterDragon
8dec998d8f
Fix tab completion to work for all available commands.
...
Commands are registered in WorldLoaded event handlers, and IngameChatLogic takes all registered commands and provides tab completion. However IngameChatLogic is also created during WorldLoaded via LoadWidgetAtGameStart. No initialization order is enforced between commands and LoadWidgetAtGameStart, so they can appear in any order.
If a command gets registered before LoadWidgetAtGameStart runs, then it will get tab completion. If it gets registered after then no tab completion is available, even though the command can still be used and appears when using '/help'.
To fix this, we allow the tab completion to check for available commands lazily, meaning it will check for available commands every time the tab key is pressed. This means it will always have the full list of commands available regardless of the initialization order.
2022-07-26 16:42:18 +02:00
tomas
5f4ed5f16b
Update TextNotificationsManager to use Ui.Send
2022-07-15 19:19:09 +03:00
Gustas
a03e794140
Add an option to disable chat in replays
2022-07-08 19:40:04 +02:00
abcdefg30
6a31b1f9f3
Update the copyright header year
2022-05-28 00:35:10 -05:00
Ivaylo Draganov
01d47566cc
Add a transients panel with corresponding chrome logic and a notification template
2021-10-29 20:55:41 +02:00
Ivaylo Draganov
9e92340ea7
Rework chat line templates and logic
...
- Extract chat line templates and logic so they can be reused across widgets
- Make text notification styling entirely template driven (by removing chat color configuration and making color optional for `TextNotification`)
- Add a new TextNotificationsDisplay widget (based on and replacing ChatDisplayWidget)
- Add timestamp support to text notifications
2021-10-29 20:55:41 +02:00
Paul Chote
166583b1ec
Fix disabled chat focus issues.
2021-10-16 13:34:39 -05:00
penev92
8ba6d13b2f
Removed unused using directives
2021-10-15 13:12:33 +02:00
Paul Chote
8588af1001
Disable chat for the first 5s (configurable) after joining a server.
2021-09-23 12:52:20 +02:00
Ivaylo Draganov
6af354ff99
Split chat lines into pools
...
- Add a common class for passing around chat lines
- Add wrapper methods for adding chat lines
- Combine repeated chat lines in the display widget
2021-07-04 14:02:58 +01:00
Abdurrahmaan Iqbal
a8900d9860
Rebind chat hotkeys to prevent Tab changing chat mode
...
Enter/Shift+Enter now toggle team/all chat respectively and Shift+Tab switches chat mode instead of Tab
2021-07-03 14:49:03 +01:00
Abdurrahmaan Iqbal
6967c1fff3
Pass KeyInput to OnKey functions
2021-07-03 14:49:03 +01:00
Andre Mohren
6810469634
Updated copyright years.
2021-06-29 18:33:21 -05:00
teinarss
9c4fd0e3d3
Use Null-Propagation Operator
2020-08-19 18:11:07 +01:00
teinarss
27f1a7ab27
Use out var syntax
2020-08-19 18:11:07 +01:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
abcdefg30
8cf6aa267c
Allow single observers to use spectator team chat in mp
2019-08-19 16:45:15 +02:00
Paul Chote
dabc7ec8dd
Remove unnecessary this. references.
2019-06-08 13:19:27 +02:00
Paul Chote
353db73381
Fix a collection of minor style violations.
...
This enables several new StyleCopAnalyzer rules to
be enabled immediately during migration.
2019-05-09 20:40:08 +02:00
teinarss
d9d2202599
System messages should be yellow to distinguish them from normal
2019-04-27 14:51:59 +02:00
abcdefg30
e6feba8884
Remove the TeamChat order type
2019-04-22 19:55:04 +01:00
abcdefg30
83b92ebacb
Disable team chat when only one team member is alive
2019-04-22 19:55:04 +01:00
abcdefg30
9a84ccdd1d
Send the designated team number as extra data in the order
2019-04-22 19:55:04 +01:00
abcdefg30
5e363f18c9
Disable the team chat button after the game ended
2019-04-22 19:55:04 +01:00
abcdefg30
7b8df0ed54
Disable spectator chat when there is only one spectator
...
and re-enable it when players die
2019-04-22 19:55:04 +01:00
Paul Chote
ab4a7e3558
Replace System.Drawing primitives with our own.
2019-03-04 18:26:42 +00:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
rob-v
a2c6b19205
No player name in replay for chat commands
2019-01-22 22:57:11 +00:00
Andre Mohren
48248266a8
ClickSound and ClickDisabledSound and ChatLine are optional ui sounds.
2018-09-29 20:05:53 +02:00
Paul Chote
fc31fac1f0
Work around duplicated notification sound when the ingame menu is open.
2018-01-28 14:51:41 +01:00
Paul Chote
73f5f1fa75
Remove AddChatLine registration on IngameChatLogic dispose.
2018-01-28 14:51:41 +01:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
Paul Chote
ef43d8a86f
Add missing StringComparison to IngameChatLogic.
2017-10-14 13:10:27 +02:00
Paul Chote
75d4062698
Limit chat messages to 2500 characters.
2017-10-14 13:10:27 +02:00
Paul Chote
c6fe1639db
Support multiple key handlers.
2017-09-15 23:06:38 +02:00
rob-v
c848b30e9e
Add chat tab to multiplayer/replays ingame menu
2017-08-17 21:54:19 +01:00
rob-v
dd9d5450bc
Add EnableDebugCommandsInReplays option
2017-08-17 19:23:22 +02:00
rob-v
78bedb0513
Fix IsSinglePlayer
2017-06-27 22:43:15 +01:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
Oliver Brakmann
aa68e9bfca
Fix not being able to close the chat window in replays
2016-09-17 15:05:00 +02:00
abc013
c7def33588
disabled chat input in replays
2016-09-03 20:26:05 +02:00
Paul Chote
a6c4eb330a
Remove modRules widget logic argument.
2016-02-23 23:34:36 +00:00
Paul Chote
e71225496b
Clarify GPL version.
2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9
Update licence header year.
2016-02-21 16:27:31 +00:00
RoosterDragon
8e89a6a696
Simplify names, remove unused usings, remove redundant casts.
2016-01-17 21:35:36 +00:00
Oliver Brakmann
fd2bd7c9d3
Merge pull request #9639 from abcdefg30/specchat
...
Add team chat for spectators
2015-12-01 22:32:57 +01:00
Paul Chote
b6f463729b
Add a ChromeLogic base class for chrome logic.
2015-10-21 19:35:35 +01:00