client: revvy boi 202

This commit is contained in:
JumpIfZero
2021-12-09 15:12:57 +02:00
parent 5d758a3394
commit 9f716fea3a
496 changed files with 62975 additions and 58430 deletions

View File

@@ -1,125 +1,73 @@
import java.io.IOException;
import java.util.concurrent.Callable;
import net.runelite.mapping.Export;
import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("r")
@ObfuscatedName("l")
public class class20 implements Callable {
@ObfuscatedName("i")
@ObfuscatedSignature(
descriptor = "Lx;"
@ObfuscatedName("kk")
@ObfuscatedGetter(
intValue = -943773093
)
final class10 field94;
@Export("Client_plane")
static int Client_plane;
@ObfuscatedName("no")
@ObfuscatedGetter(
intValue = -1799052417
)
@Export("selectedSpellWidget")
static int selectedSpellWidget;
@ObfuscatedName("c")
@ObfuscatedSignature(
descriptor = "Lo;"
)
final class10 field110;
// $FF: synthetic field
@ObfuscatedSignature(
descriptor = "Ll;"
descriptor = "Lg;"
)
final class14 this$0;
@ObfuscatedSignature(
descriptor = "(Ll;Lx;)V"
descriptor = "(Lg;Lo;)V"
)
class20(class14 var1, class10 var2) {
this.this$0 = var1;
this.field94 = var2;
}
this.this$0 = var1; // L: 46
this.field110 = var2; // L: 47
} // L: 48
public Object call() throws Exception {
try {
while (this.field94.method89()) { // L: 52
FloorUnderlayDefinition.method3190(10L); // L: 53
while (this.field110.method105()) { // L: 53
Bounds.method6608(10L); // L: 54
}
} catch (IOException var2) { // L: 56
return new class21("Error servicing REST query: " + var2.getMessage()); // L: 57
} catch (IOException var2) { // L: 57
return new class21("Error servicing REST query: " + var2.getMessage()); // L: 58
}
return this.field94.method100(); // L: 59
return this.field110.method106(); // L: 60
}
@ObfuscatedName("i")
@ObfuscatedName("c")
@ObfuscatedSignature(
descriptor = "(Lko;Lko;Lko;I)V",
garbageValue = "1541093699"
descriptor = "(II)Z",
garbageValue = "-76614425"
)
public static void method295(AbstractArchive var0, AbstractArchive var1, AbstractArchive var2) {
HitSplatDefinition.HitSplatDefinition_archive = var0; // L: 46
HitSplatDefinition.field1799 = var1; // L: 47
HitSplatDefinition.HitSplatDefinition_fontsArchive = var2; // L: 48
} // L: 49
public static boolean method332(int var0) {
return (var0 & 1) != 0; // L: 9
}
@ObfuscatedName("o")
@ObfuscatedName("ke")
@ObfuscatedSignature(
descriptor = "(II)V",
garbageValue = "-23497381"
garbageValue = "-1917740045"
)
@Export("clearItemContainer")
static void clearItemContainer(int var0) {
ItemContainer var1 = (ItemContainer)ItemContainer.itemContainers.get((long)var0); // L: 63
if (var1 != null) { // L: 64
for (int var2 = 0; var2 < var1.ids.length; ++var2) { // L: 65
var1.ids[var2] = -1; // L: 66
var1.quantities[var2] = 0; // L: 67
}
}
} // L: 69
@ObfuscatedName("e")
@ObfuscatedSignature(
descriptor = "(I)Lbw;",
garbageValue = "-632858850"
)
@Export("worldListStart")
static World worldListStart() {
World.World_listCount = 0; // L: 247
return class91.getNextWorldListWorld(); // L: 248
}
@ObfuscatedName("j")
@ObfuscatedSignature(
descriptor = "(B)V",
garbageValue = "-93"
)
static final void method294() {
Object var10000 = null; // L: 114
String var0 = "Your friend list is full. Max of 200 for free users, and 400 for members";
class397.addGameMessage(30, "", var0); // L: 116
} // L: 118
@ObfuscatedName("kf")
@ObfuscatedSignature(
descriptor = "(III)V",
garbageValue = "-1226248726"
)
static final void method298(int var0, int var1) {
if (Client.currentClanChannels[var0] != null) { // L: 11843
if (var1 >= 0 && var1 < Client.currentClanChannels[var0].method2809()) { // L: 11844
ClanChannelMember var2 = (ClanChannelMember)Client.currentClanChannels[var0].members.get(var1); // L: 11845
if (var2.rank == -1) { // L: 11846
PacketWriter var3 = Client.packetWriter; // L: 11847
PacketBufferNode var4 = AbstractWorldMapData.getPacketBufferNode(ClientPacket.field2737, var3.isaacCipher); // L: 11848
var4.packetBuffer.writeByte(3 + Client.stringCp1252NullTerminatedByteSize(var2.username.getName())); // L: 11849
var4.packetBuffer.writeByte(var0); // L: 11850
var4.packetBuffer.writeShort(var1); // L: 11851
var4.packetBuffer.writeStringCp1252NullTerminated(var2.username.getName()); // L: 11852
var3.addNode(var4); // L: 11853
}
}
}
} // L: 11854
@ObfuscatedName("ly")
@ObfuscatedSignature(
descriptor = "(Ljf;I)Ljava/lang/String;",
garbageValue = "2082215061"
)
@Export("Widget_getSpellActionName")
static String Widget_getSpellActionName(Widget var0) {
if (SecureRandomCallable.Widget_unpackTargetMask(PendingSpawn.getWidgetFlags(var0)) == 0) { // L: 11917
return null;
} else {
return var0.spellActionName != null && var0.spellActionName.trim().length() != 0 ? var0.spellActionName : null; // L: 11918 11919 11921
}
}
@Export("updateSoundEffectVolume")
static final void updateSoundEffectVolume(int var0) {
var0 = Math.min(Math.max(var0, 0), 127); // L: 12149
SecureRandomFuture.clientPreferences.soundEffectsVolume = var0; // L: 12150
class127.savePreferences(); // L: 12151
} // L: 12152
}