public class ServerDisconnectEvent extends Event
Constructor and Description |
---|
ServerDisconnectEvent(@NonNull ProxiedPlayer player,
@NonNull ServerInfo target) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
@NonNull ProxiedPlayer |
getPlayer()
Player disconnecting from a server.
|
@NonNull ServerInfo |
getTarget()
Server the player is disconnecting from.
|
int |
hashCode() |
String |
toString() |
public ServerDisconnectEvent(@NonNull @NonNull ProxiedPlayer player, @NonNull @NonNull ServerInfo target)
@NonNull public @NonNull ProxiedPlayer getPlayer()
@NonNull public @NonNull ServerInfo getTarget()
protected boolean canEqual(Object other)
Copyright © 2012–2020 SpigotMC. All rights reserved.