Farmhouse_Basement_Revised/ModEntry.cs
/// <summary>The mod entry point, called after the mod is first loaded.</summary>
/// <param name="helper">Provides simplified APIs for writing mods.</param>
The mod entry point, called after the mod is first loaded.
The mod entry point called after the mod is first loaded .
public override void Entry(IModHelper helper)
        {
            SaveEvents.AfterLoad += AfterSaveLoaded;
            InputEvents.ButtonPressed += this.InputEvents_ButtonPressed;
            helper.Content.AssetEditors.Add(new FarmhouseBasementUpgradeDialogueEditor());
        }
public override void Entry ( IModHelper helper ) { SaveEvents . AfterLoad += AfterSaveLoaded ; InputEvents . ButtonPressed += this . InputEvents_ButtonPressed ; helper . Content . AssetEditors . Add ( new FarmhouseBasementUpgradeDialogueEditor ( ) ) ; }
The mod entry point, called after the mod is first loaded.
The mod entry point called after the mod is first loaded .
// the game clears locations when loading the save, so do it after the save loads
helper
IModHelper
Provides simplified APIs for writing mods.
Provides simplified APIs for writing mods .