Пример #1
0
        public override byte[] ToBuffer()
        {
            MemoryStream m = new MemoryStream();

            unk1.toBuffer(m);
            Helper.WriteU32(m, (uint)members.Count);
            foreach (GR5_PartyMember mem in members)
            {
                mem.toBuffer(m);
            }
            Helper.WriteU32(m, (uint)invitees.Count);
            foreach (GR5_Invitee i in invitees)
            {
                i.toBuffer(m);
            }
            return(m.ToArray());
        }