public class PlayerHandshakeEvent extends Event
Constructor and Description |
---|
PlayerHandshakeEvent(PendingConnection connection,
Handshake handshake) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
PendingConnection |
getConnection()
Connection attempting to login.
|
Handshake |
getHandshake()
The handshake.
|
int |
hashCode() |
String |
toString() |
public PlayerHandshakeEvent(PendingConnection connection, Handshake handshake)
public PendingConnection getConnection()
public Handshake getHandshake()
protected boolean canEqual(Object other)
Copyright © 2012–2020 SpigotMC. All rights reserved.