Function get_release_index

Source
pub fn get_release_index() -> Result<u32, ApiStorageError>
Expand description

Retrieves the release index.

§Errors

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

§Example

use commonlibsse_ng::skse::api::get_release_index;

match get_release_index() {
    Ok(index) => println!("Release index: {}", index),
    Err(e) => println!("Error: {}", e),
}