/// <summary> /// This is the entry method for this mod. /// </summary> /// <param name="helper"></param> public override void Entry(IModHelper helper) { this.Monitor.Log("Loading Quick Start", LogLevel.Info); helper.Events.GameLoop.GameLaunched += this.OnGameLaunched; helper.Events.GameLoop.SaveCreating += this.OnSaveCreating; this.options = helper.ReadConfig <ModOptions>(); }
/// <summary> /// This is the entry method for this mod. /// </summary> /// <param name="helper"></param> public override void Entry(IModHelper helper) { this.Monitor.Log("Loading Quick Start", LogLevel.Info); this.modHelper = helper; helper.Events.GameLoop.SaveCreating += this.SaveEvents_BeforeCreate; this.options = this.modHelper.ReadConfig <ModOptions>(); this.SetupStartingItems(); }