88 lines
3.4 KiB
Java
88 lines
3.4 KiB
Java
import javax.imageio.ImageIO;
|
|
import net.runelite.mapping.Export;
|
|
import net.runelite.mapping.ObfuscatedGetter;
|
|
import net.runelite.mapping.ObfuscatedName;
|
|
import net.runelite.mapping.ObfuscatedSignature;
|
|
import net.runelite.rs.ScriptOpcodes;
|
|
|
|
@ObfuscatedName("ac")
|
|
public class class49 {
|
|
@ObfuscatedName("rv")
|
|
@ObfuscatedGetter(
|
|
intValue = 1570979840
|
|
)
|
|
static int field401;
|
|
@ObfuscatedName("r")
|
|
@ObfuscatedGetter(
|
|
intValue = -331085425
|
|
)
|
|
@Export("clientTickTimeIdx")
|
|
static int clientTickTimeIdx;
|
|
@ObfuscatedName("ev")
|
|
@ObfuscatedGetter(
|
|
intValue = -2015230611
|
|
)
|
|
static int field399;
|
|
|
|
static {
|
|
ImageIO.setUseCache(false);
|
|
}
|
|
|
|
@ObfuscatedName("s")
|
|
@ObfuscatedSignature(
|
|
signature = "(ILcj;ZI)I",
|
|
garbageValue = "-17701588"
|
|
)
|
|
static int method938(int var0, Script var1, boolean var2) {
|
|
Widget var3 = PacketBufferNode.getWidget(Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]);
|
|
if (var0 == ScriptOpcodes.IF_GETSCROLLX) {
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var3.scrollX;
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.IF_GETSCROLLY) {
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var3.scrollY;
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.IF_GETTEXT) {
|
|
Interpreter.Interpreter_stringStack[++WorldMapDecoration.Interpreter_stringStackSize - 1] = var3.text;
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.IF_GETSCROLLWIDTH) {
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var3.scrollWidth;
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.IF_GETSCROLLHEIGHT) {
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var3.scrollHeight;
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.IF_GETMODELZOOM) {
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var3.modelZoom;
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.IF_GETMODELANGLE_X) {
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var3.modelAngleX;
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.IF_GETMODELANGLE_Z) {
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var3.modelAngleZ;
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.IF_GETMODELANGLE_Y) {
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var3.modelAngleY;
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.IF_GETTRANSTOP) {
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var3.transparencyTop;
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.IF_GETTRANSBOT) {
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var3.transparencyBot;
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.IF_GETCOLOUR) {
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var3.color;
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.IF_GETFILLCOLOUR) {
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var3.color2;
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.IF_GETFILLMODE) {
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var3.fillMode.rsOrdinal();
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.IF_GETMODELTRANSPARENT) {
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var3.modelTransparency ? 1 : 0;
|
|
return 1;
|
|
} else {
|
|
return 2;
|
|
}
|
|
}
|
|
}
|