client: rev 201

This commit is contained in:
Justin
2021-11-03 22:50:34 +11:00
parent af21d0e050
commit bcc8072751
425 changed files with 65165 additions and 65696 deletions

View File

@@ -1,47 +1,72 @@
import java.applet.Applet;
import java.util.Comparator;
import net.runelite.mapping.Export;
import net.runelite.mapping.Implements;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
import net.runelite.rs.ScriptOpcodes;
@ObfuscatedName("kx")
@ObfuscatedName("ku")
@Implements("GrandExchangeOfferWorldComparator")
final class GrandExchangeOfferWorldComparator implements Comparator {
@ObfuscatedName("q")
@ObfuscatedName("i")
@ObfuscatedSignature(
descriptor = "Lkl;"
)
@Export("musicSamplesArchive")
public static AbstractArchive musicSamplesArchive;
@ObfuscatedName("l")
@ObfuscatedSignature(
descriptor = "(Lkd;Lkd;S)I",
garbageValue = "-48"
descriptor = "(Lkt;Lkt;I)I",
garbageValue = "2143976852"
)
@Export("compare_bridged")
int compare_bridged(GrandExchangeEvent var1, GrandExchangeEvent var2) {
return var1.world < var2.world ? -1 : (var2.world == var1.world ? 0 : 1);
return var1.world < var2.world ? -1 : (var2.world == var1.world ? 0 : 1); // L: 28
}
public boolean equals(Object var1) {
return super.equals(var1);
return super.equals(var1); // L: 36
}
public int compare(Object var1, Object var2) {
return this.compare_bridged((GrandExchangeEvent)var1, (GrandExchangeEvent)var2);
return this.compare_bridged((GrandExchangeEvent)var1, (GrandExchangeEvent)var2); // L: 32
}
@ObfuscatedName("kh")
@ObfuscatedName("i")
@ObfuscatedSignature(
descriptor = "(Ljt;II)Ljava/lang/String;",
garbageValue = "-1694871012"
descriptor = "(Ljava/applet/Applet;Ljava/lang/String;B)V",
garbageValue = "1"
)
static String method5385(Widget var0, int var1) {
if (!class138.method2756(WorldMapRegion.getWidgetFlags(var0), var1) && var0.onOp == null) {
return null;
public static void method5440(Applet var0, String var1) {
class29.field157 = var0; // L: 22
if (var1 != null) { // L: 23
class29.field158 = var1;
}
} // L: 24
@ObfuscatedName("z")
@ObfuscatedSignature(
descriptor = "(ILbp;ZI)I",
garbageValue = "-879022560"
)
static int method5439(int var0, Script var1, boolean var2) {
Widget var3 = UserComparator9.getWidget(Interpreter.Interpreter_intStack[--class14.Interpreter_intStackSize]); // L: 1267
if (var0 == ScriptOpcodes.IF_GETX) { // L: 1268
Interpreter.Interpreter_intStack[++class14.Interpreter_intStackSize - 1] = var3.x; // L: 1269
return 1; // L: 1270
} else if (var0 == ScriptOpcodes.IF_GETY) { // L: 1272
Interpreter.Interpreter_intStack[++class14.Interpreter_intStackSize - 1] = var3.y; // L: 1273
return 1; // L: 1274
} else if (var0 == ScriptOpcodes.IF_GETWIDTH) { // L: 1276
Interpreter.Interpreter_intStack[++class14.Interpreter_intStackSize - 1] = var3.width; // L: 1277
return 1; // L: 1278
} else if (var0 == ScriptOpcodes.IF_GETHEIGHT) { // L: 1280
Interpreter.Interpreter_intStack[++class14.Interpreter_intStackSize - 1] = var3.height; // L: 1281
return 1; // L: 1282
} else if (var0 == ScriptOpcodes.IF_GETHIDE) { // L: 1284
Interpreter.Interpreter_intStack[++class14.Interpreter_intStackSize - 1] = var3.isHidden ? 1 : 0; // L: 1285
return 1; // L: 1286
} else if (var0 == ScriptOpcodes.IF_GETLAYER) { // L: 1288
Interpreter.Interpreter_intStack[++class14.Interpreter_intStackSize - 1] = var3.parentId; // L: 1289
return 1; // L: 1290
} else {
return var0.actions != null && var0.actions.length > var1 && var0.actions[var1] != null && var0.actions[var1].trim().length() != 0 ? var0.actions[var1] : null;
return 2; // L: 1292
}
}
}