Package l2p.gameserver.serverpackets

Examples of l2p.gameserver.serverpackets.WareHouseDepositList


    if(!player.getPlayerAccess().UseWarehouse)
    {
      return;
    }
    player.tempInventoryDisable();
    player.sendPacket(new WareHouseDepositList(player, WarehouseType.PRIVATE));
    player.sendActionFailed();
  }
View Full Code Here


    player.tempInventoryDisable();
    if(!(player.isClanLeader() || (Config.ALT_ALLOW_OTHERS_WITHDRAW_FROM_CLAN_WAREHOUSE || player.getVarB("canWhWithdraw")) && (player.getClanPrivileges() & L2Clan.CP_CL_WAREHOUSE_SEARCH) == L2Clan.CP_CL_WAREHOUSE_SEARCH))
    {
      player.sendPacket(Msg.ITEMS_LEFT_AT_THE_CLAN_HALL_WAREHOUSE_CAN_ONLY_BE_RETRIEVED_BY_THE_CLAN_LEADER_DO_YOU_WANT_TO_CONTINUE);
    }
    player.sendPacket(new WareHouseDepositList(player, WarehouseType.CLAN));
  }
View Full Code Here

    if(!player.getPlayerAccess().UseWarehouse)
    {
      return;
    }
    player.tempInventoryDisable();
    player.sendPacket(new WareHouseDepositList(player, WarehouseType.PRIVATE), Msg.ActionFail);
  }
View Full Code Here

    player.tempInventoryDisable();
    if(!(player.isClanLeader() || (Config.ALT_ALLOW_OTHERS_WITHDRAW_FROM_CLAN_WAREHOUSE || player.getVarB("canWhWithdraw")) && (player.getClanPrivileges() & L2Clan.CP_CL_WAREHOUSE_SEARCH) == L2Clan.CP_CL_WAREHOUSE_SEARCH))
    {
      player.sendPacket(Msg.ITEMS_LEFT_AT_THE_CLAN_HALL_WAREHOUSE_CAN_ONLY_BE_RETRIEVED_BY_THE_CLAN_LEADER_DO_YOU_WANT_TO_CONTINUE);
    }
    player.sendPacket(new WareHouseDepositList(player, WarehouseType.CLAN));
  }
View Full Code Here

    if(!player.getPlayerAccess().UseWarehouse)
    {
      return;
    }
    player.tempInventoryDisable();
    player.sendPacket(new WareHouseDepositList(player, WarehouseType.PRIVATE));
    player.sendActionFailed();
  }
View Full Code Here

    if(!(player.isClanLeader() // забирать может лидер
      || Config.ALT_ALLOW_OTHERS_WITHDRAW_FROM_CLAN_WAREHOUSE && (player.getClanPrivileges() & L2Clan.CP_CL_WAREHOUSE_SEARCH) == L2Clan.CP_CL_WAREHOUSE_SEARCH || player.getVarB("canWhWithdraw"))) // выданы персональные права
    {
      player.sendPacket(Msg.ITEMS_LEFT_AT_THE_CLAN_HALL_WAREHOUSE_CAN_ONLY_BE_RETRIEVED_BY_THE_CLAN_LEADER_DO_YOU_WANT_TO_CONTINUE);
    }
    player.sendPacket(new WareHouseDepositList(player, WarehouseType.CLAN));
  }
View Full Code Here

TOP

Related Classes of l2p.gameserver.serverpackets.WareHouseDepositList

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.