Use mission notifications pool with appropriate chat line template

This commit is contained in:
Ivaylo Draganov
2021-11-05 20:21:44 +02:00
committed by Matthias Mailänder
parent a71da0a25a
commit 3310f14dea
9 changed files with 13 additions and 8 deletions

View File

@@ -31,6 +31,11 @@ namespace OpenRA
AddTextNotification(TextNotificationPool.Feedback, SystemMessageLabel, text);
}
public static void AddMissionLine(string prefix, string text, Color? prefixColor = null)
{
AddTextNotification(TextNotificationPool.Mission, prefix, text, prefixColor);
}
public static void AddSystemLine(string text)
{
AddSystemLine(SystemMessageLabel, text);