project: rev 199
This commit is contained in:
@@ -3,36 +3,25 @@ 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("lr")
|
||||
@ObfuscatedName("mm")
|
||||
@Implements("Buddy")
|
||||
public class Buddy extends User {
|
||||
@ObfuscatedName("e")
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -762727507
|
||||
)
|
||||
static int field3863;
|
||||
@ObfuscatedName("ew")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1158141189
|
||||
)
|
||||
static int field3869;
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1892581067
|
||||
intValue = 382223653
|
||||
)
|
||||
@Export("world")
|
||||
public int world;
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedName("g")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -2065584103
|
||||
intValue = 1852682519
|
||||
)
|
||||
@Export("int2")
|
||||
public int int2;
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedName("z")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1763927129
|
||||
intValue = -775599793
|
||||
)
|
||||
@Export("rank")
|
||||
public int rank;
|
||||
@@ -41,10 +30,10 @@ public class Buddy extends User {
|
||||
this.world = -1;
|
||||
}
|
||||
|
||||
@ObfuscatedName("az")
|
||||
@ObfuscatedName("bd")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(III)V",
|
||||
garbageValue = "-1547943293"
|
||||
garbageValue = "-892218760"
|
||||
)
|
||||
@Export("set")
|
||||
void set(int var1, int var2) {
|
||||
@@ -52,61 +41,23 @@ public class Buddy extends User {
|
||||
this.int2 = var2;
|
||||
}
|
||||
|
||||
@ObfuscatedName("ak")
|
||||
@ObfuscatedName("bt")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)I",
|
||||
garbageValue = "-270823036"
|
||||
garbageValue = "1235616558"
|
||||
)
|
||||
@Export("getWorld")
|
||||
public int getWorld() {
|
||||
return this.world;
|
||||
}
|
||||
|
||||
@ObfuscatedName("aj")
|
||||
@ObfuscatedName("bf")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)Z",
|
||||
garbageValue = "-2044352564"
|
||||
garbageValue = "-478268789"
|
||||
)
|
||||
@Export("hasWorld")
|
||||
public boolean hasWorld() {
|
||||
return this.world > 0;
|
||||
}
|
||||
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(ILbd;ZB)I",
|
||||
garbageValue = "-1"
|
||||
)
|
||||
static int method5914(int var0, Script var1, boolean var2) {
|
||||
Widget var5;
|
||||
if (var0 == ScriptOpcodes.IF_GETINVOBJECT) {
|
||||
var5 = UrlRequester.getWidget(Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]);
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var5.itemId;
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.IF_GETINVCOUNT) {
|
||||
var5 = UrlRequester.getWidget(Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]);
|
||||
if (var5.itemId != -1) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var5.itemQuantity;
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = 0;
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.IF_HASSUB) {
|
||||
int var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
|
||||
InterfaceParent var4 = (InterfaceParent)Client.interfaceParents.get((long)var3);
|
||||
if (var4 != null) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = 1;
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = 0;
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.IF_GETTOP) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = Client.rootInterface;
|
||||
return 1;
|
||||
} else {
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user