#ifndef _H_CLIENT_OPCODES
#define _H_CLIENT_OPCODES

/* client -> server opcodes */

typedef enum {
    CLIENT_APPEARANCE = 235,
    CLIENT_BANK_CLOSE = 212,
    CLIENT_BANK_DEPOSIT = 23,
    CLIENT_BANK_WITHDRAW = 22,
    CLIENT_CAST_GROUND = 158,
    CLIENT_CAST_GROUNDITEM = 249,
    CLIENT_CAST_INVITEM = 4,
    CLIENT_CAST_NPC = 50,
    CLIENT_CAST_OBJECT = 99,
    CLIENT_CAST_PLAYER = 229,
    CLIENT_CAST_SELF = 137,
    CLIENT_CAST_WALLOBJECT = 180,
    CLIENT_CHANGE_PASSWORD = 25,
    CLIENT_CHAT = 216,
    CLIENT_CHOOSE_OPTION = 116,
    CLIENT_CLOSE_CONNECTION = 31,
    CLIENT_COMBAT_STYLE = 29,
    CLIENT_COMMAND = 38,
    CLIENT_DUEL_ACCEPT = 176,
    CLIENT_DUEL_CONFIRM_ACCEPT = 77,
    CLIENT_DUEL_DECLINE = 197,
    CLIENT_DUEL_ITEM_UPDATE = 33,
    CLIENT_DUEL_OPTIONS = 8,
    CLIENT_FRIEND_ADD = 195,
    CLIENT_FRIEND_REMOVE = 167,
    CLIENT_GROUNDITEM_TAKE = 247,
    CLIENT_IGNORE_ADD = 132,
    CLIENT_IGNORE_REMOVE = 241,
    CLIENT_INVENTORY_COMMAND = 90,
    CLIENT_INVENTORY_DROP = 246,
    CLIENT_INVENTORY_UNEQUIP = 170,
    CLIENT_INVENTORY_WEAR = 169,
    CLIENT_KNOWN_PLAYERS = 163,
    CLIENT_LOGIN = 0,
    CLIENT_LOGOUT = 102,
    CLIENT_NPC_ATTACK = 190,
    CLIENT_NPC_COMMAND = 202,
    CLIENT_NPC_TALK = 153,
    CLIENT_OBJECT_COMMAND1 = 136,
    CLIENT_OBJECT_COMMAND2 = 79,
    CLIENT_PACKET_EXCEPTION = 3,
    CLIENT_PING = 67,
    CLIENT_PLAYER_ATTACK = 171,
    CLIENT_PLAYER_DUEL = 103,
    CLIENT_PLAYER_FOLLOW = 165,
    CLIENT_PLAYER_TRADE = 142,
    CLIENT_PM = 218,
    CLIENT_PRAYER_OFF = 254,
    CLIENT_PRAYER_ON = 60,
    CLIENT_RECOVER_CANCEL = 196,
    CLIENT_RECOVER_GET_QUESTIONS = 233,
    CLIENT_RECOVER_REQUEST = 220,
    CLIENT_RECOVER_SET = 208,
    CLIENT_RECOVER_SET_REQUEST = 203,
    CLIENT_REGISTER = 2,
    CLIENT_REPORT_ABUSE = 206,
    CLIENT_SESSION = 32,
    CLIENT_SETTINGS_GAME = 111,
    CLIENT_SETTINGS_PRIVACY = 64,
    CLIENT_SHOP_BUY = 236,
    CLIENT_SHOP_CLOSE = 166,
    CLIENT_SHOP_SELL = 221,
    CLIENT_SLEEP_WORD = 45,
    CLIENT_TRADE_ACCEPT = 55,
    CLIENT_TRADE_CONFIRM_ACCEPT = 104,
    CLIENT_TRADE_DECLINE = 230,
    CLIENT_TRADE_ITEM_UPDATE = 46,
    CLIENT_USEWITH_GROUNDITEM = 53,
    CLIENT_USEWITH_INVITEM = 91,
    CLIENT_USEWITH_NPC = 135,
    CLIENT_USEWITH_OBJECT = 115,
    CLIENT_USEWITH_PLAYER = 113,
    CLIENT_USEWITH_WALLOBJECT = 161,
    CLIENT_WALK = 187,
    CLIENT_WALK_ACTION = 16,
    CLIENT_WALL_OBJECT_COMMAND1 = 14,
    CLIENT_WALL_OBJECT_COMMAND2 = 127
} ClientOpcode;

#endif
