예제 #1
0
        public override void Deserialize(IDataReader reader)
        {
            uint num = (uint)reader.ReadUShort();

            for (int index = 0; (long)index < (long)num; ++index)
            {
                AccountHouseInformations houseInformations = new AccountHouseInformations();
                houseInformations.Deserialize(reader);
                this.houses.Add(houseInformations);
            }
        }
예제 #2
0
        public override void Deserialize(ICustomDataInput reader)
        {
            var countHouses = reader.ReadShort();

            Houses = new List <AccountHouseInformations>();
            for (short i = 0; i < countHouses; i++)
            {
                AccountHouseInformations type = new AccountHouseInformations();
                type.Deserialize(reader);
                Houses.Add(type);
            }
        }
예제 #3
0
        public override void Deserialize(IDataReader reader)
        {
            var housesCount = reader.ReadUShort();

            Houses = new List <AccountHouseInformations>();
            for (var housesIndex = 0; housesIndex < housesCount; housesIndex++)
            {
                var objectToAdd = new AccountHouseInformations();
                objectToAdd.Deserialize(reader);
                Houses.Add(objectToAdd);
            }
        }
예제 #4
0
        public override void Deserialize(ICustomDataInput reader)
        {
            int housesCount = reader.ReadUShort();
            int housesIndex;

            m_houses = new System.Collections.Generic.List <AccountHouseInformations>();
            for (housesIndex = 0; (housesIndex < housesCount); housesIndex = (housesIndex + 1))
            {
                AccountHouseInformations objectToAdd = new AccountHouseInformations();
                objectToAdd.Deserialize(reader);
                m_houses.Add(objectToAdd);
            }
        }