Release 1.9.7.0 - Summer Update 2025

This commit is contained in:
Regalis11
2025-06-17 16:38:11 +03:00
parent 22227f13e5
commit ea5a2bc693
297 changed files with 7344 additions and 2421 deletions
@@ -21,6 +21,7 @@ namespace Barotrauma.Networking
ServerMessageBox = 10,
ServerMessageBoxInGame = 11,
Team = 12,
BlockedBySpamFilter = 13,
}
public enum PlayerConnectionChangeType { None = 0, Joined = 1, Kicked = 2, Disconnected = 3, Banned = 4 }
@@ -39,24 +40,26 @@ namespace Barotrauma.Networking
/// </summary>
public const float SpeakRangeVOIP = 1000.0f;
public const float BlockedBySpamFilterTime = 10.0f;
private static readonly string dateTimeFormatLongTimePattern = System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat.ShortTimePattern;
public static Color[] MessageColor =
{
new Color(190, 198, 205), //default
new Color(204, 74, 78), //error
new Color(136, 177, 255), //dead
new Color(136, 177, 255), //dead
new Color(157, 225, 160), //server
new Color(238, 208, 0), //radio
new Color(64, 240, 89), //private
new Color(255, 255, 255), //console
new Color(255, 255, 255), //messagebox
new Color(255, 128, 0), //order
new Color(), // ServerLog
new Color(), // ServerMessageBox
new Color(), // ServerMessageBoxInGame
//new Color(128, 0, 255), // team
new Color(86, 91, 205), // team
new Color(255, 128, 0), //order
new Color(), // ServerLog
new Color(), // ServerMessageBox
new Color(), // ServerMessageBoxInGame
new Color(86, 91, 205), // team
new Color(255, 0, 0), // blocked by spam filter
};
public readonly string Text;