OxDisconnectReasons coding group

Reasons for OX Servers to disconnect a client.

Lua access code

To access the code of the codings below, append the coding group name and coding name to syslib.model.codes, see an example below.

return syslib.model.codes.OxDisconnectReasons.DISC_PROTOCOL_ERROR

Codings

Name Code Description
DISC_PROTOCOL_ERROR 2 Protocol Error
DISC_ROLE_CHANGE 4 Server Role Change
DISC_SHUTDOWN 3 Server Shutdown
DISC_UNAUTHORIZED 1 Unauthorized Access