Package org.spongepowered.api.network
Interface LocalPlayerConnection
-
- All Superinterfaces:
ClientSideConnection,EngineConnection,PlayerConnection,RemoteConnection
public interface LocalPlayerConnection extends PlayerConnection, ClientSideConnection
Represents a connection of a client to the server where the clientplayerhas successfully joined.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LocalPlayerplayer()Gets the associatedplayerfor this connection.-
Methods inherited from interface org.spongepowered.api.network.ClientSideConnection
side
-
Methods inherited from interface org.spongepowered.api.network.EngineConnection
close, close
-
Methods inherited from interface org.spongepowered.api.network.RemoteConnection
address, virtualHost
-
-
-
-
Method Detail
-
player
LocalPlayer player()
Gets the associatedplayerfor this connection.- Specified by:
playerin interfacePlayerConnection- Returns:
- The associated player
-
-