Function get_scaleform_interface

Source
pub fn get_scaleform_interface() -> Result<ScaleformInterface, ApiStorageError>
Expand description

Retrieves the ScaleformInterface instance.

§Errors

If the internal global API storage is uninitialized because forgot to call skse::init

§Example

use commonlibsse_ng::skse::api::get_scaleform_interface;

match get_scaleform_interface() {
    Ok(interface) => println!("Scaleform Interface: {:?}", interface),
    Err(e) => println!("Error: {}", e),
}