IndexCacheLoader -> ArchiveLoader, read -> decode
This commit is contained in:
@@ -123,15 +123,15 @@ public class WorldMapElement extends DualNode {
|
||||
signature = "(Lgr;B)V",
|
||||
garbageValue = "81"
|
||||
)
|
||||
@Export("read")
|
||||
public void read(Buffer var1) {
|
||||
@Export("decode")
|
||||
public void decode(Buffer var1) {
|
||||
while (true) {
|
||||
int var2 = var1.readUnsignedByte();
|
||||
if (var2 == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.readNext(var1, var2);
|
||||
this.decodeNext(var1, var2);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -140,8 +140,8 @@ public class WorldMapElement extends DualNode {
|
||||
signature = "(Lgr;II)V",
|
||||
garbageValue = "-1197630144"
|
||||
)
|
||||
@Export("readNext")
|
||||
void readNext(Buffer var1, int var2) {
|
||||
@Export("decodeNext")
|
||||
void decodeNext(Buffer var1, int var2) {
|
||||
if (var2 == 1) {
|
||||
this.sprite1 = var1.method51();
|
||||
} else if (var2 == 2) {
|
||||
|
||||
Reference in New Issue
Block a user