ModUtil & Events โ
Events in Elin can be registered via BaseModManager.SubscribeEvent<T>(EventId, Action<T>). Some of them also offer attribute usages allowing automatic subscription.
Game IO โ
EVENT.PreLoad,[ElinPreLoad]EVENT.PostLoad,[ElinPostLoad]EVENT.NewGame,[ElinPostLoad]// <- Same attributeEVENT.PreSave,[ElinPreSave]EVENT.PostSave,[ElinPostSave]
Parameter: GameIOContext
Game System โ
EVENT.CharaCreated,[ElinCharaOnCreate]EVENT.ThingCreated,[ElinThingOnCreate]
Parameter: Chara or Thing
EVENT.ActPerformed,[ElinActPerform]
Parameter: Act that just performed
ModUtil.AddContextMenuEntry,[ElinContextMenuEntry]
Parameter: string langEntry, string langDisplay = "" Registers a context menu entry, such as SubGroup/ModButton1.
EVENT.PreSceneInitEVENT.PostSceneInit
Parameter: Scene.Mode
Source โ
EVENT.SourceImportingEVENT.SourceImportedEVENT.SourceLangSet
Drama โ
[ElinDramaActionInvoke][ElinDramaActionParser]
See Drama API