GamePlay
This commit is contained in:
@@ -13,5 +13,22 @@ public static class OpCodes
|
||||
public const int AUTH_WITH_TOKEN = 112;
|
||||
public const int AUTH_WITH_TOKEN_RESULT = 113;
|
||||
|
||||
public const int ERROR = 900; // generic error envelope if you want
|
||||
public const int ERROR = 900;
|
||||
|
||||
public const int CHAR_LIST = 200;
|
||||
public const int CHAR_LIST_RESULT = 201;
|
||||
|
||||
public const int CHAR_CREATE = 202;
|
||||
public const int CHAR_CREATE_RESULT = 203;
|
||||
|
||||
public const int CHAR_SELECT = 204;
|
||||
public const int CHAR_SELECT_RESULT = 205;
|
||||
|
||||
public const int WORLD_SPAWN_REQUEST = 300; // client -> server (after select)
|
||||
public const int WORLD_SPAWN = 301; // server -> client (your own + others joining)
|
||||
public const int WORLD_DESPAWN = 302; // server -> client
|
||||
|
||||
public const int WORLD_INPUT = 310; // client -> server (per tick or at ~20 Hz)
|
||||
public const int WORLD_STATE = 311; // server -> client (snapshots, ~10–20 Hz)
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user