コード例 #1
0
  /** Method disbandChannel. */
  public void disbandChannel() {
    broadCast(new SystemMessage(SystemMessage.THE_COMMAND_CHANNEL_HAS_BEEN_DISBANDED));

    for (Party party : _commandChannelParties) {
      party.setCommandChannel(null);
      party.broadCast(ExMPCCClose.STATIC);

      if (isInReflection()) {
        party.broadCast(
            new SystemMessage(SystemMessage.THIS_DUNGEON_WILL_EXPIRE_IN_S1_MINUTES).addNumber(1));
      }
    }

    Reflection reflection = getReflection();

    if (reflection != null) {
      reflection.startCollapseTimer(60000L);
      setReflection(null);
    }

    if (_matchingRoom != null) {
      _matchingRoom.disband();
    }

    _commandChannelParties.clear();
    _commandChannelLeader = null;
  }