Core/Defines: Update enum TextEmotes, values and names from client. (These emotes comes in CMSG_TEXT_EMOTE).

This commit is contained in:
kaelima
2011-05-30 22:57:37 +02:00
parent 5256b5abfe
commit ae0d349a3c
8 changed files with 277 additions and 199 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ public:
void ReceiveEmote(Player* pPlayer, uint32 emote)
{
if (emote == TEXTEMOTE_SALUTE && pPlayer->GetQuestStatus(QUEST_SHATTERED_SALUTE) == QUEST_STATUS_INCOMPLETE)
if (emote == TEXT_EMOTE_SALUTE && pPlayer->GetQuestStatus(QUEST_SHATTERED_SALUTE) == QUEST_STATUS_INCOMPLETE)
{
if (CanEmote)
{
+1 -1
View File
@@ -297,7 +297,7 @@ public:
void ReceiveEmote(Player* /*pPlayer*/, uint32 emote)
{
if (emote == TEXTEMOTE_SALUTE)
if (emote == TEXT_EMOTE_SALUTE)
{
if (FlareCount >= 2)
{
@@ -350,7 +350,7 @@ public:
{
if (pPlayer->GetQuestStatus(QUEST_SCOOP) == QUEST_STATUS_INCOMPLETE)
{
if (uiTextEmote == TEXTEMOTE_BECKON)
if (uiTextEmote == TEXT_EMOTE_BECKON)
{
me->setFaction(FACTION_FRIENDLY);
me->SetFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_GOSSIP);
@@ -358,7 +358,7 @@ public:
}
}
if (uiTextEmote == TEXTEMOTE_CHICKEN)
if (uiTextEmote == TEXT_EMOTE_CHICKEN)
{
if (me->HasFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_GOSSIP))
return;