#pragma once

// 系統訊息
#define UiEvent_EnterWorld						"ENTER_WORLD"

#define UiEvent_SetLoginScreen					"SET_GLUE_SCREEN"
#define UiEvent_UpdateCharacterSelected			"UPDATE_SELECTED_CHARACTER"
#define UiEvent_CharacterListUpdate				"CHARACTER_LIST_UPDATE"

#define UiEvent_ReceiveChatMessage				"RECEIVE_CHAT_MESSAGE"
#define UiEvent_BagListUpdate					"BAG_LIST_UPDATE"


#define UiEvent_TargetChange					"TARGET_CHANGE"

#define UiEvent_ShowQuestList					"SHOW_QUESTLIST"				

#define UiEvent_ShowQuestDetailFromNPC			"SHOW_QUESTDETAIL_FROM_NPC"				
#define UiEvent_ShowQuestDetailFromBook			"SHOW_QUESTDETAIL_FROM_BOOK"				

#define UiEvent_ResetQuestBook					"RESET_QUESTBOOK"

// 狀態改變用

#define UiEvent_RoleAttributeChange				"ROLE_ATTRIBUTE_CHANGE"		// 人物各種屬性
#define UiEvent_RoleStatusChange				"ROLE_STATUS_CHANGE"		// HP / MP / SP
#define UiEvent_Role_Exp_Change					"PLAYER_EXP"
#define UiEvent_Role_Money_Change				"PLAYER_MONEY"
#define UiEvent_RoleLVChange					"ROLE_LV_CHANGE"
#define UiEvent_RoleTableChange					"ROLE_TABLE_CHANGE"			// Class
#define UiEvent_PlayerBuffChanged				"PLAYER_BUFF_CHANGED"		// 角色BUFF資料改變
#define UiEvent_TargetBuffChanged				"TARGET_BUFF_CHANGED"		// 目標對象BUFF資料改變

#define UiEvent_TradePlayerItemState			"TRADE_PLAYER_ITEM_STATE"
#define UiEvent_TradeRecipientItemState			"TRADE_RECIPIENT_ITEM_STATE"

#define UiEvent_SkillUpdate						"SKILL_UPDATE"				// 學會新的技能或者是得到新的技能配點

#define UiEvent_StoreUpdateBuyGoods				"UPDATE_STORE_BUY_GOODS"	// 更新商店商品
#define UiEvent_StoreUpdateSellGoods			"UPDATE_STORE_SELL_GOODS"	// 更新商店商品

#define UiEvent_UnitHealth						"UNIT_HEALTH"				// 生命值改變
#define UiEvent_UnitMana						"UNIT_MANA"					// 法力值改變
#define UiEvent_UnitSkill						"UNIT_SKILL"				// 技能值改變

#define UiEvent_PartyMemberChanged				"PARTY_MEMBER_CHANGED"		// 隊友改變
#define UiEvent_PartyLeaderChanged				"PARTY_LEADER_CHANGED"		// 隊長改變

#define UiEvent_CancelLootRoll					"CANCEL_LOOT_ROLL"			// 取消擲骰項目
#define UIEvent_UpdateLootAssign				"UPDATE_LOOT_ASSIGN"		// 重新整理分配物品清單

#define UiEvent_InitMessageBox					"INIT_MESSAGEBOX"			// 設置 MessageBox

#define UiEvent_PlayerEnterFight				"PLAYER_ENTER_FIGHT"		// 進入戰鬥
#define UiEvent_PlayerLeaveFight				"PLAYER_LEAVE_FIGHT"		// 離開戰鬥

// 好友清單

#define UiEvent_AddFriend						"ADD_FRIEND"				// 離開戰鬥
#define UiEvent_ResetFriend						"RESET_FRIEND"				// 朋友資料結構改變, 介面需要重置
#define UiEvent_UpdateFriend					"UPDATE_FRIEND"				// 朋友介面更新了資料