Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ InvalidateKeyboardSwap()

static bool Terraria.GameInput.PlayerInput.InvalidateKeyboardSwap ( )
inlinestaticprivate

Definition at line 395 of file PlayerInput.cs.

396 {
397 if (_invalidatorCheck.Length == 0)
398 {
399 return false;
400 }
401 string text = "";
403 for (int i = 0; i < pressedKeys.Count; i++)
404 {
405 text = string.Concat(text, pressedKeys[i], ", ");
406 }
407 if (text == _invalidatorCheck)
408 {
409 return true;
410 }
412 return false;
413 }
static List< Keys > GetPressedKeys()

References Terraria.GameInput.PlayerInput._invalidatorCheck, System.Collections.Generic.Dictionary< TKey, TValue >.Count, Terraria.GameInput.PlayerInput.GetPressedKeys(), and System.text.