From aa21290b97eee84cf9681d2eb4ed24c278179bf4 Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Fri, 19 Feb 2021 15:50:11 +0100 Subject: [PATCH] fixed build --- .../Server/Packets/AuthenticationPackets.h | 20 +++++++++---------- .../game/Server/Packets/MovementPackets.h | 12 +++++------ 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/server/game/Server/Packets/AuthenticationPackets.h b/src/server/game/Server/Packets/AuthenticationPackets.h index 712ea143581..82726bf67aa 100644 --- a/src/server/game/Server/Packets/AuthenticationPackets.h +++ b/src/server/game/Server/Packets/AuthenticationPackets.h @@ -106,19 +106,19 @@ namespace WorldPackets bool HasFCM = false; ///< true if the account has a forced character migration pending. @todo implement }; + struct AuthSuccessInfo + { + uint32 TimeRemain = 0; ///< the remaining game time that the account has in seconds. It is not currently implemented and probably won't ever be. + uint32 TimeRested = 0; ///< affects the return value of the GetBillingTimeRested() client API call, it is the number of seconds you have left until the experience points and loot you receive from creatures and quests is reduced. It is only used in the Asia region in retail, it's not implemented in TC and will probably never be. + uint32 TimeSecondsUntilPCKick = 0; ///< @todo research + uint8 AccountExpansionLevel = 0; ///< the current expansion of this account, the possible values are in @ref Expansions + uint8 ActiveExpansionLevel = 0; ///< the current server expansion, the possible values are in @ref Expansions + uint8 TimeOptions = 0; ///< controls the behavior of the client regarding billing, used in Asia realms, as they don't have monthly subscriptions, possible values are in @ref BillingPlanFlags. It is not currently implemented and will probably never be. + }; + class AuthResponse final : public ServerPacket { public: - struct AuthSuccessInfo - { - uint32 TimeRemain = 0; ///< the remaining game time that the account has in seconds. It is not currently implemented and probably won't ever be. - uint32 TimeRested = 0; ///< affects the return value of the GetBillingTimeRested() client API call, it is the number of seconds you have left until the experience points and loot you receive from creatures and quests is reduced. It is only used in the Asia region in retail, it's not implemented in TC and will probably never be. - uint32 TimeSecondsUntilPCKick = 0; ///< @todo research - uint8 AccountExpansionLevel = 0; ///< the current expansion of this account, the possible values are in @ref Expansions - uint8 ActiveExpansionLevel = 0; ///< the current server expansion, the possible values are in @ref Expansions - uint8 TimeOptions = 0; ///< controls the behavior of the client regarding billing, used in Asia realms, as they don't have monthly subscriptions, possible values are in @ref BillingPlanFlags. It is not currently implemented and will probably never be. - }; - AuthResponse() : ServerPacket(SMSG_AUTH_RESPONSE) { } WorldPacket const* Write() override; diff --git a/src/server/game/Server/Packets/MovementPackets.h b/src/server/game/Server/Packets/MovementPackets.h index 2dd057a4964..1c36eac9bd9 100644 --- a/src/server/game/Server/Packets/MovementPackets.h +++ b/src/server/game/Server/Packets/MovementPackets.h @@ -39,14 +39,14 @@ namespace WorldPackets int32 AckIndex = 0; }; + struct ShipTransferPending + { + uint32 ID = 0; ///< gameobject_template.entry of the transport the player is teleporting on + int32 OriginMapID = -1; ///< Map id the player is currently on (before teleport) + }; + class TransferPending final : public ServerPacket { - struct ShipTransferPending - { - uint32 ID = 0; ///< gameobject_template.entry of the transport the player is teleporting on - int32 OriginMapID = -1; ///< Map id the player is currently on (before teleport) - }; - public: TransferPending() : ServerPacket(SMSG_TRANSFER_PENDING, 12) { }