public override void Write() { _worldPacket.WriteInt32(NumAccounts); _worldPacket.WritePackedTime(CreateDate); _worldPacket.WriteInt32(GuildFlags); _worldPacket.WriteUInt32(MemberData.Count); _worldPacket.WriteBits(WelcomeText.GetByteCount(), 10); _worldPacket.WriteBits(InfoText.GetByteCount(), 10); _worldPacket.FlushBits(); MemberData.ForEach(p => p.Write(_worldPacket)); _worldPacket.WriteString(WelcomeText); _worldPacket.WriteString(InfoText); }
public override void Write() { _worldPacket.WriteUInt32(MemberData.Count); MemberData.ForEach(p => p.Write(_worldPacket)); }