73 lines
1.7 KiB
Java
73 lines
1.7 KiB
Java
import net.runelite.mapping.Export;
|
|
import net.runelite.mapping.Implements;
|
|
import net.runelite.mapping.ObfuscatedGetter;
|
|
import net.runelite.mapping.ObfuscatedName;
|
|
import net.runelite.mapping.ObfuscatedSignature;
|
|
|
|
@ObfuscatedName("ix")
|
|
@Implements("VarpDefinition")
|
|
public class VarpDefinition extends DualNode {
|
|
@ObfuscatedName("m")
|
|
@ObfuscatedSignature(
|
|
signature = "Lir;"
|
|
)
|
|
@Export("VarpDefinition_archive")
|
|
public static AbstractArchive VarpDefinition_archive;
|
|
@ObfuscatedName("f")
|
|
@ObfuscatedGetter(
|
|
intValue = 510774535
|
|
)
|
|
@Export("VarpDefinition_fileCount")
|
|
public static int VarpDefinition_fileCount;
|
|
@ObfuscatedName("q")
|
|
@ObfuscatedSignature(
|
|
signature = "Ler;"
|
|
)
|
|
@Export("VarpDefinition_cached")
|
|
public static EvictingDualNodeHashTable VarpDefinition_cached;
|
|
@ObfuscatedName("w")
|
|
@ObfuscatedGetter(
|
|
intValue = -1792568421
|
|
)
|
|
@Export("type")
|
|
public int type;
|
|
|
|
VarpDefinition() {
|
|
this.type = 0;
|
|
}
|
|
|
|
@ObfuscatedName("f")
|
|
@ObfuscatedSignature(
|
|
signature = "(Lgr;B)V",
|
|
garbageValue = "-41"
|
|
)
|
|
@Export("decode")
|
|
void decode(Buffer var1) {
|
|
while (true) {
|
|
int var2 = var1.readUnsignedByte();
|
|
if (var2 == 0) {
|
|
return;
|
|
}
|
|
|
|
this.decodeNext(var1, var2);
|
|
}
|
|
}
|
|
|
|
@ObfuscatedName("q")
|
|
@ObfuscatedSignature(
|
|
signature = "(Lgr;II)V",
|
|
garbageValue = "-1859920822"
|
|
)
|
|
@Export("decodeNext")
|
|
void decodeNext(Buffer var1, int var2) {
|
|
if (var2 == 5) {
|
|
this.type = var1.readUnsignedShort();
|
|
}
|
|
|
|
}
|
|
|
|
static {
|
|
VarpDefinition_cached = new EvictingDualNodeHashTable(64);
|
|
}
|
|
}
|