Crate commonlibsse_ng_derive_internal

Source
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, and vr_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 a bitflags-compatible type using its variant values.