Merge pull request #11218 from abextm/shutdown-event-external

runelite-client: add ClientShutdown event
This commit is contained in:
Adam
2020-04-10 14:37:28 -04:00
committed by GitHub
10 changed files with 212 additions and 83 deletions

View File

@@ -140,6 +140,13 @@ public interface Client extends GameEngine
*/
void setGameState(GameState gameState);
/**
* Causes the client to shutdown. It is faster than
* {@link java.applet.Applet#stop()} because it doesn't wait for 4000ms.
* This will call {@link System#exit} when it is done
*/
void stopNow();
/**
* Gets the current logged in username.
*