Refactored much of the protocol class, new class names for a few

Class3_Sub31 -> ComponentPointer
Class3_Sub22 -> ClanMember
Class102 -> MapMarker
Class3_Sub7 -> SceneryStack
This commit is contained in:
Pazaz 2022-04-27 02:59:48 -04:00
parent 2e4cc73755
commit 83a07e779e
118 changed files with 2196 additions and 2289 deletions

View file

@ -1,10 +1,26 @@
package rt4;
import org.openrs2.deob.annotation.OriginalArg;
import org.openrs2.deob.annotation.OriginalMember;
import org.openrs2.deob.annotation.Pc;
public class VarpDomain {
@OriginalMember(owner = "client!gj", name = "q", descriptor = "[I")
public static final int[] updatedVarps = new int[32];
@OriginalMember(owner = "client!ah", name = "j", descriptor = "[I")
public static final int[] varps = new int[2500];
@OriginalMember(owner = "client!fi", name = "n", descriptor = "I")
public static int updatedVarpsWriterIndex = 0;
@OriginalMember(owner = "client!nh", name = "a", descriptor = "(BII)V")
public static void set(@OriginalArg(1) int arg0, @OriginalArg(2) int arg1) {
Static106.varp[arg1] = arg0;
@Pc(20) LongNode local20 = (LongNode) Static199.aClass133_20.get((long) arg1);
if (local20 == null) {
local20 = new LongNode(4611686018427387905L);
Static199.aClass133_20.put(local20, (long) arg1);
} else if (local20.value != 4611686018427387905L) {
local20.value = MonotonicClock.currentTimeMillis() + 500L | 0x4000000000000000L;
}
}
}