Improved Networking

Network messages are now sent through a 2-byte Id to minimize overhead of using strings.
This commit is contained in:
EvilFactory
2023-01-29 13:18:45 -03:00
parent 5d552d9dd8
commit ba543aef2c
4 changed files with 382 additions and 195 deletions
@@ -282,6 +282,7 @@ namespace Barotrauma
PerformanceCounter = new LuaCsPerformanceCounter();
Hook.Initialize();
ModStore.Initialize();
Networking.Initialize();
UserData.RegisterType<LuaCsLogger>();
UserData.RegisterType<LuaCsConfig>();