public class BukkitLastLoginPreUpdateLogoutTimestampEvent extends BukkitLastLoginEvent implements IPreUpdateTimestamp
| Constructor and Description | 
|---|
BukkitLastLoginPreUpdateLogoutTimestampEvent(LastLoginPlayer player,
                                            long timestamp)  | 
| Modifier and Type | Method and Description | 
|---|---|
@NotNull LastLoginPlayer | 
getPlayer()
Get the player 
 | 
long | 
getTimestamp()
The timestamp that is gonna to be set 
 | 
boolean | 
isCancelled()
Is the event cancelled? 
 | 
void | 
setCancelled(boolean cancel)
Set the event as cancelled 
 | 
void | 
setTimestamp(long timestamp)
Set a new timestamp 
 | 
getApi, getHandlerList, getHandlers, setApiclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetApi, setApipublic BukkitLastLoginPreUpdateLogoutTimestampEvent(LastLoginPlayer player, long timestamp)
@NotNull public @NotNull LastLoginPlayer getPlayer()
IPreUpdateTimestampgetPlayer in interface IPreUpdateTimestampLastLoginPlayerpublic long getTimestamp()
IPreUpdateTimestampgetTimestamp in interface IPreUpdateTimestamppublic void setTimestamp(long timestamp)
IPreUpdateTimestampsetTimestamp in interface IPreUpdateTimestamptimestamp - the timestamp to setpublic boolean isCancelled()
CancellableisCancelled in interface Cancellabletrue if the event is cancelledpublic void setCancelled(boolean cancel)
CancellablesetCancelled in interface Cancellablecancel - true to cancelCopyright © 2023. All rights reserved.