Package net.sf.l2j.gameserver.model

Examples of net.sf.l2j.gameserver.model.L2CommandChannel.broadcastToChannelMembers()


            channel.removeParty(party);

            SystemMessage sm = SystemMessage.sendString("Your party has left the CommandChannel.");
            party.broadcastToPartyMembers(sm);
            sm = SystemMessage.sendString(party.getPartyMembers().get(0).getName() +"'s party has left the CommandChannel.");
            channel.broadcastToChannelMembers(sm);
            return true;
          }
        }

        return false;
View Full Code Here


              && activeChar.getParty().getCommandChannel().getChannelLeader().equals(activeChar))
          {
            L2CommandChannel channel = activeChar.getParty().getCommandChannel();

            SystemMessage sm = SystemMessage.sendString("The Command Channel was disbanded.");
            channel.broadcastToChannelMembers(sm);

            channel.disbandChannel();
            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.