public interface GameStoppingEvent extends GameStateEvent
GameState.GAME_STOPPING event. The game is stopping,
all network connections should be closed, all plugins should prepare for
shutdown, closing all files.
Note: In the case that the JVM is terminated, this state may never be reached.
| Modifier and Type | Method and Description |
|---|---|
default GameState |
getState()
Gets the
GameState that this event represents. |
getCause, getContext, getSourcedefault GameState getState()
GameStateEventGameState that this event represents.getState in interface GameStateEvent