예제 #1
0
파일: StatisticTree.cs 프로젝트: ykwd/rDSN
        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);
        }
예제 #2
0
파일: StatisticTree.cs 프로젝트: ykwd/rDSN
 public void AddChild(StatisticTree <StatisticType> child)
 {
     Children.Add(child);
 }