public override void Deserialize(IDataReader reader) { uint num = (uint)reader.ReadUShort(); for (int index = 0; (long)index < (long)num; ++index) { HavenBagFurnitureInformation furnitureInformation = new HavenBagFurnitureInformation(); furnitureInformation.Deserialize(reader); this.furnituresInfos.Add(furnitureInformation); } }
public override void Deserialize(IDataReader reader) { var furnituresInfosCount = reader.ReadUShort(); FurnituresInfos = new List <HavenBagFurnitureInformation>(); for (var furnituresInfosIndex = 0; furnituresInfosIndex < furnituresInfosCount; furnituresInfosIndex++) { var objectToAdd = new HavenBagFurnitureInformation(); objectToAdd.Deserialize(reader); FurnituresInfos.Add(objectToAdd); } }
public override void Deserialize(ICustomDataInput reader) { var countFurnituresInfos = reader.ReadShort(); FurnituresInfos = new List <HavenBagFurnitureInformation>(); for (short i = 0; i < countFurnituresInfos; i++) { HavenBagFurnitureInformation type = new HavenBagFurnitureInformation(); type.Deserialize(reader); FurnituresInfos.Add(type); } }
public override void Deserialize(IDataReader reader) { int furnituresInfosCount = reader.ReadUShort(); int furnituresInfosIndex; m_furnituresInfos = new System.Collections.Generic.List <HavenBagFurnitureInformation>(); for (furnituresInfosIndex = 0; (furnituresInfosIndex < furnituresInfosCount); furnituresInfosIndex = (furnituresInfosIndex + 1)) { HavenBagFurnitureInformation objectToAdd = new HavenBagFurnitureInformation(); objectToAdd.Deserialize(reader); m_furnituresInfos.Add(objectToAdd); } }