Class PartyInviteResolveEvent

java.lang.Object
org.bukkit.event.Event
dev.itsharshxd.zentrix.api.events.ZentrixEvent
dev.itsharshxd.zentrix.api.events.party.PartyInviteResolveEvent

public final class PartyInviteResolveEvent extends ZentrixEvent
Called once a party invitation has ended, however it ended: each stored invitation is reported exactly once, except those still pending when Zentrix shuts down. A notification: the outcome has already been applied.

Main thread; only fired while a listener is registered.

Since:
1.8.0
  • Constructor Details

  • Method Details

    • getInvitation

      @NotNull public @NotNull PartyInvitation getInvitation()
      The invitation, as it stood.
    • getResolution

      @NotNull public PartyInvitation.Resolution getResolution()
      How it ended.
    • getHandlers

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Description copied from class: ZentrixEvent
      Gets the handler list for this event.
      Overrides:
      getHandlers in class ZentrixEvent
      Returns:
      The handler list
    • getHandlerList

      @NotNull public static @NotNull org.bukkit.event.HandlerList getHandlerList()