类 MiraiGroupMuteAllEvent

java.lang.Object
org.spongepowered.api.event.impl.AbstractEvent
me.dreamvoid.miraimc.sponge.event.group.setting.MiraiGroupMuteAllEvent
所有已实现的接口:
org.spongepowered.api.event.Event

public class MiraiGroupMuteAllEvent extends org.spongepowered.api.event.impl.AbstractEvent
(Sponge) 群 - 群设置 - 群设置改变 - 全员禁言状态改变
  • 字段概要

    从类继承的字段 org.spongepowered.api.event.impl.AbstractEvent

    currentOrder
  • 构造器概要

    构造器
    构造器
    说明
    MiraiGroupMuteAllEvent(net.mamoe.mirai.event.events.GroupMuteAllEvent event, org.spongepowered.api.event.Cause cause)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    org.spongepowered.api.event.Cause
     
    long
    获取机器人账号
    获取群实例
    long
    获取群号
    int
    获取哈希值
    long
    获取操作管理员QQ号 如果不存在,返回0
    boolean
    获取群当前是否允许聊天
    boolean
    获取群当前是否允许聊天
    获取原始事件内容
    [!]

    从类继承的方法 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

    context, source
  • 构造器详细资料

    • MiraiGroupMuteAllEvent

      public MiraiGroupMuteAllEvent(net.mamoe.mirai.event.events.GroupMuteAllEvent event, org.spongepowered.api.event.Cause cause)
  • 方法详细资料

    • getGroupID

      public long getGroupID()
      获取群号
      返回:
      群号
    • getOperatorID

      public long getOperatorID()
      获取操作管理员QQ号 如果不存在,返回0
      返回:
      QQ号
    • isAllowChat

      public boolean isAllowChat()
      获取群当前是否允许聊天
      返回:
      是否允许聊天
    • isAllowChatBefore

      public boolean isAllowChatBefore()
      获取群当前是否允许聊天
      返回:
      是否允许聊天
    • getBotID

      public long getBotID()
      获取机器人账号
      返回:
      机器人账号
    • getHashCode

      public int getHashCode()
      获取哈希值
      返回:
      哈希值
    • toString

      public String toString()
      获取原始事件内容
      [!] 不推荐使用
      覆盖:
      toString 在类中 Object
      返回:
      原始事件内容
    • getGroup

      public MiraiGroup getGroup()
      获取群实例
      返回:
      MiraiGroup 实例
    • cause

      @NotNull public org.spongepowered.api.event.Cause cause()