Function init

Source
pub fn init(load_interface: &LoadInterface)
Expand description

Initializes global API interfaces through the QueryInterface method of LoadInterface. Ensures all interfaces are initialized before use.

ยงExample

#[unsafe(no_mangle)]
pub extern "C" fn SKSEPlugin_Load(skse: &commonlibsse_ng::skse::interfaces::load::LoadInterface) -> bool {
    commonlibsse_ng::skse::init(skse);
    true
}