Add initial support for 2021.12.14

This commit is contained in:
miniduikboot committed 2021-12-14 21:38:26 +01:00
1 parent b6fe79cc8b
commit 32ecfedfba
2 files changed
+8

No files matched your search

@@ -35,6 +35,11 @@ namespace Impostor.Api.Net.Messages.C2S
{
platformSpecificData = null;
}
if (clientVersion >= Version.V4)
{
reader.ReadByte(); // purpose unknown, seems hardcoded to 0
}
}
private static class Version
@@ -44,6 +49,8 @@ namespace Impostor.Api.Net.Messages.C2S
public static readonly int V2 = GameVersion.GetVersion(2021, 6, 30);
public static readonly int V3 = GameVersion.GetVersion(2021, 11, 9);
public static readonly int V4 = GameVersion.GetVersion(2021, 12, 14);
}
}
}
@@ -23,6 +23,7 @@ namespace Impostor.Server.Net.Manager
private static readonly int[] SupportedVersions =
{
GameVersion.GetVersion(2021, 11, 9), // 2021.11.9
GameVersion.GetVersion(2021, 12, 14), // 2021.12.14
};
private readonly ILogger<ClientManager> _logger;