# encoding: utf-8

#────────────────────────────────────────────────────────────────────────────
# ▶ Header
# --------------------------------------------------------------------------
# Author    뮤 (mu29gl@gmail.com)
# Date      2014
# --------------------------------------------------------------------------
# Description
# 
#    패킷 인덱스를 지정하는 헤더 모듈입니다.
#────────────────────────────────────────────────────────────────────────────

module CTSHeader # Client -> Server
	LOGIN = 0
	REGISTER = 1
	MOVE_CHARACTER = 2
	TURN_CHARACTER = 3
  REMOVE_EQUIP_ITEM = 4
	USE_STAT_POINT = 5
	ACTION = 6
	USE_ITEM = 7
	USE_SKILL = 8
  DROP_ITEM = 9
  DROP_GOLD = 10
  PICK_ITEM = 11
  CHAT_NORMAL = 12
  CHAT_WHISPER = 13
  CHAT_PARTY = 14
  CHAT_GUILD = 15
  CHAT_ALL = 16
	CHAT_BALLOON_START = 17
  
	OPEN_REGISTER_WINDOW = 100
	CHANGE_ITEM_INDEX = 101
	REQUEST_TRADE = 102
	RESPONSE_TRADE = 103
	LOAD_TRADE_ITEM = 104
	DROP_TRADE_ITEM = 105
	CHANGE_TRADE_GOLD = 106
	FINISH_TRADE = 107
  CANCEL_TRADE = 108
  SELECT_MESSAGE = 109
	CREATE_PARTY = 110
	INVITE_PARTY = 111
	RESPONSE_PARTY = 112
	QUIT_PARTY = 113
	KICK_PARTY = 114
	BREAK_UP_PARTY = 115
	CREATE_GUILD = 116
	INVITE_GUILD = 117
	RESPONSE_GUILD = 118
	QUIT_GUILD = 119
	KICK_GUILD = 120
	BREAK_UP_GUILD = 121
  BUY_SHOP_ITEM = 122
  
  SET_SLOT = 200
  DEL_SLOT = 201
end

module STCHeader # Server -> Client
  LOGIN = 0
	REGISTER = 1
	MOVE_CHARACTER = 2
	TURN_CHARACTER = 3
	CREATE_CHARACTER = 4
	REMOVE_CHARACTER = 5
	REFRESH_CHARACTER = 6
  JUMP_CHARACTER = 7
  ANIMATION_CHARACTER = 8
  MOTION_CHARACTER = 9
	UPDATE_CHARACTER = 10
  DAMAGE_CHARACTER = 11
  LOAD_DROP_ITEM = 12
	LOAD_DROP_GOLD = 13
	REMOVE_DROP_ITEM = 14
	REMOVE_DROP_GOLD = 15
	NOTIFY = 16
  MOVE_MAP = 17
  CHAT_NORMAL = 18
  CHAT_WHISPER = 19
  CHAT_PARTY = 20
  CHAT_GUILD = 21
  CHAT_ALL = 22
	CHAT_BALLOON_END = 23
  PLAY_MUSIC = 24
  
	OPEN_REGISTER_WINDOW = 100
	UPDATE_STATUS = 101
	SET_ITEM = 102
	UPDATE_ITEM = 103
	SET_SKILL = 104
	UPDATE_SKILL = 105
	REQUEST_TRADE = 106
	OPEN_TRADE_WINDOW = 107
	LOAD_TRADE_ITEM = 108
	DROP_TRADE_ITEM = 109
  CHANGE_TRADE_GOLD = 110
	FINISH_TRADE = 111
  CANCEL_TRADE = 112
	OPEN_MESSAGE_WINDOW = 113
	CLOSE_MESSAGE_WINDOW = 114
	SET_SHOP_ITEM = 115
	SET_PARTY  = 116
	INVITE_PARTY = 117
	SET_PARTY_MEMBER = 118
	REMOVE_PARTY_MEMBER = 119
	CREATE_GUILD = 120
	SET_GUILD = 121
	INVITE_GUILD = 122
	SET_GUILD_MEMBER = 123
	REMOVE_GUILD_MEMBER = 124
  OPEN_SHOP_WINDOW = 125
  
  SET_SLOT = 200
  SET_COOLTIME = 201
end