Ejemplo n.º 1
0
 public void TokenCallback(ParadoxParser parser, string token)
 {
     if (token == this.currentParsedProvinceStr && parser.CurrentIndent == 0)
     {
         var newProv = new SaveProvince(this.currentParsedProvince++);
         this.Provinces.Add(parser.Parse <SaveProvince>(newProv));
         this.currentParsedProvinceStr = this.currentParsedProvince.ToString();
     }
 }
Ejemplo n.º 2
0
 public void TokenCallback(ParadoxParser parser, string token)
 {
     if (token == this.currentParsedProvinceStr && parser.CurrentIndent == 0)
     {
         var newProv = new SaveProvince(this.currentParsedProvince++);
         this.Provinces.Add(parser.Parse<SaveProvince>(newProv));
         this.currentParsedProvinceStr = this.currentParsedProvince.ToString();
     }
 }