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
/
Resumed
Resumed
@
Serializable
@
SerialName
(
value
=
"RESUMED"
)
data
class
Resumed
(
val
id
:
String
?
=
null
,
val
s
:
Long
=
DEFAULT_SEQ
,
val
data
:
String
)
:
Signal.Dispatch
(
source
)
4.恢复连接
恢复成功之后,就开始补发遗漏事件,所有事件补发完成之后,会下发一个
Resumed Event
Members
Constructors
Resumed
Link copied to clipboard
constructor
(
id
:
String
?
=
null
,
s
:
Long
=
DEFAULT_SEQ
,
data
:
String
)
Properties
data
Link copied to clipboard
@
SerialName
(
value
=
"d"
)
open
override
val
data
:
String
此事件的实际本体
id
Link copied to clipboard
open
override
val
id
:
String
?
=
null
s
Link copied to clipboard
protected
open
override
val
s
:
Long
事件序列
Inherited properties
op
Link copied to clipboard
@
Serializable
(
with
=
Opcode.SerializerByCode::class
)
val
op
:
Opcode
seq
Link copied to clipboard
val
seq
:
Long
事件序列