mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-20 13:30:30 -07:00
Created TypeList classes and moved static members to them
This commit is contained in:
parent
6ba1f2f808
commit
b3a5fdbec9
356 changed files with 6604 additions and 6652 deletions
24
client/src/main/java/Equipment.java
Normal file
24
client/src/main/java/Equipment.java
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
import org.openrs2.deob.annotation.OriginalMember;
|
||||
import org.openrs2.deob.annotation.Pc;
|
||||
|
||||
public class Equipment {
|
||||
@OriginalMember(owner = "client!ta", name = "p", descriptor = "[I")
|
||||
public static int[] anIntArray455;
|
||||
|
||||
@OriginalMember(owner = "client!eh", name = "a", descriptor = "(I)V")
|
||||
public static void init() {
|
||||
@Pc(8) int[] local8 = new int[ObjTypeList.anInt3245];
|
||||
@Pc(10) int local10 = 0;
|
||||
@Pc(12) int local12;
|
||||
for (local12 = 0; local12 < ObjTypeList.anInt3245; local12++) {
|
||||
@Pc(19) ObjType local19 = ObjTypeList.get(local12);
|
||||
if (local19.manWear1 >= 0 || local19.womanWear1 >= 0) {
|
||||
local8[local10++] = local12;
|
||||
}
|
||||
}
|
||||
anIntArray455 = new int[local10];
|
||||
for (local12 = 0; local12 < local10; local12++) {
|
||||
anIntArray455[local12] = local8[local12];
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue