mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-20 11:39:45 +00:00
Updated events
This commit is contained in:
1 parent
51fcc2c88f
commit
35689487ae
13 files changed
+221
-10
No files matched your search
@@ -1,6 +1,7 @@
|
||||
using MiraAPI.Events;
|
||||
using MiraAPI.Events.Mira;
|
||||
using MiraAPI.Events.Vanilla;
|
||||
using MiraAPI.Events.Vanilla.Usables;
|
||||
using MiraAPI.Example.Buttons.Freezer;
|
||||
using Reactor.Utilities;
|
||||
|
||||
@@ -14,6 +15,16 @@ public static class ExampleEventHandlers
|
||||
MiraEventManager.RegisterEventHandler<MiraButtonClickEvent<FreezeButton>>(FreezeButtonClickHandler, 1);
|
||||
MiraEventManager.RegisterEventHandler<MiraButtonCancelledEvent<FreezeButton>>(FreezeButtonCancelledHandler);
|
||||
MiraEventManager.RegisterEventHandler<UpdateSystemEvent>(UpdateSystemEventHandler);
|
||||
MiraEventManager.RegisterEventHandler<PlayerCanUseEvent>(PlayerControlCanUse);
|
||||
MiraEventManager.RegisterEventHandler<PlayerUseEvent>(PlayerControlUse);
|
||||
}
|
||||
|
||||
public static void PlayerControlCanUse(PlayerCanUseEvent @event)
|
||||
{
|
||||
}
|
||||
|
||||
public static void PlayerControlUse(PlayerUseEvent @event)
|
||||
{
|
||||
}
|
||||
|
||||
public static void UpdateSystemEventHandler(UpdateSystemEvent @event)
|
||||
|
||||
Reference in new issue
Block a user