Interface IStoryEvents
- Namespace
- SkyrimForge
- Assembly
- SkyrimForge.dll
The story manager's events: crafting, arrest, a killing, a relationship changing, and every other kind the game registers.
public interface IStoryEvents
Remarks
These reach quests through the story manager rather than an event source, so Papyrus receives one only by way of a quest a Story Manager Event Node started. A plugin subscribing here receives every kind with no quest, no node, and no script. The manager describes each kind at runtime, so one event covers all of them.
A handler runs on the thread the game raised the event on, before the manager traverses its tree, so it returns quickly, and work that changes the game goes through ITaskQueue, which runs it at a moment the game is stopped.
Properties
OnStoryEvent
Raised for every story event the game hands its manager.
IGameEvent<StoryEventArgs> OnStoryEvent { get; }