Commit 0382d3e4 authored by Him188's avatar Him188

Add all values set for LoginResult

parent 163bbf94
......@@ -71,6 +71,22 @@ inline class LoginResult(val id: Byte) {
*/
@JvmStatic
val NETWORK_UNAVAILABLE = LoginResult(9)
@JvmStatic
val values: List<LoginResult> by lazy {
listOf(
BLOCKED,
DEVICE_LOCK,
SUCCESS,
WRONG_PASSWORD,
UNKNOWN,
UNKNOWN_QQ_NUMBER,
TAKEN_BACK,
INTERNAL_ERROR,
TIMEOUT,
NETWORK_UNAVAILABLE
)
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment