Files
sbox-public/engine/Sandbox.Engine/Protocol.cs
s&box team 71f266059a Open source release
This commit imports the C# engine code and game files, excluding C++ source code.

[Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
2025-11-24 09:05:18 +00:00

35 lines
1021 B
C#

namespace Sandbox.Engine;
/// <summary>
/// A centralized place to access the protocols
/// </summary>
public static class Protocol
{
/// <summary>
/// We cannot play packages with an Api version higher than this.
/// </summary>
public static int Api => 22;
/// <summary>
/// We cannot talk to servers or clients with a network protocol different to this.
/// </summary>
public static int Network => 1094;
}
// Api Versions
// 21. 12 July 2025 - Monthly update
// 20. 01 July 2025 - Monthly update
// 19. 06 May 2025 - New prefabs
// 18. 10 Mar 2025 - First staging version
// Network Versions
// 1094. 10th November 2025 - Network visibility
// 1093. 13th October 2025 - LZ4 compression
// 1092. 1st October 2025 - Networking optimizations
// 1091. 5th Sept 2025 - FastHash changes
// 1090. 12th August - Delta snapshot changes
// 1087. 14 May 2025 - GameObject (reference) ByteReader/Writer improvements
// 1086. 8 May 2025 - Server time changed to double
// 1085. 10 Mar 2025 - First staging version