160 data.
WriteBit(lookupData.IsDeleted);
161 data.
WriteBits(lookupData.Name.length(), 6);
164 data.
WriteBits(lookupData.DeclinedNames.name[i].length(), 7);
167 data.
WriteString(lookupData.DeclinedNames.name[i]);
169 data << lookupData.AccountID;
170 data << lookupData.BnetAccountID;
171 data << lookupData.GuidActual;
172 data <<
uint32(lookupData.VirtualRealmAddress);
173 data <<
uint8(lookupData.Race);
174 data <<
uint8(lookupData.Sex);
175 data <<
uint8(lookupData.ClassID);
176 data <<
uint8(lookupData.Level);
#define MAX_DECLINED_NAME_CASES
Definition: Unit.h:1099
bool WriteBit(uint32 bit)
Definition: ByteBuffer.h:170
void WriteString(std::string const &str)
Definition: ByteBuffer.h:540
uint8_t uint8
Definition: g3dmath.h:164
uint8_t uint8
Definition: Define.h:152
uint32_t uint32
Definition: g3dmath.h:168
void WriteBits(T value, int32 bits)
Definition: ByteBuffer.h:198