project: rev 199
This commit is contained in:
@@ -1,28 +1,100 @@
|
||||
import java.applet.Applet;
|
||||
import java.math.BigInteger;
|
||||
import net.runelite.mapping.Export;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
|
||||
@ObfuscatedName("bl")
|
||||
@ObfuscatedName("bn")
|
||||
public class class65 {
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedName("tt")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Ljava/applet/Applet;Ljava/lang/String;B)V",
|
||||
garbageValue = "127"
|
||||
descriptor = "Lno;"
|
||||
)
|
||||
public static void method1796(Applet var0, String var1) {
|
||||
class16.applet = var0;
|
||||
if (var1 != null) {
|
||||
class16.field87 = var1;
|
||||
}
|
||||
@Export("worldMap")
|
||||
static WorldMap worldMap;
|
||||
@ObfuscatedName("o")
|
||||
static final BigInteger field849;
|
||||
@ObfuscatedName("g")
|
||||
static final BigInteger field853;
|
||||
@ObfuscatedName("gu")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Led;"
|
||||
)
|
||||
@Export("socketTask")
|
||||
static Task socketTask;
|
||||
|
||||
static {
|
||||
field849 = new BigInteger("80782894952180643741752986186714059433953886149239752893425047584684715842049");
|
||||
field853 = new BigInteger("7237300117305667488707183861728052766358166655052137727439795191253340127955075499635575104901523446809299097934591732635674173519120047404024393881551683");
|
||||
}
|
||||
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(II)Z",
|
||||
garbageValue = "443719012"
|
||||
descriptor = "(IB)Lfy;",
|
||||
garbageValue = "2"
|
||||
)
|
||||
public static boolean method1797(int var0) {
|
||||
return var0 >= WorldMapDecorationType.field3150.id && var0 <= WorldMapDecorationType.field3153.id;
|
||||
@Export("ItemDefinition_get")
|
||||
public static ItemComposition ItemDefinition_get(int var0) {
|
||||
ItemComposition var1 = (ItemComposition)ItemComposition.ItemDefinition_cached.get((long)var0);
|
||||
if (var1 != null) {
|
||||
return var1;
|
||||
} else {
|
||||
byte[] var2 = class262.ItemDefinition_archive.takeFile(10, var0);
|
||||
var1 = new ItemComposition();
|
||||
var1.id = var0;
|
||||
if (var2 != null) {
|
||||
var1.decode(new Buffer(var2));
|
||||
}
|
||||
|
||||
var1.post();
|
||||
if (var1.noteTemplate != -1) {
|
||||
var1.genCert(ItemDefinition_get(var1.noteTemplate), ItemDefinition_get(var1.note));
|
||||
}
|
||||
|
||||
if (var1.notedId != -1) {
|
||||
var1.genBought(ItemDefinition_get(var1.notedId), ItemDefinition_get(var1.unnotedId));
|
||||
}
|
||||
|
||||
if (var1.placeholderTemplate != -1) {
|
||||
var1.genPlaceholder(ItemDefinition_get(var1.placeholderTemplate), ItemDefinition_get(var1.placeholder));
|
||||
}
|
||||
|
||||
if (!Huffman.ItemDefinition_inMembersWorld && var1.isMembersOnly) {
|
||||
var1.name = "Members object";
|
||||
var1.isTradable = false;
|
||||
|
||||
int var3;
|
||||
for (var3 = 0; var3 < var1.groundActions.length; ++var3) {
|
||||
var1.groundActions[var3] = null;
|
||||
}
|
||||
|
||||
for (var3 = 0; var3 < var1.inventoryActions.length; ++var3) {
|
||||
if (var3 != 4) {
|
||||
var1.inventoryActions[var3] = null;
|
||||
}
|
||||
}
|
||||
|
||||
var1.shiftClickIndex = -2;
|
||||
var1.team = 0;
|
||||
if (var1.params != null) {
|
||||
boolean var6 = false;
|
||||
|
||||
for (Node var4 = var1.params.first(); var4 != null; var4 = var1.params.next()) {
|
||||
ParamComposition var5 = WorldMapIcon_1.getParamDefinition((int)var4.key);
|
||||
if (var5.autoDisable) {
|
||||
var4.remove();
|
||||
} else {
|
||||
var6 = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (!var6) {
|
||||
var1.params = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ItemComposition.ItemDefinition_cached.put(var1, (long)var0);
|
||||
return var1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user