Class BukkitPartiesPlayerPostLeaveEvent
- java.lang.Object
-
- org.bukkit.event.Event
-
- com.alessiodp.parties.api.events.bukkit.BukkitPartiesEvent
-
- com.alessiodp.parties.api.events.bukkit.player.BukkitPartiesPlayerPostLeaveEvent
-
- All Implemented Interfaces:
IPlayerPostLeaveEvent,PartiesEvent
public class BukkitPartiesPlayerPostLeaveEvent extends BukkitPartiesEvent implements IPlayerPostLeaveEvent
-
-
Constructor Summary
Constructors Constructor Description BukkitPartiesPlayerPostLeaveEvent(PartyPlayer player, Party party, LeaveCause cause, PartyPlayer kicker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull LeaveCausegetCause()Get the leave cause@Nullable PartyPlayergetKicker()Get the kicker@NotNull PartygetParty()Get the party@NotNull PartyPlayergetPartyPlayer()Get the player that left the party-
Methods inherited from class com.alessiodp.parties.api.events.bukkit.BukkitPartiesEvent
getApi, getHandlerList, getHandlers, setApi
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.alessiodp.parties.api.events.common.player.IPlayerPostLeaveEvent
isKicked
-
Methods inherited from interface com.alessiodp.parties.api.events.PartiesEvent
getApi, setApi
-
-
-
-
Constructor Detail
-
BukkitPartiesPlayerPostLeaveEvent
public BukkitPartiesPlayerPostLeaveEvent(PartyPlayer player, Party party, LeaveCause cause, PartyPlayer kicker)
-
-
Method Detail
-
getPartyPlayer
@NotNull public @NotNull PartyPlayer getPartyPlayer()
Description copied from interface:IPlayerPostLeaveEventGet the player that left the party- Specified by:
getPartyPlayerin interfaceIPlayerPostLeaveEvent- Returns:
- the
PartyPlayer
-
getParty
@NotNull public @NotNull Party getParty()
Description copied from interface:IPlayerPostLeaveEventGet the party- Specified by:
getPartyin interfaceIPlayerPostLeaveEvent- Returns:
- the
Party
-
getCause
@NotNull public @NotNull LeaveCause getCause()
Description copied from interface:IPlayerPostLeaveEventGet the leave cause- Specified by:
getCausein interfaceIPlayerPostLeaveEvent- Returns:
- the
LeaveCauseof the event
-
getKicker
@Nullable public @Nullable PartyPlayer getKicker()
Description copied from interface:IPlayerPostLeaveEventGet the kicker- Specified by:
getKickerin interfaceIPlayerPostLeaveEvent- Returns:
- the
PartyPlayerthat has kicked the player, returnsnullifIPlayerPostLeaveEvent.isKicked()returnsfalse
-
-