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; } }
public AddClass(Mod mod) { this.Mod = mod; }
public Header(Mod mod) { this.Mod = mod; }
public InjectInto(Mod mod) { this.Mod = mod; }
public Button(Mod mod) { this.Mod = mod; }
public AddMethod(Mod mod) { this.Mod = mod; }
public AddField(Mod mod) { this.Mod = mod; }