Expand description
commonlibsse_ng
macro to automatically generate commonly used code patterns for crate use.
Attribute Macros§
- ffi_
enum - An attribute macro to generate FFI-compatible bitflags from an
enum
. - relocate
- Relocates an address using Skyrim runtime-specific relocation IDs.
- relocate_
fn relocate_fn
is a procedural macro used to generate a relocated function in Rust. It allows you to specify function relocation IDs (se_id
,ae_id
, andvr_id
) to relocate a function at runtime. This macro generates code that attempts to resolve a function’s address based on the provided IDs, and calls the relocated function if the address is valid.- to_
bitflags - Converts a regular
enum
into abitflags
-compatible type using its variant values.