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
functionGameFunction
Returns
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
variableGameVariable
Returns
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
functionGameFunction
Returns
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
functionGameFunctionoffsetGameOffset
Returns
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
variableGameVariable
Returns
Exceptions
- InvalidOperationException
The library does not contain the identifier the variable states for the running edition.