Esempio n. 1
0
 public override void Write()
 {
     _worldPacket.WriteBits(Channel.GetByteCount(), 7);
     _worldPacket.WriteBits(ChannelWelcomeMsg.GetByteCount(), 10);
     _worldPacket.WriteUInt32(ChannelFlags);
     _worldPacket.WriteInt32(ChatChannelID);
     _worldPacket.WriteUInt64(InstanceID);
     _worldPacket.WriteString(Channel);
     _worldPacket.WriteString(ChannelWelcomeMsg);
 }
Esempio n. 2
0
 public override void Write()
 {
     _worldPacket.WriteBits(Channel.GetByteCount(), 7);
     _worldPacket.WriteBits(ChannelWelcomeMsg.GetByteCount(), 11);
     _worldPacket.WriteUInt32((uint)ChannelFlags);
     _worldPacket.WriteInt32(ChatChannelID);
     _worldPacket.WriteUInt64((ulong)InstanceID);
     _worldPacket.WritePackedGuid(ChannelGUID);
     _worldPacket.WriteString(Channel);
     _worldPacket.WriteString(ChannelWelcomeMsg);
 }