public bool Read(BinaryReader reader) { Stat.Read(reader); var count = reader.ReadInt32(); for (var i = 0; i < count; i++) { var temp = new StatisticTree <StatisticType>(); temp.Read(reader); AddChild(temp); } return(true); }
public void AddChild(StatisticTree <StatisticType> child) { Children.Add(child); }