Package net.sf.l2j.gameserver.serverpackets

Examples of net.sf.l2j.gameserver.serverpackets.NpcHtmlMessage.replace()


        NpcHtmlMessage html = new NpcHtmlMessage(getObjectId());
        html.setFile("data/html/chamberlain/chamberlain-report.htm");
        html.replace("%objectId%", String.valueOf(getObjectId()));
        L2Clan clan = ClanTable.getInstance().getClan(getCastle().getOwnerId());
          html.replace("%clanname%", clan.getName());
          html.replace("%clanleadername%", clan.getLeaderName());
        html.replace("%castlename%", getCastle().getName());
        {
          int currentPeriod = SevenSigns.getInstance().getCurrentPeriod();
          switch (currentPeriod)
          {
View Full Code Here


        html.setFile("data/html/chamberlain/chamberlain-report.htm");
        html.replace("%objectId%", String.valueOf(getObjectId()));
        L2Clan clan = ClanTable.getInstance().getClan(getCastle().getOwnerId());
          html.replace("%clanname%", clan.getName());
          html.replace("%clanleadername%", clan.getLeaderName());
        html.replace("%castlename%", getCastle().getName());
        {
          int currentPeriod = SevenSigns.getInstance().getCurrentPeriod();
          switch (currentPeriod)
          {
                    case SevenSigns.PERIOD_COMP_RECRUITING:
View Full Code Here

        {
          int currentPeriod = SevenSigns.getInstance().getCurrentPeriod();
          switch (currentPeriod)
          {
                    case SevenSigns.PERIOD_COMP_RECRUITING:
                      html.replace("%ss_event%", "Quest Event Initialization");
                        break;
                    case SevenSigns.PERIOD_COMPETITION:
                      html.replace("%ss_event%", "Competition (Quest Event)");
                        break;
                    case SevenSigns.PERIOD_COMP_RESULTS:
View Full Code Here

          {
                    case SevenSigns.PERIOD_COMP_RECRUITING:
                      html.replace("%ss_event%", "Quest Event Initialization");
                        break;
                    case SevenSigns.PERIOD_COMPETITION:
                      html.replace("%ss_event%", "Competition (Quest Event)");
                        break;
                    case SevenSigns.PERIOD_COMP_RESULTS:
                      html.replace("%ss_event%", "Quest Event Results");
                        break;
                    case SevenSigns.PERIOD_SEAL_VALIDATION:
View Full Code Here

                        break;
                    case SevenSigns.PERIOD_COMPETITION:
                      html.replace("%ss_event%", "Competition (Quest Event)");
                        break;
                    case SevenSigns.PERIOD_COMP_RESULTS:
                      html.replace("%ss_event%", "Quest Event Results");
                        break;
                    case SevenSigns.PERIOD_SEAL_VALIDATION:
                      html.replace("%ss_event%", "Seal Validation");
                        break;
          }
View Full Code Here

                        break;
                    case SevenSigns.PERIOD_COMP_RESULTS:
                      html.replace("%ss_event%", "Quest Event Results");
                        break;
                    case SevenSigns.PERIOD_SEAL_VALIDATION:
                      html.replace("%ss_event%", "Seal Validation");
                        break;
          }
        }
        {
          int sealOwner1 = SevenSigns.getInstance().getSealOwner(1);
View Full Code Here

        {
          int sealOwner1 = SevenSigns.getInstance().getSealOwner(1);
          switch (sealOwner1)
          {
          case SevenSigns.CABAL_NULL:
            html.replace("%ss_avarice%", "Not in Possession");
            break;
          case SevenSigns.CABAL_DAWN:
            html.replace("%ss_avarice%", "Lords of Dawn");
            break;
          case SevenSigns.CABAL_DUSK:
View Full Code Here

          {
          case SevenSigns.CABAL_NULL:
            html.replace("%ss_avarice%", "Not in Possession");
            break;
          case SevenSigns.CABAL_DAWN:
            html.replace("%ss_avarice%", "Lords of Dawn");
            break;
          case SevenSigns.CABAL_DUSK:
            html.replace("%ss_avarice%", "Revolutionaries of Dusk");
            break;
          }
View Full Code Here

            break;
          case SevenSigns.CABAL_DAWN:
            html.replace("%ss_avarice%", "Lords of Dawn");
            break;
          case SevenSigns.CABAL_DUSK:
            html.replace("%ss_avarice%", "Revolutionaries of Dusk");
            break;
          }
        }
        {
          int sealOwner2 = SevenSigns.getInstance().getSealOwner(2);
View Full Code Here

        {
          int sealOwner2 = SevenSigns.getInstance().getSealOwner(2);
          switch (sealOwner2)
          {
          case SevenSigns.CABAL_NULL:
            html.replace("%ss_gnosis%", "Not in Possession");
            break;
          case SevenSigns.CABAL_DAWN:
            html.replace("%ss_gnosis%", "Lords of Dawn");
            break;
          case SevenSigns.CABAL_DUSK:
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.