#ifndef _H_SERVER_OPCODES
#define _H_SERVER_OPCODES

/* server -> client packet opcodes */

typedef enum {
    SERVER_APPEARANCE = 239,
    SERVER_BANK_CLOSE = 221,
    SERVER_BANK_OPEN = 222,
    SERVER_BANK_UPDATE = 214,
    SERVER_CLOSE_CONNECTION = 9,
    SERVER_DUEL_ACCEPTED = 209,
    SERVER_DUEL_CLOSE = 218,
    SERVER_DUEL_CONFIRM_OPEN = 208,
    SERVER_DUEL_OPEN = 219,
    SERVER_DUEL_RECIPIENT_ACCEPTED = 210,
    SERVER_DUEL_SETTINGS = 215,
    SERVER_DUEL_ITEMS = 216,
    SERVER_FRIEND_LIST = 23,
    SERVER_FRIEND_MESSAGE = 28,
    SERVER_FRIEND_STATUS_CHANGE = 24,
    SERVER_GAME_SETTINGS = 228,
    SERVER_IGNORE_LIST = 26,
    SERVER_INVENTORY_ITEMS = 252,
    SERVER_INVENTORY_ITEM_REMOVE = 212,
    SERVER_INVENTORY_ITEM_UPDATE = 213,
    SERVER_LOGOUT_DENY = 10,
    SERVER_MESSAGE = 8,
    SERVER_OPTION_LIST = 246,
    SERVER_OPTION_LIST_CLOSE = 245,
    SERVER_PLAYER_DIED = 241,
    SERVER_PLAYER_QUEST_LIST = 226,
    SERVER_PLAYER_STAT_EQUIPMENT_BONUS = 242,
    SERVER_PLAYER_STAT_EXPERIENCE_UPDATE = 220,
    SERVER_PLAYER_STAT_FATIGUE = 202,
    SERVER_PLAYER_STAT_FATIGUE_ASLEEP = 200,
    SERVER_PLAYER_STAT_LIST = 243,
    SERVER_PLAYER_STAT_UPDATE = 211,
    SERVER_PRAYER_STATUS = 227,
    SERVER_PRIVACY_SETTINGS = 27,
    SERVER_REGION_ENTITY_UPDATE = 240,
    SERVER_REGION_GROUND_ITEMS = 254,
    SERVER_REGION_NPCS = 248,
    SERVER_REGION_NPC_UPDATE = 247,
    SERVER_REGION_OBJECTS = 253,
    SERVER_REGION_PLAYERS = 255,
    SERVER_REGION_PLAYER_UPDATE = 250,
    SERVER_REGION_WALL_OBJECTS = 249,
    SERVER_SERVER_MESSAGE = 204,
    SERVER_SERVER_MESSAGE_ONTOP = 203,
    SERVER_SHOP_CLOSE = 233,
    SERVER_SHOP_OPEN = 234,
    SERVER_SLEEP_CLOSE = 199,
    SERVER_SLEEP_INCORRECT = 198,
    SERVER_SLEEP_OPEN = 201,
    SERVER_SOUND = 207,
    SERVER_MAGIC_BUBBLE = 206,
    SERVER_TRADE_CLOSE = 237,
    SERVER_TRADE_CONFIRM_OPEN = 217,
    SERVER_TRADE_ITEMS = 236,
    SERVER_TRADE_OPEN = 238,
    SERVER_TRADE_RECIPIENT_ACCEPTED = 235,
    SERVER_TRADE_ACCEPTED = 229,
    SERVER_WELCOME = 205,
    SERVER_WORLD_INFO = 244
} ServerOpcode;

#endif
