mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-11 17:10: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
|
|
@ -8,7 +8,7 @@ public final class Static193 {
|
|||
public static int anInt4539;
|
||||
|
||||
@OriginalMember(owner = "client!pi", name = "Y", descriptor = "I")
|
||||
public static int anInt4542;
|
||||
public static int keyChar;
|
||||
|
||||
@OriginalMember(owner = "client!pi", name = "P", descriptor = "J")
|
||||
public static long aLong147 = 0L;
|
||||
|
|
@ -23,7 +23,7 @@ public final class Static193 {
|
|||
public static void method3498(@OriginalArg(0) JagString arg0, @OriginalArg(2) int arg1) {
|
||||
@Pc(10) DelayedStateChange local10 = Static238.method4143(2, arg1);
|
||||
local10.method1017();
|
||||
local10.aClass100_254 = arg0;
|
||||
local10.stringArg = arg0;
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!pi", name = "a", descriptor = "(JI)V")
|
||||
|
|
@ -42,9 +42,9 @@ public final class Static193 {
|
|||
Static106.anIntArray258[local41] = Static106.anIntArray258[local41 + 1];
|
||||
Static3.aBooleanArray135[local41] = Static3.aBooleanArray135[local41 + 1];
|
||||
}
|
||||
Static185.anInt4369 = Static119.anInt3028;
|
||||
Static6.aClass3_Sub15_Sub1_1.method2242(57);
|
||||
Static6.aClass3_Sub15_Sub1_1.p8(arg0);
|
||||
Static185.anInt4369 = Static119.transmitTimer;
|
||||
Static6.outboundBuffer.p1isaac(57);
|
||||
Static6.outboundBuffer.p8(arg0);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
@ -284,26 +284,26 @@ public final class Static193 {
|
|||
@Pc(23) int local23 = Static259.anIntArray514[arg0];
|
||||
@Pc(27) int local27 = Static84.anIntArray209[arg0];
|
||||
if (arg1 == 0) {
|
||||
Static6.aClass3_Sub15_Sub1_1.method2242(215);
|
||||
Static6.aClass3_Sub15_Sub1_1.p1(local13 + local13 + 3);
|
||||
Static6.outboundBuffer.p1isaac(215);
|
||||
Static6.outboundBuffer.p1(local13 + local13 + 3);
|
||||
}
|
||||
if (arg1 == 1) {
|
||||
Static6.aClass3_Sub15_Sub1_1.method2242(39);
|
||||
Static6.aClass3_Sub15_Sub1_1.p1(local13 + local13 + 3 + 14);
|
||||
Static6.outboundBuffer.p1isaac(39);
|
||||
Static6.outboundBuffer.p1(local13 + local13 + 3 + 14);
|
||||
}
|
||||
if (arg1 == 2) {
|
||||
Static6.aClass3_Sub15_Sub1_1.method2242(77);
|
||||
Static6.aClass3_Sub15_Sub1_1.p1(local13 + local13 + 3);
|
||||
Static6.outboundBuffer.p1isaac(77);
|
||||
Static6.outboundBuffer.p1(local13 + local13 + 3);
|
||||
}
|
||||
Static6.aClass3_Sub15_Sub1_1.p1a(Static187.aBooleanArray101[82] ? 1 : 0);
|
||||
Static6.aClass3_Sub15_Sub1_1.p2(Static225.anInt5068 + local23);
|
||||
Static6.aClass3_Sub15_Sub1_1.p2add(Static142.anInt3483 + local27);
|
||||
Static6.outboundBuffer.p1a(Static187.pressedKeys[82] ? 1 : 0);
|
||||
Static6.outboundBuffer.p2(Static225.originX + local23);
|
||||
Static6.outboundBuffer.p2add(Static142.originZ + local27);
|
||||
Static84.anInt2255 = Static84.anIntArray209[0];
|
||||
Static115.anInt2939 = Static259.anIntArray514[0];
|
||||
for (@Pc(126) int local126 = 1; local126 < local13; local126++) {
|
||||
arg0--;
|
||||
Static6.aClass3_Sub15_Sub1_1.p1a(Static259.anIntArray514[arg0] - local23);
|
||||
Static6.aClass3_Sub15_Sub1_1.p1sub(Static84.anIntArray209[arg0] - local27);
|
||||
Static6.outboundBuffer.p1a(Static259.anIntArray514[arg0] - local23);
|
||||
Static6.outboundBuffer.p1sub(Static84.anIntArray209[arg0] - local27);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue