Examples of PlayerTankRatings


Examples of com.wot.shared.PlayerTankRatings

        //log.warning(url + " --> " + AllLinesUser.substring(0, 50));
       
       
        readerUser.close();
        gsonUser = new Gson();
        PlayerTankRatings playerTankRatings = gsonUser.fromJson(AllLinesUser, PlayerTankRatings.class);
       
        //pb mapDataPlayerTankRatings is null !!!!!!
        Map<String,List<DataPlayerTankRatings>> mapDataPlayerTankRatings = playerTankRatings.getData();
       
        if(mapDataPlayerTankRatings != null )
          log.warning("playerTankRatings.getData() done mapDataPlayerTankRatings is good");
        else
          log.warning("playerTankRatings.getData() done  mapDataPlayerTankRatings is null !!!");
View Full Code Here

Examples of com.wot.shared.PlayerTankRatings

        while ((lineUser = readerUser.readLine()) != null) {
          AllLinesUser = AllLinesUser + lineUser;
        }
        readerUser.close();
        gsonUser = new Gson();
        PlayerTankRatings playerTankRatings = gsonUser.fromJson(AllLinesUser, PlayerTankRatings.class);
       
       
        /////////////////////////////////
       
        //make some calculation of stats
        for(CommunityAccount communityAccount : listCommunityAccount1) {
          String user_id = communityAccount.getIdUser();
//         
//          if(playerVehicles != null) {
//            if (playerVehicles.getData() != null ) {
//              for (DataPlayerVehicles myDataPlayerVehicles : playerVehicles.getData()) {
//                if ( user_id == myDataPlayerVehicles.getStat().getAccount_id() ) {
//                  for (DataStatVehicle myDataStatVehicle : myDataPlayerVehicles.getStat().getVehicles() ) {
//                    log.info(""+ myDataStatVehicle.getTank_id());
//                  }
//                }
//              }
//            }else {
//              log.severe("playerVehicles.getData() is null ");
//            }
//          } else {
//            log.severe("playerVehicles is null ");
//          }
         
          //Rechercher dans playerTankRatings, les batailles sur tous les char du joueur ( pour caluler son tier moyen)
         
          //
          Map<String,List<DataPlayerTankRatings>> mapDataPlayerTankRatings = playerTankRatings.getData();
          //Set<Entry<String, List<DataPlayerTankRatings>>>  setData = mapDataPlayerTankRatings.entrySet();
          //setData.
          List<DataPlayerTankRatings> listPlayerTanksRatings = mapDataPlayerTankRatings.get(user_id);
         
          //calcul du tier moyen
View Full Code Here

Examples of com.wot.shared.PlayerTankRatings

      log.warning(url + " --> " + AllLinesUser.substring(0, 400));
     
     
      readerUser.close();
      gsonUser = new Gson();
      PlayerTankRatings playerTankRatings = gsonUser.fromJson(AllLinesUser, PlayerTankRatings.class);
     
      //pb mapDataPlayerTankRatings is null !!!!!!
      Map<String,List<DataPlayerTankRatings>> mapDataPlayerTankRatings = playerTankRatings.getData();
     
      if(mapDataPlayerTankRatings != null )
        log.warning("playerTankRatings.getData() done mapDataPlayerTankRatings is good");
      else
        log.warning("playerTankRatings.getData() done  mapDataPlayerTankRatings is null !!!");
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.