Class MatchmakingResult
java.lang.Object
dev.itsharshxd.zentrix.api.matchmaking.MatchmakingResult
Immutable result returned after all admission or creation work has completed.
-
Constructor Summary
ConstructorsConstructorDescriptionMatchmakingResult(@NotNull MatchmakingStatus status, @NotNull Collection<UUID> acceptedPlayerIds, @NotNull Collection<UUID> rejectedPlayerIds, @Nullable ZentrixGame runtimeGame, @Nullable String sourceArenaName, @NotNull SourceDisposition sourceDisposition, @Nullable String detail) -
Method Summary
Modifier and TypeMethodDescription@NotNull String@NotNull Optional<ZentrixGame> @NotNull SourceDisposition@NotNull MatchmakingStatusboolean
-
Constructor Details
-
MatchmakingResult
public MatchmakingResult(@NotNull @NotNull MatchmakingStatus status, @NotNull @NotNull Collection<UUID> acceptedPlayerIds, @NotNull @NotNull Collection<UUID> rejectedPlayerIds, @Nullable @Nullable ZentrixGame runtimeGame, @Nullable @Nullable String sourceArenaName, @NotNull @NotNull SourceDisposition sourceDisposition, @Nullable @Nullable String detail)
-
-
Method Details
-
getStatus
-
getAcceptedPlayerIds
-
getRejectedPlayerIds
-
getRuntimeGame
-
getSourceArenaName
-
getSourceDisposition
-
getDetail
-
isSuccess
public boolean isSuccess()
-