Namespace Modding.Serialization
Classes
BoxModCollider
ModCollider for BoxColliders.
CanBeEmptyAttribute
Marks XML lists/arrays as allowed to be empty. By default empty lists don't validate successfully.
CapsuleModCollider
ModCollider for CapsuleColliders.
Note: Debug visuals for CapsuleColliders are displayed as boxes.
CapsuleModCollider.CapsuleWrapper
DirectionExtensions
Element
MapperTypeDefinition
Base class for mapper type XML definitions.
MapperTypeReference
Base class for references to defined mapper types.
MColourSliderDefinition
Used to define an MColourSlider in an XML file.
MColourSliderReference
Used to reference an MColourSlider in an XML file.
MeshReference
Specialized ResourceReference that additionally contains transform information for a mesh. The transform values are reloadable.
MeshTexturePair
MKeyDefinition
Used to define an MKey in an XML file.
MKeyReference
Used to reference an MKey in an XML file.
ModCollider
Abstract base class for all collider types supported for mods.
MSliderDefinition
Used to define an MSlider in an XML file.
MSliderReference
Used to reference an MSlider in an XML file.
MToggleDefinition
Used to define an MToggle in an XML file.
MToggleReference
Used to reference an MToggle in an XML file.
MValueDefinition
Used to define an MValue in an XML file.
MValueReference
Used to reference an MValue in an XML file.
ReloadableAttribute
Marks XML elements/attributes extending the Element class as capable of being reloaded.
RequireToValidateAttribute
Marks XML elements/attributes that extend the Element class to automatically be recursively validated.
ResourceReference
Reference to a resource that is declared in the mod manifest.
SphereModCollider
ModCollider for SphereColliders.
TransformValues
Utility class to easily include Position, Rotation, and/or Scale for serialization. See the Common Elements serialization documentation for details on how to use it.
VanillaBlockType
Allows entering either the name of an entry in the BlockType enum or its integer ID.
VanillaEntityType
Allows entering the name of a vanilla entity or its integer ID.
Structs
Vector3
Unity's Vector3 does not (de)serialize correctly, so this wrapper is used to do it instead.
Interfaces
IReloadable
Base interface for anything that supports reloading using the Deserialization system.
IValidatable
The base interface a class must implement for it to be validated using the generic validation system.
You should normally use the Element class instead of implementing this interface yourself.