Core/PacketIO: Fixed SMSG_AUTH_RESPONSE structure after recent hotfix (#21)
just syncing with TC
This commit is contained in:
@@ -150,6 +150,7 @@ namespace Game.Network.Packets
|
||||
{
|
||||
_worldPacket.WriteUInt32(SuccessInfo.Value.Billing.BillingPlan);
|
||||
_worldPacket.WriteUInt32(SuccessInfo.Value.Billing.TimeRemain);
|
||||
_worldPacket.WriteUInt32(SuccessInfo.Value.Billing.Unknown735);
|
||||
// 3x same bit is not a mistake - preserves legacy client behavior of BillingPlanFlags::SESSION_IGR
|
||||
_worldPacket.WriteBit(SuccessInfo.Value.Billing.InGameRoom); // inGameRoom check in function checking which lua event to fire when remaining time is near end - BILLING_NAG_DIALOG vs IGR_BILLING_NAG_DIALOG
|
||||
_worldPacket.WriteBit(SuccessInfo.Value.Billing.InGameRoom); // inGameRoom lua return from Script_GetBillingPlan
|
||||
@@ -220,6 +221,7 @@ namespace Game.Network.Packets
|
||||
{
|
||||
public uint BillingPlan;
|
||||
public uint TimeRemain;
|
||||
public uint Unknown735;
|
||||
public bool InGameRoom;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user