Class InputBinding
- Namespace
- ReFuel.Input
- Assembly
- ReFuel.dll
public class InputBinding
- Inheritance
-
InputBinding
- Inherited Members
-
Constructors
public InputBinding(BindPoint point)
Parameters
point
BindPoint
Properties
Property Value
- bool
public static CCommand BindCommand { get; }
Property Value
- CCommand
public static IReadOnlyList<InputBinding> BindingsList { get; }
Property Value
- IReadOnlyList<InputBinding>
public static IReadOnlyDictionary<BindPoint, InputBinding> BindingsMap { get; }
Property Value
- IReadOnlyDictionary<BindPoint, InputBinding>
public IReadOnlyCollection<string> Binds { get; }
Property Value
- IReadOnlyCollection<string>
public IEnumerable<(int direction, CBind cv)> CVars { get; }
Property Value
- IEnumerable<(int direction, CBind cv)>
public static CCommand LsBindCommand { get; }
Property Value
- CCommand
public static CCommand LsInputCommand { get; }
Property Value
- CCommand
public BindPoint Point { get; }
Property Value
- BindPoint
public static CCommand UnbindAllCommand { get; }
Property Value
- CCommand
public static CCommand UnbindCommand { get; }
Property Value
- CCommand
Methods
public void Bind(CVar cv, int direction = 1, int exclusivity = 0)
Parameters
cv
CVar
direction
int
exclusivity
int
public void Bind(string str, int exclusivity = 0)
Parameters
str
string
exclusivity
int
public static void CallThisToInjectBinds()
public static InputBinding GetBindings(BindPoint point)
Parameters
point
BindPoint
Returns
- InputBinding
public static bool HasBindings(BindPoint point)
Parameters
point
BindPoint
Returns
- bool