chore: rev 193
This commit is contained in:
@@ -4,106 +4,106 @@ import net.runelite.mapping.ObfuscatedGetter;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
|
||||
@ObfuscatedName("ma")
|
||||
@ObfuscatedName("mv")
|
||||
@Implements("WorldMapArchiveLoader")
|
||||
public class WorldMapArchiveLoader {
|
||||
@ObfuscatedName("z")
|
||||
@ObfuscatedName("t")
|
||||
@Export("cacheName")
|
||||
String cacheName;
|
||||
@ObfuscatedName("q")
|
||||
@ObfuscatedName("j")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Liw;"
|
||||
descriptor = "Lib;"
|
||||
)
|
||||
@Export("archive")
|
||||
AbstractArchive archive;
|
||||
@ObfuscatedName("k")
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1053326001
|
||||
intValue = -1853397367
|
||||
)
|
||||
@Export("percentLoaded")
|
||||
int percentLoaded;
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedName("p")
|
||||
@Export("loaded")
|
||||
boolean loaded;
|
||||
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Liw;)V"
|
||||
descriptor = "(Lib;)V"
|
||||
)
|
||||
WorldMapArchiveLoader(AbstractArchive var1) {
|
||||
this.percentLoaded = 0; // L: 13
|
||||
this.loaded = false; // L: 14
|
||||
this.archive = var1; // L: 17
|
||||
} // L: 18
|
||||
this.percentLoaded = 0;
|
||||
this.loaded = false;
|
||||
this.archive = var1;
|
||||
}
|
||||
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedName("h")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Ljava/lang/String;B)V",
|
||||
garbageValue = "114"
|
||||
descriptor = "(Ljava/lang/String;I)V",
|
||||
garbageValue = "-1761137181"
|
||||
)
|
||||
@Export("reset")
|
||||
void reset(String var1) {
|
||||
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
|
||||
if (var1 != null && !var1.isEmpty()) {
|
||||
if (var1 != this.cacheName) {
|
||||
this.cacheName = var1;
|
||||
this.percentLoaded = 0;
|
||||
this.loaded = false;
|
||||
this.load();
|
||||
}
|
||||
}
|
||||
} // L: 22 25 31
|
||||
}
|
||||
|
||||
@ObfuscatedName("b")
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)I",
|
||||
garbageValue = "-1229000181"
|
||||
descriptor = "(B)I",
|
||||
garbageValue = "106"
|
||||
)
|
||||
@Export("load")
|
||||
int load() {
|
||||
if (this.percentLoaded < 33) { // L: 34
|
||||
if (!this.archive.tryLoadFileByNames(WorldMapCacheName.field319.name, this.cacheName)) { // L: 35
|
||||
return this.percentLoaded; // L: 36
|
||||
if (this.percentLoaded < 33) {
|
||||
if (!this.archive.tryLoadFileByNames(WorldMapCacheName.field326.name, this.cacheName)) {
|
||||
return this.percentLoaded;
|
||||
}
|
||||
|
||||
this.percentLoaded = 33; // L: 38
|
||||
this.percentLoaded = 33;
|
||||
}
|
||||
|
||||
if (this.percentLoaded == 33) { // L: 40
|
||||
if (this.archive.isValidFileName(WorldMapCacheName.field321.name, this.cacheName) && !this.archive.tryLoadFileByNames(WorldMapCacheName.field321.name, this.cacheName)) { // L: 41 42
|
||||
return this.percentLoaded; // L: 43
|
||||
if (this.percentLoaded == 33) {
|
||||
if (this.archive.isValidFileName(WorldMapCacheName.field327.name, this.cacheName) && !this.archive.tryLoadFileByNames(WorldMapCacheName.field327.name, this.cacheName)) {
|
||||
return this.percentLoaded;
|
||||
}
|
||||
|
||||
this.percentLoaded = 66; // L: 46
|
||||
this.percentLoaded = 66;
|
||||
}
|
||||
|
||||
if (this.percentLoaded == 66) { // L: 48
|
||||
if (!this.archive.tryLoadFileByNames(this.cacheName, WorldMapCacheName.field328.name)) { // L: 49
|
||||
return this.percentLoaded; // L: 50
|
||||
if (this.percentLoaded == 66) {
|
||||
if (!this.archive.tryLoadFileByNames(this.cacheName, WorldMapCacheName.field325.name)) {
|
||||
return this.percentLoaded;
|
||||
}
|
||||
|
||||
this.percentLoaded = 100; // L: 52
|
||||
this.loaded = true; // L: 53
|
||||
this.percentLoaded = 100;
|
||||
this.loaded = true;
|
||||
}
|
||||
|
||||
return this.percentLoaded; // L: 55
|
||||
return this.percentLoaded;
|
||||
}
|
||||
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedName("x")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)Z",
|
||||
garbageValue = "-336032525"
|
||||
garbageValue = "665938450"
|
||||
)
|
||||
@Export("isLoaded")
|
||||
boolean isLoaded() {
|
||||
return this.loaded; // L: 59
|
||||
return this.loaded;
|
||||
}
|
||||
|
||||
@ObfuscatedName("m")
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)I",
|
||||
garbageValue = "-1960531717"
|
||||
garbageValue = "-1669569125"
|
||||
)
|
||||
@Export("getPercentLoaded")
|
||||
int getPercentLoaded() {
|
||||
return this.percentLoaded; // L: 63
|
||||
return this.percentLoaded;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user