PlayerSetupDisconnectEvent

public class PlayerSetupDisconnectEvent implements IEvent

Event fired when playersetupdisconnect occurs. Listen for this event using EventBus.register.

java.lang.Object > PlayerSetupDisconnectEvent

Field Summary

No fields documented.

Method Detail

PlayerSetupDisconnectEvent

public public PlayerSetupDisconnectEvent (final String username, final UUID uuid, final PlayerAuthentication auth, final PacketHandler.DisconnectReason disconnectReason)

Method PlayerSetupDisconnectEvent.

Parameters:
final String username
final UUID uuid
final PlayerAuthentication auth
final PacketHandler.DisconnectReason disconnectReason

getUsername

public String getUsername ()

Method getUsername.

getUuid

public UUID getUuid ()

Method getUuid.

getAuth

public PlayerAuthentication getAuth ()

Method getAuth.

getDisconnectReason

public PacketHandler.DisconnectReason getDisconnectReason ()

Method getDisconnectReason.

toString

public String toString ()

Method toString.