OpCode Changes

This commit is contained in:
dingo
2026-02-15 10:11:35 -05:00
parent 33ad8e1b8e
commit 054e618e16
5 changed files with 174 additions and 54 deletions
+6 -6
View File
@@ -86,34 +86,34 @@ public static class OpCodes
/// </summary>
public const int CHAR_SELECT_RESULT = 205;
// ===== World/Overworld (300-319) =====
// ===== World/Overworld (700-719) =====
/// <summary>
/// Client -> Server: Request to spawn in world after character selection
/// </summary>
public const int WORLD_SPAWN_REQUEST = 300;
public const int WORLD_SPAWN_REQUEST = 700;
/// <summary>
/// Server -> Client: Spawn notification (your own character or other players joining)
/// </summary>
public const int WORLD_SPAWN = 301;
public const int WORLD_SPAWN = 701;
/// <summary>
/// Server -> Client: Despawn notification (player leaving)
/// </summary>
public const int WORLD_DESPAWN = 302;
public const int WORLD_DESPAWN = 702;
/// <summary>
/// Client -> Server: Player input (movement, actions)
/// Sent at ~20 Hz or per tick
/// </summary>
public const int WORLD_INPUT = 310;
public const int WORLD_INPUT = 710;
/// <summary>
/// Server -> Client: World state snapshot
/// Sent at ~10-20 Hz
/// </summary>
public const int WORLD_STATE = 311;
public const int WORLD_STATE = 711;
// ===== Error Messages (900-999) =====