fromValue

fun fromValue(code: Int): PlayerWarningCode?

Returns the PlayerWarningCode warning code associated with the raw code value or null.