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); } }
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); } }
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); } }
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); } }