Exemple #1
0
        // Token: 0x06000016 RID: 22 RVA: 0x00002E14 File Offset: 0x00001014
        public static List <DTAParserWarning> ReadRootNode(DTBTreeRoot Root, TextReader Input)
        {
            DTAParser dtaparser = new DTAParser(Input);

            DTAReader.ReadNodeList(Root, dtaparser, DTAParserStatus.EOF);
            return(dtaparser.WarningList);
        }
Exemple #2
0
 // Token: 0x06000031 RID: 49 RVA: 0x00003EEA File Offset: 0x000020EA
 public static void ReadRootNode(DTBTreeRoot Root, BinaryReader Input)
 {
     Root.Version = Input.ReadByte();
     if (Root.Version != 1)
     {
         throw new DTBException("The version of the DTB file is not 1");
     }
     DTBReader.ReadNodeList(Root, Input);
 }
Exemple #3
0
 // Token: 0x0600002D RID: 45 RVA: 0x00003D90 File Offset: 0x00001F90
 public static void WriteRootNode(DTBTreeRoot Root, BinaryWriter Output)
 {
     Output.Write(Root.Version);
     DTBWriter.WriteNodeList(Root, Output);
 }