Show / Hide Table of Contents

Class MKeyDefinition

Used to define an MKey in an XML file.

Inheritance
Object
Element
MapperTypeDefinition
MKeyDefinition
Implements
IValidatable
Inherited Members
MapperTypeDefinition.Key
MapperTypeDefinition.DisplayName
MapperTypeDefinition.ShowInMapper
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.Serialization
Assembly: Assembly-CSharp.dll
Syntax
public class MKeyDefinition : MapperTypeDefinition, IValidatable

Constructors

MKeyDefinition()

Declaration
public MKeyDefinition()

Fields

Default

Default key binding.

Declaration
public KeyCode Default
Field Value
Type Description
UnityEngine.KeyCode

Methods

Create(SaveableDataHolder)

Adds this mapper type to the given holder.

Declaration
public override MapperType Create(SaveableDataHolder holder)
Parameters
Type Name Description
SaveableDataHolder holder
Returns
Type Description
MapperType

The created MapperType instance.

Overrides
MapperTypeDefinition.Create(SaveableDataHolder)

Implements

IValidatable
Back to top Generated by DocFX