Package net.sf.l2j.gameserver.serverpackets

Examples of net.sf.l2j.gameserver.serverpackets.ExShowSeedInfo


          castleId = state;

        switch (ask) { // Main action
        case 3: // Current seeds (Manor info)
          if (time == 1 && !CastleManager.getInstance().getCastleById(castleId).isNextPeriodApproved())
            player.sendPacket(new ExShowSeedInfo(castleId, null));
          else
            player.sendPacket(new ExShowSeedInfo(castleId, CastleManager.getInstance().getCastleById(castleId).getSeedProduction(time)));
          break;
        case 4: // Current crops (Manor info)
          if (time == 1 && !CastleManager.getInstance().getCastleById(castleId).isNextPeriodApproved())
            player.sendPacket(new ExShowCropInfo(castleId, null));
          else
View Full Code Here


      case 2: // Crop sales
        player.sendPacket(new ExShowSellCropList(player, castleId, getCastle().getCropProcure(CastleManorManager.PERIOD_CURRENT)));
        break;
      case 3: // Current seeds (Manor info)
        if (time == 1 && !CastleManager.getInstance().getCastleById(castleId).isNextPeriodApproved())
          player.sendPacket(new ExShowSeedInfo(castleId, null));
        else
          player.sendPacket(new ExShowSeedInfo(castleId, CastleManager.getInstance().getCastleById(castleId).getSeedProduction(time)));
        break;
      case 4: // Current crops (Manor info)
        if (time == 1 && !CastleManager.getInstance().getCastleById(castleId).isNextPeriodApproved())
          player.sendPacket(new ExShowCropInfo(castleId, null));
        else
View Full Code Here

TOP

Related Classes of net.sf.l2j.gameserver.serverpackets.ExShowSeedInfo

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.