示例#1
0
    public void OnLoad()
    {
        string FilePath = Path.Combine(Get.ProfilePaths.RootModDir().ToString(), name + "/plugin.json");

        UpdateJSON(FilePath);
        ModProblem.AddModProblem(name + "   v" + version, FilePath, string.Empty, false);
    }
示例#2
0
 public void ModProblemOverwriting(string InitModName, string InitModPath, string InitDescription, bool InitIsError)
 {
     ModProblem.AllModProblems.Remove(InitModPath);
     ModProblem.AddModProblem(InitModName, InitModPath, InitDescription, InitIsError);
 }