mirai
2.12.0
common
mirai-core-api
/
net.mamoe.mirai.event.events
/
BotAvatarChangedEvent
Bot
Avatar
Changed
Event
common
data
class
BotAvatarChangedEvent
(
val
bot
:
Bot
)
:
AbstractEvent
,
BotEvent
,
Packet
Content copied to clipboard
Bot
头像被修改(通过其他客户端修改了头像). 在此事件广播前就已经修改完毕.
Constructors
Functions
Properties
See also
See also
common
net.
mamoe.
mirai.
event.
events.
Friend
Avatar
Changed
Event
Constructors
Bot
Avatar
Changed
Event
Link copied to clipboard
common
fun
BotAvatarChangedEvent
(
bot
:
Bot
)
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
拦截这个事件
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 广播的情况)
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
事件是否已被拦截.