public class BungeePartiesPlayerPostLeaveEvent extends BungeePartiesEvent implements IPlayerPostLeaveEvent
| Constructor and Description |
|---|
BungeePartiesPlayerPostLeaveEvent(PartyPlayer player,
Party party,
LeaveCause cause,
PartyPlayer kicker) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull LeaveCause |
getCause()
Get the leave cause
|
@Nullable PartyPlayer |
getKicker()
Get the kicker
|
@NotNull Party |
getParty()
Get the party
|
@NotNull PartyPlayer |
getPartyPlayer()
Get the player that left the party
|
getApi, setApiclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisKickedgetApi, setApipublic BungeePartiesPlayerPostLeaveEvent(PartyPlayer player, Party party, LeaveCause cause, PartyPlayer kicker)
@NotNull public @NotNull PartyPlayer getPartyPlayer()
IPlayerPostLeaveEventgetPartyPlayer in interface IPlayerPostLeaveEventPartyPlayer@NotNull public @NotNull Party getParty()
IPlayerPostLeaveEventgetParty in interface IPlayerPostLeaveEventParty@NotNull public @NotNull LeaveCause getCause()
IPlayerPostLeaveEventgetCause in interface IPlayerPostLeaveEventLeaveCause of the event@Nullable public @Nullable PartyPlayer getKicker()
IPlayerPostLeaveEventgetKicker in interface IPlayerPostLeaveEventPartyPlayer that has kicked the player, returns null if IPlayerPostLeaveEvent.isKicked() returns falseCopyright © 2023. All rights reserved.