public static void SetupConfig() { //QuickLogger.DebugLogsEnabled = QModManager.Utility.Logger.DebugLogsEnabled; // Logger.Log(Logger.Level.Debug, "Debug logs enabled"); QuickLogger.Info("Loading config.json settings"); ModConfiguration.Initialize(); }
public static void Patch() { QuickLogger.Info("Started patching. Version: " + QuickLogger.GetAssemblyVersion()); #if DEBUG QuickLogger.DebugLogsEnabled = true; QuickLogger.Debug("Debug logs enabled"); #endif ModConfiguration.Initialize(); CubeGeneratorBuildable.PatchSMLHelper(); var harmony = new Harmony("com.ioncubegenerator.psmod"); harmony.PatchAll(Assembly.GetExecutingAssembly()); QuickLogger.Info("Finished patching"); }