menuentryswapper: add checks to ensure when a hotkey is released, swaps get removed. (#1450)

* menuentryswapper: add checks to ensure when a hotkey is released, swaps get removed.

* menuentryswapper: convert priority entry splitter to a list rather than map.
This commit is contained in:
Ganom
2019-08-25 16:18:30 -04:00
committed by GitHub
parent 9d591d4265
commit b885b0a3f8
7 changed files with 297 additions and 216 deletions

View File

@@ -1023,6 +1023,11 @@ public interface Client extends GameShell
*/
int getKeyboardIdleTicks();
/**
* Returns an array of booleans relating to keys pressed.
*/
boolean[] getPressedKeys();
/**
* Changes how game behaves based on memory mode. Low memory mode skips
* drawing of all floors and renders ground textures in low quality.
@@ -1755,4 +1760,4 @@ public interface Client extends GameShell
* Returns the max item index + 1 from cache
*/
int getItemCount();
}
}