combinations
.
example: []
syntax:
content: public Keybind(params Keybind.Combination[] combinations)
parameters:
- id: combinations
type: MLEM.Input.Keybind.Combination[]
description: The combinations to initialize this keybind with.
content.vb: Public Sub New(ParamArray combinations As Keybind.Combination())
overload: MLEM.Input.Keybind.#ctor*
nameWithType.vb: Keybind.New(ParamArray Keybind.Combination())
fullName.vb: MLEM.Input.Keybind.New(ParamArray MLEM.Input.Keybind.Combination())
name.vb: New(ParamArray Combination())
- uid: MLEM.Input.Keybind.#ctor
commentId: M:MLEM.Input.Keybind.#ctor
id: '#ctor'
parent: MLEM.Input.Keybind
langs:
- csharp
- vb
name: Keybind()
nameWithType: Keybind.Keybind()
fullName: MLEM.Input.Keybind.Keybind()
type: Constructor
source:
remote:
path: MLEM/Input/Keybind.cs
branch: main
repo: https://github.com/Ellpeck/MLEM
id: .ctor
path: ../MLEM/Input/Keybind.cs
startLine: 54
assemblies:
- MLEM
namespace: MLEM.Input
summary: Creates a new keybind with no default combinations
example: []
syntax:
content: public Keybind()
content.vb: Public Sub New()
overload: MLEM.Input.Keybind.#ctor*
nameWithType.vb: Keybind.New()
fullName.vb: MLEM.Input.Keybind.New()
name.vb: New()
- uid: MLEM.Input.Keybind.Add(MLEM.Input.GenericInput,MLEM.Input.GenericInput[])
commentId: M:MLEM.Input.Keybind.Add(MLEM.Input.GenericInput,MLEM.Input.GenericInput[])
id: Add(MLEM.Input.GenericInput,MLEM.Input.GenericInput[])
parent: MLEM.Input.Keybind
langs:
- csharp
- vb
name: Add(GenericInput, params GenericInput[])
nameWithType: Keybind.Add(GenericInput, params GenericInput[])
fullName: MLEM.Input.Keybind.Add(MLEM.Input.GenericInput, params MLEM.Input.GenericInput[])
type: Method
source:
remote:
path: MLEM/Input/Keybind.cs
branch: main
repo: https://github.com/Ellpeck/MLEM
id: Add
path: ../MLEM/Input/Keybind.cs
startLine: 62
assemblies:
- MLEM
namespace: MLEM.Input
summary: Adds a new key combination to this keybind that can optionally be pressed for the keybind to trigger.
example: []
syntax:
content: public Keybind Add(GenericInput key, params GenericInput[] modifiers)
parameters:
- id: key
type: MLEM.Input.GenericInput
description: The key to be pressed.
- id: modifiers
type: MLEM.Input.GenericInput[]
description: The modifier keys that have to be held down.
return:
type: MLEM.Input.Keybind
description: This keybind, for chaining
content.vb: Public Function Add(key As GenericInput, ParamArray modifiers As GenericInput()) As Keybind
overload: MLEM.Input.Keybind.Add*
nameWithType.vb: Keybind.Add(GenericInput, ParamArray GenericInput())
fullName.vb: MLEM.Input.Keybind.Add(MLEM.Input.GenericInput, ParamArray MLEM.Input.GenericInput())
name.vb: Add(GenericInput, ParamArray GenericInput())
- uid: MLEM.Input.Keybind.Add(MLEM.Input.Keybind.Combination)
commentId: M:MLEM.Input.Keybind.Add(MLEM.Input.Keybind.Combination)
id: Add(MLEM.Input.Keybind.Combination)
parent: MLEM.Input.Keybind
langs:
- csharp
- vb
name: Add(Combination)
nameWithType: Keybind.Add(Keybind.Combination)
fullName: MLEM.Input.Keybind.Add(MLEM.Input.Keybind.Combination)
type: Method
source:
remote:
path: MLEM/Input/Keybind.cs
branch: main
repo: https://github.com/Ellpeck/MLEM
id: Add
path: ../MLEM/Input/Keybind.cs
startLine: 71
assemblies:
- MLEM
namespace: MLEM.Input
summary: Adds the given index
of this keybind's combinations that can optionally be pressed for the keybind to trigger.
example: []
syntax:
content: public Keybind Insert(int index, GenericInput key, params GenericInput[] modifiers)
parameters:
- id: index
type: System.Int32
description: The index to insert this combination into.
- id: key
type: MLEM.Input.GenericInput
description: The key to be pressed.
- id: modifiers
type: MLEM.Input.GenericInput[]
description: The modifier keys that have to be held down.
return:
type: MLEM.Input.Keybind
description: This keybind, for chaining.
content.vb: Public Function Insert(index As Integer, key As GenericInput, ParamArray modifiers As GenericInput()) As Keybind
overload: MLEM.Input.Keybind.Insert*
nameWithType.vb: Keybind.Insert(Integer, GenericInput, ParamArray GenericInput())
fullName.vb: MLEM.Input.Keybind.Insert(Integer, MLEM.Input.GenericInput, ParamArray MLEM.Input.GenericInput())
name.vb: Insert(Integer, GenericInput, ParamArray GenericInput())
- uid: MLEM.Input.Keybind.Insert(System.Int32,MLEM.Input.Keybind.Combination)
commentId: M:MLEM.Input.Keybind.Insert(System.Int32,MLEM.Input.Keybind.Combination)
id: Insert(System.Int32,MLEM.Input.Keybind.Combination)
parent: MLEM.Input.Keybind
langs:
- csharp
- vb
name: Insert(int, Combination)
nameWithType: Keybind.Insert(int, Keybind.Combination)
fullName: MLEM.Input.Keybind.Insert(int, MLEM.Input.Keybind.Combination)
type: Method
source:
remote:
path: MLEM/Input/Keybind.cs
branch: main
repo: https://github.com/Ellpeck/MLEM
id: Insert
path: ../MLEM/Input/Keybind.cs
startLine: 100
assemblies:
- MLEM
namespace: MLEM.Input
summary: Inserts the given index
of this keybind's combinations that can optionally be pressed for the keybind to trigger.
example: []
syntax:
content: public Keybind Insert(int index, Keybind.Combination combination)
parameters:
- id: index
type: System.Int32
description: The index to insert this combination into.
- id: combination
type: MLEM.Input.Keybind.Combination
description: The combination to insert.
return:
type: MLEM.Input.Keybind
description: This keybind, for chaining.
content.vb: Public Function Insert(index As Integer, combination As Keybind.Combination) As Keybind
overload: MLEM.Input.Keybind.Insert*
nameWithType.vb: Keybind.Insert(Integer, Keybind.Combination)
fullName.vb: MLEM.Input.Keybind.Insert(Integer, MLEM.Input.Keybind.Combination)
name.vb: Insert(Integer, Combination)
- uid: MLEM.Input.Keybind.Insert(System.Int32,MLEM.Input.GenericInput,MLEM.Input.ModifierKey)
commentId: M:MLEM.Input.Keybind.Insert(System.Int32,MLEM.Input.GenericInput,MLEM.Input.ModifierKey)
id: Insert(System.Int32,MLEM.Input.GenericInput,MLEM.Input.ModifierKey)
parent: MLEM.Input.Keybind
langs:
- csharp
- vb
name: Insert(int, GenericInput, ModifierKey)
nameWithType: Keybind.Insert(int, GenericInput, ModifierKey)
fullName: MLEM.Input.Keybind.Insert(int, MLEM.Input.GenericInput, MLEM.Input.ModifierKey)
type: Method
source:
remote:
path: MLEM/Input/Keybind.cs
branch: main
repo: https://github.com/Ellpeck/MLEM
id: Insert
path: ../MLEM/Input/Keybind.cs
startLine: 106
assemblies:
- MLEM
namespace: MLEM.Input
summary: Inserts a new key combination into the given index
of this keybind's combinations that can optionally be pressed for the keybind to trigger.
example: []
syntax:
content: public Keybind Insert(int index, GenericInput key, ModifierKey modifier)
parameters:
- id: index
type: System.Int32
description: The index to insert this combination into.
- id: key
type: MLEM.Input.GenericInput
description: The key to be pressed.
- id: modifier
type: MLEM.Input.ModifierKey
return:
type: MLEM.Input.Keybind
description: This keybind, for chaining.
content.vb: Public Function Insert(index As Integer, key As GenericInput, modifier As ModifierKey) As Keybind
overload: MLEM.Input.Keybind.Insert*
nameWithType.vb: Keybind.Insert(Integer, GenericInput, ModifierKey)
fullName.vb: MLEM.Input.Keybind.Insert(Integer, MLEM.Input.GenericInput, MLEM.Input.ModifierKey)
name.vb: Insert(Integer, GenericInput, ModifierKey)
- uid: MLEM.Input.Keybind.Clear
commentId: M:MLEM.Input.Keybind.Clear
id: Clear
parent: MLEM.Input.Keybind
langs:
- csharp
- vb
name: Clear()
nameWithType: Keybind.Clear()
fullName: MLEM.Input.Keybind.Clear()
type: Method
source:
remote:
path: MLEM/Input/Keybind.cs
branch: main
repo: https://github.com/Ellpeck/MLEM
id: Clear
path: ../MLEM/Input/Keybind.cs
startLine: 116
assemblies:
- MLEM
namespace: MLEM.Input
summary: Clears this keybind, removing all active combinations.
example: []
syntax:
content: public Keybind Clear()
return:
type: MLEM.Input.Keybind
description: This keybind, for chaining
content.vb: Public Function Clear() As Keybind
overload: MLEM.Input.Keybind.Clear*
- uid: MLEM.Input.Keybind.Remove(System.Func{MLEM.Input.Keybind.Combination,System.Int32,System.Boolean})
commentId: M:MLEM.Input.Keybind.Remove(System.Func{MLEM.Input.Keybind.Combination,System.Int32,System.Boolean})
id: Remove(System.Func{MLEM.Input.Keybind.Combination,System.Int32,System.Boolean})
parent: MLEM.Input.Keybind
langs:
- csharp
- vb
name: Remove(Funcindex
within this keybind.
example: []
syntax:
content: public bool TryGetCombination(int index, out Keybind.Combination combination)
parameters:
- id: index
type: System.Int32
description: The index of the combination to retrieve.
- id: combination
type: MLEM.Input.Keybind.Combination
description: The combination, or default if this method returns false.
return:
type: System.Boolean
description: Whether the combination could be successfully retrieved or the index was out of bounds of this keybind's combination collection.
content.vb: Public Function TryGetCombination(index As Integer, combination As Keybind.Combination) As Boolean
overload: MLEM.Input.Keybind.TryGetCombination*
nameWithType.vb: Keybind.TryGetCombination(Integer, Keybind.Combination)
fullName.vb: MLEM.Input.Keybind.TryGetCombination(Integer, MLEM.Input.Keybind.Combination)
name.vb: TryGetCombination(Integer, Combination)
- uid: MLEM.Input.Keybind.ToString(System.String,System.String,System.Func{MLEM.Input.GenericInput,System.String})
commentId: M:MLEM.Input.Keybind.ToString(System.String,System.String,System.Func{MLEM.Input.GenericInput,System.String})
id: ToString(System.String,System.String,System.Func{MLEM.Input.GenericInput,System.String})
parent: MLEM.Input.Keybind
langs:
- csharp
- vb
name: ToString(string, string, Funcjoiner
set to ", ".
example: []
syntax:
content: public string ToString(string joiner, string combinationJoiner = " + ", FuncValue | Meaning |
---|---|
Less than zero | This instance precedes other in the sort order. |
Zero | This instance occurs in the same position in the sort order as other . |
Greater than zero | This instance follows other in the sort order. |
Value | Meaning |
---|---|
Less than zero | This instance precedes obj in the sort order. |
Zero | This instance occurs in the same position in the sort order as obj . |
Greater than zero | This instance follows obj in the sort order. |
obj
is not the same type as this instance.
implements:
- System.IComparable.CompareTo(System.Object)
nameWithType.vb: Keybind.CompareTo(Object)
fullName.vb: MLEM.Input.Keybind.CompareTo(Object)
name.vb: CompareTo(Object)
- uid: MLEM.Input.Keybind.ToString
commentId: M:MLEM.Input.Keybind.ToString
id: ToString
parent: MLEM.Input.Keybind
langs:
- csharp
- vb
name: ToString()
nameWithType: Keybind.ToString()
fullName: MLEM.Input.Keybind.ToString()
type: Method
source:
remote:
path: MLEM/Input/Keybind.cs
branch: main
repo: https://github.com/Ellpeck/MLEM
id: ToString
path: ../MLEM/Input/Keybind.cs
startLine: 314
assemblies:
- MLEM
namespace: MLEM.Input
summary: Converts this keybind into a string, separating every included