feat(Core/Handlers): Make use of a few billing plan flags for authentication response. (#24569)

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Benjamin Jackson
2026-02-09 22:28:59 -05:00
committed by GitHub
parent f0e5f32b4e
commit c73cf6b019
4 changed files with 46 additions and 10 deletions
+4 -4
View File
@@ -23,10 +23,10 @@ void WorldSession::SendAuthResponse(uint8 code, bool shortForm, uint32 queuePos)
{
WorldPacket packet(SMSG_AUTH_RESPONSE, 1 + 4 + 1 + 4 + 1 + (shortForm ? 0 : (4 + 1)));
packet << uint8(code);
packet << uint32(0); // BillingTimeRemaining
packet << uint8(0); // BillingPlanFlags
packet << uint32(0); // BillingTimeRested
uint8 exp = Expansion(); // 0 - normal, 1 - TBC, 2 - WOTLK, must be set in database manually for each account
packet << uint32(0); // BillingTimeRemaining
packet << GetBillingPlanFlags();
packet << uint32(0); // BillingTimeRested
uint8 exp = Expansion(); // 0 - normal, 1 - TBC, 2 - WotLK, must be set in database manually for each account
if (exp >= MAX_EXPANSIONS)
exp = MAX_EXPANSIONS - 1;