Interface GameOutcomeReporter.Sink

Enclosing class:
GameOutcomeReporter
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface GameOutcomeReporter.Sink
Where outcomes go, normally ProviderClient.reportGameOutcome(java.lang.String, org.cloudburstmc.netty.signaling.ProviderClient.GameOutcome, java.lang.String).
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    report(String ticketId, org.cloudburstmc.netty.signaling.ProviderClient.GameOutcome outcome, String reason)
     
  • Method Details

    • report

      boolean report(String ticketId, org.cloudburstmc.netty.signaling.ProviderClient.GameOutcome outcome, String reason)
      Returns:
      false when the outcome was dropped