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, setAudience
Methods inherited from interface org.spongepowered.api.event.message.MessageEvent
message, originalMessage, setMessage
Methods inherited from interface org.spongepowered.api.event.network.ServerSideConnectionEvent
connection, profile
-
Method Details
-
player
ServerPlayer player()Gets theplayer
.- Returns:
- The player
-