Examples of broadcastTitleInfo()


Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.broadcastTitleInfo()

    if(activeChar.isNoble() && _target.matches(activeChar.getName()))
    {
      activeChar.setTitle(_title);
      SystemMessage sm = new SystemMessage(SystemMessageId.TITLE_CHANGED);
      activeChar.sendPacket(sm);
      activeChar.broadcastTitleInfo();
    }
    //Can the player change/give a title?
    else if((activeChar.getClanPrivileges() & L2Clan.CP_CL_GIVE_TITLE) == L2Clan.CP_CL_GIVE_TITLE)
    {
      if(activeChar.getClan().getLevel() < 3)
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.broadcastTitleInfo()

        {
          //is target from the same clan?
          member.setTitle(_title);
          SystemMessage sm = new SystemMessage(SystemMessageId.TITLE_CHANGED);
          member.sendPacket(sm);
          member.broadcastTitleInfo();
          sm = null;
        }
        else
        {
          SystemMessage sm = new SystemMessage(SystemMessageId.S1_S2);
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.broadcastTitleInfo()

          player.setTitle(val);
          if (player != activeChar)
          {
            player.sendMessage("Your title has been changed by a GM");
          }
          player.broadcastTitleInfo();
        }
        else if (npc != null)
        {
          npc.setTitle(val);
          npc.updateAbnormalEffect();
View Full Code Here

Examples of net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.broadcastTitleInfo()

        } else {
          return false;
        }
        player.setTitle(val);
        player.sendMessage("Your title has been changed by a GM");
        player.broadcastTitleInfo();
      }
      catch (StringIndexOutOfBoundsException e)
      {   //Case of empty character title
        activeChar.sendMessage("You need to specify the new title.");
      }
View Full Code Here

Examples of net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.broadcastTitleInfo()

    if (activeChar.isNoble() && _target.matches(activeChar.getName()))
    {
      activeChar.setTitle(_title);
      SystemMessage sm = new SystemMessage(SystemMessageId.TITLE_CHANGED);
      activeChar.sendPacket(sm);
      activeChar.broadcastTitleInfo();
    }
    //Can the player change/give a title?
    else if ((activeChar.getClanPrivileges() & L2Clan.CP_CL_GIVE_TITLE) == L2Clan.CP_CL_GIVE_TITLE)
    {
      if (activeChar.getClan().getLevel() < 3)
View Full Code Here

Examples of net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.broadcastTitleInfo()

                {
              //is target from the same clan?
            member.setTitle(_title);
            SystemMessage sm = new SystemMessage(SystemMessageId.TITLE_CHANGED);
            member.sendPacket(sm);
          member.broadcastTitleInfo();
          sm = null;
                }
                else
                {
                    SystemMessage sm = new SystemMessage(SystemMessageId.S1_S2);
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.