Core/Defines: Update enum TextEmotes, values and names from client. (These emotes comes in CMSG_TEXT_EMOTE).
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user