Package l2p.gameserver.model

Examples of l2p.gameserver.model.L2CommandChannel.disbandChannel()


          return true;
        }
        if(activeChar.getParty().getCommandChannel().getChannelLeader() == activeChar)
        {
          L2CommandChannel channel = activeChar.getParty().getCommandChannel();
          channel.disbandChannel();
        }
        else
        {
          activeChar.sendPacket(Msg.ONLY_THE_CREATOR_OF_A_CHANNEL_CAN_USE_THE_CHANNEL_DISMISS_COMMAND);
        }
View Full Code Here


          if(channel.getParties().size() > 1)
          {
            return false;
          }
          // Закрываем СС, если в СС 1 партия и лидер нажал Quit
          channel.disbandChannel();
          return true;
        }
        L2Party party = activeChar.getParty();
        channel.removeParty(party);
        party.broadcastToPartyMembers(Msg.YOU_HAVE_QUIT_THE_COMMAND_CHANNEL);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.