Examples of announceToPlayer()


Examples of l2p.gameserver.model.entity.siege.Siege.announceToPlayer()

        }
        L2Player player = (L2Player) activeChar;
        Siege siege = SiegeManager.getSiege(activeChar, true);
        if(siege != null)
        {
          siege.announceToPlayer(new SystemMessage(SystemMessage.CLAN_S1_HAS_SUCCEEDED_IN_ENGRAVING_THE_RULER).addString(player.getClan().getName()), false, true);
          siege.Engrave(player.getClan(), target.getObjectId());
        }
      }
    }
  }
View Full Code Here

Examples of l2p.gameserver.model.entity.siege.fortress.FortressSiege.announceToPlayer()

        }
        L2Player player = (L2Player) activeChar;
        FortressSiege siege = FortressSiegeManager.getSiege(activeChar);
        if(siege != null && siege.getCommanders().isEmpty())
        {
          siege.announceToPlayer(new SystemMessage(SystemMessage.CLAN_S1_HAS_SUCCEEDED_IN_ENGRAVING_THE_RULER).addString(player.getClan().getName()), false, true);
          siege.Engrave(player.getClan(), target.getObjectId());
        }
      }
    }
  }
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.