InputAPI reference
Class InputBindingSet
Namespace: MicroEngine.Input
Assembly: MicroEngine.Input.dll
Guide: Input
Every action’s bindings as data, for a rebinding screen to save and load: through SaveBindings
and LoadBindings (the platform’s storage), or as a value a game keeps in its own save
(SaveStore.Save(“bindings”, map.ExportBindings()); the classes have public properties).
public sealed class InputBindingSetInheritance
Constructors
InputBindingSet()
public InputBindingSet()Properties
Actions
The actions, in ordinal order of their names.
public List<ActionBindingData> Actions { get; set; }Property Value
Version
The format version (1).
public int Version { get; set; }Property Value
Methods
FromJson(string)
Reads a set written by ToJson.
public static InputBindingSet FromJson(string json)Parameters
json string
Returns
Exceptions
The text is not a binding set.
ToJson()
The set as JSON text.
public string ToJson()