Elin Decompiled Documentation EA 23.315 Nightly
Loading...
Searching...
No Matches
ElinCharaOnCreateAttribute.cs
Go to the documentation of this file.
1using System;
2using System.Reflection;
3
4[AttributeUsage(AttributeTargets.Method)]
6{
7 public override void Register(MethodInfo method)
8 {
9 Action<Chara> handler = method.CreateDelegate<Action<Chara>>();
10 BaseModManager.SubscribeEvent("elin.chara_created", handler);
11 }
12}
static void SubscribeEvent(string eventId, Action< object > handler)
override void Register(MethodInfo method)