Merge remote-tracking branch 'runelite/master' into 1808-merge

This commit is contained in:
Owain van Brakel
2019-08-18 01:34:22 +02:00
6 changed files with 146 additions and 31 deletions

View File

@@ -131,11 +131,11 @@ public interface Client extends GameShell
GameState getGameState();
/**
* Sets the current game state.
* Sets the current game state
*
* @param gameState new game state
* @param gameState
*/
void setGameState(int gameState);
void setGameState(GameState gameState);
/**
* Gets the current logged in username.

View File

@@ -28,10 +28,12 @@ import java.util.Arrays;
import java.util.Map;
import java.util.function.Function;
import java.util.stream.Collectors;
import lombok.Getter;
/**
* An enumeration of game states the client is in.
*/
@Getter
public enum GameState
{
/**