static fun valueOf(reason: Int): DisconnectReason!
Get a disconnect reason for a number code
reason - Int: the reason code
reason
Return DisconnectReason!: a matching DisconnectReason