Core/PacketIO: Fixed some 11.0.2 structures
Port From (https://github.com/TrinityCore/TrinityCore/commit/1f952893fc82bc677058737f77de710c426c60ee)
This commit is contained in:
@@ -25,7 +25,7 @@ namespace Game.Networking.Packets
|
||||
|
||||
public override void Write()
|
||||
{
|
||||
_worldPacket .WritePackedGuid( Unit);
|
||||
_worldPacket.WritePackedGuid(Unit);
|
||||
_worldPacket.WriteBits(Status, 2);
|
||||
_worldPacket.FlushBits();
|
||||
}
|
||||
@@ -108,9 +108,17 @@ namespace Game.Networking.Packets
|
||||
|
||||
class NewTaxiPath : ServerPacket
|
||||
{
|
||||
public NewTaxiPath() : base(ServerOpcodes.NewTaxiPath) { }
|
||||
uint TaxiNodesID;
|
||||
|
||||
public override void Write() { }
|
||||
public NewTaxiPath(uint taxiNodesId) : base(ServerOpcodes.NewTaxiPath)
|
||||
{
|
||||
TaxiNodesID = taxiNodesId;
|
||||
}
|
||||
|
||||
public override void Write()
|
||||
{
|
||||
_worldPacket.WriteUInt32(TaxiNodesID);
|
||||
}
|
||||
}
|
||||
|
||||
class ActivateTaxiReplyPkt : ServerPacket
|
||||
|
||||
Reference in New Issue
Block a user