Interface ServerSideConnectionEvent.Disconnect
-
- All Superinterfaces:
AudienceMessageEvent
,Event
,MessageEvent
,ServerSideConnectionEvent
- Enclosing interface:
- ServerSideConnectionEvent
public static interface ServerSideConnectionEvent.Disconnect extends ServerSideConnectionEvent, AudienceMessageEvent
Called when aplayer
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServerPlayer
player()
Gets theplayer
.-
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 Detail
-
player
ServerPlayer player()
Gets theplayer
.- Returns:
- The player
-
-