⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 aw.java

📁 现在非常流行的手机网游的源码,可以下载来学习学习.
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
      return;
    }
    if (paramInt == 7)
    {
      bi.a().b();
      return;
    }
    if (paramInt == 8)
    {
      be.jdField_a_of_type_Be.e();
      be.jdField_a_of_type_Be.b(1);
      be.a(-1);
      be.r = 7;
      return;
    }
    if (paramInt == 9)
    {
      be.jdField_a_of_type_Be.e();
      be.jdField_a_of_type_Be.b(1);
      be.a(-1);
      return;
    }
    if (paramInt == 3)
    {
      w.g = !(w.g);
      return;
    }
    if ((paramInt >= 1) && (paramInt <= 5))
    {
      be.jdField_a_of_type_Be.e();
      be.jdField_a_of_type_Be.b(8);
      be.jdField_a_of_type_Be.c(2);
      be.z = true;
      switch (paramInt)
      {
      case 1:
        be.jdField_a_of_type_Ba.a(134217984);
        break;
      case 2:
        be.jdField_a_of_type_Ba.a(67109376);
        break;
      case 4:
        be.jdField_a_of_type_Ba.a(162530048);
        break;
      case 5:
        be.jdField_a_of_type_Be.jdField_e_of_type_Boolean = true;
        be.jdField_a_of_type_Ba.a(117440768);
        jdField_b_of_type_Boolean = true;
      case 3:
      }
      be.c();
    }
  }

  private static void l()
  {
    int i2;
    jdField_n_of_type_Int = be.jdField_e_of_type_Int + 2 - 21 + 2;
    jdField_b_of_type_ArrayOfInt = new int[8];
    int i1 = 11 * n.g / 176;
    if ((i2 = 20 * n.g / 176) > 20)
      ++i2;
    for (int i3 = 0; i3 < jdField_b_of_type_ArrayOfInt.length; ++i3)
      jdField_b_of_type_ArrayOfInt[i3] = (i1 + i2 * i3);
  }

  private static int d(int paramInt1, int paramInt2)
  {
    System.out.println("in clickshortcutskill");
    int i1 = -1;
    for (int i2 = 0; i2 < jdField_b_of_type_ArrayOfInt.length; ++i2)
      if (al.a(paramInt1, paramInt2, jdField_b_of_type_ArrayOfInt[i2], jdField_n_of_type_Int, 16, 16))
      {
        System.out.println("has point the right place");
        i1 = i2;
        break;
      }
    return i1;
  }

  private static int e(int paramInt1, int paramInt2)
  {
    int i1 = -1;
    bi.a();
    int i2 = bi.a();
    for (int i3 = 0; i3 < i2; ++i3)
    {
      bj localbj;
      bi.a();
      if ((localbj = bi.b(i3)).a(paramInt1, paramInt2))
      {
        i1 = i3;
        break;
      }
    }
    return i1;
  }

  public final void h()
  {
    if ((!(be.jdField_a_of_type_Boolean)) && (be.b() == 0) && (be.jdField_a_of_type_Be.jdField_b_of_type_Ae == null))
    {
      int i3;
      if (!(be.b()))
        return;
      int i1 = be.c();
      int i2 = be.d();
      int i4 = 1;
      if ((i3 = c(i1, i2)) != -1)
      {
        System.out.println("result: " + i3);
        a(i3);
        i4 = 0;
      }
      else if ((i3 = d(i1, i2)) != -1)
      {
        System.out.println("point short cut skill");
        aq.a().jdField_b_of_type_Byte = (byte)(i3 + 1);
        aq.a().e(i3 + 1);
        i4 = 0;
      }
      else if ((i3 = e(i1, i2)) != -1)
      {
        bj localbj;
        bi.a();
        if (bi.a(localbj = bi.b(i3), 80))
        {
          bi.a();
          bi.b(localbj);
          i4 = 0;
        }
      }
      if ((be.a(13)) || (be.a(10)) || (be.a(12)) || (be.a(11)))
        i4 = 0;
      if ((i4 != 0) && (be.b() == 0) && (be.a() == 5))
      {
        int i5 = 0;
        int i6 = be.jdField_d_of_type_Int;
        int i7 = be.jdField_e_of_type_Int - 20 - 89;
        if (al.a(i1, i2, 0, 20, i6, i7))
        {
          int i9;
          boolean bool;
          int i8 = i1 + j.jdField_b_of_type_Int;
          int i10 = j.a(i9 = i2 + j.jdField_c_of_type_Int, i8);
          int i11 = j.b(i9, i8);
          j.a();
          if ((bool = j.a(i11, i10)))
          {
            aq.a().c(i10, i11);
            aq.a().a(true);
            aq.a().h();
            m();
          }
        }
      }
      return;
    }
    be.jdField_a_of_type_Be.i();
  }

  private void m()
  {
    this.jdField_o_of_type_Int = 3;
  }

  public final void d(Graphics paramGraphics)
  {
    if (this.jdField_o_of_type_Int > 0)
    {
      int i1 = 3 - this.jdField_o_of_type_Int;
      int i2 = 0;
      int i3 = 0;
      int i4 = 1;
      switch (i1)
      {
      case 0:
        i2 = 36;
        i3 = 22;
        break;
      case 1:
        i2 = 24;
        i3 = 14;
        break;
      case 2:
        i2 = 12;
        i3 = 7;
        break;
      default:
        i4 = 0;
      }
      if (i4 != 0)
      {
        int i5 = be.c() - i2 / 2;
        int i6 = be.d() - i3 / 2;
        paramGraphics.setColor(65535);
        paramGraphics.drawArc(i5, i6, i2, i3, 0, 360);
        paramGraphics.setColor(39578);
        paramGraphics.drawArc(i5, i6, i2 - 2, i3 - 2, 0, 360);
      }
      this.jdField_o_of_type_Int -= 1;
    }
  }

  private static void a(Graphics paramGraphics, String paramString, int paramInt1, int paramInt2, int paramInt3, int paramInt4)
  {
    paramGraphics.setColor(0);
    paramGraphics.drawString(paramString, paramInt1, paramInt2, paramInt3);
    paramGraphics.setColor(paramInt4);
    paramGraphics.drawString(paramString, paramInt1 - 1, paramInt2 - 1, paramInt3);
  }

  private void s(Graphics paramGraphics)
  {
    paramGraphics.setColor(16711935);
    for (int i1 = 0; i1 < j.jdField_b_of_type_Array2dOfInt.length; ++i1)
    {
      int i2 = j.jdField_b_of_type_Array2dOfInt[i1][0];
      int i3 = j.jdField_b_of_type_Array2dOfInt[i1][1];
      if ((i2 == -1) && (i3 == -1))
        break label72:
      label72: paramGraphics.fillRect(a(i2, i3) - 1, b(i2, i3) - 1, 3, 3);
    }
  }

  private void t(Graphics paramGraphics)
  {
    if (ax.jdField_a_of_type_Byte == 0)
      return;
    if (ax.jdField_a_of_type_Byte == 1)
    {
      paramGraphics.setColor(0);
      int i1 = 0;
      int i2 = ax.jdField_a_of_type_ArrayOfJavaLangString.length;
      while (i1 < i2)
      {
        paramGraphics.drawString(ax.jdField_a_of_type_ArrayOfJavaLangString[i1], ax.jdField_a_of_type_Int + 1, ax.jdField_b_of_type_Int + (be.jdField_e_of_type_Byte + 1) * i1 + 1, 0);
        ++i1;
      }
      paramGraphics.setColor(16777215);
      i1 = 0;
      i2 = ax.jdField_a_of_type_ArrayOfJavaLangString.length;
      while (i1 < i2)
      {
        paramGraphics.drawString(ax.jdField_a_of_type_ArrayOfJavaLangString[i1], ax.jdField_a_of_type_Int, ax.jdField_b_of_type_Int + (be.jdField_e_of_type_Byte + 1) * i1, 0);
        ++i1;
      }
    }
    else
    {
      paramGraphics.setColor(0);
      paramGraphics.drawString(ax.jdField_a_of_type_JavaLangString, ax.jdField_a_of_type_Int + 1, ax.jdField_b_of_type_Int + 1, 0);
      paramGraphics.setColor(16777215);
      paramGraphics.drawString(ax.jdField_a_of_type_JavaLangString, ax.jdField_a_of_type_Int, ax.jdField_b_of_type_Int, 0);
    }
    ax.a();
  }

  public static void e(Graphics paramGraphics)
  {
    if (be.jdField_a_of_type_Be.jdField_a_of_type_Ae == null)
    {
      be.jdField_a_of_type_Be.jdField_a_of_type_Ae = new ae(0, 0, be.jdField_d_of_type_Int, be.jdField_e_of_type_Int, "");
      be.jdField_a_of_type_Be.jdField_a_of_type_Ae.jdField_c_of_type_Byte = 0;
      be.jdField_a_of_type_Be.jdField_a_of_type_ArrayOfAm[0] = new am(0, 0, be.jdField_d_of_type_Int - 1, be.jdField_e_of_type_Int - 1, 4);
      be.jdField_a_of_type_Be.jdField_a_of_type_ArrayOfAm[1] = new am(5, 5, 164, 25, 2);
      String str1 = "江湖秘籍";
      String str2 = "关闭";
      String[] arrayOfString = { "基本说明", "可接受任务", "适合升级地图", "可进入的副本", "新开启功能" };
      be.jdField_a_of_type_Be.jdField_a_of_type_ArrayOfAr[0] = new ar(60, 12, 112, 0, str1, 16316576, 1, 0);
      ar localar1 = new ar(0, 0, 0, 0, "选择", 15718815, 0, 0);
      ar localar2 = new ar(0, 0, 0, 0, str2, 15718815, 0, 0);
      be.jdField_a_of_type_Be.jdField_a_of_type_ArrayOfR[0] = new r(5, 32, 164, 160, null, arrayOfString);
      be.jdField_a_of_type_Be.jdField_a_of_type_ArrayOfR[0].jdField_c_of_type_Byte = 0;
      be.jdField_a_of_type_Be.jdField_a_of_type_ArrayOfR[0].jdField_b_of_type_Byte = 1;
      be.jdField_a_of_type_Be.jdField_a_of_type_Ae.a(be.jdField_a_of_type_Be.jdField_a_of_type_ArrayOfR[0]);
      for (int i1 = 0; i1 < 2; i1 = (byte)(i1 + 1))
        be.jdField_a_of_type_Be.jdField_a_of_type_Ae.a(be.jdField_a_of_type_Be.jdField_a_of_type_ArrayOfAm[i1]);
      be.jdField_a_of_type_Be.jdField_a_of_type_Ae.b(be.jdField_a_of_type_Be.jdField_a_of_type_ArrayOfAr[0], 2);
      be.jdField_a_of_type_Be.jdField_a_of_type_Ae.b(localar1, 5);
      be.jdField_a_of_type_Be.jdField_a_of_type_Ae.b(localar2, 6);
      be.jdField_a_of_type_Be.jdField_a_of_type_Ae.a(true);
    }
    be.jdField_a_of_type_Be.jdField_a_of_type_Ae.a(paramGraphics);
  }

  public static void f(Graphics paramGraphics)
  {
    if (be.jdField_a_of_type_Be.jdField_a_of_type_Ae == null)
    {
      int i2;
      be.jdField_a_of_type_Be.jdField_a_of_type_Ae = new ae(0, 0, be.jdField_d_of_type_Int, be.jdField_e_of_type_Int, "");
      am localam1 = new am(0, 0, be.jdField_d_of_type_Int - 1, be.jdField_e_of_type_Int - 1, 4);
      am localam2 = new am(0, 13, 159, 17, 7);
      String str = null;
      switch (be.jdField_a_of_type_Be.X)
      {
      case 3:
        str = "适合升级地图";
        break;
      case 4:
        str = "可进入的副本";
      }
      if (be.d() == 73)
        str = "可接任务地图";
      else if (be.d() == 74)
        str = "可接任务NPC";
      else if (be.d() == 75)
        str = "可接受任务";
      else if (be.d() == 72)
        str = "新开启功能";
      ar localar1 = new ar(0, localam2.jdField_d_of_type_Int + 3, 0, 0, str, 15718814, 1, 0);
      am localam3 = new am(0, 30, 160, 153, 0);
      int i1 = 0;
      if ((be.d() == 73) || (be.d() == 71))
        i1 = be.jdField_a_of_type_Be.n.length;
      else if (be.d() == 74)
        i1 = be.jdField_a_of_type_Be.q.length;
      else if (be.d() == 75)
        i1 = be.jdField_a_of_type_Be.jdField_g_of_type_Array2dOfJavaLangString[be.jdField_a_of_type_Be.Y].length;
      else if (be.d() == 72)
        i1 = be.jdField_a_of_type_Be.jdField_o_of_type_ArrayOfJavaLangString.length;
      be.jdField_a_of_type_Be.jdField_g_of_type_Bc = new bc(0, 31, 160, 158, i1, 1, i1, 0, 3);
      be.jdField_a_of_type_Be.jdField_g_of_type_Bc.b(true);
      ar localar2 = null;
      if ((be.d() == 73) || (be.d() == 74) || (be.d() == 72))
        localar2 = new ar(0, 0, 0, 0, "选择", 15718815, 0, 0);
      ar localar3 = new ar(0, 0, 0, 0, "返回", 15718815, 0, 0);
      if (be.d() == 74)
        for (i2 = 0; i2 < i1; ++i2)
          be.jdField_a_of_type_Be.jdField_g_of_type_Bc.a(be.jdField_a_of_type_Be.q[i2], 15718815);
      else if (be.d() == 75)
        for (i2 = 0; i2 < i1; ++i2)
          be.jdField_a_of_type_Be.jdField_g_of_type_Bc.a(be.jdField_a_of_type_Be.jdField_g_of_type_Array2dOfJavaLangString[be.jdField_a_of_type_Be.Y][i2], 15718815);
      else if (be.d() == 72)
        for (i2 = 0; i2 < i1; ++i2)
          be.jdField_a_of_type_Be.jdField_g_of_type_Bc.a(be.jdField_a_of_type_Be.jdField_o_of_type_ArrayOfJavaLangString[i2], 15718815);
      else
        for (i2 = 0; i2 < i1; ++i2)
          be.jdField_a_of_type_Be.jdField_g_of_type_Bc.a(be.jdField_a_of_type_Be.n[i2], 15718815);
      be.jdField_a_of_type_Be.jdField_a_of_type_Ae.a(localam1);
      be.jdField_a_of_type_Be.jdField_a_of_type_Ae.b(localam3, 2);
      be.jdField_a_of_type_Be.jdField_a_of_type_Ae.b(localam2, 2);
      be.jdField_a_of_type_Be.jdField_a_of_type_Ae.b(localar1, 2);
      if ((be.d() == 73) || (be.d() == 74))
        be.jdField_a_of_type_Be.jdField_a_of_type_Ae.b(localar2, 5);
      be.jdField_a_of_type_Be.jdField_a_of_type_Ae.b(localar3, 6);
      be.jdField_a_of_type_Be.jdField_a_of_type_Ae.b(be.jdField_a_of_type_Be.jdField_g_of_type_Bc, 2);
      be.jdField_a_of_type_Be.jdField_g_of_type_Bc.a(be.jdField_a_of_type_Be.jdField_g_of_type_Bc.jdField_c_of_type_Int, be.jdField_a_of_type_Be.jdField_g_of_type_Bc.jdField_d_of_type_Int);
      be.jdField_a_of_type_Be.jdField_a_of_type_Ae.a(true);
    }
    be.jdField_a_of_type_Be.jdField_a_of_type_Ae.a(paramGraphics);
  }

  static
  {
    jdField_b_of_type_Int = 10;
    jdField_a_of_type_JavaUtilVector = new Vector();
    jdField_b_of_type_JavaUtilVector = new Vector();
    k = be.jdField_d_of_type_Int - 31;
    l = be.jdField_e_of_type_Int - 105;
    jdField_a_of_type_JavaLangString = null;
    jdField_b_of_type_Boolean = false;
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -