示例#1
0
        /*********
        ** Public methods
        *********/
        /// <summary>The mod entry point, called after the mod is first loaded.</summary>
        /// <param name="helper">Provides simplified APIs for writing mods.</param>
        public override void Entry(IModHelper helper)
        {
            config = helper.ReadConfig <ModConfig>();

            controller = new QualityScrubberController(Monitor, config);

            helper.Events.Input.ButtonPressed += this.OnButtonPressed;
        }
 public QualityScrubberApi(QualityScrubberController mod)
 {
     this.controller = mod;
 }