public void ReadChildData(BinaryReader reader) { for (int x = 0; x < _itemPermutations.Count; x++) { ItemPermutations.AddNew(); ItemPermutations[x].Read(reader); } for (int x = 0; x < _itemPermutations.Count; x++) { ItemPermutations[x].ReadChildData(reader); } }
public virtual void ReadChildData(BinaryReader reader) { int x = 0; for (x = 0; (x < _itemPermutations.Count); x = (x + 1)) { ItemPermutations.Add(new ItemPermutationBlock()); ItemPermutations[x].Read(reader); } for (x = 0; (x < _itemPermutations.Count); x = (x + 1)) { ItemPermutations[x].ReadChildData(reader); } }