Class VelocityLastLoginEvent
- java.lang.Object
-
- com.alessiodp.lastloginapi.api.events.velocity.VelocityLastLoginEvent
-
- All Implemented Interfaces:
LastLoginEvent
- Direct Known Subclasses:
VelocityLastLoginPostUpdateLoginTimestampEvent,VelocityLastLoginPostUpdateLogoutTimestampEvent,VelocityLastLoginPreUpdateLoginTimestampEvent,VelocityLastLoginPreUpdateLogoutTimestampEvent,VelocityLastLoginUpdateNameEvent
public class VelocityLastLoginEvent extends Object implements LastLoginEvent
-
-
Constructor Summary
Constructors Constructor Description VelocityLastLoginEvent()
-
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
-
-