mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-20 05:20:24 -07:00
Refactor part of the connection loop
This commit is contained in:
parent
80c6ba05ff
commit
f462316fce
158 changed files with 2147 additions and 2133 deletions
|
|
@ -9,27 +9,27 @@ public final class MouseRecorder implements Runnable {
|
|||
public boolean aBoolean151 = true;
|
||||
|
||||
@OriginalMember(owner = "client!jd", name = "f", descriptor = "Ljava/lang/Object;")
|
||||
public final Object anObject4 = new Object();
|
||||
public final Object lock = new Object();
|
||||
|
||||
@OriginalMember(owner = "client!jd", name = "k", descriptor = "I")
|
||||
public int anInt2990 = 0;
|
||||
public int samples = 0;
|
||||
|
||||
@OriginalMember(owner = "client!jd", name = "l", descriptor = "[I")
|
||||
public final int[] anIntArray279 = new int[500];
|
||||
public final int[] y = new int[500];
|
||||
|
||||
@OriginalMember(owner = "client!jd", name = "n", descriptor = "[I")
|
||||
public final int[] anIntArray280 = new int[500];
|
||||
public final int[] x = new int[500];
|
||||
|
||||
@OriginalMember(owner = "client!jd", name = "run", descriptor = "()V")
|
||||
@Override
|
||||
public final void run() {
|
||||
while (this.aBoolean151) {
|
||||
@Pc(12) Object local12 = this.anObject4;
|
||||
synchronized (this.anObject4) {
|
||||
if (this.anInt2990 < 500) {
|
||||
this.anIntArray280[this.anInt2990] = Static215.anInt4873;
|
||||
this.anIntArray279[this.anInt2990] = Static223.anInt5032;
|
||||
this.anInt2990++;
|
||||
@Pc(12) Object local12 = this.lock;
|
||||
synchronized (this.lock) {
|
||||
if (this.samples < 500) {
|
||||
this.x[this.samples] = Static215.anInt4873;
|
||||
this.y[this.samples] = Static223.anInt5032;
|
||||
this.samples++;
|
||||
}
|
||||
}
|
||||
Static231.method3983(50L);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue