Package org.spongepowered.api.network
Interface ClientConnectionState.Game
- All Superinterfaces:
ClientConnectionState
,ClientConnectionState.Authenticated
,EngineConnectionState
,EngineConnectionState.Authenticated
,EngineConnectionState.Game
- Enclosing interface:
ClientConnectionState
public static interface ClientConnectionState.Game
extends EngineConnectionState.Game, ClientConnectionState.Authenticated
Represents the game state of the connection
from the client to the server on the client side.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.spongepowered.api.network.ClientConnectionState
ClientConnectionState.Authenticated, ClientConnectionState.Configuration, ClientConnectionState.Game, ClientConnectionState.Intent, ClientConnectionState.Login
Nested classes/interfaces inherited from interface org.spongepowered.api.network.EngineConnectionState
EngineConnectionState.Authenticated, EngineConnectionState.Configuration, EngineConnectionState.Game, EngineConnectionState.Intent, EngineConnectionState.Login
-
Method Summary
Methods inherited from interface org.spongepowered.api.network.EngineConnectionState
transferred
Methods inherited from interface org.spongepowered.api.network.EngineConnectionState.Authenticated
profile
-
Method Details
-
player
LocalPlayer player()Gets the associatedplayer
for this connection state.- Specified by:
player
in interfaceEngineConnectionState.Game
- Returns:
- The associated player
-