Class VelocityPartiesPlayerPostJoinEvent
- java.lang.Object
-
- com.alessiodp.parties.api.events.velocity.VelocityPartiesEvent
-
- com.alessiodp.parties.api.events.velocity.player.VelocityPartiesPlayerPostJoinEvent
-
- All Implemented Interfaces:
IPlayerPostJoinEvent,PartiesEvent
public class VelocityPartiesPlayerPostJoinEvent extends VelocityPartiesEvent implements IPlayerPostJoinEvent
-
-
Constructor Summary
Constructors Constructor Description VelocityPartiesPlayerPostJoinEvent(PartyPlayer player, Party party, JoinCause cause, PartyPlayer inviter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull JoinCausegetCause()Get the join cause@Nullable PartyPlayergetInviter()Get the inviter@NotNull PartygetParty()Get the party@NotNull PartyPlayergetPartyPlayer()Get the player that joined the party-
Methods inherited from class com.alessiodp.parties.api.events.velocity.VelocityPartiesEvent
getApi, 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.IPlayerPostJoinEvent
isInvited
-
Methods inherited from interface com.alessiodp.parties.api.events.PartiesEvent
getApi, setApi
-
-
-
-
Constructor Detail
-
VelocityPartiesPlayerPostJoinEvent
public VelocityPartiesPlayerPostJoinEvent(PartyPlayer player, Party party, JoinCause cause, PartyPlayer inviter)
-
-
Method Detail
-
getPartyPlayer
@NotNull public @NotNull PartyPlayer getPartyPlayer()
Description copied from interface:IPlayerPostJoinEventGet the player that joined the party- Specified by:
getPartyPlayerin interfaceIPlayerPostJoinEvent- Returns:
- the
PartyPlayer
-
getParty
@NotNull public @NotNull Party getParty()
Description copied from interface:IPlayerPostJoinEventGet the party- Specified by:
getPartyin interfaceIPlayerPostJoinEvent- Returns:
- the
Party
-
getCause
@NotNull public @NotNull JoinCause getCause()
Description copied from interface:IPlayerPostJoinEventGet the join cause- Specified by:
getCausein interfaceIPlayerPostJoinEvent- Returns:
- the
JoinCauseof the event
-
getInviter
@Nullable public @Nullable PartyPlayer getInviter()
Description copied from interface:IPlayerPostJoinEventGet the inviter- Specified by:
getInviterin interfaceIPlayerPostJoinEvent- Returns:
- the
PartyPlayerof the inviter,nullif the player joined via join/ask command
-
-