rsc: please read the commit message for my neverending descent into madness
how do i stop making castles every time i go to the beach i make a castle every time i open blender i model castles every time i play chess i castle i just cant stop making castles dude
This commit is contained in:
@@ -7,101 +7,103 @@ import net.runelite.mapping.ObfuscatedSignature;
|
||||
@ObfuscatedName("mj")
|
||||
@Implements("WorldMapArchiveLoader")
|
||||
public class WorldMapArchiveLoader {
|
||||
@ObfuscatedName("y")
|
||||
@Export("cacheName")
|
||||
String cacheName;
|
||||
@ObfuscatedName("h")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lig;"
|
||||
)
|
||||
@Export("archive")
|
||||
AbstractArchive archive;
|
||||
@ObfuscatedName("z")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -925994251
|
||||
)
|
||||
@Export("percentLoaded")
|
||||
int percentLoaded = 0;
|
||||
@ObfuscatedName("e")
|
||||
@Export("loaded")
|
||||
boolean loaded = false;
|
||||
@ObfuscatedName("y")
|
||||
@Export("cacheName")
|
||||
String cacheName;
|
||||
@ObfuscatedName("h")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lig;"
|
||||
)
|
||||
@Export("archive")
|
||||
AbstractArchive archive;
|
||||
@ObfuscatedName("z")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -925994251
|
||||
)
|
||||
@Export("percentLoaded")
|
||||
int percentLoaded;
|
||||
@ObfuscatedName("e")
|
||||
@Export("loaded")
|
||||
boolean loaded;
|
||||
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Lig;)V"
|
||||
)
|
||||
WorldMapArchiveLoader(AbstractArchive var1) {
|
||||
this.archive = var1;
|
||||
}
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Lig;)V"
|
||||
)
|
||||
WorldMapArchiveLoader(AbstractArchive var1) {
|
||||
this.percentLoaded = 0; // L: 13
|
||||
this.loaded = false; // L: 14
|
||||
this.archive = var1; // L: 17
|
||||
} // L: 18
|
||||
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Ljava/lang/String;I)V",
|
||||
garbageValue = "1607253331"
|
||||
)
|
||||
@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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Ljava/lang/String;I)V",
|
||||
garbageValue = "1607253331"
|
||||
)
|
||||
@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
|
||||
}
|
||||
}
|
||||
} // L: 22 25 31
|
||||
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)I",
|
||||
garbageValue = "-460265936"
|
||||
)
|
||||
@Export("load")
|
||||
int load() {
|
||||
if (this.percentLoaded < 33) {
|
||||
if (!this.archive.tryLoadFileByNames(WorldMapCacheName.field323.name, this.cacheName)) {
|
||||
return this.percentLoaded;
|
||||
}
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)I",
|
||||
garbageValue = "-460265936"
|
||||
)
|
||||
@Export("load")
|
||||
int load() {
|
||||
if (this.percentLoaded < 33) { // L: 34
|
||||
if (!this.archive.tryLoadFileByNames(WorldMapCacheName.field323.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.field324.name, this.cacheName) && !this.archive.tryLoadFileByNames(WorldMapCacheName.field324.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.field326.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("d")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)Z",
|
||||
garbageValue = "868597570"
|
||||
)
|
||||
@Export("isLoaded")
|
||||
boolean isLoaded() {
|
||||
return this.loaded;
|
||||
}
|
||||
@ObfuscatedName("d")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)Z",
|
||||
garbageValue = "868597570"
|
||||
)
|
||||
@Export("isLoaded")
|
||||
boolean isLoaded() {
|
||||
return this.loaded; // L: 59
|
||||
}
|
||||
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)I",
|
||||
garbageValue = "-754192338"
|
||||
)
|
||||
@Export("getPercentLoaded")
|
||||
int getPercentLoaded() {
|
||||
return this.percentLoaded;
|
||||
}
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)I",
|
||||
garbageValue = "-754192338"
|
||||
)
|
||||
@Export("getPercentLoaded")
|
||||
int getPercentLoaded() {
|
||||
return this.percentLoaded; // L: 63
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user