refactor(Core): Add definition file for area table entries. (#22054)
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
*/
|
||||
|
||||
#include "WhoListCacheMgr.h"
|
||||
#include "AreaDefines.h"
|
||||
#include "GuildMgr.h"
|
||||
#include "ObjectAccessor.h"
|
||||
#include "World.h"
|
||||
@@ -56,7 +57,7 @@ void WhoListCacheMgr::Update()
|
||||
|
||||
_whoListStorage.emplace_back(player->GetGUID(), player->GetTeamId(), player->GetSession()->GetSecurity(), player->GetLevel(),
|
||||
player->getClass(), player->getRace(),
|
||||
(player->IsSpectator() ? 4395 /*Dalaran*/ : player->GetZoneId()), player->getGender(), player->IsVisible(),
|
||||
(player->IsSpectator() ? AREA_DALARAN : player->GetZoneId()), player->getGender(), player->IsVisible(),
|
||||
widePlayerName, wideGuildName, playerName, guildName);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user