Interface IPreUpdateTimestamp
-
- All Superinterfaces:
Cancellable,LastLoginEvent
- All Known Implementing Classes:
BukkitLastLoginPreUpdateLoginTimestampEvent,BukkitLastLoginPreUpdateLogoutTimestampEvent,BungeeLastLoginPreUpdateLoginTimestampEvent,BungeeLastLoginPreUpdateLogoutTimestampEvent,VelocityLastLoginPreUpdateLoginTimestampEvent,VelocityLastLoginPreUpdateLogoutTimestampEvent
public interface IPreUpdateTimestamp extends LastLoginEvent, Cancellable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull LastLoginPlayergetPlayer()Get the playerlonggetTimestamp()The timestamp that is gonna to be setvoidsetTimestamp(long timestamp)Set a new timestamp-
Methods inherited from interface com.alessiodp.lastloginapi.api.events.Cancellable
isCancelled, setCancelled
-
Methods inherited from interface com.alessiodp.lastloginapi.api.events.LastLoginEvent
getApi, setApi
-
-
-
-
Method Detail
-
getPlayer
@NotNull @NotNull LastLoginPlayer getPlayer()
Get the player- Returns:
- the
LastLoginPlayer
-
getTimestamp
long getTimestamp()
The timestamp that is gonna to be set- Returns:
- the timestamp
-
setTimestamp
void setTimestamp(long timestamp)
Set a new timestamp- Parameters:
timestamp- the timestamp to set
-
-