Add an option to disable chat in replays

This commit is contained in:
Gustas
2022-06-16 16:37:14 +03:00
committed by teinarss
parent 8a98ad51fd
commit a03e794140
9 changed files with 51 additions and 15 deletions

View File

@@ -20,14 +20,16 @@ namespace OpenRA
{
public readonly TextNotificationPool Pool;
public readonly string Prefix;
public readonly int ClientId;
public readonly string Text;
public readonly Color? PrefixColor;
public readonly Color? TextColor;
public readonly DateTime Time;
public TextNotification(TextNotificationPool pool, string prefix, string text, Color? prefixColor, Color? textColor)
public TextNotification(TextNotificationPool pool, int clientId, string prefix, string text, Color? prefixColor, Color? textColor)
{
Pool = pool;
ClientId = clientId;
Prefix = prefix;
Text = text;
PrefixColor = prefixColor;