Show / Hide Table of Contents

Class VanillaBlockType

Allows entering either the name of an entry in the BlockType enum or its integer ID.

Inheritance
Object
Element
VanillaBlockType
Implements
IValidatable
Inherited Members
Element.Validate()
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.Serialization
Assembly: Assembly-CSharp.dll
Syntax
public class VanillaBlockType : Element, IValidatable

Constructors

VanillaBlockType()

Declaration
public VanillaBlockType()

Fields

Text

Declaration
public string Text
Field Value
Type Description
String

Methods

Get()

Declaration
public BlockType Get()
Returns
Type Description
BlockType

Validate(String)

Declaration
protected override bool Validate(string elementName)
Parameters
Type Name Description
String elementName
Returns
Type Description
Boolean
Overrides
Element.Validate(String)

Implements

IValidatable
Back to top Generated by DocFX