toggle menu
Simple Robot 组件 | QQ Guild
4.1.2
common
switch theme
search in API
simbot-component-qq-guild-api
/
love.forte.simbot.qguild.event
/
Opcode
Opcode
@
Serializable
(
with
=
Opcode.SerializerByCode::class
)
sealed
class
Opcode
(
val
code
:
Int
)
(
source
)
针对
Opcodes
中各
opcode
的实例类型。
Inheritors
Dispatch
Heartbeat
Identify
Resume
Reconnect
InvalidSession
Hello
HeartbeatACK
CallbackVerify
Members
Constructors
Opcode
Link copied to clipboard
protected
constructor
(
code
:
Int
)
Types
Callback
Verify
Link copied to clipboard
object
CallbackVerify
:
Opcode
,
ReceiveAble
Callback地址验证
Dispatch
Link copied to clipboard
object
Dispatch
:
Opcode
,
ReceiveAble
Heartbeat
Link copied to clipboard
object
Heartbeat
:
Opcode
,
ReceiveAble
,
SendAble
Heartbeat
ACK
Link copied to clipboard
object
HeartbeatACK
:
Opcode
,
ReceiveAble
Hello
Link copied to clipboard
object
Hello
:
Opcode
,
ReceiveAble
当客户端与网关建立ws连接之后,网关下发的第一条消息.
Identify
Link copied to clipboard
object
Identify
:
Opcode
,
SendAble
Invalid
Session
Link copied to clipboard
object
InvalidSession
:
Opcode
,
ReceiveAble
Reconnect
Link copied to clipboard
object
Reconnect
:
Opcode
,
ReceiveAble
Resume
Link copied to clipboard
object
Resume
:
Opcode
,
SendAble
Serializer
By
Code
Link copied to clipboard
object
SerializerByCode
:
KSerializer
<
Opcode
>
Properties
code
Link copied to clipboard
val
code
:
Int
is
Receive
Link copied to clipboard
val
isReceive
:
Boolean
is
Send
Link copied to clipboard
val
isSend
:
Boolean