CommonLibSSE NG
Loading...
Searching...
No Matches
API.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/B/BSTEvent.h"
4
5#include "SKSE/Events.h"
6#include "SKSE/Impl/Stubs.h"
7#include "SKSE/Interfaces.h"
8#include "SKSE/Trampoline.h"
9#include "SKSE/Version.h"
10
11#define SKSEAPI __cdecl
12
13namespace SKSE
14{
15 void Init(const LoadInterface* a_intfc) noexcept;
16 void RegisterForAPIInitEvent(std::function<void()> a_fn);
17
19 std::uint32_t GetReleaseIndex() noexcept;
20
26
28 RE::BSTEventSource<ModCallbackEvent>* GetModCallbackEventSource() noexcept;
29 RE::BSTEventSource<CameraEvent>* GetCameraEventSource() noexcept;
30 RE::BSTEventSource<CrosshairRefEvent>* GetCrosshairRefEventSource() noexcept;
31 RE::BSTEventSource<ActionEvent>* GetActionEventSource() noexcept;
32 RE::BSTEventSource<NiNodeUpdateEvent>* GetNiNodeUpdateEventSource() noexcept;
33
35 const SKSEDelayFunctorManager* GetDelayFunctorManager() noexcept;
36 const SKSEObjectRegistry* GetObjectRegistry() noexcept;
37 const SKSEPersistentObjectStorage* GetPersistentObjectStorage() noexcept;
38
40 void AllocTrampoline(std::size_t a_size, bool a_trySKSEReserve = true);
41}
Definition Interfaces.h:29
Definition Interfaces.h:252
Definition Interfaces.h:307
Definition Interfaces.h:219
Definition Interfaces.h:51
Definition Interfaces.h:71
Definition Interfaces.h:174
Definition Trampoline.h:40
Definition Interfaces.h:325
Definition AbsorbEffect.h:6
Definition API.h:14
std::uint32_t PluginHandle
Definition Stubs.h:11
const ObjectInterface * GetObjectInterface() noexcept
const PapyrusInterface * GetPapyrusInterface() noexcept
void RegisterForAPIInitEvent(std::function< void()> a_fn)
RE::BSTEventSource< NiNodeUpdateEvent > * GetNiNodeUpdateEventSource() noexcept
const SKSEDelayFunctorManager * GetDelayFunctorManager() noexcept
const SKSEObjectRegistry * GetObjectRegistry() noexcept
RE::BSTEventSource< CameraEvent > * GetCameraEventSource() noexcept
void AllocTrampoline(std::size_t a_size, bool a_trySKSEReserve=true)
Trampoline & GetTrampoline()
const ScaleformInterface * GetScaleformInterface() noexcept
void Init(const LoadInterface *a_intfc) noexcept
RE::BSTEventSource< ModCallbackEvent > * GetModCallbackEventSource() noexcept
const MessagingInterface * GetMessagingInterface() noexcept
RE::BSTEventSource< CrosshairRefEvent > * GetCrosshairRefEventSource() noexcept
const TaskInterface * GetTaskInterface() noexcept
const TrampolineInterface * GetTrampolineInterface() noexcept
std::uint32_t GetReleaseIndex() noexcept
PluginHandle GetPluginHandle() noexcept
const SKSEPersistentObjectStorage * GetPersistentObjectStorage() noexcept
const SerializationInterface * GetSerializationInterface() noexcept
RE::BSTEventSource< ActionEvent > * GetActionEventSource() noexcept
Definition ActorValueList.h:28
Definition Events.h:38
Definition Events.h:23
Definition Events.h:31
Definition Events.h:13
Definition Events.h:70