Core/PacketIO: Fixed some 11.0.2 structures

Port From (https://github.com/TrinityCore/TrinityCore/commit/1f952893fc82bc677058737f77de710c426c60ee)
This commit is contained in:
Hondacrx
2024-09-08 15:12:15 -04:00
parent 6bdb8a6c70
commit fcdd67374b
3 changed files with 15 additions and 7 deletions
+11 -3
View File
@@ -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