Class VelocityPartiesPartyPostDeleteEvent
java.lang.Object
com.alessiodp.parties.api.events.velocity.VelocityPartiesEvent
com.alessiodp.parties.api.events.velocity.party.VelocityPartiesPartyPostDeleteEvent
- All Implemented Interfaces:
IPartyPostDeleteEvent,PartiesEvent
public class VelocityPartiesPartyPostDeleteEvent
extends VelocityPartiesEvent
implements IPartyPostDeleteEvent
-
Constructor Summary
ConstructorsConstructorDescriptionVelocityPartiesPartyPostDeleteEvent(Party party, DeleteCause cause, PartyPlayer kickedPlayer, PartyPlayer commandSender) -
Method Summary
Modifier and TypeMethodDescription@NotNull DeleteCausegetCause()Get the delete cause@Nullable PartyPlayerGet the player who performed the command@Nullable PartyPlayerGet the kicked player@NotNull PartygetParty()Get the deleted partyMethods inherited from class com.alessiodp.parties.api.events.velocity.VelocityPartiesEvent
getApi, setApiMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.alessiodp.parties.api.events.common.party.IPartyPostDeleteEvent
getPartyNameMethods inherited from interface com.alessiodp.parties.api.events.PartiesEvent
getApi, setApi
-
Constructor Details
-
VelocityPartiesPartyPostDeleteEvent
public VelocityPartiesPartyPostDeleteEvent(Party party, DeleteCause cause, PartyPlayer kickedPlayer, PartyPlayer commandSender)
-
-
Method Details
-
getParty
Description copied from interface:IPartyPostDeleteEventGet the deleted party- Specified by:
getPartyin interfaceIPartyPostDeleteEvent- Returns:
- the deleted
Party
-
getCause
Description copied from interface:IPartyPostDeleteEventGet the delete cause- Specified by:
getCausein interfaceIPartyPostDeleteEvent- Returns:
- the
DeleteCauseof the delete
-
getKickedPlayer
Description copied from interface:IPartyPostDeleteEventGet the kicked player- Specified by:
getKickedPlayerin interfaceIPartyPostDeleteEvent- Returns:
- the
PartyPlayerof the kicked player, returnsnullif the delete cause isDeleteCause.DELETEorDeleteCause.TIMEOUT
-
getCommandSender
Description copied from interface:IPartyPostDeleteEventGet the player who performed the command- Specified by:
getCommandSenderin interfaceIPartyPostDeleteEvent- Returns:
- the
PartyPlayerwho did the command, returnsnullif the delete cause isDeleteCause.TIMEOUT
-