Simple Robot Component Tencent Guild
3.2.0.0
jvm
simbot-component-qq-guild-core-common
/
love.forte.simbot.component.qguild.event
/
QGEvent
QGEvent
@
BaseEvent
abstract
class
QGEvent
<
T
:
Any
>
:
Event
,
BotContainer
(
source
)
QQ频道bot的事件总类。
Author
ForteScarlet
Parameters
T
此类型代表其真正事件所得到的结果。
Inheritors
QGChannelEvent
QGForumEvent
QGGuildEvent
QGMemberEvent
QGMessageEvent
QGOpenForumEvent
QGUnsupportedEvent
Members
Constructors
QGEvent
Link copied to clipboard
constructor
(
)
Types
Companion
Link copied to clipboard
object
Companion
:
BaseEventKey
<
QGEvent
<
*
>
>
Properties
bot
Link copied to clipboard
abstract
override
val
bot
:
QGBot
component
Link copied to clipboard
open
override
val
component
:
Component
event
Raw
Link copied to clipboard
abstract
val
eventRaw
:
String
接收到的事件的原始JSON字符串
id
Link copied to clipboard
abstract
override
val
id
:
ID
事件ID。
key
Link copied to clipboard
abstract
override
val
key
:
Event.Key
<
out
QGEvent
<
*
>
>
source
Event
Entity
Link copied to clipboard
abstract
val
sourceEventEntity
:
T
真正的原始事件所得到的事件实体。
timestamp
Link copied to clipboard
abstract
override
val
timestamp
:
Timestamp
接收到事件的时间。