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
This commit is contained in:
Ivaylo Draganov
2020-02-29 22:31:29 +02:00
committed by Paul Chote
parent 0a02bd524a
commit 6af354ff99
11 changed files with 175 additions and 88 deletions

View File

@@ -33,6 +33,12 @@ namespace OpenRA
Incompatible = 16
}
[Flags]
public enum TextNotificationPoolFilters
{
None = 0
}
public enum WorldViewport { Native, Close, Medium, Far }
public class ServerSettings
@@ -265,6 +271,8 @@ namespace OpenRA
[Desc("Allow mods to enable the Discord service that can interact with a local Discord client.")]
public bool EnableDiscordService = true;
public TextNotificationPoolFilters TextNotificationPoolFilters = TextNotificationPoolFilters.None;
}
public class Settings