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 clientplayer
has successfully joined.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LocalPlayer
player()
Gets the associatedplayer
for 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 associatedplayer
for this connection.- Specified by:
player
in interfacePlayerConnection
- Returns:
- The associated player
-
-