Package org.spongepowered.api.network
Interface LocalPlayerConnection
- All Superinterfaces:
ClientSideConnection
,EngineConnection
,PlayerConnection
,RemoteConnection
Represents a connection of a client to the server where
the client
player
has successfully joined.-
Method Summary
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 Details
-
player
LocalPlayer player()Gets the associatedplayer
for this connection.- Specified by:
player
in interfacePlayerConnection
- Returns:
- The associated player
-