Interface IPlayerPreInviteEvent
-
- All Superinterfaces:
Cancellable,PartiesEvent
- All Known Implementing Classes:
BukkitPartiesPlayerPreInviteEvent,BungeePartiesPlayerPreInviteEvent,VelocityPartiesPlayerPreInviteEvent
public interface IPlayerPreInviteEvent extends PartiesEvent, Cancellable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull PartyPlayergetInvitedPlayer()Get the invited player@Nullable PartyPlayergetInviter()Get the inviter@NotNull PartygetParty()Get the party-
Methods inherited from interface com.alessiodp.parties.api.events.Cancellable
isCancelled, setCancelled
-
Methods inherited from interface com.alessiodp.parties.api.events.PartiesEvent
getApi, setApi
-
-
-
-
Method Detail
-
getInvitedPlayer
@NotNull @NotNull PartyPlayer getInvitedPlayer()
Get the invited player- Returns:
- the
PartyPlayer
-
getInviter
@Nullable @Nullable PartyPlayer getInviter()
Get the inviter- Returns:
- the
PartyPlayer
-
-