📄 u.java
字号:
package com.hoya.games.sp;
import com.hoya.client.f;
import com.hoya.common.a;
import com.hoya.util.graphics.a;
import java.awt.Color;
import java.awt.Cursor;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.FontMetrics;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.Point;
import java.awt.event.ActionEvent;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;
import java.io.PrintStream;
import javax.swing.JLayeredPane;
public final class u extends q
implements MouseListener, MouseMotionListener
{
private int aD;
private static Image aE;
Cursor e = new Cursor(12);
Cursor f = new Cursor(0);
public static x[] g = new x[7];
x[] h;
int i;
public static int j = 100;
public static int k = 1000;
int l;
int aG;
public static int m;
public static boolean n = false;
public static long o;
public static int[] p = { -1, -1 };
public static int q = 0;
private long aF;
public static long a = 0L;
public static String[] at = { "", "NROYAL FLUSH", "J5 OF A KIND", "XSTR FLUSH", "24 OF A KIND", " FULL HOUSE", " FLUSH", " STRAIGHT", " 3 OF A KIND", " 2 PAIR(10)", " ACE PAIR" };
public u()
{
new Cursor(3);
new Cursor(1);
this.h = new x[7];
this.i = 1000;
this.l = 399;
this.aG = 188;
this.aF = 0L;
addMouseListener(this);
addMouseMotionListener(this);
addMouseListener(new m(this));
this.u = new Font("Dialog", 1, 20);
aE = x.C.a("resources/newbt2.gif");
if ((lx.aS == 2) || (lx.aS == 4))
at = { "", " ROYAL FLUSH", " 5 OF A KIND", " STR FLUSH", " 4 OF A KIND", " FULL HOUSE", " FLUSH", " STRAIGHT", " 3 OF A KIND", " 2 PAIR(10)", " ACE PAIR" };
}
public final void actionPerformed(ActionEvent paramActionEvent)
{
if (lx.S)
{
c();
return;
}
d();
}
private void c()
{
if (lx.Z)
{
a = 0L;
if (lx.bl)
{
lx.bl = false;
int i1 = lx.I;
lx.I -= i1;
lx.s += i1;
}
else if ((lx.t == 250) && (lx.I > 52))
{
lx.I -= 52;
lx.s += 52;
}
else if (lx.I > 11)
{
lx.I -= 12;
lx.s += 12;
}
else if (lx.I > 0)
{
lx.I -= 1;
lx.s += 1;
}
else
{
lx.b = System.currentTimeMillis();
a(false);
}
repaint();
return;
}
if (lx.I == 0)
if (System.currentTimeMillis() - a > k)
{
lx.b = System.currentTimeMillis();
lx.aA.a(1661, lx.s + "," + lx.q);
b("$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$");
b("==========send newGame Event double no award");
b("double mode 無中,自動下一局");
a(false);
a = (a == 0L) ? System.currentTimeMillis() : 0L;
}
}
private void d()
{
// Byte code:
// 0: getstatic 111 com/hoya/games/sp/lx:p I
// 3: iconst_m1
// 4: if_icmpne +8 -> 12
// 7: aload_0
// 8: invokespecial 176 com/hoya/games/sp/u:e ()V
// 11: return
// 12: getstatic 111 com/hoya/games/sp/lx:p I
// 15: iconst_1
// 16: if_icmpne +152 -> 168
// 19: getstatic 114 com/hoya/games/sp/u:q I
// 22: ifne +37 -> 59
// 25: getstatic 114 com/hoya/games/sp/u:q I
// 28: iconst_1
// 29: iadd
// 30: putstatic 114 com/hoya/games/sp/u:q I
// 33: getstatic 97 com/hoya/games/sp/u:g [Lcom/hoya/games/sp/x;
// 36: iconst_0
// 37: getstatic 30 com/hoya/games/sp/lx:E [Lcom/hoya/games/sp/x;
// 40: iconst_0
// 41: aaload
// 42: aastore
// 43: aload_0
// 44: invokestatic 169 java/lang/System:currentTimeMillis ()J
// 47: putfield 55 com/hoya/games/sp/u:aF J
// 50: ldc_w 270
// 53: invokestatic 156 com/hoya/games/sp/u:b (Ljava/lang/String;)V
// 56: goto +1511 -> 1567
// 59: getstatic 114 com/hoya/games/sp/u:q I
// 62: iconst_1
// 63: if_icmpne +1508 -> 1571
// 66: iconst_1
// 67: istore_1
// 68: invokestatic 169 java/lang/System:currentTimeMillis ()J
// 71: aload_0
// 72: getfield 55 com/hoya/games/sp/u:aF J
// 75: lsub
// 76: getstatic 101 com/hoya/games/sp/u:j I
// 79: iconst_1
// 80: imul
// 81: i2l
// 82: lcmp
// 83: ifle +34 -> 117
// 86: getstatic 97 com/hoya/games/sp/u:g [Lcom/hoya/games/sp/x;
// 89: iconst_1
// 90: aaload
// 91: ifnonnull +23 -> 114
// 94: getstatic 97 com/hoya/games/sp/u:g [Lcom/hoya/games/sp/x;
// 97: iconst_1
// 98: getstatic 30 com/hoya/games/sp/lx:E [Lcom/hoya/games/sp/x;
// 101: iconst_1
// 102: aaload
// 103: aastore
// 104: aload_0
// 105: invokevirtual 198 com/hoya/games/sp/u:repaint ()V
// 108: ldc_w 271
// 111: invokestatic 156 com/hoya/games/sp/u:b (Ljava/lang/String;)V
// 114: iinc 1 1
// 117: invokestatic 169 java/lang/System:currentTimeMillis ()J
// 120: aload_0
// 121: getfield 55 com/hoya/games/sp/u:aF J
// 124: lsub
// 125: getstatic 101 com/hoya/games/sp/u:j I
// 128: iload_1
// 129: imul
// 130: i2l
// 131: lcmp
// 132: ifle +35 -> 167
// 135: getstatic 97 com/hoya/games/sp/u:g [Lcom/hoya/games/sp/x;
// 138: iload_1
// 139: getstatic 30 com/hoya/games/sp/lx:E [Lcom/hoya/games/sp/x;
// 142: iload_1
// 143: aaload
// 144: aastore
// 145: iconst_0
// 146: putstatic 41 com/hoya/games/sp/lx:N Z
// 149: getstatic 114 com/hoya/games/sp/u:q I
// 152: iconst_1
// 153: iadd
// 154: putstatic 114 com/hoya/games/sp/u:q I
// 157: aload_0
// 158: invokevirtual 198 com/hoya/games/sp/u:repaint ()V
// 161: ldc_w 272
// 164: invokestatic 156 com/hoya/games/sp/u:b (Ljava/lang/String;)V
// 167: return
// 168: getstatic 111 com/hoya/games/sp/lx:p I
// 171: iconst_2
// 172: if_icmpne +150 -> 322
// 175: getstatic 114 com/hoya/games/sp/u:q I
// 178: ifne +36 -> 214
// 181: getstatic 114 com/hoya/games/sp/u:q I
// 184: iconst_1
// 185: iadd
// 186: putstatic 114 com/hoya/games/sp/u:q I
// 189: getstatic 97 com/hoya/games/sp/u:g [Lcom/hoya/games/sp/x;
// 192: iconst_3
// 193: new 9 com/hoya/games/sp/x
// 196: dup
// 197: iconst_m1
// 198: iconst_m1
// 199: iconst_3
// 200: invokespecial 136 com/hoya/games/sp/x:<init> (III)V
// 203: aastore
// 204: aload_0
// 205: invokestatic 169 java/lang/System:currentTimeMillis ()J
// 208: putfield 55 com/hoya/games/sp/u:aF J
// 211: goto +1356 -> 1567
// 214: getstatic 114 com/hoya/games/sp/u:q I
// 217: iconst_1
// 218: if_icmpne +1353 -> 1571
// 221: invokestatic 169 java/lang/System:currentTimeMillis ()J
// 224: aload_0
// 225: getfield 55 com/hoya/games/sp/u:aF J
// 228: lsub
// 229: getstatic 101 com/hoya/games/sp/u:j I
// 232: iconst_1
// 233: imul
// 234: i2l
// 235: lcmp
// 236: ifle +43 -> 279
// 239: getstatic 97 com/hoya/games/sp/u:g [Lcom/hoya/games/sp/x;
// 242: iconst_4
// 243: aaload
// 244: ifnonnull +17 -> 261
// 247: getstatic 97 com/hoya/games/sp/u:g [Lcom/hoya/games/sp/x;
// 250: iconst_4
// 251: getstatic 30 com/hoya/games/sp/lx:E [Lcom/hoya/games/sp/x;
// 254: iconst_4
// 255: aaload
// 256: aastore
// 257: aload_0
// 258: invokevirtual 198 com/hoya/games/sp/u:repaint ()V
// 261: getstatic 39 com/hoya/games/sp/lx:L I
// 264: ifgt +15 -> 279
// 267: iconst_0
// 268: putstatic 41 com/hoya/games/sp/lx:N Z
// 271: getstatic 114 com/hoya/games/sp/u:q I
// 274: iconst_1
// 275: iadd
// 276: putstatic 114 com/hoya/games/sp/u:q I
// 279: invokestatic 169 java/lang/System:currentTimeMillis ()J
// 282: aload_0
// 283: getfield 55 com/hoya/games/sp/u:aF J
// 286: lsub
// 287: getstatic 101 com/hoya/games/sp/u:j I
// 290: iconst_2
// 291: imul
// 292: i2l
// 293: lcmp
// 294: ifle +1277 -> 1571
// 297: getstatic 39 com/hoya/games/sp/lx:L I
// 300: ifle +1271 -> 1571
// 303: getstatic 40 com/hoya/games/sp/lx:M Z
// 306: ifne +1265 -> 1571
// 309: getstatic 111 com/hoya/games/sp/lx:p I
// 312: iconst_1
// 313: iadd
// 314: putstatic 111 com/hoya/games/sp/lx:p I
// 317: iconst_0
// 318: putstatic 114 com/hoya/games/sp/u:q I
// 321: return
// 322: getstatic 111 com/hoya/games/sp/lx:p I
// 325: iconst_3
// 326: if_icmpne +145 -> 471
// 329: getstatic 114 com/hoya/games/sp/u:q I
// 332: ifne +55 -> 387
// 335: getstatic 114 com/hoya/games/sp/u:q I
// 338: iconst_1
// 339: iadd
// 340: putstatic 114 com/hoya/games/sp/u:q I
// 343: getstatic 97 com/hoya/games/sp/u:g [Lcom/hoya/games/sp/x;
// 346: iconst_5
// 347: getstatic 30 com/hoya/games/sp/lx:E [Lcom/hoya/games/sp/x;
// 350: iconst_5
// 351: aaload
// 352: aastore
// 353: ldc 239
// 355: invokestatic 156 com/hoya/games/sp/u:b (Ljava/lang/String;)V
// 358: aload_0
// 359: invokestatic 169 java/lang/System:currentTimeMillis ()J
// 362: putfield 55 com/hoya/games/sp/u:aF J
// 365: getstatic 39 com/hoya/games/sp/lx:L I
// 368: ifgt +15 -> 383
// 371: iconst_0
// 372: putstatic 41 com/hoya/games/sp/lx:N Z
// 375: getstatic 114 com/hoya/games/sp/u:q I
// 378: iconst_1
// 379: iadd
// 380: putstatic 114 com/hoya/games/sp/u:q I
// 383: aload_0
// 384: goto +1184 -> 1568
// 387: invokestatic 169 java/lang/System:currentTimeMillis ()J
// 390: aload_0
// 391: getfield 55 com/hoya/games/sp/u:aF J
// 394: lsub
// 395: getstatic 101 com/hoya/games/sp/u:j I
// 398: iconst_1
// 399: imul
// 400: i2l
// 401: lcmp
// 402: ifle +1169 -> 1571
// 405: getstatic 39 com/hoya/games/sp/lx:L I
// 408: ifle +25 -> 433
// 411: getstatic 40 com/hoya/games/sp/lx:M Z
// 414: ifne +19 -> 433
// 417: getstatic 111 com/hoya/games/sp/lx:p I
// 420: iconst_1
// 421: iadd
// 422: putstatic 111 com/hoya/games/sp/lx:p I
// 425: iconst_0
// 426: putstatic 114 com/hoya/games/sp/u:q I
// 429: aload_0
// 430: invokevirtual 198 com/hoya/games/sp/u:repaint ()V
// 433: getstatic 96 com/hoya/games/sp/lx:f Z
// 436: ifeq +1135 -> 1571
// 439: getstatic 33 com/hoya/games/sp/lx:H I
// 442: ifle +1129 -> 1571
// 445: getstatic 64 com/hoya/games/sp/lx:aN I
// 448: ifgt +1123 -> 1571
// 451: ldc_w 288
// 454: invokestatic 156 com/hoya/games/sp/u:b (Ljava/lang/String;)V
// 457: getstatic 102 com/hoya/games/sp/lx:j Lcom/hoya/games/sp/j;
// 460: getfield 93 com/hoya/games/sp/j:e Lcom/hoya/games/sp/q;
// 463: checkcast 8 com/hoya/games/sp/u
// 466: iconst_1
// 467: invokevirtual 138 com/hoya/games/sp/u:a (Z)V
// 470: return
// 471: getstatic 111 com/hoya/games/sp/lx:p I
// 474: iconst_4
// 475: if_icmpne +1096 -> 1571
// 478: getstatic 114 com/hoya/games/sp/u:q I
// 481: ifne +33 -> 514
// 484: getstatic 114 com/hoya/games/sp/u:q I
// 487: iconst_1
// 488: iadd
// 489: putstatic 114 com/hoya/games/sp/u:q I
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -