mirai
2.12.0
common
mirai-core-api
/
net.mamoe.mirai.event.events
/
MemberHonorChangeEvent
/
Achieve
Achieve
common
data
class
Achieve
(
val
member
:
NormalMember
,
val
honorType
:
GroupHonorType
)
:
MemberHonorChangeEvent
Content copied to clipboard
获得荣誉时的事件
Constructors
Functions
Properties
Constructors
Achieve
Link copied to clipboard
common
fun
Achieve
(
member
:
NormalMember
,
honorType
:
GroupHonorType
)
Content copied to clipboard
Functions
cancel
Link copied to clipboard
common
fun
cancel
(
)
Content copied to clipboard
intercept
Link copied to clipboard
common
abstract
fun
intercept
(
)
Content copied to clipboard
拦截这个事件
to
String
Link copied to clipboard
common
open
override
fun
toString
(
)
:
String
Content copied to clipboard
Properties
_intercepted
Link copied to clipboard
common
@
MiraiInternalApi
var
_intercepted
:
Boolean
=
false
Content copied to clipboard
bot
Link copied to clipboard
common
open
override
val
bot
:
Bot
Content copied to clipboard
broadCastLock
Link copied to clipboard
common
@
MiraiInternalApi
val
broadCastLock
:
<ERROR CLASS>
Content copied to clipboard
限制一个事件实例不能并行广播. (适用于 object 广播的情况)
group
Link copied to clipboard
common
open
override
val
group
:
Group
Content copied to clipboard
honorType
Link copied to clipboard
common
open
override
val
honorType
:
GroupHonorType
Content copied to clipboard
改变的荣誉类型
isCancelled
Link copied to clipboard
common
val
isCancelled
:
Boolean
Content copied to clipboard
isIntercepted
Link copied to clipboard
common
abstract
val
isIntercepted
:
Boolean
Content copied to clipboard
事件是否已被拦截.
member
Link copied to clipboard
common
open
override
val
member
:
NormalMember
Content copied to clipboard
改变荣誉的群成员
user
Link copied to clipboard
common
open
override
val
user
:
Member
Content copied to clipboard