Package l2p.gameserver.model

Examples of l2p.gameserver.model.L2Player.sitDown()


    {
      activeChar.setSellList(listsell);
      activeChar.setPrivateStoreType(_package ? L2Player.STORE_PRIVATE_SELL_PACKAGE : L2Player.STORE_PRIVATE_SELL);
      activeChar.broadcastUserInfo(true);
      activeChar.broadcastPacket(new PrivateStoreMsgSell(activeChar));
      activeChar.sitDown();
    }
    else
    {
      L2TradeList.cancelStore(activeChar);
    }
View Full Code Here


      activeChar.setBuyList(listbuy);
      activeChar.setPrivateStoreType(L2Player.STORE_PRIVATE_BUY);
      activeChar.broadcastPacket(new ChangeWaitType(activeChar, ChangeWaitType.WT_SITTING));
      activeChar.broadcastUserInfo(true);
      activeChar.broadcastPacket(new PrivateStoreMsgBuy(activeChar));
      activeChar.sitDown();
      return;
    }
    L2TradeList.cancelStore(activeChar);
  }
}
View Full Code Here

    L2Player player = (L2Player) _effected;
    if(player.isMoving)
    {
      player.stopMove();
    }
      player.sitDown();
      player.setRelax(true);
  }

  @Override
  public void onExit()
View Full Code Here

    createList.setStoreName(activeChar.getCreateList().getStoreName());
    activeChar.setCreateList(createList);
    activeChar.setPrivateStoreType(L2Player.STORE_PRIVATE_MANUFACTURE);
    activeChar.broadcastUserInfo(true);
    activeChar.broadcastPacket(new RecipeShopMsg(activeChar));
    activeChar.sitDown();
  }
}
View Full Code Here

        int distance = (int) activeChar.getDistance(activeChar.getTarget());
        if(target != null && !activeChar.isSitting() && target instanceof L2StaticObjectInstance && ((L2StaticObjectInstance) target).getType() == 1 && distance <= L2Character.INTERACTION_DISTANCE)
        {
          ChairSit cs = new ChairSit(activeChar, ((L2StaticObjectInstance) target).getStaticObjectId());
          activeChar.sendPacket(cs);
          activeChar.sitDown();
          activeChar.broadcastPacket(cs);
          break;
        }
        if(activeChar.isFakeDeath())
        {
View Full Code Here

        {
          activeChar.standUp();
        }
        else
        {
          activeChar.sitDown();
        }
        break;
      case 1: // Изменить тип передвижения, шаг/бег
        if(activeChar.isRunning())
        {
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.