Show / Hide Table of Contents

Class BlockModule

One of the two base classes for block modules. This class is used for deserializing the modules from block XML files.

Inheritance
Object
Element
BlockModule
ShootingModule
SpewingModule
SpinningModule
SteeringModule
Implements
IValidatable
IReloadable
Inherited Members
Element.Validate()
Element.Validate(String)
Element.MissingElement(String, String)
Element.MissingAttribute(String, String)
Element.InvalidData(String, String)
Element.Warn(String, String)
Element.LineNumber
Element.LinePosition
Element.AttributesUsed
Element.ElementsUsed
Element.FileName
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()

Implements

IValidatable
IReloadable
Back to top Generated by DocFX