client: rev 198 (#3014)
* client: rev 198 * client: checkstyle Co-authored-by: therealnull <therealnull@gmail.com>
This commit is contained in:
@@ -4,99 +4,155 @@ import net.runelite.mapping.ObfuscatedGetter;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
|
||||
@ObfuscatedName("ju")
|
||||
@ObfuscatedName("jk")
|
||||
@Implements("GrandExchangeOffer")
|
||||
public class GrandExchangeOffer {
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedName("u")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lio;"
|
||||
)
|
||||
@Export("scriptDotWidget")
|
||||
static Widget scriptDotWidget;
|
||||
@ObfuscatedName("s")
|
||||
@Export("state")
|
||||
byte state;
|
||||
@ObfuscatedName("e")
|
||||
@ObfuscatedName("t")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1583312423
|
||||
intValue = -738417027
|
||||
)
|
||||
@Export("id")
|
||||
public int id;
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1337068893
|
||||
intValue = 902744841
|
||||
)
|
||||
@Export("unitPrice")
|
||||
public int unitPrice;
|
||||
@ObfuscatedName("y")
|
||||
@ObfuscatedName("j")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 85465659
|
||||
intValue = 1486444339
|
||||
)
|
||||
@Export("totalQuantity")
|
||||
public int totalQuantity;
|
||||
@ObfuscatedName("j")
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -631103109
|
||||
intValue = -445380121
|
||||
)
|
||||
@Export("currentQuantity")
|
||||
public int currentQuantity;
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1719757481
|
||||
intValue = -421297425
|
||||
)
|
||||
@Export("currentPrice")
|
||||
public int currentPrice;
|
||||
|
||||
public GrandExchangeOffer() {
|
||||
} // L: 13
|
||||
}
|
||||
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Lnt;Z)V",
|
||||
descriptor = "(Lnv;Z)V",
|
||||
garbageValue = "0"
|
||||
)
|
||||
public GrandExchangeOffer(Buffer var1, boolean var2) {
|
||||
this.state = var1.readByte(); // L: 16
|
||||
this.id = var1.readUnsignedShort(); // L: 17
|
||||
this.unitPrice = var1.readInt(); // L: 18
|
||||
this.totalQuantity = var1.readInt(); // L: 19
|
||||
this.currentQuantity = var1.readInt(); // L: 20
|
||||
this.currentPrice = var1.readInt(); // L: 21
|
||||
} // L: 22
|
||||
this.state = var1.readByte();
|
||||
this.id = var1.readUnsignedShort();
|
||||
this.unitPrice = var1.readInt();
|
||||
this.totalQuantity = var1.readInt();
|
||||
this.currentQuantity = var1.readInt();
|
||||
this.currentPrice = var1.readInt();
|
||||
}
|
||||
|
||||
@ObfuscatedName("e")
|
||||
@ObfuscatedName("t")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(B)I",
|
||||
garbageValue = "10"
|
||||
descriptor = "(I)I",
|
||||
garbageValue = "1580532327"
|
||||
)
|
||||
@Export("status")
|
||||
public int status() {
|
||||
return this.state & 7; // L: 50
|
||||
return this.state & 7;
|
||||
}
|
||||
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(B)I",
|
||||
garbageValue = "48"
|
||||
garbageValue = "-51"
|
||||
)
|
||||
@Export("type")
|
||||
public int type() {
|
||||
return (this.state & 8) == 8 ? 1 : 0; // L: 54
|
||||
return (this.state & 8) == 8 ? 1 : 0;
|
||||
}
|
||||
|
||||
@ObfuscatedName("y")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(IB)V",
|
||||
garbageValue = "-59"
|
||||
)
|
||||
void method5224(int var1) {
|
||||
this.state &= -8; // L: 58
|
||||
this.state = (byte)(this.state | var1 & 7); // L: 59
|
||||
} // L: 60
|
||||
|
||||
@ObfuscatedName("j")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(II)V",
|
||||
garbageValue = "-1688062511"
|
||||
garbageValue = "2117063899"
|
||||
)
|
||||
void method5229(int var1) {
|
||||
this.state &= -9; // L: 63
|
||||
void method5157(int var1) {
|
||||
this.state &= -8;
|
||||
this.state = (byte)(this.state | var1 & 7);
|
||||
}
|
||||
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(IB)V",
|
||||
garbageValue = "1"
|
||||
)
|
||||
void method5158(int var1) {
|
||||
this.state &= -9;
|
||||
if (var1 == 1) {
|
||||
this.state = (byte)(this.state | 8); // L: 64
|
||||
this.state = (byte)(this.state | 8);
|
||||
}
|
||||
|
||||
} // L: 65
|
||||
}
|
||||
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)V",
|
||||
garbageValue = "-240867466"
|
||||
)
|
||||
static void method5168() {
|
||||
Messages.Messages_channels.clear();
|
||||
Messages.Messages_hashTable.clear();
|
||||
Messages.Messages_queue.clear();
|
||||
Messages.Messages_count = 0;
|
||||
}
|
||||
|
||||
@ObfuscatedName("h")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Ljava/lang/String;B)Ljava/lang/String;",
|
||||
garbageValue = "77"
|
||||
)
|
||||
public static String method5167(String var0) {
|
||||
int var1 = var0.length();
|
||||
char[] var2 = new char[var1];
|
||||
byte var3 = 2;
|
||||
|
||||
for (int var4 = 0; var4 < var1; ++var4) {
|
||||
char var5 = var0.charAt(var4);
|
||||
if (var3 == 0) {
|
||||
var5 = Character.toLowerCase(var5);
|
||||
} else if (var3 == 2 || Character.isUpperCase(var5)) {
|
||||
var5 = Clock.method2679(var5);
|
||||
}
|
||||
|
||||
if (Character.isLetter(var5)) {
|
||||
var3 = 0;
|
||||
} else if (var5 != '.' && var5 != '?' && var5 != '!') {
|
||||
if (Character.isSpaceChar(var5)) {
|
||||
if (var3 != 2) {
|
||||
var3 = 1;
|
||||
}
|
||||
} else {
|
||||
var3 = 1;
|
||||
}
|
||||
} else {
|
||||
var3 = 2;
|
||||
}
|
||||
|
||||
var2[var4] = var5;
|
||||
}
|
||||
|
||||
return new String(var2);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user