CommonLibSSE NG
Loading...
Searching...
No Matches
REL::Module Class Reference

#include <Relocation.h>

Public Types

enum class  Runtime : uint8_t { Unknown = 0 , AE = 1 << 0 , SE = 1 << 1 , VR = 1 << 2 }
 

Public Member Functions

std::uintptr_t base () const noexcept
 
stl::zwstring filename () const noexcept
 
stl::zwstring filePath () const noexcept
 
Version version () const noexcept
 
Segment segment (Segment::Name a_segment) const noexcept
 
void * pointer () const noexcept
 
template<class T >
T * pointer () const noexcept
 

Static Public Member Functions

static Moduleget ()
 
static SKYRIM_REL Runtime GetRuntime () noexcept
 
static SKYRIM_REL bool IsAE () noexcept
 
static SKYRIM_REL bool IsSE () noexcept
 
static SKYRIM_REL_VR bool IsVR () noexcept
 

Member Enumeration Documentation

◆ Runtime

enum class REL::Module::Runtime : uint8_t
strong

Identifies a Skyrim runtime.

Enumerator
Unknown 
AE 

The Skyrim runtime is a post-Anniversary Edition Skyrim SE release (version 1.6.x and later).

SE 

The Skyrim runtime is a pre-Anniversary Edition Skyrim SE release (version 1.5.97 and prior).

VR 

The Skyrim runtime is Skyrim VR.

Member Function Documentation

◆ base()

std::uintptr_t REL::Module::base ( ) const
inlinenoexcept

◆ filename()

stl::zwstring REL::Module::filename ( ) const
inlinenoexcept

◆ filePath()

stl::zwstring REL::Module::filePath ( ) const
inlinenoexcept

◆ get()

static Module & REL::Module::get ( )
inlinestatic

◆ GetRuntime()

static SKYRIM_REL Runtime REL::Module::GetRuntime ( )
inlinestaticnoexcept

Get the type of runtime the currently-loaded Skyrim module is.

◆ IsAE()

static SKYRIM_REL bool REL::Module::IsAE ( )
inlinestaticnoexcept

Returns whether the current Skyrim runtime is a post-Anniversary Edition Skyrim SE release.

◆ IsSE()

static SKYRIM_REL bool REL::Module::IsSE ( )
inlinestaticnoexcept

Returns whether the current Skyrim runtime is a pre-Anniversary Edition Skyrim SE release.

◆ IsVR()

static SKYRIM_REL_VR bool REL::Module::IsVR ( )
inlinestaticnoexcept

Returns whether the current Skyrim runtime is a Skyrim VR release.

◆ pointer() [1/2]

void * REL::Module::pointer ( ) const
inlinenoexcept

◆ pointer() [2/2]

template<class T >
T * REL::Module::pointer ( ) const
inlinenoexcept

◆ segment()

Segment REL::Module::segment ( Segment::Name  a_segment) const
inlinenoexcept

◆ version()

Version REL::Module::version ( ) const
inlinenoexcept

The documentation for this class was generated from the following file: