Class BukkitLastLoginEvent
- java.lang.Object
-
- org.bukkit.event.Event
-
- com.alessiodp.lastloginapi.api.events.bukkit.BukkitLastLoginEvent
-
- All Implemented Interfaces:
LastLoginEvent
- Direct Known Subclasses:
BukkitLastLoginPostUpdateLoginTimestampEvent,BukkitLastLoginPostUpdateLogoutTimestampEvent,BukkitLastLoginPreUpdateLoginTimestampEvent,BukkitLastLoginPreUpdateLogoutTimestampEvent,BukkitLastLoginUpdateNameEvent
public class BukkitLastLoginEvent extends org.bukkit.event.Event implements LastLoginEvent
-
-
Constructor Summary
Constructors Constructor Description BukkitLastLoginEvent(boolean async)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull LastLoginAPIgetApi()Get the LastLogin API instancestatic org.bukkit.event.HandlerListgetHandlerList()@NotNull org.bukkit.event.HandlerListgetHandlers()voidsetApi(LastLoginAPI instance)Set the LastLogin API instance.
-
-
-
Method Detail
-
getApi
@NotNull public @NotNull LastLoginAPI getApi()
Description copied from interface:LastLoginEventGet the LastLogin API instance- Specified by:
getApiin interfaceLastLoginEvent- Returns:
- the
LastLoginAPI
-
setApi
public void setApi(LastLoginAPI instance)
Description copied from interface:LastLoginEventSet the LastLogin API instance. Used by LastLoginAPI instance to let you hook directly to the main API.- Specified by:
setApiin interfaceLastLoginEvent- Parameters:
instance-LastLoginAPIinstance to set
-
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
- Specified by:
getHandlersin classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-
-