Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 public void AddChild(StatisticTree <StatisticType> child)
 {
     Children.Add(child);
 }