Core/PacketIO: Updated packet structures to 9.2.0
This commit is contained in:
@@ -77,6 +77,7 @@ WorldPacket const* GossipMessage::Write()
|
||||
_worldPacket << uint8(options.OptionNPC);
|
||||
_worldPacket << int8(options.OptionFlags);
|
||||
_worldPacket << int32(options.OptionCost);
|
||||
_worldPacket << uint32(options.OptionLanguage);
|
||||
_worldPacket.WriteBits(options.Text.size(), 12);
|
||||
_worldPacket.WriteBits(options.Confirm.size(), 12);
|
||||
_worldPacket.WriteBits(AsUnderlyingType(options.Status), 2);
|
||||
@@ -170,6 +171,14 @@ void GossipSelectOption::Read()
|
||||
PromotionCode = _worldPacket.ReadString(length);
|
||||
}
|
||||
|
||||
WorldPacket const* GossipComplete::Write()
|
||||
{
|
||||
_worldPacket.WriteBit(SuppressSound);
|
||||
_worldPacket.FlushBits();
|
||||
|
||||
return &_worldPacket;
|
||||
}
|
||||
|
||||
WorldPacket const* PlayerTabardVendorActivate::Write()
|
||||
{
|
||||
_worldPacket << Vendor;
|
||||
|
||||
Reference in New Issue
Block a user