Package com.l2jfrozen.gameserver.model

Examples of com.l2jfrozen.gameserver.model.L2CommandChannel.broadcastToChannelMembers()


        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

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.