Class MatchmakingRequest

java.lang.Object
dev.itsharshxd.zentrix.api.matchmaking.MatchmakingRequest

public final class MatchmakingRequest extends Object
Immutable atomic matchmaking request.
  • Constructor Details

    • MatchmakingRequest

      public MatchmakingRequest(@NotNull @NotNull Collection<? extends org.bukkit.entity.Player> onlineTargets, @Nullable @Nullable String gameTypeName, @Nullable @Nullable String sourceArenaName, @Nullable @Nullable UUID partyLeaderId)
  • Method Details

    • getOnlineTargets

      @NotNull public @NotNull List<org.bukkit.entity.Player> getOnlineTargets()
    • getGameTypeName

      @NotNull public @NotNull Optional<String> getGameTypeName()
    • getSourceArenaName

      @NotNull public @NotNull Optional<String> getSourceArenaName()
    • getPartyLeaderId

      @NotNull public @NotNull Optional<UUID> getPartyLeaderId()
    • builder

      @NotNull public static @NotNull MatchmakingRequest.Builder builder(@NotNull @NotNull Collection<? extends org.bukkit.entity.Player> onlineTargets)