163 data << rosterMemberData.Guid;
164 data << rosterMemberData.RankID;
165 data << rosterMemberData.AreaID;
166 data << rosterMemberData.PersonalAchievementPoints;
167 data << rosterMemberData.GuildReputation;
168 data << rosterMemberData.LastSave;
170 for (
uint8 i = 0; i < 2; i++)
171 data << rosterMemberData.Profession[i];
173 data << rosterMemberData.VirtualRealmAddress;
174 data << rosterMemberData.Status;
175 data << rosterMemberData.Level;
176 data << rosterMemberData.ClassID;
177 data << rosterMemberData.Gender;
179 data.
WriteBits(rosterMemberData.Name.length(), 6);
180 data.
WriteBits(rosterMemberData.Note.length(), 8);
181 data.
WriteBits(rosterMemberData.OfficerNote.length(), 8);
182 data.
WriteBit(rosterMemberData.Authenticated);
183 data.
WriteBit(rosterMemberData.SorEligible);
void FlushBits()
Definition: ByteBuffer.h:150
bool WriteBit(uint32 bit)
Definition: ByteBuffer.h:170
void WriteString(std::string const &str)
Definition: ByteBuffer.h:540
uint8_t uint8
Definition: Define.h:152
void WriteBits(T value, int32 bits)
Definition: ByteBuffer.h:198