Exemplo n.º 1
0
        public override void Deserialize(IDataReader reader)
        {
            base.Deserialize(reader);
            var followingCharactersLookCount = reader.ReadUShort();

            FollowingCharactersLook = new List <IndexedEntityLook>();
            for (var followingCharactersLookIndex = 0; followingCharactersLookIndex < followingCharactersLookCount; followingCharactersLookIndex++)
            {
                var objectToAdd = new IndexedEntityLook();
                objectToAdd.Deserialize(reader);
                FollowingCharactersLook.Add(objectToAdd);
            }
        }
Exemplo n.º 2
0
        public override void Deserialize(IDataReader reader)
        {
            base.Deserialize(reader);
            int followingCharactersLookCount = reader.ReadUShort();
            int followingCharactersLookIndex;

            m_followingCharactersLook = new System.Collections.Generic.List <IndexedEntityLook>();
            for (followingCharactersLookIndex = 0; (followingCharactersLookIndex < followingCharactersLookCount); followingCharactersLookIndex = (followingCharactersLookIndex + 1))
            {
                IndexedEntityLook objectToAdd = new IndexedEntityLook();
                objectToAdd.Deserialize(reader);
                m_followingCharactersLook.Add(objectToAdd);
            }
        }