mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-20 01:46:15 +00:00
WIP unfinished
This commit is contained in:
1 parent
18853329f4
commit
fd9adc62e7
13 files changed
+114
-110
No files matched your search
@@ -15,8 +15,8 @@ namespace MiraAPI.Example;
|
||||
public partial class ExamplePlugin : BasePlugin, IMiraConfig
|
||||
{
|
||||
public Harmony Harmony { get; } = new(Id);
|
||||
public static ExamplePlugin Instance { get; private set; }
|
||||
public ModdedOptionTabSettings TabSettings => new ModdedOptionTabSettings()
|
||||
|
||||
public ModdedOptionTabSettings TabSettings => new()
|
||||
{
|
||||
Title = "MiraAPI Example Mod",
|
||||
TabIcon = MiraAssets.Empty
|
||||
@@ -24,7 +24,6 @@ public partial class ExamplePlugin : BasePlugin, IMiraConfig
|
||||
|
||||
public override void Load()
|
||||
{
|
||||
Instance = this;
|
||||
Harmony.PatchAll();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user