Ping measurement and display (console: ping)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-26 22:45:21 +02:00
co-authored by Claude Opus 5.5
parent 0ab5b32d08
commit 741082f237
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -34,7 +34,8 @@ public enum MsgType : byte
AdminResult = 27, // Server -> Client: string Meldung
Chat = 28, // Chatnachricht (string)
VarSync = 29, // Fahrzeugzustand: int n, je [int key, byte typ, wert]
Teleport = 30 // Admin holt einen Spieler zu sich: 3 float Position
Teleport = 30, // Admin holt einen Spieler zu sich: 3 float Position
Pong = 31 // Antwort auf Ping mit demselben Zeitstempel (Laufzeit messen)
}
public readonly record struct Message(MsgType Type, byte[] Payload)