Class BlockModule
One of the two base classes for block modules. This class is used for deserializing the modules from block XML files.
Inherited Members
Namespace: Modding.Modules
Assembly: Assembly-CSharp.dll
Syntax
public abstract class BlockModule : Element, IValidatable, IReloadable
Constructors
BlockModule()
Declaration
protected BlockModule()
Fields
ModId
modid attribute for custom modules.
Declaration
public Guid ModId
Field Value
Type | Description |
---|---|
Guid |
Methods
OnReload(IReloadable)
Declaration
public virtual void OnReload(IReloadable newModule)
Parameters
Type | Name | Description |
---|---|---|
IReloadable | newModule |
PreprocessForReloading()
Declaration
public virtual void PreprocessForReloading()