public void Write(GamePacketWriter writer) { writer.Write(Id); writer.Write(RealmId, 14); writer.WriteStringWide(Name); writer.Write(Race, 5); writer.Write(Class, 5); writer.Write(Sex, 2); writer.Write(Unknown20); writer.Write((byte)Unknown2C.Count); Unknown2C.ForEach(e => writer.Write(e)); writer.WriteStringWide(GuildName); writer.Write(Unknown34, 4); writer.Write((byte)Unknown3C.Count, 5); Unknown3C.ForEach(e => writer.Write(e)); writer.Write(Bones.Count, 6); Bones.ForEach(e => writer.Write(e)); writer.Write(PvPFlag, 3); writer.Write(Unknown4C); writer.Write(Title, 14); }
public void Write(GamePacketWriter writer) { writer.Write(Id); writer.Write(Unknown8, 14); writer.WriteStringWide(Name); writer.Write(Race, 5); writer.Write(Class, 5); writer.Write(Sex, 2); writer.Write(Unknown20); writer.Write((byte)Unknown2C.Count); Unknown2C.ForEach(e => writer.Write(e)); writer.WriteStringWide(Unknown30); writer.Write(Unknown34, 4); writer.Write((byte)Unknown3C.Count, 5); Unknown3C.ForEach(e => writer.Write(e)); writer.Write(Bones.Count, 6); Bones.ForEach(e => writer.Write(e)); writer.Write(Unknown48, 3); writer.Write(Unknown4C); writer.Write(Unknown50, 14); }
public void Write(GamePacketWriter writer) { writer.Write(Id); writer.WriteStringWide(Name); writer.Write(Sex, 2); writer.Write(Race, 5); writer.Write(Class, 5); writer.Write(Faction); writer.Write(Level); writer.Write(Appearance.Count); foreach (ItemVisual item in Appearance) { item.Write(writer); } writer.Write(Gear.Count); foreach (ItemVisual item in Gear) { item.Write(writer); } writer.Write(WorldId, 15); writer.Write(WorldZoneId, 15); writer.Write(Unknown38, 14); Unknown3C.Write(writer); writer.Write(Unknown50, 3); writer.Write(IsLocked); writer.Write(Unknown58); writer.Write(Unknown5C); writer.Write(Labels.Count, 4); for (int i = 0; i < Labels.Count; i++) { writer.Write(Labels[i]); } for (int i = 0; i < Labels.Count; i++) { writer.Write(Values[i]); } writer.Write(Bones.Count); foreach (float value in Bones) { writer.Write(value); } writer.Write(Unknown74); }