Example #1
0
  private void handleIndex(TaskContext ctx) throws Exception {
    String url = m_helper.buildUrl2(ctx, "generaltask", "index", null);

    m_helper.doGet(ctx, url, "number");
  }
Example #2
0
  private void handleAction(TaskContext ctx) throws Exception {
    String url =
        m_helper.buildUrl2(ctx, "generaltask", "action", "&id=%s&type=0&gid=%s", "id", "gid");

    m_helper.doGet(ctx, url);
  }
Example #3
0
  private void handleMatrix(TaskContext ctx) throws Exception {
    String url =
        m_helper.buildUrl2(ctx, "matrix", "update_matrix", "&list=%s&mid=%s", "list", "mid");

    m_helper.doGet(ctx, url);
  }
Example #4
0
  private void handleIndex(TaskContext ctx) throws Exception {
    String url = m_helper.buildUrl2(ctx, "newyearboss", "index", null);

    m_helper.doGet(ctx, url, "countdown");
  }
Example #5
0
  private void handleBattle(TaskContext ctx) throws Exception {
    String url = m_helper.buildUrl2(ctx, "newyearboss", "battle", "&now=0");

    m_helper.doGet(ctx, url);
  }
Example #6
0
  private void handleReward(TaskContext ctx) throws Exception {
    String url = m_helper.buildUrl2(ctx, "newyearboss", "reward", "#");

    m_helper.doGet(ctx, url, "reward.silver", "reward.get3", "reward.get2");
  }