Elin Decompiled Documentation EA 23.315 Nightly
Loading...
Searching...
No Matches
ElinPreSaveAttribute.cs
Go to the documentation of this file.
1using System;
2using System.Reflection;
3
5{
6 public override void Register(MethodInfo method)
7 {
8 Action<GameIOContext> handler = method.CreateDelegate<Action<GameIOContext>>();
9 BaseModManager.SubscribeEvent("elin.game.pre_save", handler);
10 }
11}
static void SubscribeEvent(string eventId, Action< object > handler)
override void Register(MethodInfo method)