Core: Update to 10.2.0
Port From (https://github.com/TrinityCore/TrinityCore/commit/1eea1d11b14d2ae065ab0f1888fba3b1ef03874f)
This commit is contained in:
@@ -45,7 +45,7 @@ namespace Game.Networking.Packets
|
||||
public PlayerInteractionType InteractionType;
|
||||
public bool Success = true;
|
||||
}
|
||||
|
||||
|
||||
public class GossipMessagePkt : ServerPacket
|
||||
{
|
||||
public GossipMessagePkt() : base(ServerOpcodes.GossipMessage) { }
|
||||
@@ -122,7 +122,7 @@ namespace Game.Networking.Packets
|
||||
public int GossipNpcOptionID;
|
||||
public int? FriendshipFactionID;
|
||||
}
|
||||
|
||||
|
||||
public class GossipComplete : ServerPacket
|
||||
{
|
||||
public bool SuppressSound;
|
||||
@@ -230,6 +230,20 @@ namespace Game.Networking.Packets
|
||||
public ObjectGuid Healer;
|
||||
}
|
||||
|
||||
class TabardVendorActivate : ClientPacket
|
||||
{
|
||||
public ObjectGuid Vendor;
|
||||
public int Type;
|
||||
|
||||
public TabardVendorActivate(WorldPacket packet) : base(packet) { }
|
||||
|
||||
public override void Read()
|
||||
{
|
||||
Vendor = _worldPacket.ReadPackedGuid();
|
||||
Type = _worldPacket.ReadInt32();
|
||||
}
|
||||
}
|
||||
|
||||
class TrainerBuySpell : ClientPacket
|
||||
{
|
||||
public TrainerBuySpell(WorldPacket packet) : base(packet) { }
|
||||
@@ -238,7 +252,7 @@ namespace Game.Networking.Packets
|
||||
{
|
||||
TrainerGUID = _worldPacket.ReadPackedGuid();
|
||||
TrainerID = _worldPacket.ReadUInt32();
|
||||
SpellID= _worldPacket.ReadUInt32();
|
||||
SpellID = _worldPacket.ReadUInt32();
|
||||
}
|
||||
|
||||
public ObjectGuid TrainerGUID;
|
||||
@@ -289,7 +303,7 @@ namespace Game.Networking.Packets
|
||||
public uint PetNumber;
|
||||
public byte DestSlot;
|
||||
}
|
||||
|
||||
|
||||
//Structs
|
||||
public struct TreasureItem
|
||||
{
|
||||
@@ -406,7 +420,7 @@ namespace Game.Networking.Packets
|
||||
data.WriteBit(DoNotFilterOnVendor);
|
||||
data.WriteBit(Refundable);
|
||||
data.FlushBits();
|
||||
|
||||
|
||||
Item.Write(data);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user