chore: rev 193
This commit is contained in:
@@ -1,72 +1,49 @@
|
||||
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("he")
|
||||
@ObfuscatedName("hw")
|
||||
@Implements("Strings")
|
||||
public class Strings {
|
||||
@ObfuscatedName("bg")
|
||||
public static String field2839;
|
||||
@ObfuscatedName("cj")
|
||||
public static String field3046;
|
||||
@ObfuscatedName("jv")
|
||||
@ObfuscatedName("br")
|
||||
public static String field3011;
|
||||
@ObfuscatedName("cp")
|
||||
public static String field2877;
|
||||
@ObfuscatedName("ji")
|
||||
public static String field3053;
|
||||
@ObfuscatedName("jn")
|
||||
public static String field3054;
|
||||
@ObfuscatedName("js")
|
||||
@ObfuscatedName("jp")
|
||||
public static String field3055;
|
||||
@ObfuscatedName("ja")
|
||||
public static String field3056;
|
||||
|
||||
static {
|
||||
field2839 = "Please visit the support page for assistance."; // L: 60
|
||||
field3046 = "Please visit the support page for assistance."; // L: 99
|
||||
field3054 = ""; // L: 275
|
||||
field3055 = "Page has opened in a new window."; // L: 276
|
||||
field3056 = "(Please check your popup blocker.)"; // L: 277
|
||||
} // L: 307
|
||||
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(II)Ljava/lang/String;",
|
||||
garbageValue = "-1467551929"
|
||||
)
|
||||
@Export("inventoryQuantityFormat")
|
||||
static final String inventoryQuantityFormat(int var0) {
|
||||
if (var0 < 100000) { // L: 413
|
||||
return "<col=ffff00>" + var0 + "</col>";
|
||||
} else {
|
||||
return var0 < 10000000 ? "<col=ffffff>" + var0 / 1000 + "K" + "</col>" : "<col=00ff80>" + var0 / 1000000 + "M" + "</col>"; // L: 414 415
|
||||
}
|
||||
field3011 = "Please visit the support page for assistance.";
|
||||
field2877 = "Please visit the support page for assistance.";
|
||||
field3053 = "";
|
||||
field3054 = "Page has opened in a new window.";
|
||||
field3055 = "(Please check your popup blocker.)";
|
||||
}
|
||||
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedName("x")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(ILco;ZB)I",
|
||||
garbageValue = "58"
|
||||
descriptor = "(ZZI)Llo;",
|
||||
garbageValue = "1809126106"
|
||||
)
|
||||
static int method4259(int var0, Script var1, boolean var2) {
|
||||
Widget var3 = UserComparator4.getWidget(Interpreter.Interpreter_intStack[--MilliClock.Interpreter_intStackSize]); // L: 1165
|
||||
if (var0 == ScriptOpcodes.IF_GETX) { // L: 1166
|
||||
Interpreter.Interpreter_intStack[++MilliClock.Interpreter_intStackSize - 1] = var3.x; // L: 1167
|
||||
return 1; // L: 1168
|
||||
} else if (var0 == ScriptOpcodes.IF_GETY) { // L: 1170
|
||||
Interpreter.Interpreter_intStack[++MilliClock.Interpreter_intStackSize - 1] = var3.y; // L: 1171
|
||||
return 1; // L: 1172
|
||||
} else if (var0 == ScriptOpcodes.IF_GETWIDTH) { // L: 1174
|
||||
Interpreter.Interpreter_intStack[++MilliClock.Interpreter_intStackSize - 1] = var3.width; // L: 1175
|
||||
return 1; // L: 1176
|
||||
} else if (var0 == ScriptOpcodes.IF_GETHEIGHT) { // L: 1178
|
||||
Interpreter.Interpreter_intStack[++MilliClock.Interpreter_intStackSize - 1] = var3.height; // L: 1179
|
||||
return 1; // L: 1180
|
||||
} else if (var0 == ScriptOpcodes.IF_GETHIDE) { // L: 1182
|
||||
Interpreter.Interpreter_intStack[++MilliClock.Interpreter_intStackSize - 1] = var3.isHidden ? 1 : 0; // L: 1183
|
||||
return 1; // L: 1184
|
||||
} else if (var0 == ScriptOpcodes.IF_GETLAYER) { // L: 1186
|
||||
Interpreter.Interpreter_intStack[++MilliClock.Interpreter_intStackSize - 1] = var3.parentId; // L: 1187
|
||||
return 1; // L: 1188
|
||||
} else {
|
||||
return 2; // L: 1190
|
||||
static IndexedSprite method4158(boolean var0, boolean var1) {
|
||||
return var0 ? (var1 ? class204.field2408 : ItemContainer.options_buttons_2Sprite) : (var1 ? AccessFile.field4101 : DirectByteArrayCopier.options_buttons_0Sprite);
|
||||
}
|
||||
|
||||
@ObfuscatedName("ig")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(IIIII)V",
|
||||
garbageValue = "-851150981"
|
||||
)
|
||||
static final void method4157(int var0, int var1, int var2, int var3) {
|
||||
for (int var4 = 0; var4 < Client.rootWidgetCount; ++var4) {
|
||||
if (Client.rootWidgetXs[var4] + Client.rootWidgetWidths[var4] > var0 && Client.rootWidgetXs[var4] < var0 + var2 && Client.rootWidgetYs[var4] + Client.rootWidgetHeights[var4] > var1 && Client.rootWidgetYs[var4] < var3 + var1) {
|
||||
Client.field854[var4] = true;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user