Package com.l2jfrozen.gameserver.model

Examples of com.l2jfrozen.gameserver.model.L2CommandChannel


     if (_response == 1)
    {
       boolean newCc = false;
        if (!requestor.getParty().isInCommandChannel())
        {
        new L2CommandChannel(requestor); // Create new CC
        newCc = true;
        }
                 
        requestor.getParty().getCommandChannel().addParty(player.getParty());
        if (!newCc)
View Full Code Here


   
    if(activeChar.isInParty())
    {
      if (activeChar.getParty().isLeader(activeChar) && activeChar.getParty().isInCommandChannel())
      {
        L2CommandChannel channel = activeChar.getParty().getCommandChannel();
        L2Party party = activeChar.getParty();
        channel.removeParty(party);

        party.getLeader().sendPacket(new SystemMessage(SystemMessageId.LEFT_COMMAND_CHANNEL));
        channel.broadcastToChannelMembers(new SystemMessage(SystemMessageId.S1_PARTY_LEFT_COMMAND_CHANNEL).addString(party.getLeader().getName()));

        party = null;
        channel = null;
        return true;
      }
View Full Code Here

    if(activeChar!=null && activeChar.isInParty())
    {
      if(activeChar.getParty().isLeader(activeChar) && activeChar.getParty().isInCommandChannel() && activeChar.getParty().getCommandChannel().getChannelLeader().equals(activeChar))
      {
        L2CommandChannel channel = activeChar.getParty().getCommandChannel();
        channel.broadcastToChannelMembers(new SystemMessage(SystemMessageId.COMMAND_CHANNEL_DISBANDED));
        channel.disbandChannel();

        channel = null;
        return true;
      }
    }
View Full Code Here

      return false;
       
    if (activeChar.getParty() == null || activeChar.getParty().getCommandChannel() == null)
            return false;

        L2CommandChannel channel = activeChar.getParty().getCommandChannel();
       
        activeChar.sendPacket(new ExMultiPartyCommandChannelInfo(channel));
        return true;
  }
View Full Code Here

TOP

Related Classes of com.l2jfrozen.gameserver.model.L2CommandChannel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.