mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2026-08-17 00:15:15 -06:00
Started organizing CS2/Protocol-related functions
This commit is contained in:
parent
46740027df
commit
ef6a5d7385
268 changed files with 5936 additions and 6093 deletions
|
|
@ -12,7 +12,7 @@ public final class Static36 {
|
|||
|
||||
@OriginalMember(owner = "client!client", name = "a", descriptor = "(Lclient!be;)Lclient!be;")
|
||||
public static Component method938(@OriginalArg(0) Component arg0) {
|
||||
@Pc(4) int local4 = method940(arg0).method505();
|
||||
@Pc(4) int local4 = InterfaceList.getServerActiveProperties(arg0).method505();
|
||||
if (local4 == 0) {
|
||||
return null;
|
||||
}
|
||||
|
|
@ -25,17 +25,11 @@ public final class Static36 {
|
|||
return arg0;
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!client", name = "b", descriptor = "(Lclient!be;)Lclient!bf;")
|
||||
public static ServerActiveProperties method940(@OriginalArg(0) Component arg0) {
|
||||
@Pc(13) ServerActiveProperties local13 = (ServerActiveProperties) Static210.aClass133_21.get(((long) arg0.id << 32) + (long) arg0.createdComponentId);
|
||||
return local13 == null ? arg0.aClass3_Sub4_1 : local13;
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!client", name = "a", descriptor = "([Lclient!be;IIIIIII)V")
|
||||
public static void method946(@OriginalArg(0) Component[] arg0, @OriginalArg(1) int arg1, @OriginalArg(2) int arg2, @OriginalArg(3) int arg3, @OriginalArg(4) int arg4, @OriginalArg(5) int arg5, @OriginalArg(6) int arg6, @OriginalArg(7) int arg7) {
|
||||
for (@Pc(1) int local1 = 0; local1 < arg0.length; local1++) {
|
||||
@Pc(9) Component component = arg0[local1];
|
||||
if (component != null && component.layer == arg1 && (!component.aBoolean32 || component.type == 0 || component.aBoolean25 || method940(component).anInt546 != 0 || component == Static4.aClass13_1 || component.anInt453 == 1338) && (!component.aBoolean32 || !method947(component))) {
|
||||
if (component != null && component.layer == arg1 && (!component.aBoolean32 || component.type == 0 || component.aBoolean25 || InterfaceList.getServerActiveProperties(component).anInt546 != 0 || component == Static4.aClass13_1 || component.anInt453 == 1338) && (!component.aBoolean32 || !method947(component))) {
|
||||
@Pc(50) int local50 = component.x + arg6;
|
||||
@Pc(55) int local55 = component.y + arg7;
|
||||
@Pc(61) int local61;
|
||||
|
|
@ -91,11 +85,11 @@ public final class Static36 {
|
|||
local207 = false;
|
||||
}
|
||||
@Pc(212) boolean local212 = false;
|
||||
if (Static22.anInt723 == 1 && local207) {
|
||||
if (Mouse.pressedButton == 1 && local207) {
|
||||
local212 = true;
|
||||
}
|
||||
@Pc(221) boolean local221 = false;
|
||||
if (Static150.clickButton == 1 && Mouse.clickX >= local61 && Mouse.clickY >= local63 && Mouse.clickX < local65 && Mouse.clickY < local67) {
|
||||
if (Mouse.clickButton == 1 && Mouse.clickX >= local61 && Mouse.clickY >= local63 && Mouse.clickX < local65 && Mouse.clickY < local67) {
|
||||
local221 = true;
|
||||
}
|
||||
@Pc(243) int i;
|
||||
|
|
@ -126,7 +120,7 @@ public final class Static36 {
|
|||
if (local221) {
|
||||
Static40.method1015(Mouse.clickY - local55, Mouse.clickX - local50, component);
|
||||
}
|
||||
if (Static105.aClass13_14 != null && Static105.aClass13_14 != component && local207 && method940(component).method509()) {
|
||||
if (Static105.aClass13_14 != null && Static105.aClass13_14 != component && local207 && InterfaceList.getServerActiveProperties(component).method509()) {
|
||||
Static56.aClass13_12 = component;
|
||||
}
|
||||
if (component == Static4.aClass13_1) {
|
||||
|
|
@ -486,7 +480,7 @@ public final class Static36 {
|
|||
@OriginalMember(owner = "client!client", name = "c", descriptor = "(Lclient!be;)Z")
|
||||
public static boolean method947(@OriginalArg(0) Component arg0) {
|
||||
if (Static121.aBoolean154) {
|
||||
if (method940(arg0).anInt546 != 0) {
|
||||
if (InterfaceList.getServerActiveProperties(arg0).anInt546 != 0) {
|
||||
return false;
|
||||
}
|
||||
if (arg0.type == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue