47 if (std::shared_ptr<Realm const> currentRealm =
sRealmList->GetCurrentRealm())
49 response.
SuccessInfo->VirtualRealmAddress = currentRealm->Id.GetAddress();
50 response.
SuccessInfo->VirtualRealms.emplace_back(currentRealm->Id.GetAddress(),
true,
false, currentRealm->Name, currentRealm->NormalizedName);
55 response.
SuccessInfo->Templates.push_back(&templ.second);
67 response.
WaitInfo->WaitCount = queuePos;
132 std::visit([&]<
typename T>(T value)
134 if constexpr (std::is_same_v<T, float>)
147 {
"raidLockoutExtendEnabled"sv,
"1"sv },
148 {
"sellAllJunkEnabled"sv,
"1"sv },
149 {
"bypassItemLevelScalingCode"sv,
"0"sv },
150 {
"shop2Enabled"sv,
"0"sv },
151 {
"bpayStoreEnable"sv,
"0"sv },
152 {
"recentAlliesEnabledClient"sv,
"0"sv },
153 {
"browserEnabled"sv,
"0"sv },
154 {
"housingEnableCreateGuildNeighborhood"sv,
"0"sv },
155 {
"housingEnableDeleteHouse"sv,
"0"sv },
156 {
"housingServiceEnabled"sv,
"0"sv },
157 {
"housingEnableMoveHouse"sv,
"0"sv },
158 {
"housingEnableCreateCharterNeighborhood"sv,
"0"sv },
159 {
"housingEnableBuyHouse"sv,
"0"sv },
160 {
"housingMarketEnabled"sv,
"0"sv },
#define sCharacterTemplateDataStore
std::chrono::minutes Minutes
Minutes shorthand typedef.
Role Based Access Control related classes definition.
constexpr std::underlying_type< E >::type AsUnderlyingType(E enumValue)
uint32 Result
the result of the authentication process, possible values are BattlenetRpcErrorCode
WorldPacket const * Write() override
Optional< AuthWaitInfo > WaitInfo
contains the queue wait information in case the account is in the login queue.
Optional< AuthSuccessInfo > SuccessInfo
contains the packet data in case that it has account information (It is never set when WaitInfo is se...
WorldPacket const * Write() override
WorldPacket const * Write() override
int32 MaxCharactersOnThisRealm
Optional< EuropaTicketConfig > EuropaTicketSystemStatus
std::vector< GameRuleValuePair > GameRules
WorldPacket const * Write() override
int32 MaximumExpansionLevel
std::vector< int32 > AvailableGameModeIDs
int32 MinimumExpansionLevel
bool BpayStoreDisabledByParentalControls
WorldPacket const * Write() override
std::span< MirrorVarSingle > Variables
void SendClientCacheVersion(uint32 version)
void SendAuthResponse(uint32 code, bool queued, uint32 queuePos=0)
void SendAuthWaitQueue(uint32 position)
Handle the authentication waiting queue (to be completed)
void SendSetTimeZoneInformation()
bool HasPermission(uint32 permissionId)
void SendPacket(WorldPacket const *packet, bool forced=false)
Send a packet to the client.
uint8 GetAccountExpansion() const
uint8 GetExpansion() const
void SendFeatureSystemStatusGlueScreen()
@ CONFIG_CHARACTERS_PER_REALM
@ CONFIG_SUPPORT_COMPLAINTS_ENABLED
@ CONFIG_SUPPORT_BUGS_ENABLED
@ CONFIG_SUPPORT_SUGGESTIONS_ENABLED
@ CONFIG_SUPPORT_TICKETS_ENABLED
@ CONFIG_FEATURE_SYSTEM_CHARACTER_UNDELETE_ENABLED
bool IsDisabledFor(DisableType type, uint32 entry, WorldObject const *ref, uint8 flags)
std::string_view FindClosestClientSupportedTimezone(std::string_view currentTimezone, Minutes currentTimezoneOffset)
Minutes GetSystemZoneOffset(bool applyDst)
std::string GetSystemZoneName()
@ RBAC_PERM_USE_CHARACTER_TEMPLATES
bool HasFCM
true if the account has a forced character migration pending.
uint32 WaitCount
position of the account in the login queue
uint32 WaitTime
Wait time in login queue in minutes, if sent queued and this value is 0 client displays "unknown time...