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
sideMethods inherited from interface org.spongepowered.api.network.EngineConnection
close, closeMethods inherited from interface org.spongepowered.api.network.RemoteConnection
address, virtualHost
-
Method Details
-
player
LocalPlayer player()Gets the associatedplayerfor this connection.- Specified by:
playerin interfacePlayerConnection- Returns:
- The associated player
-