Пример #1
0
            private void readTypeDatas(DataReader data)
            {
                SerializeTypeTreeData node = new SerializeTypeTreeData();

                node.DeSerialize(data);
                int numOfChildren = data.ReadInt32();

                for (int i = 0; i < numOfChildren; i++)
                {
                    readTypeDatas(data);
                }
            }
 private void readTypeDatas(DataReader data)
 {
     SerializeTypeTreeData node = new SerializeTypeTreeData();
     node.DeSerialize(data);
     int numOfChildren = data.ReadInt32();
     for (int i = 0; i < numOfChildren; i++) {
         readTypeDatas(data);
     }
 }
            public override void DeSerialize(DataReader data)
            {
                ClassID = data.ReadInt32();
                rootType = new SerializeTypeTreeData();
                rootType.DeSerialize(data);

            }
Пример #4
0
 public override void DeSerialize(DataReader data)
 {
     ClassID  = data.ReadInt32();
     rootType = new SerializeTypeTreeData();
     rootType.DeSerialize(data);
 }