CommonLibSSE NG
SKSE Namespace Reference

Namespaces

 detail
 
 Impl
 
 InputMap
 
 log
 
 stl
 
 Translation
 

Classes

struct  ModCallbackEvent
 
struct  CameraEvent
 
struct  CrosshairRefEvent
 
struct  ActionEvent
 
struct  NiNodeUpdateEvent
 
class  QueryInterface
 
class  LoadInterface
 
class  ScaleformInterface
 
class  SerializationInterface
 
class  TaskInterface
 
class  PapyrusInterface
 
class  MessagingInterface
 
class  ObjectInterface
 
class  TrampolineInterface
 
struct  PluginInfo
 
struct  PluginVersionData
 
struct  PluginDeclaration
 
class  Trampoline
 

Typedefs

using PluginHandle = std::uint32_t
 
template<class Filter , class... Args>
using RegistrationMap = typename Impl::EventFilter< Filter >::template RegistrationMap< void, Args... >
 
template<class Filter , class... Args>
using RegistrationMapUnique = typename Impl::EventFilterUnique< Filter >::template RegistrationMapUnique< void, Args... >
 
template<class... Args>
using RegistrationSet = Impl::RegistrationSet< void, Args... >
 
template<class... Args>
using RegistrationSetUnique = Impl::RegistrationSetUnique< void, Args... >
 

Enumerations

enum  : PluginHandle { kInvalidPluginHandle = static_cast<PluginHandle>(-1) }
 
enum class  VersionIndependence { AddressLibraryPre1_6_629 , AddressLibraryPost1_6_629 , AddressLibrary , SignatureScanning }
 
enum class  StructCompatibility : std::uint32_t { Dependent = 0 , Independent = 1 }
 

Functions

void Init (const LoadInterface *a_intfc) noexcept
 
void RegisterForAPIInitEvent (std::function< void()> a_fn)
 
PluginHandle GetPluginHandle () noexcept
 
std::uint32_t GetReleaseIndex () noexcept
 
const ScaleformInterfaceGetScaleformInterface () noexcept
 
const PapyrusInterfaceGetPapyrusInterface () noexcept
 
const SerializationInterfaceGetSerializationInterface () noexcept
 
const TaskInterfaceGetTaskInterface () noexcept
 
const TrampolineInterfaceGetTrampolineInterface () noexcept
 
const MessagingInterfaceGetMessagingInterface () noexcept
 
RE::BSTEventSource< ModCallbackEvent > * GetModCallbackEventSource () noexcept
 
RE::BSTEventSource< CameraEvent > * GetCameraEventSource () noexcept
 
RE::BSTEventSource< CrosshairRefEvent > * GetCrosshairRefEventSource () noexcept
 
RE::BSTEventSource< ActionEvent > * GetActionEventSource () noexcept
 
RE::BSTEventSource< NiNodeUpdateEvent > * GetNiNodeUpdateEventSource () noexcept
 
const ObjectInterfaceGetObjectInterface () noexcept
 
const SKSEDelayFunctorManager * GetDelayFunctorManager () noexcept
 
const SKSEObjectRegistry * GetObjectRegistry () noexcept
 
const SKSEPersistentObjectStorage * GetPersistentObjectStorage () noexcept
 
void AllocTrampoline (std::size_t a_size, bool a_trySKSEReserve=true)
 
std::uintptr_t GetIATAddr (std::string_view a_dll, std::string_view a_function)
 
std::uintptr_t GetIATAddr (REX::W32::HMODULE a_module, std::string_view a_dll, std::string_view a_function)
 
void * GetIATPtr (std::string_view a_dll, std::string_view a_function)
 
void * GetIATPtr (REX::W32::HMODULE a_module, std::string_view a_dll, std::string_view a_function)
 
std::uintptr_t PatchIAT (std::uintptr_t a_newFunc, std::string_view a_dll, std::string_view a_function)
 
template<class F >
std::uintptr_t PatchIAT (F a_newFunc, std::string_view a_dll, std::string_view a_function)
 
TrampolineGetTrampoline ()
 
constexpr REL::Version RUNTIME_SSE_1_1_47 (1, 1, 47, 0)
 
constexpr REL::Version RUNTIME_SSE_1_1_51 (1, 1, 51, 0)
 
constexpr REL::Version RUNTIME_SSE_1_2_36 (1, 2, 36, 0)
 
constexpr REL::Version RUNTIME_SSE_1_2_39 (1, 2, 39, 0)
 
constexpr REL::Version RUNTIME_SSE_1_3_5 (1, 3, 5, 0)
 
constexpr REL::Version RUNTIME_SSE_1_3_9 (1, 3, 9, 0)
 
constexpr REL::Version RUNTIME_SSE_1_4_2 (1, 4, 2, 0)
 
constexpr REL::Version RUNTIME_SSE_1_5_3 (1, 5, 3, 0)
 
constexpr REL::Version RUNTIME_SSE_1_5_16 (1, 5, 16, 0)
 
constexpr REL::Version RUNTIME_SSE_1_5_23 (1, 5, 23, 0)
 
constexpr REL::Version RUNTIME_SSE_1_5_39 (1, 5, 39, 0)
 
constexpr REL::Version RUNTIME_SSE_1_5_50 (1, 5, 50, 0)
 
constexpr REL::Version RUNTIME_SSE_1_5_53 (1, 5, 53, 0)
 
constexpr REL::Version RUNTIME_SSE_1_5_62 (1, 5, 62, 0)
 
constexpr REL::Version RUNTIME_SSE_1_5_73 (1, 5, 73, 0)
 
constexpr REL::Version RUNTIME_SSE_1_5_80 (1, 5, 80, 0)
 
constexpr REL::Version RUNTIME_SSE_1_5_97 (1, 5, 97, 0)
 
constexpr REL::Version RUNTIME_SSE_1_6_317 (1, 6, 317, 0)
 
constexpr REL::Version RUNTIME_SSE_1_6_318 (1, 6, 318, 0)
 
constexpr REL::Version RUNTIME_SSE_1_6_323 (1, 6, 323, 0)
 
constexpr REL::Version RUNTIME_SSE_1_6_342 (1, 6, 342, 0)
 
constexpr REL::Version RUNTIME_SSE_1_6_353 (1, 6, 353, 0)
 
constexpr REL::Version RUNTIME_SSE_1_6_629 (1, 6, 629, 0)
 
constexpr REL::Version RUNTIME_SSE_1_6_640 (1, 6, 640, 0)
 
constexpr REL::Version RUNTIME_SSE_1_6_659 (1, 6, 659, 0)
 
constexpr REL::Version RUNTIME_SSE_1_6_678 (1, 6, 678, 0)
 
constexpr REL::Version RUNTIME_SSE_1_6_1330 (1, 5, 1330, 0)
 
constexpr REL::Version RUNTIME_VR_1_4_15 (1, 4, 15, 0)
 

Variables

constexpr auto RUNTIME_SSE_LATEST_AE = RUNTIME_SSE_1_6_1330
 
constexpr auto RUNTIME_SSE_LATEST_SE = RUNTIME_SSE_1_5_97
 
constexpr auto RUNTIME_SSE_LATEST = RUNTIME_SSE_LATEST_AE
 
constexpr auto RUNTIME_LATEST_VR = RUNTIME_VR_1_4_15
 

Typedef Documentation

◆ PluginHandle

using SKSE::PluginHandle = typedef std::uint32_t

◆ RegistrationMap

template<class Filter , class... Args>
using SKSE::RegistrationMap = typedef typename Impl::EventFilter<Filter>::template RegistrationMap<void, Args...>

◆ RegistrationMapUnique

template<class Filter , class... Args>
using SKSE::RegistrationMapUnique = typedef typename Impl::EventFilterUnique<Filter>::template RegistrationMapUnique<void, Args...>

◆ RegistrationSet

template<class... Args>
using SKSE::RegistrationSet = typedef Impl::RegistrationSet<void, Args...>

◆ RegistrationSetUnique

template<class... Args>
using SKSE::RegistrationSetUnique = typedef Impl::RegistrationSetUnique<void, Args...>

Enumeration Type Documentation

◆ anonymous enum

anonymous enum : PluginHandle
Enumerator
kInvalidPluginHandle 

◆ StructCompatibility

enum SKSE::StructCompatibility : std::uint32_t
strong
Enumerator
Dependent 
Independent 

◆ VersionIndependence

Enumerator
AddressLibraryPre1_6_629 
AddressLibraryPost1_6_629 
AddressLibrary 
SignatureScanning 

Function Documentation

◆ AllocTrampoline()

void SKSE::AllocTrampoline ( std::size_t  a_size,
bool  a_trySKSEReserve = true 
)

◆ GetActionEventSource()

RE::BSTEventSource<ActionEvent>* SKSE::GetActionEventSource ( )
noexcept

◆ GetCameraEventSource()

RE::BSTEventSource<CameraEvent>* SKSE::GetCameraEventSource ( )
noexcept

◆ GetCrosshairRefEventSource()

RE::BSTEventSource<CrosshairRefEvent>* SKSE::GetCrosshairRefEventSource ( )
noexcept

◆ GetDelayFunctorManager()

const SKSEDelayFunctorManager* SKSE::GetDelayFunctorManager ( )
noexcept

◆ GetIATAddr() [1/2]

std::uintptr_t SKSE::GetIATAddr ( REX::W32::HMODULE  a_module,
std::string_view  a_dll,
std::string_view  a_function 
)

◆ GetIATAddr() [2/2]

std::uintptr_t SKSE::GetIATAddr ( std::string_view  a_dll,
std::string_view  a_function 
)

◆ GetIATPtr() [1/2]

void* SKSE::GetIATPtr ( REX::W32::HMODULE  a_module,
std::string_view  a_dll,
std::string_view  a_function 
)

◆ GetIATPtr() [2/2]

void* SKSE::GetIATPtr ( std::string_view  a_dll,
std::string_view  a_function 
)

◆ GetMessagingInterface()

const MessagingInterface* SKSE::GetMessagingInterface ( )
noexcept

◆ GetModCallbackEventSource()

RE::BSTEventSource<ModCallbackEvent>* SKSE::GetModCallbackEventSource ( )
noexcept

◆ GetNiNodeUpdateEventSource()

RE::BSTEventSource<NiNodeUpdateEvent>* SKSE::GetNiNodeUpdateEventSource ( )
noexcept

◆ GetObjectInterface()

const ObjectInterface* SKSE::GetObjectInterface ( )
noexcept

◆ GetObjectRegistry()

const SKSEObjectRegistry* SKSE::GetObjectRegistry ( )
noexcept

◆ GetPapyrusInterface()

const PapyrusInterface* SKSE::GetPapyrusInterface ( )
noexcept

◆ GetPersistentObjectStorage()

const SKSEPersistentObjectStorage* SKSE::GetPersistentObjectStorage ( )
noexcept

◆ GetPluginHandle()

PluginHandle SKSE::GetPluginHandle ( )
noexcept

◆ GetReleaseIndex()

std::uint32_t SKSE::GetReleaseIndex ( )
noexcept

◆ GetScaleformInterface()

const ScaleformInterface* SKSE::GetScaleformInterface ( )
noexcept

◆ GetSerializationInterface()

const SerializationInterface* SKSE::GetSerializationInterface ( )
noexcept

◆ GetTaskInterface()

const TaskInterface* SKSE::GetTaskInterface ( )
noexcept

◆ GetTrampoline()

Trampoline& SKSE::GetTrampoline ( )

◆ GetTrampolineInterface()

const TrampolineInterface* SKSE::GetTrampolineInterface ( )
noexcept

◆ Init()

void SKSE::Init ( const LoadInterface a_intfc)
noexcept

◆ PatchIAT() [1/2]

template<class F >
std::uintptr_t SKSE::PatchIAT ( a_newFunc,
std::string_view  a_dll,
std::string_view  a_function 
)
inline

◆ PatchIAT() [2/2]

std::uintptr_t SKSE::PatchIAT ( std::uintptr_t  a_newFunc,
std::string_view  a_dll,
std::string_view  a_function 
)

◆ RegisterForAPIInitEvent()

void SKSE::RegisterForAPIInitEvent ( std::function< void()>  a_fn)

◆ RUNTIME_SSE_1_1_47()

constexpr REL::Version SKSE::RUNTIME_SSE_1_1_47 ( ,
,
47  ,
 
)
constexpr

◆ RUNTIME_SSE_1_1_51()

constexpr REL::Version SKSE::RUNTIME_SSE_1_1_51 ( ,
,
51  ,
 
)
constexpr

◆ RUNTIME_SSE_1_2_36()

constexpr REL::Version SKSE::RUNTIME_SSE_1_2_36 ( ,
,
36  ,
 
)
constexpr

◆ RUNTIME_SSE_1_2_39()

constexpr REL::Version SKSE::RUNTIME_SSE_1_2_39 ( ,
,
39  ,
 
)
constexpr

◆ RUNTIME_SSE_1_3_5()

constexpr REL::Version SKSE::RUNTIME_SSE_1_3_5 ( ,
,
,
 
)
constexpr

◆ RUNTIME_SSE_1_3_9()

constexpr REL::Version SKSE::RUNTIME_SSE_1_3_9 ( ,
,
,
 
)
constexpr

◆ RUNTIME_SSE_1_4_2()

constexpr REL::Version SKSE::RUNTIME_SSE_1_4_2 ( ,
,
,
 
)
constexpr

◆ RUNTIME_SSE_1_5_16()

constexpr REL::Version SKSE::RUNTIME_SSE_1_5_16 ( ,
,
16  ,
 
)
constexpr

◆ RUNTIME_SSE_1_5_23()

constexpr REL::Version SKSE::RUNTIME_SSE_1_5_23 ( ,
,
23  ,
 
)
constexpr

◆ RUNTIME_SSE_1_5_3()

constexpr REL::Version SKSE::RUNTIME_SSE_1_5_3 ( ,
,
,
 
)
constexpr

◆ RUNTIME_SSE_1_5_39()

constexpr REL::Version SKSE::RUNTIME_SSE_1_5_39 ( ,
,
39  ,
 
)
constexpr

◆ RUNTIME_SSE_1_5_50()

constexpr REL::Version SKSE::RUNTIME_SSE_1_5_50 ( ,
,
50  ,
 
)
constexpr

◆ RUNTIME_SSE_1_5_53()

constexpr REL::Version SKSE::RUNTIME_SSE_1_5_53 ( ,
,
53  ,
 
)
constexpr

◆ RUNTIME_SSE_1_5_62()

constexpr REL::Version SKSE::RUNTIME_SSE_1_5_62 ( ,
,
62  ,
 
)
constexpr

◆ RUNTIME_SSE_1_5_73()

constexpr REL::Version SKSE::RUNTIME_SSE_1_5_73 ( ,
,
73  ,
 
)
constexpr

◆ RUNTIME_SSE_1_5_80()

constexpr REL::Version SKSE::RUNTIME_SSE_1_5_80 ( ,
,
80  ,
 
)
constexpr

◆ RUNTIME_SSE_1_5_97()

constexpr REL::Version SKSE::RUNTIME_SSE_1_5_97 ( ,
,
97  ,
 
)
constexpr

◆ RUNTIME_SSE_1_6_1330()

constexpr REL::Version SKSE::RUNTIME_SSE_1_6_1330 ( ,
,
1330  ,
 
)
constexpr

◆ RUNTIME_SSE_1_6_317()

constexpr REL::Version SKSE::RUNTIME_SSE_1_6_317 ( ,
,
317  ,
 
)
constexpr

◆ RUNTIME_SSE_1_6_318()

constexpr REL::Version SKSE::RUNTIME_SSE_1_6_318 ( ,
,
318  ,
 
)
constexpr

◆ RUNTIME_SSE_1_6_323()

constexpr REL::Version SKSE::RUNTIME_SSE_1_6_323 ( ,
,
323  ,
 
)
constexpr

◆ RUNTIME_SSE_1_6_342()

constexpr REL::Version SKSE::RUNTIME_SSE_1_6_342 ( ,
,
342  ,
 
)
constexpr

◆ RUNTIME_SSE_1_6_353()

constexpr REL::Version SKSE::RUNTIME_SSE_1_6_353 ( ,
,
353  ,
 
)
constexpr

◆ RUNTIME_SSE_1_6_629()

constexpr REL::Version SKSE::RUNTIME_SSE_1_6_629 ( ,
,
629  ,
 
)
constexpr

◆ RUNTIME_SSE_1_6_640()

constexpr REL::Version SKSE::RUNTIME_SSE_1_6_640 ( ,
,
640  ,
 
)
constexpr

◆ RUNTIME_SSE_1_6_659()

constexpr REL::Version SKSE::RUNTIME_SSE_1_6_659 ( ,
,
659  ,
 
)
constexpr

◆ RUNTIME_SSE_1_6_678()

constexpr REL::Version SKSE::RUNTIME_SSE_1_6_678 ( ,
,
678  ,
 
)
constexpr

◆ RUNTIME_VR_1_4_15()

constexpr REL::Version SKSE::RUNTIME_VR_1_4_15 ( ,
,
15  ,
 
)
constexpr

Variable Documentation

◆ RUNTIME_LATEST_VR

constexpr auto SKSE::RUNTIME_LATEST_VR = RUNTIME_VR_1_4_15
constexpr

◆ RUNTIME_SSE_LATEST

constexpr auto SKSE::RUNTIME_SSE_LATEST = RUNTIME_SSE_LATEST_AE
constexpr

◆ RUNTIME_SSE_LATEST_AE

constexpr auto SKSE::RUNTIME_SSE_LATEST_AE = RUNTIME_SSE_1_6_1330
constexpr

◆ RUNTIME_SSE_LATEST_SE

constexpr auto SKSE::RUNTIME_SSE_LATEST_SE = RUNTIME_SSE_1_5_97
constexpr