public override void Entry(IModHelper helper) { Config = helper.ReadConfig <WorkingFireplaceConfig>(); FurniturePatch.Initialize(Monitor, Config, Helper); ApplyHarmonyPatches(); helper.Events.GameLoop.DayStarted += GameLoop_DayStarted; helper.Events.Display.MenuChanged += Display_MenuChanged; }
public override void Entry(IModHelper helper) { Config = helper.ReadConfig <WorkingFireplaceConfig>(); #if !Harmony helper.Events.Input.ButtonPressed += Input_ButtonPressed; #else Monitor.Log("This is the android version of the mod using harmony", LogLevel.Debug); FurniturePatch.Initialize(Monitor, Config, Helper); ApplyHarmonyPatches(); #endif helper.Events.GameLoop.DayStarted += GameLoop_DayStarted; helper.Events.Display.MenuChanged += Display_MenuChanged; }