Class PluginIdentityAttribute
- Namespace
- SkyrimForge
- Assembly
- SkyrimForge.dll
States the name under which a plugin's saved state and log file are stored, the plugin being an IPlugin class or a class marked [PapyrusScript].
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public sealed class PluginIdentityAttribute : Attribute
- Inheritance
-
PluginIdentityAttribute
- Inherited Members
Remarks
A plugin that states no identity is stored under the full name of its type, so renaming the class or its namespace leaves the state in every existing save unread. The identity is unique among the plugins loaded and contains no character a file name excludes.
Constructors
PluginIdentityAttribute(string)
States the name under which a plugin's saved state and log file are stored, the plugin being an IPlugin class or a class marked [PapyrusScript].
public PluginIdentityAttribute(string identity)
Parameters
identitystringThe name, which stays the same in every version of the plugin.
Remarks
A plugin that states no identity is stored under the full name of its type, so renaming the class or its namespace leaves the state in every existing save unread. The identity is unique among the plugins loaded and contains no character a file name excludes.
Properties
Identity
The name, which stays the same in every version of the plugin.
public string Identity { get; }