Warning

data class Warning(val code: PlayerWarningCode, val message: String, val deficiencyData: DeficiencyData? = null) : WarningEvent, PlayerEvent

Emitted when a player warning occurred.

Constructors

Link copied to clipboard
constructor(code: PlayerWarningCode, message: String, deficiencyData: DeficiencyData? = null)

Properties

Link copied to clipboard
open override val code: PlayerWarningCode

The warning code used to identify the warning.

Link copied to clipboard

Additional diagnostic information related to the warning.

Link copied to clipboard
open override val message: String

The warning message to explain the reason for the warning.