Merge branch 'master' of github.com:CypherCore/CypherCore

This commit is contained in:
hondacrx
2018-06-20 17:16:19 -04:00
@@ -150,6 +150,7 @@ namespace Game.Network.Packets
{ {
_worldPacket.WriteUInt32(SuccessInfo.Value.Billing.BillingPlan); _worldPacket.WriteUInt32(SuccessInfo.Value.Billing.BillingPlan);
_worldPacket.WriteUInt32(SuccessInfo.Value.Billing.TimeRemain); _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 // 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 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 _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 BillingPlan;
public uint TimeRemain; public uint TimeRemain;
public uint Unknown735;
public bool InGameRoom; public bool InGameRoom;
} }
} }
@@ -431,4 +433,4 @@ namespace Game.Network.Packets
public uint RealmAddress; // the virtual address of this realm, constructed as RealmHandle::Region << 24 | RealmHandle::Battlegroup << 16 | RealmHandle::Index public uint RealmAddress; // the virtual address of this realm, constructed as RealmHandle::Region << 24 | RealmHandle::Battlegroup << 16 | RealmHandle::Index
public VirtualRealmNameInfo RealmNameInfo; public VirtualRealmNameInfo RealmNameInfo;
} }
} }