rev187
This commit is contained in:
@@ -3,26 +3,40 @@ import net.runelite.mapping.Implements;
|
||||
import net.runelite.mapping.ObfuscatedGetter;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
import net.runelite.rs.ScriptOpcodes;
|
||||
import net.runelite.rs.Reflection;
|
||||
|
||||
@ObfuscatedName("j")
|
||||
@ObfuscatedName("q")
|
||||
@Implements("WorldMapDecoration")
|
||||
public class WorldMapDecoration {
|
||||
@ObfuscatedName("u")
|
||||
@ObfuscatedName("c")
|
||||
@Export("musicTrackBoolean")
|
||||
static boolean musicTrackBoolean;
|
||||
@ObfuscatedName("ei")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1750985939
|
||||
intValue = -2012639545
|
||||
)
|
||||
static int field195;
|
||||
@ObfuscatedName("lt")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1281740027
|
||||
)
|
||||
@Export("selectedSpellWidget")
|
||||
static int selectedSpellWidget;
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -213451189
|
||||
)
|
||||
@Export("objectDefinitionId")
|
||||
final int objectDefinitionId;
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1852317111
|
||||
intValue = 1408254649
|
||||
)
|
||||
@Export("decoration")
|
||||
final int decoration;
|
||||
@ObfuscatedName("b")
|
||||
@ObfuscatedName("y")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -999220947
|
||||
intValue = -1062701969
|
||||
)
|
||||
@Export("rotation")
|
||||
final int rotation;
|
||||
@@ -33,38 +47,68 @@ public class WorldMapDecoration {
|
||||
this.rotation = var3;
|
||||
}
|
||||
|
||||
@ObfuscatedName("q")
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(ILci;ZB)I",
|
||||
garbageValue = "-80"
|
||||
signature = "([BI)Lav;",
|
||||
garbageValue = "-2072507802"
|
||||
)
|
||||
static int method355(int var0, Script var1, boolean var2) {
|
||||
Widget var3 = Language.getWidget(Interpreter.Interpreter_intStack[--GrandExchangeOfferTotalQuantityComparator.Interpreter_intStackSize]);
|
||||
if (var0 == ScriptOpcodes.IF_GETTARGETMASK) {
|
||||
Interpreter.Interpreter_intStack[++GrandExchangeOfferTotalQuantityComparator.Interpreter_intStackSize - 1] = Client.method1655(MenuAction.getWidgetClickMask(var3));
|
||||
return 1;
|
||||
} else if (var0 != ScriptOpcodes.IF_GETOP) {
|
||||
if (var0 == ScriptOpcodes.IF_GETOPBASE) {
|
||||
if (var3.dataText == null) {
|
||||
Interpreter.Interpreter_stringStack[++class43.Interpreter_stringStackSize - 1] = "";
|
||||
} else {
|
||||
Interpreter.Interpreter_stringStack[++class43.Interpreter_stringStackSize - 1] = var3.dataText;
|
||||
}
|
||||
static WorldMapSprite method325(byte[] var0) {
|
||||
return var0 == null ? new WorldMapSprite() : new WorldMapSprite(GrandExchangeOfferTotalQuantityComparator.convertJpgToSprite(var0).pixels);
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else {
|
||||
return 2;
|
||||
}
|
||||
@ObfuscatedName("p")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Ljava/lang/String;B)Ljava/lang/Class;",
|
||||
garbageValue = "-53"
|
||||
)
|
||||
@Export("loadClassFromDescriptor")
|
||||
static Class loadClassFromDescriptor(String var0) throws ClassNotFoundException {
|
||||
if (var0.equals("B")) {
|
||||
return Byte.TYPE;
|
||||
} else if (var0.equals("I")) {
|
||||
return Integer.TYPE;
|
||||
} else if (var0.equals("S")) {
|
||||
return Short.TYPE;
|
||||
} else if (var0.equals("J")) {
|
||||
return Long.TYPE;
|
||||
} else if (var0.equals("Z")) {
|
||||
return Boolean.TYPE;
|
||||
} else if (var0.equals("F")) {
|
||||
return Float.TYPE;
|
||||
} else if (var0.equals("D")) {
|
||||
return Double.TYPE;
|
||||
} else if (var0.equals("C")) {
|
||||
return Character.TYPE;
|
||||
} else {
|
||||
int var4 = Interpreter.Interpreter_intStack[--GrandExchangeOfferTotalQuantityComparator.Interpreter_intStackSize];
|
||||
--var4;
|
||||
if (var3.actions != null && var4 < var3.actions.length && var3.actions[var4] != null) {
|
||||
Interpreter.Interpreter_stringStack[++class43.Interpreter_stringStackSize - 1] = var3.actions[var4];
|
||||
} else {
|
||||
Interpreter.Interpreter_stringStack[++class43.Interpreter_stringStackSize - 1] = "";
|
||||
}
|
||||
|
||||
return 1;
|
||||
return var0.equals("void") ? Void.TYPE : Reflection.findClass(var0);
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("a")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(I)Lli;",
|
||||
garbageValue = "1591816730"
|
||||
)
|
||||
static IndexedSprite method327() {
|
||||
IndexedSprite var0 = new IndexedSprite();
|
||||
var0.width = class325.SpriteBuffer_spriteWidth;
|
||||
var0.height = class325.SpriteBuffer_spriteHeight;
|
||||
var0.xOffset = class325.SpriteBuffer_xOffsets[0];
|
||||
var0.yOffset = class325.SpriteBuffer_yOffsets[0];
|
||||
var0.subWidth = UserComparator1.SpriteBuffer_spriteWidths[0];
|
||||
var0.subHeight = class325.SpriteBuffer_spriteHeights[0];
|
||||
var0.palette = class268.SpriteBuffer_spritePalette;
|
||||
var0.pixels = class290.SpriteBuffer_pixels[0];
|
||||
Message.method1223();
|
||||
return var0;
|
||||
}
|
||||
|
||||
@ObfuscatedName("jb")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(I)Z",
|
||||
garbageValue = "1037810196"
|
||||
)
|
||||
static boolean method326() {
|
||||
return Client.tapToDrop || KeyHandler.KeyHandler_pressedKeys[81];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user