mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-20 05:20:24 -07:00
Moved source to rt4 package so external code can depend on it
This commit is contained in:
parent
dc6deb9151
commit
153d8569b5
624 changed files with 1253 additions and 7 deletions
26
client/src/main/java/rt4/Equipment.java
Normal file
26
client/src/main/java/rt4/Equipment.java
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
package rt4;
|
||||
|
||||
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