rev187
This commit is contained in:
@@ -3,31 +3,32 @@ 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;
|
||||
|
||||
@ObfuscatedName("ib")
|
||||
@ObfuscatedName("im")
|
||||
@Implements("VarpDefinition")
|
||||
public class VarpDefinition extends DualNode {
|
||||
@ObfuscatedName("u")
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lhf;"
|
||||
signature = "Lhz;"
|
||||
)
|
||||
@Export("VarpDefinition_archive")
|
||||
public static AbstractArchive VarpDefinition_archive;
|
||||
@ObfuscatedName("f")
|
||||
static AbstractArchive VarpDefinition_archive;
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1363987461
|
||||
intValue = 187888889
|
||||
)
|
||||
@Export("VarpDefinition_fileCount")
|
||||
public static int VarpDefinition_fileCount;
|
||||
@ObfuscatedName("b")
|
||||
@ObfuscatedName("y")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lef;"
|
||||
signature = "Leb;"
|
||||
)
|
||||
@Export("VarpDefinition_cached")
|
||||
static EvictingDualNodeHashTable VarpDefinition_cached;
|
||||
@ObfuscatedName("g")
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 2147120887
|
||||
intValue = 2035437867
|
||||
)
|
||||
@Export("type")
|
||||
public int type;
|
||||
@@ -40,10 +41,10 @@ public class VarpDefinition extends DualNode {
|
||||
this.type = 0;
|
||||
}
|
||||
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedName("y")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Lkg;I)V",
|
||||
garbageValue = "1343549927"
|
||||
signature = "(Lkq;B)V",
|
||||
garbageValue = "99"
|
||||
)
|
||||
@Export("decode")
|
||||
void decode(Buffer var1) {
|
||||
@@ -57,10 +58,10 @@ public class VarpDefinition extends DualNode {
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("b")
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Lkg;II)V",
|
||||
garbageValue = "1561569314"
|
||||
signature = "(Lkq;II)V",
|
||||
garbageValue = "1805954693"
|
||||
)
|
||||
@Export("decodeNext")
|
||||
void decodeNext(Buffer var1, int var2) {
|
||||
@@ -69,4 +70,75 @@ public class VarpDefinition extends DualNode {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ObfuscatedName("ay")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(ILcu;ZI)I",
|
||||
garbageValue = "1208148197"
|
||||
)
|
||||
static int method4347(int var0, Script var1, boolean var2) {
|
||||
int var3;
|
||||
if (var0 == ScriptOpcodes.CAM_FORCEANGLE) {
|
||||
class188.Interpreter_intStackSize -= 2;
|
||||
var3 = Interpreter.Interpreter_intStack[class188.Interpreter_intStackSize];
|
||||
int var4 = Interpreter.Interpreter_intStack[class188.Interpreter_intStackSize + 1];
|
||||
if (!Client.isCameraLocked) {
|
||||
Client.camAngleX = var3;
|
||||
Client.camAngleY = var4;
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CAM_GETANGLE_XA) {
|
||||
Interpreter.Interpreter_intStack[++class188.Interpreter_intStackSize - 1] = Client.camAngleX;
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CAM_GETANGLE_YA) {
|
||||
Interpreter.Interpreter_intStack[++class188.Interpreter_intStackSize - 1] = Client.camAngleY;
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CAM_SETFOLLOWHEIGHT) {
|
||||
var3 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize];
|
||||
if (var3 < 0) {
|
||||
var3 = 0;
|
||||
}
|
||||
|
||||
Client.camFollowHeight = var3;
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CAM_GETFOLLOWHEIGHT) {
|
||||
Interpreter.Interpreter_intStack[++class188.Interpreter_intStackSize - 1] = Client.camFollowHeight;
|
||||
return 1;
|
||||
} else {
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("ko")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Lbz;ZS)V",
|
||||
garbageValue = "-3532"
|
||||
)
|
||||
@Export("closeInterface")
|
||||
static final void closeInterface(InterfaceParent var0, boolean var1) {
|
||||
int var2 = var0.group;
|
||||
int var3 = (int)var0.key;
|
||||
var0.remove();
|
||||
if (var1) {
|
||||
ItemDefinition.method4715(var2);
|
||||
}
|
||||
|
||||
for (IntegerNode var4 = (IntegerNode)Client.widgetClickMasks.first(); var4 != null; var4 = (IntegerNode)Client.widgetClickMasks.next()) {
|
||||
if ((long)var2 == (var4.key >> 48 & 65535L)) {
|
||||
var4.remove();
|
||||
}
|
||||
}
|
||||
|
||||
Widget var5 = Tile.getWidget(var3);
|
||||
if (var5 != null) {
|
||||
LoginPacket.invalidateWidget(var5);
|
||||
}
|
||||
|
||||
Strings.method4096();
|
||||
if (Client.rootInterface != -1) {
|
||||
ItemContainer.runIntfCloseListeners(Client.rootInterface, 1);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user