project: rev 192
This commit is contained in:
@@ -1,69 +1,72 @@
|
||||
import java.io.IOException;
|
||||
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("hy")
|
||||
@ObfuscatedName("he")
|
||||
@Implements("Strings")
|
||||
public class Strings {
|
||||
@ObfuscatedName("bj")
|
||||
public static String field2988;
|
||||
@ObfuscatedName("cx")
|
||||
public static String field2936;
|
||||
@ObfuscatedName("bg")
|
||||
public static String field2839;
|
||||
@ObfuscatedName("cj")
|
||||
public static String field3046;
|
||||
@ObfuscatedName("jv")
|
||||
public static String field3067;
|
||||
@ObfuscatedName("ji")
|
||||
public static String field3015;
|
||||
@ObfuscatedName("jb")
|
||||
public static String field3069;
|
||||
public static String field3054;
|
||||
@ObfuscatedName("js")
|
||||
public static String field3055;
|
||||
@ObfuscatedName("ja")
|
||||
public static String field3056;
|
||||
|
||||
static {
|
||||
field2988 = "Please visit the support page for assistance."; // L: 60
|
||||
field2936 = "Please visit the support page for assistance."; // L: 99
|
||||
field3067 = ""; // L: 275
|
||||
field3015 = "Page has opened in a new window."; // L: 276
|
||||
field3069 = "(Please check your popup blocker.)"; // L: 277
|
||||
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("t")
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(B)V",
|
||||
garbageValue = "-21"
|
||||
descriptor = "(II)Ljava/lang/String;",
|
||||
garbageValue = "-1467551929"
|
||||
)
|
||||
static void method4202() {
|
||||
if (Login.clearLoginScreen) { // L: 226
|
||||
class296.titleboxSprite = null; // L: 227
|
||||
ModelData0.titlebuttonSprite = null; // L: 228
|
||||
GrandExchangeOfferTotalQuantityComparator.runesSprite = null; // L: 229
|
||||
UserComparator2.leftTitleSprite = null; // L: 230
|
||||
Login.rightTitleSprite = null; // L: 231
|
||||
AbstractByteArrayCopier.logoSprite = null; // L: 232
|
||||
ClientPreferences.title_muteSprite = null; // L: 233
|
||||
class227.options_buttons_0Sprite = null; // L: 234
|
||||
MusicPatchNode2.options_buttons_2Sprite = null; // L: 235
|
||||
MidiPcmStream.worldSelectBackSprites = null; // L: 236
|
||||
AbstractWorldMapIcon.worldSelectFlagSprites = null; // L: 237
|
||||
MusicPatchNode.worldSelectArrows = null; // L: 238
|
||||
Login.worldSelectStars = null; // L: 239
|
||||
class7.field36 = null; // L: 240
|
||||
Varcs.loginScreenRunesAnimation.method1904(); // L: 241
|
||||
class58.method915(2); // L: 242
|
||||
if (NetCache.NetCache_socket != null) { // L: 244
|
||||
try {
|
||||
Buffer var0 = new Buffer(4); // L: 246
|
||||
var0.writeByte(2); // L: 247
|
||||
var0.writeMedium(0); // L: 248
|
||||
NetCache.NetCache_socket.write(var0.array, 0, 4); // L: 249
|
||||
} catch (IOException var3) {
|
||||
try {
|
||||
NetCache.NetCache_socket.close(); // L: 253
|
||||
} catch (Exception var2) { // L: 255
|
||||
}
|
||||
|
||||
++NetCache.NetCache_ioExceptions; // L: 256
|
||||
NetCache.NetCache_socket = null; // L: 257
|
||||
}
|
||||
}
|
||||
|
||||
Login.clearLoginScreen = false; // L: 260
|
||||
@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
|
||||
}
|
||||
} // L: 261
|
||||
}
|
||||
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(ILco;ZB)I",
|
||||
garbageValue = "58"
|
||||
)
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user