OpCode Changes
This commit is contained in:
@@ -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) =====
|
||||
|
||||
|
||||
Reference in New Issue
Block a user