Examples of OlympiadHistory


Examples of lineage2.gameserver.model.entity.olympiad.OlympiadHistory

        int classId1 = rset.getInt("class_id_1");
        int classId2 = rset.getInt("class_id_2");
        String name1 = rset.getString("name_1");
        String name2 = rset.getString("name_2");
        boolean old = rset.getBoolean("old");
        OlympiadHistory history = new OlympiadHistory(objectId1, objectId2, classId1, classId2, name1, name2, rset.getLong("game_start_time"), rset.getInt("game_time"), rset.getInt("game_status"), rset.getInt("game_type"));
        map.get(old).add(history);
      }
    }
    catch (Exception e)
    {
View Full Code Here

Examples of lineage2.gameserver.model.entity.olympiad.OlympiadHistory

    int currentLoss = 0;
    int currentTie = 0;
    final StringBuilder b = new StringBuilder(500);
    for (int i = 0; i < historyList.size(); i++)
    {
      OlympiadHistory history = historyList.get(i);
      if (history.getGameStatus() == 0)
      {
        currentTie++;
      }
      else
      {
        int team = entry.getKey() == history.getObjectId1() ? 1 : 2;
        if (history.getGameStatus() == team)
        {
          currentWinner++;
        }
        else
        {
          currentLoss++;
        }
      }
      if (i < min)
      {
        continue;
      }
      if (i >= max)
      {
        break;
      }
      b.append("<tr><td>");
      b.append(history.toString(player, entry.getKey(), currentWinner, currentLoss, currentTie));
      b.append("</td></tr");
    }
    if (min > 0)
    {
      html.replace("%buttprev%", HtmlUtils.PREV_BUTTON);
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.