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

    m_helper.doGet(ctx, url, "number");
  }
Ejemplo n.º 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);
  }
Ejemplo n.º 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);
  }
Ejemplo n.º 4
0
  private void handleIndex(TaskContext ctx) throws Exception {
    String url = m_helper.buildUrl2(ctx, "newyearboss", "index", null);

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

    m_helper.doGet(ctx, url);
  }
Ejemplo n.º 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");
  }