Class LoginRequestEvent
java.lang.Object
com.nickuc.login.api.event.internal.velocity.VelocityCancellableEvent
com.nickuc.login.api.event.internal.velocity.VelocityLockableEvent
com.nickuc.login.api.event.velocity.auth.request.LoginRequestEvent
- All Implemented Interfaces:
CancellableEvent,EventWithPlayer,LockableEvent
Event triggered when a login request is initiated for a player.
Read-only for PROXY implementations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected LoginRequestChangeEventcreateNewActionEvent(Object owner, LockableEventAction action) com.velocitypowered.api.proxy.PlayerReturns the player instance.protected voidinternalCall(int id) Methods inherited from class com.nickuc.login.api.event.internal.velocity.VelocityLockableEvent
callEvt, count, getLock, lock, tryFinish, unlockMethods inherited from class com.nickuc.login.api.event.internal.velocity.VelocityCancellableEvent
isCancelled, setCancelled
-
Constructor Details
-
LoginRequestEvent
public LoginRequestEvent(com.velocitypowered.api.proxy.Player player)
-
-
Method Details
-
createNewActionEvent
- Specified by:
createNewActionEventin classVelocityLockableEvent
-
internalCall
protected void internalCall(int id) - Specified by:
internalCallin classVelocityLockableEvent
-
getPlayer
public com.velocitypowered.api.proxy.Player getPlayer()Returns the player instance.- Specified by:
getPlayerin interfaceEventWithPlayer
-