Function get_plugin_author

Source
pub fn get_plugin_author() -> Result<&'static str, ApiStorageError>
Expand description

Get the plugin’s author.

§Errors

  • If the internal global API storage is uninitialized because forgot to call skse::init
  • Returns an error if forgot to define the SKSEPlugin_Version symbol in this SKSE plugin dll

§Example

use commonlibsse_ng::skse::api::{get_plugin_author, ApiStorageError};

assert_eq!(get_plugin_author(), Err(ApiStorageError::Uninitialized));