BugReport

class BugReport : IncomingGameMessage

Bug report packets are sent when players submit a bug report using the bug report interface.

Constructors

Link copied to clipboard
constructor(type: Int, description: String, instructions: String)

Properties

Link copied to clipboard
open override val category: ClientProtCategory
Link copied to clipboard

the description of the bug, how it happened etc. The maximum length of this form is 500 characters, as the client prevents sending anything beyond that.

Link copied to clipboard

instructions on how to reproduce the bug. The maximum length of this form is also 500 characters, as the client prevents sending anything beyond that. The decoder will throw an exception if the length of the message exceeds the 500 length constraint, so no validation needs to be done on the user's end.

Link copied to clipboard
val type: Int

the type of the report. The only known value of this is 0.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String