update client to rev 183

This commit is contained in:
ThatGamerBlue
2019-09-12 14:00:01 +01:00
parent 0446151736
commit 12c08b271a
342 changed files with 41159 additions and 41468 deletions

View File

@@ -1,81 +1,69 @@
import java.io.File;
import java.util.Hashtable;
import net.runelite.mapping.Export;
import net.runelite.mapping.Implements;
import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("fj")
@ObfuscatedName("fi")
@Implements("FileSystem")
public class FileSystem {
@ObfuscatedName("s")
@ObfuscatedName("qd")
@ObfuscatedGetter(
intValue = 1877422611
)
static int field2027;
@ObfuscatedName("c")
@Export("FileSystem_hasPermissions")
public static boolean FileSystem_hasPermissions;
@ObfuscatedName("j")
@Export("FileSystem_cacheDir")
public static File FileSystem_cacheDir;
@ObfuscatedName("i")
static boolean FileSystem_hasPermissions;
@ObfuscatedName("t")
@Export("FileSystem_cacheFiles")
static Hashtable FileSystem_cacheFiles;
@ObfuscatedName("z")
@ObfuscatedSignature(
signature = "[Llt;"
)
@Export("title_muteSprite")
static IndexedSprite[] title_muteSprite;
@ObfuscatedName("bw")
@ObfuscatedSignature(
signature = "[Llt;"
)
@Export("worldSelectArrows")
static IndexedSprite[] worldSelectArrows;
@ObfuscatedName("kl")
@ObfuscatedGetter(
intValue = -841195075
)
@Export("menuX")
static int menuX;
static {
FileSystem_hasPermissions = false;
FileSystem_cacheFiles = new Hashtable(16);
}
@ObfuscatedName("s")
@ObfuscatedName("u")
@ObfuscatedSignature(
signature = "(II)Lip;",
garbageValue = "-760710815"
signature = "(I)[Llt;",
garbageValue = "584570356"
)
public static VarcInt method3447(int var0) {
VarcInt var1 = (VarcInt)VarcInt.VarcInt_cached.get((long)var0);
if (var1 != null) {
return var1;
} else {
byte[] var2 = VarcInt.VarcInt_archive.takeFile(19, var0);
var1 = new VarcInt();
if (var2 != null) {
var1.method4314(new Buffer(var2));
}
public static IndexedSprite[] method3489() {
IndexedSprite[] var0 = new IndexedSprite[class325.SpriteBuffer_spriteCount];
VarcInt.VarcInt_cached.put(var1, (long)var0);
return var1;
for (int var1 = 0; var1 < class325.SpriteBuffer_spriteCount; ++var1) {
IndexedSprite var2 = var0[var1] = new IndexedSprite();
var2.width = class325.SpriteBuffer_spriteWidth;
var2.height = class325.SpriteBuffer_spriteHeight;
var2.xOffset = class325.SpriteBuffer_xOffsets[var1];
var2.yOffset = SecureRandomCallable.SpriteBuffer_yOffsets[var1];
var2.subWidth = class325.SpriteBuffer_spriteWidths[var1];
var2.subHeight = SoundSystem.SpriteBuffer_spriteHeights[var1];
var2.palette = class325.SpriteBuffer_spritePalette;
var2.pixels = InvDefinition.SpriteBuffer_pixels[var1];
}
}
@ObfuscatedName("i")
@ObfuscatedSignature(
signature = "(IIB)Lbi;",
garbageValue = "17"
)
@Export("Messages_getByChannelAndID")
static Message Messages_getByChannelAndID(int var0, int var1) {
ChatChannel var2 = (ChatChannel)Messages.Messages_channels.get(var0);
return var2.getMessage(var1);
}
@ObfuscatedName("k")
@ObfuscatedSignature(
signature = "(Lhz;Lhz;III)Lkb;",
garbageValue = "1068587353"
)
@Export("SpriteBuffer_getFont")
public static Font SpriteBuffer_getFont(AbstractArchive var0, AbstractArchive var1, int var2, int var3) {
if (!World.SpriteBuffer_bufferFile(var0, var2, var3)) {
return null;
} else {
byte[] var5 = var1.takeFile(var2, var3);
Font var4;
if (var5 == null) {
var4 = null;
} else {
Font var6 = new Font(var5, class325.SpriteBuffer_xOffsets, class325.SpriteBuffer_yOffsets, class325.SpriteBuffer_spriteWidths, class225.SpriteBuffer_spriteHeights, class325.SpriteBuffer_spritePalette, WorldMapSection1.SpriteBuffer_pixels);
UserComparator7.SpriteBuffer_clear();
var4 = var6;
}
return var4;
}
class192.SpriteBuffer_clear();
return var0;
}
}