aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Handlers/CharacterHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/game/Handlers/CharacterHandler.cpp')
-rw-r--r--src/server/game/Handlers/CharacterHandler.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/server/game/Handlers/CharacterHandler.cpp b/src/server/game/Handlers/CharacterHandler.cpp
index 0a54c0c7d53..9461ebdb276 100644
--- a/src/server/game/Handlers/CharacterHandler.cpp
+++ b/src/server/game/Handlers/CharacterHandler.cpp
@@ -978,13 +978,13 @@ void WorldSession::HandlePlayerLogin(LoginQueryHolder* holder)
// Send PVPSeason
{
- WorldPackets::Battleground::PVPSeason season;
- season.PreviousSeason = sWorld->getIntConfig(CONFIG_ARENA_SEASON_ID) - sWorld->getBoolConfig(CONFIG_ARENA_SEASON_IN_PROGRESS);
+ WorldPackets::Battleground::SeasonInfo seasonInfo;
+ seasonInfo.PreviousSeason = sWorld->getIntConfig(CONFIG_ARENA_SEASON_ID) - sWorld->getBoolConfig(CONFIG_ARENA_SEASON_IN_PROGRESS);
if (sWorld->getBoolConfig(CONFIG_ARENA_SEASON_IN_PROGRESS))
- season.CurrentSeason = sWorld->getIntConfig(CONFIG_ARENA_SEASON_ID);
+ seasonInfo.CurrentSeason = sWorld->getIntConfig(CONFIG_ARENA_SEASON_ID);
- SendPacket(season.Write());
+ SendPacket(seasonInfo.Write());
}
// send server info
@@ -1089,7 +1089,7 @@ void WorldSession::HandlePlayerLogin(LoginQueryHolder* holder)
stmt->setUInt64(0, pCurrChar->GetGUID().GetCounter());
GetQueryProcessor().AddCallback(CharacterDatabase.AsyncQuery(stmt)).WithPreparedCallback([this](PreparedQueryResult favoriteAuctionResult)
{
- WorldPackets::AuctionHouse::AuctionFavoriteItems favoriteItems;
+ WorldPackets::AuctionHouse::AuctionFavoriteList favoriteItems;
if (favoriteAuctionResult)
{
favoriteItems.Items.reserve(favoriteAuctionResult->GetRowCount());
@@ -2647,12 +2647,12 @@ void WorldSession::SendCharCustomize(ResponseCodes result, WorldPackets::Charact
{
if (result == RESPONSE_SUCCESS)
{
- WorldPackets::Character::CharCustomizeResponse response(customizeInfo);
+ WorldPackets::Character::CharCustomizeSuccess response(customizeInfo);
SendPacket(response.Write());
}
else
{
- WorldPackets::Character::CharCustomizeFailed failed;
+ WorldPackets::Character::CharCustomizeFailure failed;
failed.Result = uint8(result);
failed.CharGUID = customizeInfo->CharGUID;
SendPacket(failed.Write());