9 struct BGSEventProcessedEvent;
10 struct TESActivateEvent;
11 struct TESActiveEffectApplyRemoveEvent;
12 struct TESActorLocationChangeEvent;
13 struct TESBookReadEvent;
14 struct TESCellAttachDetachEvent;
15 struct TESCellFullyLoadedEvent;
16 struct TESCellReadyToApplyDecalsEvent;
17 struct TESCombatEvent;
18 struct TESContainerChangedEvent;
20 struct TESDestructionStageChangedEvent;
21 struct TESEnterBleedoutEvent;
23 struct TESFastTravelEndEvent;
24 struct TESFormDeleteEvent;
25 struct TESFurnitureEvent;
26 struct TESGrabReleaseEvent;
28 struct TESInitScriptEvent;
29 struct TESLoadGameEvent;
30 struct TESLockChangedEvent;
31 struct TESMagicEffectApplyEvent;
32 struct TESMagicWardHitEvent;
33 struct TESMoveAttachDetachEvent;
34 struct TESObjectLoadedEvent;
35 struct TESObjectREFRTranslationEvent;
36 struct TESOpenCloseEvent;
37 struct TESPackageEvent;
38 struct TESPerkEntryRunEvent;
39 struct TESPlayerBowShotEvent;
40 struct TESQuestInitEvent;
41 struct TESQuestStageEvent;
42 struct TESQuestStageItemDoneEvent;
43 struct TESQuestStartStopEvent;
45 struct TESResolveNPCTemplatesEvent;
46 struct TESSceneActionEvent;
48 struct TESScenePhaseEvent;
50 struct TESSleepStartEvent;
51 struct TESSleepStopEvent;
52 struct TESSpellCastEvent;
53 struct TESSwitchRaceCompleteEvent;
54 struct TESTopicInfoEvent;
55 struct TESTrackedStatsEvent;
56 struct TESTrapHitEvent;
57 struct TESTriggerEnterEvent;
58 struct TESTriggerEvent;
59 struct TESTriggerLeaveEvent;
60 struct TESUniqueIDChangeEvent;
61 struct TESWaitStartEvent;
62 struct TESWaitStopEvent;
136 GetEventSource<T>()->AddEventSink(a_sink);
142 GetEventSource<T>()->RemoveEventSink(a_sink);
148 GetEventSource<T>()->SendEvent(a_event);
151 static_assert(
sizeof(ScriptEventSourceHolder) == 0x1290);
Definition: BSTEvent.h:143
Definition: BSTEvent.h:19
Definition: NiSmartPointer.h:9
Definition: ScriptEventSourceHolder.h:119
void SendEvent(const T *a_event)
Definition: ScriptEventSourceHolder.h:146
void SendOpenCloseEvent(const NiPointer< TESObjectREFR > &a_ref, const NiPointer< TESObjectREFR > &a_activeRef, bool a_isOpened)
static ScriptEventSourceHolder * GetSingleton()
void SendSpellCastEvent(const NiPointer< TESObjectREFR > &a_object, FormID a_formID)
BSTEventSource< T > * GetEventSource()
Definition: ScriptEventSourceHolder.h:128
void SendActivateEvent(const NiPointer< TESObjectREFR > &a_objectActivated, const NiPointer< TESObjectREFR > &a_actionRef)
void AddEventSink(BSTEventSink< T > *a_sink)
Definition: ScriptEventSourceHolder.h:134
void RemoveEventSink(BSTEventSink< T > *a_sink)
Definition: ScriptEventSourceHolder.h:140
Definition: AbsorbEffect.h:6
std::uint32_t FormID
Definition: BSCoreTypes.h:5