Table of Contents

Class AddressLibrary

Namespace
SkyrimForge.Hooks
Assembly
SkyrimForge.Game.dll

Resolves address library identifiers on the running game.

public static class AddressLibrary
Inheritance
AddressLibrary
Inherited Members

Methods

Contains(GameFunction)

Whether the library contains the identifier the function states for the running edition.

public static bool Contains(GameFunction function)

Parameters

function GameFunction

Returns

bool

Remarks

The Skyrim VR library contains a subset of the Special Edition identifiers. Do not call a bound member whose identifier is missing, because CommonLib ends the process.

Contains(GameVariable)

Whether the library contains the identifier the variable states for the running edition.

public static bool Contains(GameVariable variable)

Parameters

variable GameVariable

Returns

bool

Remarks

The Skyrim VR library contains a subset of the Special Edition identifiers.

Resolve(GameFunction)

The address of a function on the running edition.

public static nint Resolve(GameFunction function)

Parameters

function GameFunction

Returns

nint

Exceptions

InvalidOperationException

The library does not contain the identifier the function states for the running edition.

Resolve(GameFunction, GameOffset)

The address of the instruction at an offset into a function, using the offset stated for the running edition.

public static nint Resolve(GameFunction function, GameOffset offset)

Parameters

function GameFunction
offset GameOffset

Returns

nint

Exceptions

InvalidOperationException

The library does not contain the identifier the function states for the running edition.

Resolve(GameVariable)

The address of a variable on the running edition.

public static nint Resolve(GameVariable variable)

Parameters

variable GameVariable

Returns

nint

Exceptions

InvalidOperationException

The library does not contain the identifier the variable states for the running edition.