chore: revision 189
This commit is contained in:
@@ -3,66 +3,70 @@ 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("cz")
|
||||
@ObfuscatedName("cj")
|
||||
@Implements("Players")
|
||||
public class Players {
|
||||
@ObfuscatedName("o")
|
||||
static byte[] field1236;
|
||||
@ObfuscatedName("e")
|
||||
static byte[] field1237;
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedSignature(
|
||||
signature = "[Lkp;"
|
||||
)
|
||||
static Buffer[] field1235;
|
||||
@ObfuscatedName("g")
|
||||
@ObfuscatedName("rh")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 896237733
|
||||
intValue = 1328419047
|
||||
)
|
||||
static int field1280;
|
||||
@ObfuscatedName("k")
|
||||
static byte[] field1267;
|
||||
@ObfuscatedName("d")
|
||||
static byte[] field1273;
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedSignature(
|
||||
signature = "[Lkb;"
|
||||
)
|
||||
static Buffer[] field1269;
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 2104068463
|
||||
)
|
||||
@Export("Players_count")
|
||||
static int Players_count;
|
||||
@ObfuscatedName("d")
|
||||
@ObfuscatedName("q")
|
||||
@Export("Players_indices")
|
||||
static int[] Players_indices;
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedName("z")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1595990081
|
||||
intValue = -1941416783
|
||||
)
|
||||
@Export("Players_emptyIdxCount")
|
||||
static int Players_emptyIdxCount;
|
||||
@ObfuscatedName("j")
|
||||
@ObfuscatedName("t")
|
||||
@Export("Players_emptyIndices")
|
||||
static int[] Players_emptyIndices;
|
||||
@ObfuscatedName("m")
|
||||
@ObfuscatedName("e")
|
||||
@Export("Players_regions")
|
||||
static int[] Players_regions;
|
||||
@ObfuscatedName("p")
|
||||
@ObfuscatedName("s")
|
||||
@Export("Players_orientations")
|
||||
static int[] Players_orientations;
|
||||
@ObfuscatedName("h")
|
||||
@ObfuscatedName("p")
|
||||
@Export("Players_targetIndices")
|
||||
static int[] Players_targetIndices;
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -564068269
|
||||
intValue = 1119363991
|
||||
)
|
||||
@Export("Players_pendingUpdateCount")
|
||||
static int Players_pendingUpdateCount;
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedName("u")
|
||||
@Export("Players_pendingUpdateIndices")
|
||||
static int[] Players_pendingUpdateIndices;
|
||||
@ObfuscatedName("x")
|
||||
@ObfuscatedName("h")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lkp;"
|
||||
signature = "Lkb;"
|
||||
)
|
||||
static Buffer field1248;
|
||||
static Buffer field1268;
|
||||
|
||||
static {
|
||||
field1236 = new byte[2048];
|
||||
field1237 = new byte[2048];
|
||||
field1235 = new Buffer[2048];
|
||||
field1267 = new byte[2048];
|
||||
field1273 = new byte[2048];
|
||||
field1269 = new Buffer[2048];
|
||||
Players_count = 0;
|
||||
Players_indices = new int[2048];
|
||||
Players_emptyIdxCount = 0;
|
||||
@@ -72,138 +76,15 @@ public class Players {
|
||||
Players_targetIndices = new int[2048];
|
||||
Players_pendingUpdateCount = 0;
|
||||
Players_pendingUpdateIndices = new int[2048];
|
||||
field1248 = new Buffer(new byte[5000]);
|
||||
field1268 = new Buffer(new byte[5000]);
|
||||
}
|
||||
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedName("x")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(B)V",
|
||||
garbageValue = "1"
|
||||
signature = "(Liy;I)V",
|
||||
garbageValue = "731875079"
|
||||
)
|
||||
static void method2179() {
|
||||
Tiles.field502 = null;
|
||||
Tiles.field514 = null;
|
||||
Tiles.field507 = null;
|
||||
Tiles.field518 = null;
|
||||
UrlRequest.field1940 = null;
|
||||
InterfaceParent.field565 = null;
|
||||
Tiles.field509 = null;
|
||||
class268.Tiles_hue = null;
|
||||
HorizontalAlignment.Tiles_saturation = null;
|
||||
class30.Tiles_lightness = null;
|
||||
class40.Tiles_hueMultiplier = null;
|
||||
TileItemPile.field1529 = null;
|
||||
}
|
||||
|
||||
@ObfuscatedName("d")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(ILce;ZB)I",
|
||||
garbageValue = "41"
|
||||
)
|
||||
static int method2203(int var0, Script var1, boolean var2) {
|
||||
Widget var3;
|
||||
if (var0 >= 2000) {
|
||||
var0 -= 1000;
|
||||
var3 = Varps.getWidget(Interpreter.Interpreter_intStack[--class320.Interpreter_intStackSize]);
|
||||
} else {
|
||||
var3 = var2 ? class186.field2331 : MidiPcmStream.field2444;
|
||||
}
|
||||
|
||||
NPCDefinition.invalidateWidget(var3);
|
||||
if (var0 != ScriptOpcodes.CC_SETOBJECT && var0 != ScriptOpcodes.CC_SETOBJECT_NONUM && var0 != ScriptOpcodes.CC_SETOBJECT_ALWAYS_NUM) {
|
||||
if (var0 == ScriptOpcodes.CC_SETNPCHEAD) {
|
||||
var3.modelType = 2;
|
||||
var3.modelId = Interpreter.Interpreter_intStack[--class320.Interpreter_intStackSize];
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CC_SETPLAYERHEAD_SELF) {
|
||||
var3.modelType = 3;
|
||||
var3.modelId = class192.localPlayer.appearance.getChatHeadId();
|
||||
return 1;
|
||||
} else {
|
||||
return 2;
|
||||
}
|
||||
} else {
|
||||
class320.Interpreter_intStackSize -= 2;
|
||||
int var4 = Interpreter.Interpreter_intStack[class320.Interpreter_intStackSize];
|
||||
int var5 = Interpreter.Interpreter_intStack[class320.Interpreter_intStackSize + 1];
|
||||
var3.itemId = var4;
|
||||
var3.itemQuantity = var5;
|
||||
ItemDefinition var6 = HealthBarDefinition.ItemDefinition_get(var4);
|
||||
var3.modelAngleX = var6.xan2d;
|
||||
var3.modelAngleY = var6.yan2d;
|
||||
var3.modelAngleZ = var6.zan2d;
|
||||
var3.modelOffsetX = var6.offsetX2d;
|
||||
var3.modelOffsetY = var6.offsetY2d;
|
||||
var3.modelZoom = var6.zoom2d;
|
||||
if (var0 == ScriptOpcodes.CC_SETOBJECT_NONUM) {
|
||||
var3.itemQuantityMode = 0;
|
||||
} else if (var0 == ScriptOpcodes.CC_SETOBJECT_ALWAYS_NUM | 1 == var6.isStackable) {
|
||||
var3.itemQuantityMode = 1;
|
||||
} else {
|
||||
var3.itemQuantityMode = 2;
|
||||
}
|
||||
|
||||
if (var3.field2627 > 0) {
|
||||
var3.modelZoom = var3.modelZoom * 32 / var3.field2627;
|
||||
} else if (var3.rawWidth > 0) {
|
||||
var3.modelZoom = var3.modelZoom * 32 / var3.rawWidth;
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("a")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(ILce;ZI)I",
|
||||
garbageValue = "-603173589"
|
||||
)
|
||||
static int method2200(int var0, Script var1, boolean var2) {
|
||||
Widget var3 = Varps.getWidget(Interpreter.Interpreter_intStack[--class320.Interpreter_intStackSize]);
|
||||
if (var0 == ScriptOpcodes.IF_GETTARGETMASK) {
|
||||
Interpreter.Interpreter_intStack[++class320.Interpreter_intStackSize - 1] = class83.method2108(WorldMapIcon_0.getWidgetClickMask(var3));
|
||||
return 1;
|
||||
} else if (var0 != ScriptOpcodes.IF_GETOP) {
|
||||
if (var0 == ScriptOpcodes.IF_GETOPBASE) {
|
||||
if (var3.dataText == null) {
|
||||
Interpreter.Interpreter_stringStack[++Message.Interpreter_stringStackSize - 1] = "";
|
||||
} else {
|
||||
Interpreter.Interpreter_stringStack[++Message.Interpreter_stringStackSize - 1] = var3.dataText;
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else {
|
||||
return 2;
|
||||
}
|
||||
} else {
|
||||
int var4 = Interpreter.Interpreter_intStack[--class320.Interpreter_intStackSize];
|
||||
--var4;
|
||||
if (var3.actions != null && var4 < var3.actions.length && var3.actions[var4] != null) {
|
||||
Interpreter.Interpreter_stringStack[++Message.Interpreter_stringStackSize - 1] = var3.actions[var4];
|
||||
} else {
|
||||
Interpreter.Interpreter_stringStack[++Message.Interpreter_stringStackSize - 1] = "";
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("jo")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(I)Z",
|
||||
garbageValue = "1574244944"
|
||||
)
|
||||
static boolean method2201() {
|
||||
return Client.tapToDrop || KeyHandler.KeyHandler_pressedKeys[81];
|
||||
}
|
||||
|
||||
@ObfuscatedName("kb")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(I)V",
|
||||
garbageValue = "-1351198777"
|
||||
)
|
||||
static final void method2189() {
|
||||
Client.field823 = Client.cycleCntr;
|
||||
FileSystem.ClanChat_inClanChat = true;
|
||||
public static void method2251(AbstractArchive var0) {
|
||||
VarcInt.VarcInt_archive = var0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user