CommonLibVR
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
 
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) }
 

Functions

void Init (const LoadInterface *a_intfc, const bool a_log=true) 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_1_1_47 (1, 1, 47, 0)
 
constexpr REL::Version RUNTIME_1_1_51 (1, 1, 51, 0)
 
constexpr REL::Version RUNTIME_1_2_36 (1, 2, 36, 0)
 
constexpr REL::Version RUNTIME_1_2_39 (1, 2, 39, 0)
 
constexpr REL::Version RUNTIME_1_3_5 (1, 3, 5, 0)
 
constexpr REL::Version RUNTIME_1_3_9 (1, 3, 9, 0)
 
constexpr REL::Version RUNTIME_1_4_2 (1, 4, 2, 0)
 
constexpr REL::Version RUNTIME_1_5_3 (1, 5, 3, 0)
 
constexpr REL::Version RUNTIME_1_5_16 (1, 5, 16, 0)
 
constexpr REL::Version RUNTIME_1_5_23 (1, 5, 23, 0)
 
constexpr REL::Version RUNTIME_1_5_39 (1, 5, 39, 0)
 
constexpr REL::Version RUNTIME_1_5_50 (1, 5, 50, 0)
 
constexpr REL::Version RUNTIME_1_5_53 (1, 5, 53, 0)
 
constexpr REL::Version RUNTIME_1_5_62 (1, 5, 62, 0)
 
constexpr REL::Version RUNTIME_1_5_73 (1, 5, 73, 0)
 
constexpr REL::Version RUNTIME_1_5_80 (1, 5, 80, 0)
 
constexpr REL::Version RUNTIME_1_5_97 (1, 5, 97, 0)
 
constexpr REL::Version RUNTIME_VR_1_4_15 (1, 4, 15, 0)
 
constexpr REL::Version RUNTIME_VR_1_4_15_1 (1, 4, 15, 1)
 

Variables

constexpr auto RUNTIME_LATEST = RUNTIME_1_5_97
 

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 

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,
const bool  a_log = true 
)
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_1_1_47()

constexpr REL::Version SKSE::RUNTIME_1_1_47 ( ,
,
47  ,
 
)
inlineconstexpr

◆ RUNTIME_1_1_51()

constexpr REL::Version SKSE::RUNTIME_1_1_51 ( ,
,
51  ,
 
)
inlineconstexpr

◆ RUNTIME_1_2_36()

constexpr REL::Version SKSE::RUNTIME_1_2_36 ( ,
,
36  ,
 
)
inlineconstexpr

◆ RUNTIME_1_2_39()

constexpr REL::Version SKSE::RUNTIME_1_2_39 ( ,
,
39  ,
 
)
inlineconstexpr

◆ RUNTIME_1_3_5()

constexpr REL::Version SKSE::RUNTIME_1_3_5 ( ,
,
,
 
)
inlineconstexpr

◆ RUNTIME_1_3_9()

constexpr REL::Version SKSE::RUNTIME_1_3_9 ( ,
,
,
 
)
inlineconstexpr

◆ RUNTIME_1_4_2()

constexpr REL::Version SKSE::RUNTIME_1_4_2 ( ,
,
,
 
)
inlineconstexpr

◆ RUNTIME_1_5_16()

constexpr REL::Version SKSE::RUNTIME_1_5_16 ( ,
,
16  ,
 
)
inlineconstexpr

◆ RUNTIME_1_5_23()

constexpr REL::Version SKSE::RUNTIME_1_5_23 ( ,
,
23  ,
 
)
inlineconstexpr

◆ RUNTIME_1_5_3()

constexpr REL::Version SKSE::RUNTIME_1_5_3 ( ,
,
,
 
)
inlineconstexpr

◆ RUNTIME_1_5_39()

constexpr REL::Version SKSE::RUNTIME_1_5_39 ( ,
,
39  ,
 
)
inlineconstexpr

◆ RUNTIME_1_5_50()

constexpr REL::Version SKSE::RUNTIME_1_5_50 ( ,
,
50  ,
 
)
inlineconstexpr

◆ RUNTIME_1_5_53()

constexpr REL::Version SKSE::RUNTIME_1_5_53 ( ,
,
53  ,
 
)
inlineconstexpr

◆ RUNTIME_1_5_62()

constexpr REL::Version SKSE::RUNTIME_1_5_62 ( ,
,
62  ,
 
)
inlineconstexpr

◆ RUNTIME_1_5_73()

constexpr REL::Version SKSE::RUNTIME_1_5_73 ( ,
,
73  ,
 
)
inlineconstexpr

◆ RUNTIME_1_5_80()

constexpr REL::Version SKSE::RUNTIME_1_5_80 ( ,
,
80  ,
 
)
inlineconstexpr

◆ RUNTIME_1_5_97()

constexpr REL::Version SKSE::RUNTIME_1_5_97 ( ,
,
97  ,
 
)
inlineconstexpr

◆ RUNTIME_VR_1_4_15()

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

◆ RUNTIME_VR_1_4_15_1()

constexpr REL::Version SKSE::RUNTIME_VR_1_4_15_1 ( ,
,
15  ,
 
)
inlineconstexpr

Variable Documentation

◆ RUNTIME_LATEST

constexpr auto SKSE::RUNTIME_LATEST = RUNTIME_1_5_97
inlineconstexpr