Class Module
Base type for classes which perform self-contained changes that should be applied when a save is created or continued and disabled when the save is unloaded.
Inheritance
Module
Inherited Members
Namespace: ItemChanger.Modules
Assembly: ItemChanger.dll
Syntax
public abstract class Module
Constructors
View SourceModule()
Declaration
protected Module()
Properties
View SourceLoaded
Declaration
public bool Loaded { get; }
Property Value
| Type | Description |
|---|---|
| bool |
ModuleHandlingProperties
Additional information for serialization and other tag handling purposes.
Declaration
public virtual ModuleHandlingFlags ModuleHandlingProperties { get; set; }
Property Value
| Type | Description |
|---|---|
| ModuleHandlingFlags |
Name
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
View SourceInitialize()
Declaration
public abstract void Initialize()
LoadOnce()
Initializes the module and sets the Loaded property. If the module is already loaded, does nothing.
Preferred to "Initialize", which does not set the Loaded property.
Declaration
public void LoadOnce()
Unload()
Declaration
public abstract void Unload()
UnloadOnce()
Unloads the module and sets the Loaded property. If the module is not loaded, does nothing.
Preferred to "Unload", which does not set the Loaded property.
Declaration
public void UnloadOnce()