rsclient: rev 191

This commit is contained in:
ThatGamerBlue
2020-08-26 21:11:23 +01:00
parent 106de31a9d
commit b6ea56781c
354 changed files with 61347 additions and 61083 deletions

View File

@@ -4,25 +4,25 @@ import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("ml")
@ObfuscatedName("md")
@Implements("WorldMapArchiveLoader")
public class WorldMapArchiveLoader {
@ObfuscatedName("p")
@ObfuscatedName("i")
@Export("cacheName")
String cacheName;
@ObfuscatedName("g")
@ObfuscatedName("o")
@ObfuscatedSignature(
descriptor = "Lic;"
)
@Export("archive")
AbstractArchive archive;
@ObfuscatedName("n")
@ObfuscatedName("x")
@ObfuscatedGetter(
intValue = 1583552183
intValue = 2018598251
)
@Export("percentLoaded")
int percentLoaded;
@ObfuscatedName("u")
@ObfuscatedName("w")
@Export("loaded")
boolean loaded;
@@ -30,80 +30,80 @@ public class WorldMapArchiveLoader {
descriptor = "(Lic;)V"
)
WorldMapArchiveLoader(AbstractArchive var1) {
this.percentLoaded = 0;
this.loaded = false;
this.archive = var1;
}
this.percentLoaded = 0; // L: 13
this.loaded = false; // L: 14
this.archive = var1; // L: 17
} // L: 18
@ObfuscatedName("m")
@ObfuscatedName("z")
@ObfuscatedSignature(
descriptor = "(Ljava/lang/String;I)V",
garbageValue = "796588704"
garbageValue = "1155527039"
)
@Export("reset")
void reset(String var1) {
if (var1 != null && !var1.isEmpty()) {
if (var1 != this.cacheName) {
this.cacheName = var1;
this.percentLoaded = 0;
this.loaded = false;
this.load();
if (var1 != null && !var1.isEmpty()) { // L: 21
if (var1 != this.cacheName) { // L: 24
this.cacheName = var1; // L: 27
this.percentLoaded = 0; // L: 28
this.loaded = false; // L: 29
this.load(); // L: 30
}
}
}
} // L: 22 25 31
@ObfuscatedName("o")
@ObfuscatedName("k")
@ObfuscatedSignature(
descriptor = "(I)I",
garbageValue = "-1901724660"
garbageValue = "-739480731"
)
@Export("load")
int load() {
if (this.percentLoaded < 33) {
if (!this.archive.tryLoadFileByNames(WorldMapCacheName.field325.name, this.cacheName)) {
return this.percentLoaded;
if (this.percentLoaded < 33) { // L: 34
if (!this.archive.tryLoadFileByNames(WorldMapCacheName.field318.name, this.cacheName)) { // L: 35
return this.percentLoaded; // L: 36
}
this.percentLoaded = 33;
this.percentLoaded = 33; // L: 38
}
if (this.percentLoaded == 33) {
if (this.archive.isValidFileName(WorldMapCacheName.field324.name, this.cacheName) && !this.archive.tryLoadFileByNames(WorldMapCacheName.field324.name, this.cacheName)) {
return this.percentLoaded;
if (this.percentLoaded == 33) { // L: 40
if (this.archive.isValidFileName(WorldMapCacheName.field327.name, this.cacheName) && !this.archive.tryLoadFileByNames(WorldMapCacheName.field327.name, this.cacheName)) { // L: 41 42
return this.percentLoaded; // L: 43
}
this.percentLoaded = 66;
this.percentLoaded = 66; // L: 46
}
if (this.percentLoaded == 66) {
if (!this.archive.tryLoadFileByNames(this.cacheName, WorldMapCacheName.field326.name)) {
return this.percentLoaded;
if (this.percentLoaded == 66) { // L: 48
if (!this.archive.tryLoadFileByNames(this.cacheName, WorldMapCacheName.field321.name)) { // L: 49
return this.percentLoaded; // L: 50
}
this.percentLoaded = 100;
this.loaded = true;
this.percentLoaded = 100; // L: 52
this.loaded = true; // L: 53
}
return this.percentLoaded;
return this.percentLoaded; // L: 55
}
@ObfuscatedName("q")
@ObfuscatedName("s")
@ObfuscatedSignature(
descriptor = "(I)Z",
garbageValue = "-1377768408"
garbageValue = "-337934116"
)
@Export("isLoaded")
boolean isLoaded() {
return this.loaded;
return this.loaded; // L: 59
}
@ObfuscatedName("j")
@ObfuscatedName("t")
@ObfuscatedSignature(
descriptor = "(I)I",
garbageValue = "-1099667221"
descriptor = "(B)I",
garbageValue = "-64"
)
@Export("getPercentLoaded")
int getPercentLoaded() {
return this.percentLoaded;
return this.percentLoaded; // L: 63
}
}