Class BungeeLastLoginEvent
- java.lang.Object
-
- net.md_5.bungee.api.plugin.Event
-
- com.alessiodp.lastloginapi.api.events.bungee.BungeeLastLoginEvent
-
- All Implemented Interfaces:
LastLoginEvent
- Direct Known Subclasses:
BungeeLastLoginPostUpdateLoginTimestampEvent,BungeeLastLoginPostUpdateLogoutTimestampEvent,BungeeLastLoginPreUpdateLoginTimestampEvent,BungeeLastLoginPreUpdateLogoutTimestampEvent,BungeeLastLoginUpdateNameEvent
public class BungeeLastLoginEvent extends net.md_5.bungee.api.plugin.Event implements LastLoginEvent
-
-
Constructor Summary
Constructors Constructor Description BungeeLastLoginEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull LastLoginAPIgetApi()Get the LastLogin API instancevoidsetApi(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
-
-