#[repr(C)]pub struct PluginDeclarationInfo {
pub version: VersionNumber,
pub name: String256,
pub author: String256,
pub support_email: String252,
pub struct_compatibility: StructCompatibility,
pub runtime_compatibility: RuntimeCompatibility,
pub minimum_skse_version: VersionNumber,
}Fields§
§version: VersionNumberThe version number of the plugin.
name: String256The plugin’s name (maximum of 256 characters).
The name of the plugin’s author (maximum of 256 characters).
support_email: String252A support email address for the plugin (maximum of 256 characters).
struct_compatibility: StructCompatibilityDefines the compatibility with structure layout of the plugin.
For most of modern CommonLibSSE-era plugin development structs in Skyrim have remained unchanged. In AE 1.6.629, however, the layout of some structs changed. If this is flagged as independent, then SKSE will let your plugin work with runtimes before and after this change. CommonLibSSE NG defaults to flagging a plugin independent because it supports both struct layouts in a single plugin. If your plugin has any RE’d structs that have changed you should override this.
runtime_compatibility: RuntimeCompatibilityA definition of the runtime compatibility for the plugin.
This can be either an indicator of how version-independence is achieved (either through using Address Library
or signature scanning, indicated with a value from skse::VersionIndependence, or a list of up to
16 version numbers of Skyrim runtimes that are supported by this plugin.
minimum_skse_version: VersionNumberThe minimum SKSE version required for the plugin; this should almost always be left 0.
Trait Implementations§
Source§impl Clone for PluginDeclarationInfo
impl Clone for PluginDeclarationInfo
Source§fn clone(&self) -> PluginDeclarationInfo
fn clone(&self) -> PluginDeclarationInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more