Exemple #1
0
 // Token: 0x06000F6D RID: 3949 RVA: 0x00068338 File Offset: 0x00066738
 public void read(IFormattedFileReader reader)
 {
     reader = reader.readObject(this.key);
     if (reader == null)
     {
         return;
     }
     if (reader.containsKey("Text") && reader.containsKey("Version"))
     {
         this.addLeaf();
         reader.readKey("Text");
         this.leaf.text = reader.readValue <string>();
         reader.readKey("Version");
         this.leaf.version = reader.readValue <int>();
     }
     else
     {
         this.addBranches();
         foreach (string key in reader.getKeys())
         {
             TranslationBranch translationBranch = this.addBranch(key);
             reader.readKey(key);
             translationBranch.read(reader);
         }
     }
 }