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;
117#ifndef ENABLE_SKYRIM_VR
148 return &REL::RelocateMember<BSTEventSource<TESFastTravelEndEvent>>(
this, 0x1238, 0);
155 GetEventSource<T>()->AddEventSink(a_sink);
161 GetEventSource<T>()->RemoveEventSink(a_sink);
167 GetEventSource<T>()->SendEvent(a_event);
170#ifndef ENABLE_SKYRIM_VR
171 static_assert(
sizeof(ScriptEventSourceHolder) == 0x1290);
172#elif !defined(ENABLE_SKYRIM_AE) && !defined(ENABLE_SKYRIM_SE)
173 static_assert(
sizeof(ScriptEventSourceHolder) == 0x1238);
#define SKYRIM_REL_CONSTEXPR
Definition Relocation.h:105
Definition BSTEvent.h:143
Definition NiSmartPointer.h:9
Definition ScriptEventSourceHolder.h:123
BSTEventSource< TESFastTravelEndEvent > * AsTESFastTravelEndEventSource() noexcept
Definition ScriptEventSourceHolder.h:143
BSTEventSource< TESFastTravelEndEvent > * GetEventSource() noexcept
Definition ScriptEventSourceHolder.h:138
void SendEvent(const T *a_event)
Definition ScriptEventSourceHolder.h:165
BSTEventSource< T > * GetEventSource() noexcept
Definition ScriptEventSourceHolder.h:132
void SendOpenCloseEvent(const NiPointer< TESObjectREFR > &a_ref, const NiPointer< TESObjectREFR > &a_activeRef, bool a_isOpened)
void SendSpellCastEvent(const NiPointer< TESObjectREFR > &a_object, FormID a_formID)
static ScriptEventSourceHolder * GetSingleton()
void SendActivateEvent(const NiPointer< TESObjectREFR > &a_objectActivated, const NiPointer< TESObjectREFR > &a_actionRef)
void AddEventSink(BSTEventSink< T > *a_sink)
Definition ScriptEventSourceHolder.h:153
void RemoveEventSink(BSTEventSink< T > *a_sink)
Definition ScriptEventSourceHolder.h:159
static SKYRIM_REL_VR bool IsVR() noexcept
Definition Relocation.h:821
Definition AbsorbEffect.h:6
std::uint32_t FormID
Definition BSCoreTypes.h:5