public class VelocityPartiesPartyPostDeleteEvent extends VelocityPartiesEvent implements IPartyPostDeleteEvent
| Constructor and Description |
|---|
VelocityPartiesPartyPostDeleteEvent(Party party,
DeleteCause cause,
PartyPlayer kickedPlayer,
PartyPlayer commandSender) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull DeleteCause |
getCause()
Get the delete cause
|
@Nullable PartyPlayer |
getCommandSender()
Get the player who performed the command
|
@Nullable PartyPlayer |
getKickedPlayer()
Get the kicked player
|
@NotNull Party |
getParty()
Get the deleted party
|
getApi, setApiclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPartyNamegetApi, setApipublic VelocityPartiesPartyPostDeleteEvent(Party party, DeleteCause cause, PartyPlayer kickedPlayer, PartyPlayer commandSender)
@NotNull public @NotNull Party getParty()
IPartyPostDeleteEventgetParty in interface IPartyPostDeleteEventParty@NotNull public @NotNull DeleteCause getCause()
IPartyPostDeleteEventgetCause in interface IPartyPostDeleteEventDeleteCause of the delete@Nullable public @Nullable PartyPlayer getKickedPlayer()
IPartyPostDeleteEventgetKickedPlayer in interface IPartyPostDeleteEventPartyPlayer of the kicked player, returns
null if the delete cause is DeleteCause.DELETE or
DeleteCause.TIMEOUT@Nullable public @Nullable PartyPlayer getCommandSender()
IPartyPostDeleteEventgetCommandSender in interface IPartyPostDeleteEventPartyPlayer who did the command, returns
null if the delete cause is DeleteCause.TIMEOUTCopyright © 2023. All rights reserved.