rs-client/apis
This commit is contained in:
@@ -6,94 +6,61 @@ import net.runelite.mapping.ObfuscatedSignature;
|
||||
@ObfuscatedName("bc")
|
||||
@Implements("ItemContainer")
|
||||
public class ItemContainer extends Node {
|
||||
@ObfuscatedName("m")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lld;"
|
||||
)
|
||||
@Export("itemContainers")
|
||||
static NodeHashTable itemContainers;
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedSignature(
|
||||
signature = "[Lbt;"
|
||||
)
|
||||
@Export("worlds")
|
||||
static World[] worlds;
|
||||
@ObfuscatedName("dm")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lit;"
|
||||
)
|
||||
@Export("archive19")
|
||||
static Archive archive19;
|
||||
@ObfuscatedName("f")
|
||||
@Export("ids")
|
||||
int[] ids;
|
||||
@ObfuscatedName("q")
|
||||
@Export("quantities")
|
||||
int[] quantities;
|
||||
@ObfuscatedName("q")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Llc;"
|
||||
)
|
||||
@Export("itemContainers")
|
||||
static NodeHashTable itemContainers;
|
||||
@ObfuscatedName("jk")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lhj;"
|
||||
)
|
||||
static Widget field549;
|
||||
@ObfuscatedName("w")
|
||||
@Export("ids")
|
||||
int[] ids;
|
||||
@ObfuscatedName("e")
|
||||
@Export("quantities")
|
||||
int[] quantities;
|
||||
|
||||
ItemContainer() {
|
||||
this.ids = new int[]{-1};
|
||||
this.quantities = new int[]{0};
|
||||
}
|
||||
static {
|
||||
itemContainers = new NodeHashTable(32);
|
||||
}
|
||||
|
||||
@ObfuscatedName("m")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(II)Ljava/lang/String;",
|
||||
garbageValue = "-1265322360"
|
||||
)
|
||||
static String method1170(int var0) {
|
||||
return "<img=" + var0 + ">";
|
||||
}
|
||||
ItemContainer() {
|
||||
this.ids = new int[]{-1};
|
||||
this.quantities = new int[]{0};
|
||||
}
|
||||
|
||||
@ObfuscatedName("x")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(II)Len;",
|
||||
garbageValue = "-227230552"
|
||||
)
|
||||
@Export("getFrames")
|
||||
static Frames getFrames(int var0) {
|
||||
Frames var1 = (Frames)SequenceDefinition.SequenceDefinition_cachedFrames.get((long)var0);
|
||||
if (var1 != null) {
|
||||
return var1;
|
||||
} else {
|
||||
AbstractArchive var2 = SequenceDefinition.SequenceDefinition_animationsArchive;
|
||||
AbstractArchive var3 = SequenceDefinition.SequenceDefinition_skeletonsArchive;
|
||||
boolean var4 = true;
|
||||
int[] var5 = var2.getGroupFileIds(var0);
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(IB)Lic;",
|
||||
garbageValue = "-70"
|
||||
)
|
||||
public static FloorUnderlayDefinition method1117(int var0) {
|
||||
FloorUnderlayDefinition var1 = (FloorUnderlayDefinition)FloorUnderlayDefinition.FloorUnderlayDefinition_cached.get((long)var0);
|
||||
if (var1 != null) {
|
||||
return var1;
|
||||
} else {
|
||||
byte[] var2 = FloorUnderlayDefinition.FloorUnderlayDefinition_archive.takeFile(1, var0);
|
||||
var1 = new FloorUnderlayDefinition();
|
||||
if (var2 != null) {
|
||||
var1.decode(new Buffer(var2), var0);
|
||||
}
|
||||
|
||||
for (int var6 = 0; var6 < var5.length; ++var6) {
|
||||
byte[] var7 = var2.getFile(var0, var5[var6]);
|
||||
if (var7 == null) {
|
||||
var4 = false;
|
||||
} else {
|
||||
int var8 = (var7[0] & 255) << 8 | var7[1] & 255;
|
||||
byte[] var9 = var3.getFile(var8, 0);
|
||||
if (var9 == null) {
|
||||
var4 = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
var1.postDecode();
|
||||
FloorUnderlayDefinition.FloorUnderlayDefinition_cached.put(var1, (long)var0);
|
||||
return var1;
|
||||
}
|
||||
}
|
||||
|
||||
Frames var11;
|
||||
if (!var4) {
|
||||
var11 = null;
|
||||
} else {
|
||||
try {
|
||||
var11 = new Frames(var2, var3, var0, false);
|
||||
} catch (Exception var10) {
|
||||
var11 = null;
|
||||
}
|
||||
}
|
||||
|
||||
if (var11 != null) {
|
||||
SequenceDefinition.SequenceDefinition_cachedFrames.put(var11, (long)var0);
|
||||
}
|
||||
|
||||
return var11;
|
||||
}
|
||||
}
|
||||
|
||||
static {
|
||||
itemContainers = new NodeHashTable(32);
|
||||
}
|
||||
@ObfuscatedName("ac")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(II)I",
|
||||
garbageValue = "-1225456641"
|
||||
)
|
||||
static int method1116(int var0) {
|
||||
return (int)Math.pow(2.0D, (double)((float)var0 / 256.0F + 7.0F));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user