Interface ServerSideConnectionEvent.Disconnect
- All Superinterfaces:
AudienceMessageEvent,Event,MessageEvent,ServerSideConnectionEvent
- Enclosing interface:
- ServerSideConnectionEvent
public static interface ServerSideConnectionEvent.Disconnect
extends ServerSideConnectionEvent, AudienceMessageEvent
Called when a
player disconnects from the game.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.spongepowered.api.event.network.ServerSideConnectionEvent
ServerSideConnectionEvent.Auth, ServerSideConnectionEvent.Disconnect, ServerSideConnectionEvent.Handshake, ServerSideConnectionEvent.Join, ServerSideConnectionEvent.Login -
Method Summary
Methods inherited from interface org.spongepowered.api.event.message.AudienceMessageEvent
audience, filterAudience, originalAudience, setAudienceMethods inherited from interface org.spongepowered.api.event.message.MessageEvent
message, originalMessage, setMessageMethods inherited from interface org.spongepowered.api.event.network.ServerSideConnectionEvent
connection, profile
-
Method Details
-
player
ServerPlayer player()Gets theplayer.- Returns:
- The player
-