Class LoginRequestEvent
java.lang.Object
org.bukkit.event.Event
com.nickuc.login.api.event.internal.bukkit.BukkitEvent
com.nickuc.login.api.event.internal.bukkit.BukkitCancellableEvent
com.nickuc.login.api.event.internal.bukkit.BukkitLockableEvent
com.nickuc.login.api.event.bukkit.auth.request.LoginRequestEvent
- All Implemented Interfaces:
CancellableEvent,EventWithPlayer,LockableEvent,org.bukkit.event.Cancellable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected LoginRequestChangeEventcreateNewActionEvent(org.bukkit.plugin.Plugin owner, LockableEventAction action) org.bukkit.entity.PlayerReturns the player instance.protected voidinternalCall(int id) Methods inherited from class com.nickuc.login.api.event.internal.bukkit.BukkitLockableEvent
callEvt, count, getLock, lock, unlockMethods inherited from class com.nickuc.login.api.event.internal.bukkit.BukkitCancellableEvent
isCancelled, setCancelledMethods inherited from class com.nickuc.login.api.event.internal.bukkit.BukkitEvent
getHandlerList, getHandlersMethods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
LoginRequestEvent
public LoginRequestEvent(org.bukkit.entity.Player player)
-
-
Method Details
-
createNewActionEvent
protected LoginRequestChangeEvent createNewActionEvent(org.bukkit.plugin.Plugin owner, LockableEventAction action) - Specified by:
createNewActionEventin classBukkitLockableEvent
-
internalCall
protected void internalCall(int id) - Specified by:
internalCallin classBukkitLockableEvent
-
getPlayer
public org.bukkit.entity.Player getPlayer()Returns the player instance.- Specified by:
getPlayerin interfaceEventWithPlayer
-