Esempio n. 1
0
        public override void Serialize(ref byte[] buffer, Pointer p, bool includeComponents)
        {
            m_CharacterInfo.Serialize(ref buffer, p, includeComponents);

            BitPacker.AddString(ref buffer, p, OwningAccount.OwningServer);
            BitPacker.AddString(ref buffer, p, OwningAccount.ID.ToString());
            BitPacker.AddString(ref buffer, p, OwningAccount.AccountName);
            BitPacker.AddSerializableWispObject(ref buffer, p, OwningAccount.Profile);

            BitPacker.AddString(ref buffer, p, TargetResource.ToString());

            base.Serialize(ref buffer, p, includeComponents);
        }