project: Rev 204

This commit is contained in:
Owain van Brakel
2022-03-23 14:15:28 +01:00
parent 14d41dd9a4
commit 3834b46aee
532 changed files with 61751 additions and 59895 deletions

View File

@@ -4,39 +4,39 @@ import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("lm")
@ObfuscatedName("ly")
@Implements("GrandExchangeOffer")
public class GrandExchangeOffer {
@ObfuscatedName("c")
@ObfuscatedName("v")
@Export("state")
byte state;
@ObfuscatedName("l")
@ObfuscatedName("o")
@ObfuscatedGetter(
intValue = -523918183
intValue = 10431225
)
@Export("id")
public int id;
@ObfuscatedName("s")
@ObfuscatedName("h")
@ObfuscatedGetter(
intValue = -2075889425
intValue = 268603401
)
@Export("unitPrice")
public int unitPrice;
@ObfuscatedName("e")
@ObfuscatedName("g")
@ObfuscatedGetter(
intValue = -767593877
intValue = -2119681887
)
@Export("totalQuantity")
public int totalQuantity;
@ObfuscatedName("r")
@ObfuscatedName("l")
@ObfuscatedGetter(
intValue = 669868115
intValue = 151834997
)
@Export("currentQuantity")
public int currentQuantity;
@ObfuscatedName("o")
@ObfuscatedName("n")
@ObfuscatedGetter(
intValue = -514096397
intValue = -92952021
)
@Export("currentPrice")
public int currentPrice;
@@ -45,7 +45,7 @@ public class GrandExchangeOffer {
} // L: 13
@ObfuscatedSignature(
descriptor = "(Lpi;Z)V",
descriptor = "(Lpd;Z)V",
garbageValue = "0"
)
public GrandExchangeOffer(Buffer var1, boolean var2) {
@@ -57,42 +57,42 @@ public class GrandExchangeOffer {
this.currentPrice = var1.readInt(); // L: 21
} // L: 22
@ObfuscatedName("l")
@ObfuscatedName("h")
@ObfuscatedSignature(
descriptor = "(B)I",
garbageValue = "118"
descriptor = "(I)I",
garbageValue = "-1572624507"
)
@Export("status")
public int status() {
return this.state & 7; // L: 50
}
@ObfuscatedName("s")
@ObfuscatedName("g")
@ObfuscatedSignature(
descriptor = "(I)I",
garbageValue = "2104620403"
garbageValue = "-2085742420"
)
@Export("type")
public int type() {
return (this.state & 8) == 8 ? 1 : 0; // L: 54
}
@ObfuscatedName("e")
@ObfuscatedName("l")
@ObfuscatedSignature(
descriptor = "(II)V",
garbageValue = "-324397199"
garbageValue = "-337380449"
)
void method5735(int var1) {
void method6050(int var1) {
this.state &= -8; // L: 58
this.state = (byte)(this.state | var1 & 7); // L: 59
} // L: 60
@ObfuscatedName("r")
@ObfuscatedName("n")
@ObfuscatedSignature(
descriptor = "(II)V",
garbageValue = "-2056263772"
garbageValue = "1896957082"
)
void method5731(int var1) {
void method6053(int var1) {
this.state &= -9; // L: 63
if (var1 == 1) {
this.state = (byte)(this.state | 8); // L: 64
@@ -100,17 +100,51 @@ public class GrandExchangeOffer {
} // L: 65
@ObfuscatedName("e")
@ObfuscatedName("d")
@ObfuscatedSignature(
descriptor = "(Ljava/lang/CharSequence;B)Ljava/lang/String;",
garbageValue = "2"
descriptor = "(Lbr;Lbr;IZI)I",
garbageValue = "1940653872"
)
public static String method5751(CharSequence var0) {
String var1 = class335.base37DecodeLong(ParamComposition.method3381(var0)); // L: 75
if (var1 == null) { // L: 76
var1 = "";
}
@Export("compareWorlds")
static int compareWorlds(World var0, World var1, int var2, boolean var3) {
if (var2 == 1) { // L: 211
int var4 = var0.population; // L: 212
int var5 = var1.population; // L: 213
if (!var3) { // L: 214
if (var4 == -1) { // L: 215
var4 = 2001;
}
return var1; // L: 77
if (var5 == -1) { // L: 216
var5 = 2001;
}
}
return var4 - var5; // L: 218
} else if (var2 == 2) { // L: 220
return var0.location - var1.location;
} else if (var2 == 3) { // L: 221
if (var0.activity.equals("-")) { // L: 222
if (var1.activity.equals("-")) { // L: 223
return 0;
} else {
return var3 ? -1 : 1; // L: 224
}
} else if (var1.activity.equals("-")) { // L: 226
return var3 ? 1 : -1;
} else {
return var0.activity.compareTo(var1.activity); // L: 227
}
} else if (var2 == 4) { // L: 229
return var0.method1612() ? (var1.method1612() ? 0 : 1) : (var1.method1612() ? -1 : 0);
} else if (var2 == 5) { // L: 230
return var0.method1628() ? (var1.method1628() ? 0 : 1) : (var1.method1628() ? -1 : 0);
} else if (var2 == 6) { // L: 231
return var0.isPvp() ? (var1.isPvp() ? 0 : 1) : (var1.isPvp() ? -1 : 0);
} else if (var2 == 7) { // L: 232
return var0.isMembersOnly() ? (var1.isMembersOnly() ? 0 : 1) : (var1.isMembersOnly() ? -1 : 0);
} else {
return var0.id - var1.id; // L: 233
}
}
}