Core: Updated to 11.2.5.63704
Port From (https://github.com/TrinityCore/TrinityCore/commit/53068a94e88991ae7196fb247df4b7ca2e47e554)
This commit is contained in:
@@ -189,10 +189,8 @@ namespace Game.Networking.Packets
|
||||
public ObjectGuid Selection; // Target
|
||||
}
|
||||
|
||||
public class SetupCurrency : ServerPacket
|
||||
public class SetupCurrency() : ServerPacket(ServerOpcodes.SetupCurrency, ConnectionType.Instance)
|
||||
{
|
||||
public SetupCurrency() : base(ServerOpcodes.SetupCurrency, ConnectionType.Instance) { }
|
||||
|
||||
public override void Write()
|
||||
{
|
||||
_worldPacket.WriteInt32(Data.Count);
|
||||
@@ -201,6 +199,7 @@ namespace Game.Networking.Packets
|
||||
{
|
||||
_worldPacket.WriteUInt32(data.Type);
|
||||
_worldPacket.WriteUInt32(data.Quantity);
|
||||
_worldPacket.WriteUInt8(data.Flags);
|
||||
|
||||
_worldPacket.WriteBit(data.WeeklyQuantity.HasValue);
|
||||
_worldPacket.WriteBit(data.MaxWeeklyQuantity.HasValue);
|
||||
@@ -209,7 +208,6 @@ namespace Game.Networking.Packets
|
||||
_worldPacket.WriteBit(data.TotalEarned.HasValue);
|
||||
_worldPacket.WriteBit(data.NextRechargeTime.HasValue);
|
||||
_worldPacket.WriteBit(data.RechargeCycleStartTime.HasValue);
|
||||
_worldPacket.WriteBits(data.Flags, 5);
|
||||
_worldPacket.FlushBits();
|
||||
|
||||
if (data.WeeklyQuantity.HasValue)
|
||||
|
||||
Reference in New Issue
Block a user