- Namespace
- Menu.Remix.MixedUI
- Assembly
- Assembly-CSharp.dll
public class OpKeyBinder : UIconfig
- Inheritance
-
OpKeyBinder
- Inherited Members
-
Constructors
public OpKeyBinder(Configurable<KeyCode> config, Vector2 pos, Vector2 size, bool collisionCheck = true, OpKeyBinder.BindController controllerNo = BindController.AnyController)
Parameters
config Configurable<KeyCode>
pos Vector2
size Vector2
collisionCheck bool
controllerNo OpKeyBinder.BindController
Fields
public const string GAMEPADICON = "GamepadIcon"
Field Value
- string
public static readonly string NONE
Field Value
- string
public static Dictionary<string, string> _BoundKey
Field Value
- Dictionary<string, string>
Field Value
- bool
public OpKeyBinder.BindController _bind
Field Value
- OpKeyBinder.BindController
public readonly bool _collisionCheck
Field Value
- bool
public readonly string _controlKey
Field Value
- string
Field Value
- string
Field Value
- FLabel
public bool _lastAnyKeyDown
Field Value
- bool
public readonly string _modID
Field Value
- string
Field Value
- FSprite
Field Value
- Color
Field Value
- Color
Field Value
- DyeableRect
Properties
public override string value { get; set; }
Property Value
- string
Methods
public override void Change()
public override string DisplayDescription()
Returns
- string
public static OpKeyBinder.BindController GetControllerForPlayer(int player)
Parameters
player int
Returns
- OpKeyBinder.BindController
public override void GrafUpdate(float timeStacker)
Parameters
timeStacker float
public override void NonMouseSetHeld(bool newHeld)
Parameters
newHeld bool
public void SetController(OpKeyBinder.BindController controller)
Parameters
controller OpKeyBinder.BindController
public static KeyCode StringToKeyCode(string str)
Parameters
str string
Returns
- KeyCode
public override void Unload()
public override void Update()
public static string _ChangeBind(string oldKey, OpKeyBinder.BindController oldBind, OpKeyBinder.BindController newBind)
Parameters
oldKey string
oldBind OpKeyBinder.BindController
newBind OpKeyBinder.BindController
Returns
- string
public static void _InitBoundKey()
public static void _InitWrapped(MenuTabWrapper tabWrapper)
Parameters
tabWrapper MenuTabWrapper
public void _Initalize(string defaultKey)
Parameters
defaultKey string
public static bool _IsJoystick(string keyCode)
Parameters
keyCode string
Returns
- bool