namespace Server.Networking.Messages; /// /// OpCodes for the dungeon crawler game mode /// public static class DungeonOpCodes { // Hub (200-299) public const int HUB_STATE = 200; public const int STAT_ALLOCATE = 201; // Dungeon (300-399) public const int DUNGEON_ENTER = 300; public const int DUNGEON_ENTER_RESULT = 301; public const int DUNGEON_STATE = 302; public const int DUNGEON_LEAVE = 303; // Input (400-449) public const int DUNGEON_INPUT_MOVE = 400; public const int DUNGEON_INPUT_ATTACK = 401; public const int DUNGEON_INPUT_PICKUP = 402; public const int DUNGEON_INPUT_CHEST = 403; // Escape (450-499) public const int ESCAPE_START = 450; public const int ESCAPE_CANCEL = 451; public const int ESCAPE_INTERRUPTED = 452; public const int ESCAPE_SUCCESS = 453; // Events (500-599) public const int EVENT_DAMAGE = 500; public const int EVENT_DEATH = 501; public const int EVENT_LEVELUP = 502; public const int EVENT_LOOT = 503; public const int LOOT_RECEIVED = 160; // Inventory (250-259) public const int INVENTORY_REQUEST = 250; public const int INVENTORY_STATE = 251; public const int EQUIP_ITEM = 252; public const int UNEQUIP_ITEM = 253; public const int USE_ITEM = 254; public const int DROP_ITEM = 255; public const int HOTBAR_ASSIGN = 256; // Chat (260-269) public const int CHAT_SEND = 260; public const int CHAT_MESSAGE = 261; }