Record Class NexoriSubmitFinalMatchResultResult

java.lang.Object
java.lang.Record
io.github.hyjn.nexori.plugin.api.minigame.NexoriSubmitFinalMatchResultResult
Record Components:
matchStatus - local final result acceptance status.
backendReportStatus - backend reporting status, separate from local completion.
resultId - local result id when completion was accepted.
message - human-readable result details.

public record NexoriSubmitFinalMatchResultResult(NexoriMatchCompletionStatus matchStatus, NexoriBackendReportStatus backendReportStatus, String resultId, String message) extends Record
Result returned after Nexori attempts final local match completion and optional backend reporting.

matchStatus() describes whether Nexori accepted the result locally. backendReportStatus() describes what happened to the optional backend result report.

  • Constructor Details

  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • matchStatus

      public NexoriMatchCompletionStatus matchStatus()
      Returns the value of the matchStatus record component.
      Returns:
      the value of the matchStatus record component
    • backendReportStatus

      public NexoriBackendReportStatus backendReportStatus()
      Returns the value of the backendReportStatus record component.
      Returns:
      the value of the backendReportStatus record component
    • resultId

      public String resultId()
      Returns the value of the resultId record component.
      Returns:
      the value of the resultId record component
    • message

      public String message()
      Returns the value of the message record component.
      Returns:
      the value of the message record component