chore: rev 188
This commit is contained in:
@@ -2,18 +2,17 @@ import net.runelite.mapping.Export;
|
||||
import net.runelite.mapping.Implements;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
import net.runelite.rs.ScriptOpcodes;
|
||||
|
||||
@ObfuscatedName("ey")
|
||||
@ObfuscatedName("fs")
|
||||
@Implements("UserComparator6")
|
||||
public class UserComparator6 extends AbstractUserComparator {
|
||||
@ObfuscatedName("qy")
|
||||
@ObfuscatedName("bl")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lcw;"
|
||||
signature = "[Llt;"
|
||||
)
|
||||
@Export("pcmPlayer0")
|
||||
static PcmPlayer pcmPlayer0;
|
||||
@ObfuscatedName("f")
|
||||
@Export("worldSelectBackSprites")
|
||||
static Sprite[] worldSelectBackSprites;
|
||||
@ObfuscatedName("c")
|
||||
@Export("reversed")
|
||||
final boolean reversed;
|
||||
|
||||
@@ -21,10 +20,10 @@ public class UserComparator6 extends AbstractUserComparator {
|
||||
this.reversed = var1;
|
||||
}
|
||||
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Ljt;Ljt;I)I",
|
||||
garbageValue = "-226396145"
|
||||
signature = "(Lje;Lje;B)I",
|
||||
garbageValue = "-119"
|
||||
)
|
||||
@Export("compareBuddy")
|
||||
int compareBuddy(Buddy var1, Buddy var2) {
|
||||
@@ -38,59 +37,4 @@ public class UserComparator6 extends AbstractUserComparator {
|
||||
public int compare(Object var1, Object var2) {
|
||||
return this.compareBuddy((Buddy)var1, (Buddy)var2);
|
||||
}
|
||||
|
||||
@ObfuscatedName("t")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(CII)Ljava/lang/String;",
|
||||
garbageValue = "953231357"
|
||||
)
|
||||
public static String method3370(char var0, int var1) {
|
||||
char[] var2 = new char[var1];
|
||||
|
||||
for (int var3 = 0; var3 < var1; ++var3) {
|
||||
var2[var3] = var0;
|
||||
}
|
||||
|
||||
return new String(var2);
|
||||
}
|
||||
|
||||
@ObfuscatedName("az")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(ILcu;ZI)I",
|
||||
garbageValue = "1830751012"
|
||||
)
|
||||
static int method3369(int var0, Script var1, boolean var2) {
|
||||
if (var0 == ScriptOpcodes.GETWINDOWMODE) {
|
||||
Interpreter.Interpreter_intStack[++class188.Interpreter_intStackSize - 1] = ItemDefinition.getWindowedMode();
|
||||
return 1;
|
||||
} else {
|
||||
int var3;
|
||||
if (var0 == ScriptOpcodes.SETWINDOWMODE) {
|
||||
var3 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize];
|
||||
if (var3 == 1 || var3 == 2) {
|
||||
class60.setWindowedMode(var3);
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.GETDEFAULTWINDOWMODE) {
|
||||
Interpreter.Interpreter_intStack[++class188.Interpreter_intStackSize - 1] = Interpreter.clientPreferences.windowMode;
|
||||
return 1;
|
||||
} else if (var0 != ScriptOpcodes.SETDEFAULTWINDOWMODE) {
|
||||
if (var0 == 5310) {
|
||||
--class188.Interpreter_intStackSize;
|
||||
return 1;
|
||||
} else {
|
||||
return 2;
|
||||
}
|
||||
} else {
|
||||
var3 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize];
|
||||
if (var3 == 1 || var3 == 2) {
|
||||
Interpreter.clientPreferences.windowMode = var3;
|
||||
FriendSystem.savePreferences();
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user