Exemplo n.º 1
0
 public Header(Mod mod, string header)
 {
     this.Mod = mod;
     try
     {
         XDocument configuration = XDocument.Parse(header);
         SetXML(configuration);
         Debug.Log("Game: " + this.Mod.Game.GameConfiguration.ID, "Successfully parsed mod header of mod \"" + this.ID + "\".");
     }
     catch (Exception e)
     {
         Debug.Log("Game: " + this.Mod.Game.GameConfiguration.ID, "Error while parsing header of mod \"" + this.ID + "\". Filename: \"" + this.Mod.FileName + "\"", Debug.Type.WARNING);
         this.Valid = false;
     }
 }
Exemplo n.º 2
0
 public AddClass(Mod mod)
 {
     this.Mod = mod;
 }
Exemplo n.º 3
0
 public Header(Mod mod)
 {
     this.Mod = mod;
 }
Exemplo n.º 4
0
 public InjectInto(Mod mod)
 {
     this.Mod = mod;
 }
Exemplo n.º 5
0
 public Button(Mod mod)
 {
     this.Mod = mod;
 }
Exemplo n.º 6
0
 public AddMethod(Mod mod)
 {
     this.Mod = mod;
 }
Exemplo n.º 7
0
 public AddField(Mod mod)
 {
     this.Mod = mod;
 }