mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-20 01:46:15 +00:00
c
This commit is contained in:
1 parent
a0b3b78830
commit
2edd5e8a7a
12 files changed
+110
-114
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 ModdedOptionTabSettings TabSettings => new()
|
||||
public static ExamplePlugin Instance { get; private set; }
|
||||
public ModdedOptionTabSettings TabSettings => new ModdedOptionTabSettings()
|
||||
{
|
||||
Title = "MiraAPI Example Mod",
|
||||
TabIcon = MiraAssets.Empty
|
||||
@@ -24,6 +24,7 @@ public partial class ExamplePlugin : BasePlugin, IMiraConfig
|
||||
|
||||
public override void Load()
|
||||
{
|
||||
Instance = this;
|
||||
Harmony.PatchAll();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user