use newer event stuff + fix attribute

This commit is contained in:
Az committed 2026-11-07 16:42:18 -05:00
1 parent 623cde27ee
commit 9557892daf
6 files changed
+20 -23

No files matched your search

+1
View File
@@ -14,6 +14,7 @@ using Reactor.Utilities;
namespace MiraAPI.Example;
[RegisterEventContainer]
public static class ExampleEventHandlers
{
public static void Initialize()
+3
View File
@@ -26,6 +26,9 @@ public partial class ExamplePlugin : BasePlugin, IMiraPlugin
public string OptionsTitleText { get; } = "Mira API\nExample Mod";
public string CustomOptionMenuNameTwo { get; } = "Example Options";
/// <inheritdoc />
public bool ForceRegisterEvents => false;
public ConfigFile GetConfigFile()
{
return Config;