mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-08-01 08:18:20 -04:00
Baked light indexes were being fucked for networked clients trying to connect Never network new LegacyData stuff, it's internal (not serialized), so a snapshot copy, would arrive half-configured, and every client builds an identical light from the vpk anyway. API++ so we dont join maps without them properly configured
49 lines
1.9 KiB
C#
49 lines
1.9 KiB
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 => 28;
|
|
|
|
/// <summary>
|
|
/// We cannot talk to servers or clients with a network protocol different to this.
|
|
/// </summary>
|
|
public static int Network => 1103;
|
|
}
|
|
|
|
// Api Versions
|
|
// 28. 08 July 2026 - Map lights become Light components, stops old servers from loading garbage data
|
|
// 27. 29 June 2026 - Failed attempt to switch xxhash3 to System.IO.Hashing
|
|
// 26. 15 June 2026 - Frontend mounts, manual mount opt-in
|
|
// 25. 27 March 2026 - Shadows 2
|
|
// 24. 21 January 2026 - Weekly update
|
|
// 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
|
|
// 1103. 29th June 2026 - Failed attempt to switch xxhash3 to System.IO.Hashing
|
|
// 1102. 14th May 2026 - Connection display names are resolved locally
|
|
// 1101. 04th May 2026 - TargetedInternalMessage uses ISerializer (wire format change)
|
|
// 1100. 30th March 2026 - Compress-before-chunk, chunking moved to wire layer
|
|
// 1099. 24th Feburary 2026 - ResourceId is now a long
|
|
// 1098. 20th Feburary 2026 - Send network time as double
|
|
// 1097. 13rd January 2026 - Support for binary blobs
|
|
// 1096. 05th December 2025 - NetworkFlags + Transform Sync Flags
|
|
// 1095. 23rd November 2025 - Snapshot parent salt
|
|
// 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
|