Package net.md_5.bungee.api.event
Class PlayerHandshakeEvent
- java.lang.Object
-
- net.md_5.bungee.api.plugin.Event
-
- net.md_5.bungee.api.event.PlayerHandshakeEvent
-
public class PlayerHandshakeEvent extends Event
Event called to represent a player first making their presence and username known.
-
-
Constructor Summary
Constructors Constructor Description PlayerHandshakeEvent(PendingConnection connection, Handshake handshake)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
PendingConnection
getConnection()
Connection attempting to login.Handshake
getHandshake()
The handshake.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
PlayerHandshakeEvent
public PlayerHandshakeEvent(PendingConnection connection, Handshake handshake)
-
-
Method Detail
-
getConnection
public PendingConnection getConnection()
Connection attempting to login.
-
getHandshake
public Handshake getHandshake()
The handshake.
-
canEqual
protected boolean canEqual(Object other)
-
-