类 MiraiGroupAllowAnonymousChatEvent
java.lang.Object
cn.nukkit.event.Event
me.dreamvoid.miraimc.nukkit.event.group.setting.AbstractGroupSettingChangeEvent
me.dreamvoid.miraimc.nukkit.event.group.setting.MiraiGroupAllowAnonymousChatEvent
(Nukkit) 群 - 群设置 - 群设置改变 - 匿名聊天状态改变
-
字段概要
-
构造器概要
构造器说明MiraiGroupAllowAnonymousChatEvent
(net.mamoe.mirai.event.events.GroupAllowAnonymousChatEvent event) -
方法概要
修饰符和类型方法说明long
获取群号boolean
获取群当前是否允许匿名聊天boolean
获取群之前是否允许匿名聊天从类继承的方法 me.dreamvoid.miraimc.nukkit.event.group.setting.AbstractGroupSettingChangeEvent
getBotID, getGroup, getHandlers, getHashCode, toString
从类继承的方法 cn.nukkit.event.Event
getEventName, isCancelled, setCancelled, setCancelled
-
构造器详细资料
-
MiraiGroupAllowAnonymousChatEvent
public MiraiGroupAllowAnonymousChatEvent(net.mamoe.mirai.event.events.GroupAllowAnonymousChatEvent event)
-
-
方法详细资料
-
getGroupID
public long getGroupID()获取群号- 覆盖:
getGroupID
在类中AbstractGroupSettingChangeEvent
- 返回:
- 群号
-
isAllowAnonymousChat
public boolean isAllowAnonymousChat()获取群当前是否允许匿名聊天- 返回:
- 是否允许匿名聊天
-
isAllowAnonymousChatBefore
public boolean isAllowAnonymousChatBefore()获取群之前是否允许匿名聊天- 返回:
- 是否允许匿名聊天
-