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
-
Method Summary
Modifier and TypeMethodDescriptionprotected LoginRequestChangeEvent
createNewActionEvent
(Object owner, LockableEventAction action) com.velocitypowered.api.proxy.Player
Returns the player instance.protected void
internalCall
(int id) Methods inherited from class com.nickuc.login.api.event.internal.velocity.VelocityLockableEvent
callEvt, count, getLock, lock, tryFinish, unlock
Methods 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:
createNewActionEvent
in classVelocityLockableEvent
-
internalCall
protected void internalCall(int id) - Specified by:
internalCall
in classVelocityLockableEvent
-
getPlayer
public com.velocitypowered.api.proxy.Player getPlayer()Returns the player instance.- Specified by:
getPlayer
in interfaceEventWithPlayer
-