Package l2p.gameserver.serverpackets

Examples of l2p.gameserver.serverpackets.ExShowSeedInfo


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


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

TOP

Related Classes of l2p.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.