mirai
2.16.0
common
mirai-core-api
/
net.mamoe.mirai.event.events
/
GroupTalkativeChangeEvent
Group
Talkative
Change
Event
data
class
GroupTalkativeChangeEvent
(
val
group
:
Group
,
val
now
:
NormalMember
,
val
previous
:
NormalMember
)
:
AbstractEvent
,
Packet
,
GroupEvent
,
BotPassiveEvent
Group
龙王改变时的事件
Members
Constructors
Group
Talkative
Change
Event
Link copied to clipboard
constructor
(
group
:
Group
,
now
:
NormalMember
,
previous
:
NormalMember
)
Functions
cancel
Link copied to clipboard
fun
cancel
(
)
intercept
Link copied to clipboard
abstract
fun
intercept
(
)
拦截这个事件
Properties
_intercepted
Link copied to clipboard
@
MiraiInternalApi
@
JvmField
@
Volatile
var
_intercepted
:
Boolean
bot
Link copied to clipboard
open
override
val
bot
:
Bot
broad
Cast
Lock
Link copied to clipboard
@
MiraiInternalApi
@
JvmField
val
broadCastLock
:
Mutex
限制一个事件实例不能并行广播. (适用于 object 广播的情况)
group
Link copied to clipboard
open
override
val
group
:
Group
改变的群
is
Cancelled
Link copied to clipboard
val
isCancelled
:
Boolean
is
Intercepted
Link copied to clipboard
abstract
val
isIntercepted
:
Boolean
事件是否已被拦截.
now
Link copied to clipboard
val
now
:
NormalMember
当前龙王
previous
Link copied to clipboard
val
previous
:
NormalMember
先前龙王