#ifndef _H_SERVER_OPCODES
#define _H_SERVER_OPCODES

/* server -> client packet opcodes */

typedef enum {
    SERVER_APPEARANCE = 59,
    SERVER_BANK_CLOSE = 203,
    SERVER_BANK_OPEN = 42,
    SERVER_BANK_UPDATE = 249,
    SERVER_CLOSE_CONNECTION = 4,
    SERVER_DUEL_ACCEPTED = 210,
    SERVER_DUEL_CLOSE = 225,
    SERVER_DUEL_CONFIRM_OPEN = 172,
    SERVER_DUEL_OPEN = 176,
    SERVER_DUEL_RECIPIENT_ACCEPTED = 253,
    SERVER_DUEL_SETTINGS = 30,
    SERVER_DUEL_ITEMS = 6,
    SERVER_FRIEND_LIST = 71,
    SERVER_FRIEND_MESSAGE = 120,
    SERVER_FRIEND_STATUS_CHANGE = 149,
    SERVER_GAME_SETTINGS = 240,
    SERVER_IGNORE_LIST = 109,
    SERVER_INVENTORY_ITEMS = 53,
    SERVER_INVENTORY_ITEM_REMOVE = 123,
    SERVER_INVENTORY_ITEM_UPDATE = 90,
    SERVER_LOGOUT_DENY = 183,
    SERVER_MESSAGE = 131,
    SERVER_OPTION_LIST = 245,
    SERVER_OPTION_LIST_CLOSE = 252,
    SERVER_PLAYER_DIED = 83,
    SERVER_PLAYER_QUEST_LIST = 5,
    SERVER_PLAYER_STAT_EQUIPMENT_BONUS = 153,
    SERVER_PLAYER_STAT_EXPERIENCE_UPDATE = 33,
    SERVER_PLAYER_STAT_FATIGUE = 114,
    SERVER_PLAYER_STAT_FATIGUE_ASLEEP = 244,
    SERVER_PLAYER_STAT_LIST = 156,
    SERVER_PLAYER_STAT_UPDATE = 159,
    SERVER_PRAYER_STATUS = 206,
    SERVER_PRIVACY_SETTINGS = 51,
    SERVER_REGION_ENTITY_UPDATE = 211,
    SERVER_REGION_GROUND_ITEMS = 99,
    SERVER_REGION_NPCS = 79,
    SERVER_REGION_NPC_UPDATE = 104,
    SERVER_REGION_OBJECTS = 48,
    SERVER_REGION_PLAYERS = 191,
    SERVER_REGION_PLAYER_UPDATE = 234,
    SERVER_REGION_WALL_OBJECTS = 91,
    SERVER_SERVER_MESSAGE = 89,
    SERVER_SERVER_MESSAGE_ONTOP = 222,
    SERVER_SHOP_CLOSE = 137,
    SERVER_SHOP_OPEN = 101,
    SERVER_SLEEP_CLOSE = 84,
    SERVER_SLEEP_INCORRECT = 194,
    SERVER_SLEEP_OPEN = 117,
    SERVER_SOUND = 204,
    SERVER_SYSTEM_UPDATE = 52,
    SERVER_MAGIC_BUBBLE = 36,
    SERVER_TRADE_CLOSE = 128,
    SERVER_TRADE_CONFIRM_OPEN = 20,
    SERVER_TRADE_ITEMS = 97,
    SERVER_TRADE_OPEN = 92,
    SERVER_TRADE_RECIPIENT_ACCEPTED = 162,
    SERVER_TRADE_ACCEPTED = 15,
    SERVER_WELCOME = 182,
    SERVER_WORLD_INFO = 25
} ServerOpcode;

#endif
