project: Rev 182
This commit is contained in:
@@ -4,30 +4,30 @@ import net.runelite.mapping.ObfuscatedGetter;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
|
||||
@ObfuscatedName("lh")
|
||||
@ObfuscatedName("la")
|
||||
@Implements("WorldMapArchiveLoader")
|
||||
public class WorldMapArchiveLoader {
|
||||
@ObfuscatedName("k")
|
||||
@ObfuscatedName("u")
|
||||
@Export("cacheName")
|
||||
String cacheName;
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lhp;"
|
||||
signature = "Lhz;"
|
||||
)
|
||||
@Export("archive")
|
||||
AbstractArchive archive;
|
||||
@ObfuscatedName("b")
|
||||
@ObfuscatedName("t")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 431285519
|
||||
intValue = -726522089
|
||||
)
|
||||
@Export("percentLoaded")
|
||||
int percentLoaded;
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedName("q")
|
||||
@Export("loaded")
|
||||
boolean loaded;
|
||||
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Lhp;)V"
|
||||
signature = "(Lhz;)V"
|
||||
)
|
||||
WorldMapArchiveLoader(AbstractArchive var1) {
|
||||
this.percentLoaded = 0;
|
||||
@@ -35,10 +35,10 @@ public class WorldMapArchiveLoader {
|
||||
this.archive = var1;
|
||||
}
|
||||
|
||||
@ObfuscatedName("q")
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Ljava/lang/String;B)V",
|
||||
garbageValue = "124"
|
||||
garbageValue = "-7"
|
||||
)
|
||||
@Export("reset")
|
||||
void reset(String var1) {
|
||||
@@ -52,15 +52,15 @@ public class WorldMapArchiveLoader {
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedName("j")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(I)I",
|
||||
garbageValue = "52307485"
|
||||
garbageValue = "1496070348"
|
||||
)
|
||||
@Export("load")
|
||||
int load() {
|
||||
if (this.percentLoaded < 33) {
|
||||
if (!this.archive.tryLoadFileByNames(WorldMapCacheName.COMPOSITEMAP.name, this.cacheName)) {
|
||||
if (!this.archive.tryLoadFileByNames(WorldMapCacheName.field290.name, this.cacheName)) {
|
||||
return this.percentLoaded;
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@ public class WorldMapArchiveLoader {
|
||||
}
|
||||
|
||||
if (this.percentLoaded == 33) {
|
||||
if (this.archive.isValidFileName(WorldMapCacheName.COMPOSITETEXTURE.name, this.cacheName) && !this.archive.tryLoadFileByNames(WorldMapCacheName.COMPOSITETEXTURE.name, this.cacheName)) {
|
||||
if (this.archive.isValidFileName(WorldMapCacheName.field291.name, this.cacheName) && !this.archive.tryLoadFileByNames(WorldMapCacheName.field291.name, this.cacheName)) {
|
||||
return this.percentLoaded;
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@ public class WorldMapArchiveLoader {
|
||||
}
|
||||
|
||||
if (this.percentLoaded == 66) {
|
||||
if (!this.archive.tryLoadFileByNames(this.cacheName, WorldMapCacheName.LABELS.name)) {
|
||||
if (!this.archive.tryLoadFileByNames(this.cacheName, WorldMapCacheName.field293.name)) {
|
||||
return this.percentLoaded;
|
||||
}
|
||||
|
||||
@@ -87,20 +87,20 @@ public class WorldMapArchiveLoader {
|
||||
return this.percentLoaded;
|
||||
}
|
||||
|
||||
@ObfuscatedName("e")
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(I)Z",
|
||||
garbageValue = "1906092832"
|
||||
signature = "(B)Z",
|
||||
garbageValue = "30"
|
||||
)
|
||||
@Export("isLoaded")
|
||||
boolean isLoaded() {
|
||||
return this.loaded;
|
||||
}
|
||||
|
||||
@ObfuscatedName("p")
|
||||
@ObfuscatedName("k")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(I)I",
|
||||
garbageValue = "-805069530"
|
||||
signature = "(B)I",
|
||||
garbageValue = "-94"
|
||||
)
|
||||
@Export("getPercentLoaded")
|
||||
int getPercentLoaded() {
|
||||
|
||||
Reference in New Issue
Block a user