Package lineage2.gameserver.model

Examples of lineage2.gameserver.model.GameObject


          activeChar.sendMessage("Usage: //force_peti text");
          return false;
        }
        try
        {
          GameObject targetChar = activeChar.getTarget();
          if ((targetChar == null) || !(targetChar instanceof Player))
          {
            activeChar.sendPacket(new SystemMessage(SystemMessage.INVALID_TARGET));
            return false;
          }
View Full Code Here


    {
      case admin_clanhall:
        showClanHallSelectPage(activeChar);
        break;
      case admin_clanhallset:
        GameObject target = activeChar.getTarget();
        Player player = activeChar;
        if ((target != null) && target.isPlayer())
        {
          player = (Player) target;
        }
        if (player.getClan() == null)
        {
View Full Code Here

   * Method debug_stats.
   * @param activeChar Player
   */
  private void debug_stats(Player activeChar)
  {
    GameObject target_obj = activeChar.getTarget();
    if (!target_obj.isCreature())
    {
      activeChar.sendPacket(Msg.INVALID_TARGET);
      return;
    }
    Creature target = (Creature) target_obj;
View Full Code Here

   * Method adminGiveAllSkills.
   * @param activeChar Player
   */
  private void adminGiveAllSkills(Player activeChar)
  {
    GameObject target = activeChar.getTarget();
    Player player = null;
    if ((target != null) && target.isPlayer() && ((activeChar == target) || activeChar.getPlayerAccess().CanEditCharAll))
    {
      player = (Player) target;
    }
    else
    {
View Full Code Here

   * Method removeSkillsPage.
   * @param activeChar Player
   */
  private void removeSkillsPage(Player activeChar)
  {
    GameObject target = activeChar.getTarget();
    Player player;
    if (target.isPlayer() && ((activeChar == target) || activeChar.getPlayerAccess().CanEditCharAll))
    {
      player = (Player) target;
    }
    else
    {
View Full Code Here

   * Method showSkillsPage.
   * @param activeChar Player
   */
  private void showSkillsPage(Player activeChar)
  {
    GameObject target = activeChar.getTarget();
    Player player;
    if ((target != null) && target.isPlayer() && ((activeChar == target) || activeChar.getPlayerAccess().CanEditCharAll))
    {
      player = (Player) target;
    }
    else
    {
View Full Code Here

   * Method showEffects.
   * @param activeChar Player
   */
  private void showEffects(Player activeChar)
  {
    GameObject target = activeChar.getTarget();
    Player player;
    if ((target != null) && target.isPlayer() && ((activeChar == target) || activeChar.getPlayerAccess().CanEditCharAll))
    {
      player = (Player) target;
    }
    else
    {
View Full Code Here

   * Method adminGetSkills.
   * @param activeChar Player
   */
  private void adminGetSkills(Player activeChar)
  {
    GameObject target = activeChar.getTarget();
    Player player;
    if (target.isPlayer() && ((activeChar == target) || activeChar.getPlayerAccess().CanEditCharAll))
    {
      player = (Player) target;
    }
    else
    {
View Full Code Here

   * Method adminResetSkills.
   * @param activeChar Player
   */
  private void adminResetSkills(Player activeChar)
  {
    GameObject target = activeChar.getTarget();
    Player player = null;
    if (target.isPlayer() && ((activeChar == target) || activeChar.getPlayerAccess().CanEditCharAll))
    {
      player = (Player) target;
    }
    else
    {
View Full Code Here

   * @param activeChar Player
   * @param wordList String[]
   */
  private void adminAddSkill(Player activeChar, String[] wordList)
  {
    GameObject target = activeChar.getTarget();
    Player player;
    if ((target != null) && target.isPlayer() && ((activeChar == target) || activeChar.getPlayerAccess().CanEditCharAll))
    {
      player = (Player) target;
    }
    else
    {
View Full Code Here

TOP

Related Classes of lineage2.gameserver.model.GameObject

Copyright © 2018 www.massapicom. 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.