类 MiraiGroupEntranceAnnouncementChangeEvent
java.lang.Object
org.spongepowered.api.event.impl.AbstractEvent
me.dreamvoid.miraimc.sponge.event.group.setting.AbstractGroupSettingChangeEvent
me.dreamvoid.miraimc.sponge.event.group.setting.MiraiGroupEntranceAnnouncementChangeEvent
- 所有已实现的接口:
Event
(Sponge) 群 - 群设置 - 群设置改变 - 入群公告改变
-
字段概要
从类继承的字段 org.spongepowered.api.event.impl.AbstractEvent
currentOrder
-
构造器概要
构造器说明MiraiGroupEntranceAnnouncementChangeEvent
(net.mamoe.mirai.event.events.GroupEntranceAnnouncementChangeEvent event, Cause cause) -
方法概要
从类继承的方法 me.dreamvoid.miraimc.sponge.event.group.setting.AbstractGroupSettingChangeEvent
getBotID, getCause, getGroup, getHashCode, toString
从类继承的方法 org.spongepowered.api.event.impl.AbstractEvent
init
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
从接口继承的方法 org.spongepowered.api.event.Event
getContext, getSource
-
构造器详细资料
-
MiraiGroupEntranceAnnouncementChangeEvent
public MiraiGroupEntranceAnnouncementChangeEvent(net.mamoe.mirai.event.events.GroupEntranceAnnouncementChangeEvent event, Cause cause)
-
-
方法详细资料
-
getGroupID
public long getGroupID()获取群号- 覆盖:
getGroupID
在类中AbstractGroupSettingChangeEvent
- 返回:
- 群号
-
getOperatorID
public long getOperatorID()获取操作管理员QQ号- 返回:
- QQ号
-
getOrigin
获取更换前的群公告内容- 返回:
- 群公告内容
-
getNew
获取更换后的群公告内容- 返回:
- 群公告内容
-