public override void Deserialize(IDataReader reader) { uint num = (uint)reader.ReadUShort(); for (int index = 0; (long)index < (long)num; ++index) { ExtendedBreachBranch extendedBreachBranch = new ExtendedBreachBranch(); extendedBreachBranch.Deserialize(reader); this.branches.Add(extendedBreachBranch); } }
public override void Deserialize(IDataReader reader) { var BranchesCount = reader.ReadShort(); Branches = new List <ExtendedBreachBranch>(); for (var i = 0; i < BranchesCount; i++) { var objectToAdd = new ExtendedBreachBranch(); objectToAdd.Deserialize(reader); Branches.Add(objectToAdd); } }
public override void Deserialize(ICustomDataInput reader) { var countBranches = reader.ReadShort(); Branches = new List <ExtendedBreachBranch>(); for (short i = 0; i < countBranches; i++) { ExtendedBreachBranch type = new ExtendedBreachBranch(); type.Deserialize(reader); Branches.Add(type); } }