chore: rev 188
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import java.io.IOException;
|
||||
import net.runelite.mapping.Export;
|
||||
import net.runelite.mapping.Implements;
|
||||
import net.runelite.mapping.ObfuscatedGetter;
|
||||
@@ -6,440 +5,156 @@ import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
import net.runelite.rs.ScriptOpcodes;
|
||||
|
||||
@ObfuscatedName("cq")
|
||||
@ObfuscatedName("ck")
|
||||
@Implements("MenuAction")
|
||||
public class MenuAction {
|
||||
@ObfuscatedName("c")
|
||||
@Export("Tiles_saturation")
|
||||
static int[] Tiles_saturation;
|
||||
@ObfuscatedName("ap")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1017693045
|
||||
)
|
||||
static int field1133;
|
||||
@ObfuscatedName("fv")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lfu;"
|
||||
)
|
||||
@Export("socketTask")
|
||||
static Task socketTask;
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1602431119
|
||||
intValue = -171831145
|
||||
)
|
||||
@Export("param0")
|
||||
int param0;
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedName("t")
|
||||
@Export("action")
|
||||
String action;
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 2095911709
|
||||
intValue = -923254575
|
||||
)
|
||||
@Export("param1")
|
||||
int param1;
|
||||
@ObfuscatedName("y")
|
||||
@ObfuscatedName("e")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1872419161
|
||||
intValue = -1388301791
|
||||
)
|
||||
@Export("opcode")
|
||||
int opcode;
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -445186717
|
||||
intValue = 455082071
|
||||
)
|
||||
@Export("identifier")
|
||||
int identifier;
|
||||
@ObfuscatedName("p")
|
||||
@Export("action")
|
||||
String action;
|
||||
|
||||
MenuAction() {
|
||||
}
|
||||
|
||||
@ObfuscatedName("p")
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(I)[B",
|
||||
garbageValue = "-369177149"
|
||||
signature = "(Lks;I)V",
|
||||
garbageValue = "-1231997766"
|
||||
)
|
||||
public static byte[] method2068() {
|
||||
byte[] var0 = new byte[24];
|
||||
@Export("updatePlayer")
|
||||
static final void updatePlayer(PacketBuffer var0) {
|
||||
var0.importIndex();
|
||||
int var1 = Client.localPlayerIndex;
|
||||
Player var2 = class192.localPlayer = Client.players[var1] = new Player();
|
||||
var2.index = var1;
|
||||
int var3 = var0.readBits(30);
|
||||
byte var4 = (byte)(var3 >> 28);
|
||||
int var5 = var3 >> 14 & 16383;
|
||||
int var6 = var3 & 16383;
|
||||
var2.pathX[0] = var5 - Messages.baseX * 64;
|
||||
var2.x = (var2.pathX[0] << 7) + (var2.transformedSize() << 6);
|
||||
var2.pathY[0] = var6 - Language.baseY * 64;
|
||||
var2.y = (var2.pathY[0] << 7) + (var2.transformedSize() << 6);
|
||||
Clock.Client_plane = var2.plane = var4;
|
||||
if (Players.field1235[var1] != null) {
|
||||
var2.read(Players.field1235[var1]);
|
||||
}
|
||||
|
||||
try {
|
||||
JagexCache.JagexCache_randomDat.seek(0L);
|
||||
JagexCache.JagexCache_randomDat.readFully(var0);
|
||||
Players.Players_count = 0;
|
||||
Players.Players_indices[++Players.Players_count - 1] = var1;
|
||||
Players.field1236[var1] = 0;
|
||||
Players.Players_emptyIdxCount = 0;
|
||||
|
||||
int var1;
|
||||
for (var1 = 0; var1 < 24 && var0[var1] == 0; ++var1) {
|
||||
}
|
||||
|
||||
if (var1 >= 24) {
|
||||
throw new IOException();
|
||||
}
|
||||
} catch (Exception var4) {
|
||||
for (int var2 = 0; var2 < 24; ++var2) {
|
||||
var0[var2] = -1;
|
||||
for (int var7 = 1; var7 < 2048; ++var7) {
|
||||
if (var1 != var7) {
|
||||
int var8 = var0.readBits(18);
|
||||
int var9 = var8 >> 16;
|
||||
int var10 = var8 >> 8 & 597;
|
||||
int var11 = var8 & 597;
|
||||
Players.Players_regions[var7] = (var10 << 14) + var11 + (var9 << 28);
|
||||
Players.Players_orientations[var7] = 0;
|
||||
Players.Players_targetIndices[var7] = -1;
|
||||
Players.Players_emptyIndices[++Players.Players_emptyIdxCount - 1] = var7;
|
||||
Players.field1236[var7] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
return var0;
|
||||
var0.exportIndex();
|
||||
}
|
||||
|
||||
@ObfuscatedName("au")
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(ILcu;ZI)I",
|
||||
garbageValue = "-1293771000"
|
||||
signature = "(ILce;ZI)I",
|
||||
garbageValue = "1513709763"
|
||||
)
|
||||
static int method2069(int var0, Script var1, boolean var2) {
|
||||
if (var0 == ScriptOpcodes.FRIEND_COUNT) {
|
||||
if (Message.friendSystem.field1045 == 0) {
|
||||
Interpreter.Interpreter_intStack[++class188.Interpreter_intStackSize - 1] = -2;
|
||||
} else if (Message.friendSystem.field1045 == 1) {
|
||||
Interpreter.Interpreter_intStack[++class188.Interpreter_intStackSize - 1] = -1;
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++class188.Interpreter_intStackSize - 1] = Message.friendSystem.friendsList.getSize();
|
||||
static int method2106(int var0, Script var1, boolean var2) {
|
||||
int var3 = -1;
|
||||
Widget var4;
|
||||
if (var0 >= 2000) {
|
||||
var0 -= 1000;
|
||||
var3 = Interpreter.Interpreter_intStack[--class320.Interpreter_intStackSize];
|
||||
var4 = Varps.getWidget(var3);
|
||||
} else {
|
||||
var4 = var2 ? class186.field2331 : MidiPcmStream.field2444;
|
||||
}
|
||||
|
||||
if (var0 == ScriptOpcodes.CC_SETPOSITION) {
|
||||
class320.Interpreter_intStackSize -= 4;
|
||||
var4.rawX = Interpreter.Interpreter_intStack[class320.Interpreter_intStackSize];
|
||||
var4.rawY = Interpreter.Interpreter_intStack[class320.Interpreter_intStackSize + 1];
|
||||
var4.xAlignment = Interpreter.Interpreter_intStack[class320.Interpreter_intStackSize + 2];
|
||||
var4.yAlignment = Interpreter.Interpreter_intStack[class320.Interpreter_intStackSize + 3];
|
||||
NPCDefinition.invalidateWidget(var4);
|
||||
Username.client.alignWidget(var4);
|
||||
if (var3 != -1 && var4.type == 0) {
|
||||
WorldMapIcon_1.revalidateWidgetScroll(WorldMapLabel.Widget_interfaceComponents[var3 >> 16], var4, false);
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else {
|
||||
int var3;
|
||||
if (var0 == ScriptOpcodes.FRIEND_GETNAME) {
|
||||
var3 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize];
|
||||
if (Message.friendSystem.method1844() && var3 >= 0 && var3 < Message.friendSystem.friendsList.getSize()) {
|
||||
Friend var8 = (Friend)Message.friendSystem.friendsList.get(var3);
|
||||
Interpreter.Interpreter_stringStack[++class65.Interpreter_stringStackSize - 1] = var8.getName();
|
||||
Interpreter.Interpreter_stringStack[++class65.Interpreter_stringStackSize - 1] = var8.getPreviousName();
|
||||
} else {
|
||||
Interpreter.Interpreter_stringStack[++class65.Interpreter_stringStackSize - 1] = "";
|
||||
Interpreter.Interpreter_stringStack[++class65.Interpreter_stringStackSize - 1] = "";
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.FRIEND_GETWORLD) {
|
||||
var3 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize];
|
||||
if (Message.friendSystem.method1844() && var3 >= 0 && var3 < Message.friendSystem.friendsList.getSize()) {
|
||||
Interpreter.Interpreter_intStack[++class188.Interpreter_intStackSize - 1] = ((Buddy)Message.friendSystem.friendsList.get(var3)).world;
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++class188.Interpreter_intStackSize - 1] = 0;
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.FRIEND_GETRANK) {
|
||||
var3 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize];
|
||||
if (Message.friendSystem.method1844() && var3 >= 0 && var3 < Message.friendSystem.friendsList.getSize()) {
|
||||
Interpreter.Interpreter_intStack[++class188.Interpreter_intStackSize - 1] = ((Buddy)Message.friendSystem.friendsList.get(var3)).rank;
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++class188.Interpreter_intStackSize - 1] = 0;
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else {
|
||||
String var5;
|
||||
if (var0 == ScriptOpcodes.FRIEND_SETRANK) {
|
||||
var5 = Interpreter.Interpreter_stringStack[--class65.Interpreter_stringStackSize];
|
||||
int var6 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize];
|
||||
BoundaryObject.method3274(var5, var6);
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.FRIEND_ADD) {
|
||||
var5 = Interpreter.Interpreter_stringStack[--class65.Interpreter_stringStackSize];
|
||||
Message.friendSystem.addFriend(var5);
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.FRIEND_DEL) {
|
||||
var5 = Interpreter.Interpreter_stringStack[--class65.Interpreter_stringStackSize];
|
||||
Message.friendSystem.removeFriend(var5);
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.IGNORE_ADD) {
|
||||
var5 = Interpreter.Interpreter_stringStack[--class65.Interpreter_stringStackSize];
|
||||
Message.friendSystem.addIgnore(var5);
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.IGNORE_DEL) {
|
||||
var5 = Interpreter.Interpreter_stringStack[--class65.Interpreter_stringStackSize];
|
||||
Message.friendSystem.removeIgnore(var5);
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.FRIEND_TEST) {
|
||||
var5 = Interpreter.Interpreter_stringStack[--class65.Interpreter_stringStackSize];
|
||||
var5 = WorldMapManager.method662(var5);
|
||||
Interpreter.Interpreter_intStack[++class188.Interpreter_intStackSize - 1] = Message.friendSystem.isFriended(new Username(var5, class188.loginType), false) ? 1 : 0;
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CLAN_GETCHATDISPLAYNAME) {
|
||||
if (Calendar.clanChat != null) {
|
||||
Interpreter.Interpreter_stringStack[++class65.Interpreter_stringStackSize - 1] = Calendar.clanChat.name;
|
||||
} else {
|
||||
Interpreter.Interpreter_stringStack[++class65.Interpreter_stringStackSize - 1] = "";
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CLAN_GETCHATCOUNT) {
|
||||
if (Calendar.clanChat != null) {
|
||||
Interpreter.Interpreter_intStack[++class188.Interpreter_intStackSize - 1] = Calendar.clanChat.getSize();
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++class188.Interpreter_intStackSize - 1] = 0;
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CLAN_GETCHATUSERNAME) {
|
||||
var3 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize];
|
||||
if (Calendar.clanChat != null && var3 < Calendar.clanChat.getSize()) {
|
||||
Interpreter.Interpreter_stringStack[++class65.Interpreter_stringStackSize - 1] = Calendar.clanChat.get(var3).getUsername().getName();
|
||||
} else {
|
||||
Interpreter.Interpreter_stringStack[++class65.Interpreter_stringStackSize - 1] = "";
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CLAN_GETCHATUSERWORLD) {
|
||||
var3 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize];
|
||||
if (Calendar.clanChat != null && var3 < Calendar.clanChat.getSize()) {
|
||||
Interpreter.Interpreter_intStack[++class188.Interpreter_intStackSize - 1] = ((Buddy)Calendar.clanChat.get(var3)).getWorld();
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++class188.Interpreter_intStackSize - 1] = 0;
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CLAN_GETCHATUSERRANK) {
|
||||
var3 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize];
|
||||
if (Calendar.clanChat != null && var3 < Calendar.clanChat.getSize()) {
|
||||
Interpreter.Interpreter_intStack[++class188.Interpreter_intStackSize - 1] = ((Buddy)Calendar.clanChat.get(var3)).rank;
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++class188.Interpreter_intStackSize - 1] = 0;
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CLAN_GETCHATMINKICK) {
|
||||
Interpreter.Interpreter_intStack[++class188.Interpreter_intStackSize - 1] = Calendar.clanChat != null ? Calendar.clanChat.minKick : 0;
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CLAN_KICKUSER) {
|
||||
var5 = Interpreter.Interpreter_stringStack[--class65.Interpreter_stringStackSize];
|
||||
WorldMapIcon_1.clanKickUser(var5);
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CLAN_GETCHATRANK) {
|
||||
Interpreter.Interpreter_intStack[++class188.Interpreter_intStackSize - 1] = Calendar.clanChat != null ? Calendar.clanChat.rank : 0;
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CLAN_JOINCHAT) {
|
||||
var5 = Interpreter.Interpreter_stringStack[--class65.Interpreter_stringStackSize];
|
||||
WorldMapSection2.Clan_joinChat(var5);
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CLAN_LEAVECHAT) {
|
||||
class3.Clan_leaveChat();
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.IGNORE_COUNT) {
|
||||
if (!Message.friendSystem.method1844()) {
|
||||
Interpreter.Interpreter_intStack[++class188.Interpreter_intStackSize - 1] = -1;
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++class188.Interpreter_intStackSize - 1] = Message.friendSystem.ignoreList.getSize();
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.IGNORE_GETNAME) {
|
||||
var3 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize];
|
||||
if (Message.friendSystem.method1844() && var3 >= 0 && var3 < Message.friendSystem.ignoreList.getSize()) {
|
||||
Ignored var4 = (Ignored)Message.friendSystem.ignoreList.get(var3);
|
||||
Interpreter.Interpreter_stringStack[++class65.Interpreter_stringStackSize - 1] = var4.getName();
|
||||
Interpreter.Interpreter_stringStack[++class65.Interpreter_stringStackSize - 1] = var4.getPreviousName();
|
||||
} else {
|
||||
Interpreter.Interpreter_stringStack[++class65.Interpreter_stringStackSize - 1] = "";
|
||||
Interpreter.Interpreter_stringStack[++class65.Interpreter_stringStackSize - 1] = "";
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.IGNORE_TEST) {
|
||||
var5 = Interpreter.Interpreter_stringStack[--class65.Interpreter_stringStackSize];
|
||||
var5 = WorldMapManager.method662(var5);
|
||||
Interpreter.Interpreter_intStack[++class188.Interpreter_intStackSize - 1] = Message.friendSystem.isIgnored(new Username(var5, class188.loginType)) ? 1 : 0;
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CLAN_ISSELF) {
|
||||
var3 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize];
|
||||
if (Calendar.clanChat != null && var3 < Calendar.clanChat.getSize() && Calendar.clanChat.get(var3).getUsername().equals(Message.localPlayer.username)) {
|
||||
Interpreter.Interpreter_intStack[++class188.Interpreter_intStackSize - 1] = 1;
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++class188.Interpreter_intStackSize - 1] = 0;
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CLAN_GETCHATOWNERNAME) {
|
||||
if (Calendar.clanChat != null && Calendar.clanChat.owner != null) {
|
||||
Interpreter.Interpreter_stringStack[++class65.Interpreter_stringStackSize - 1] = Calendar.clanChat.owner;
|
||||
} else {
|
||||
Interpreter.Interpreter_stringStack[++class65.Interpreter_stringStackSize - 1] = "";
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CLAN_ISFRIEND) {
|
||||
var3 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize];
|
||||
if (Calendar.clanChat != null && var3 < Calendar.clanChat.getSize() && ((ClanMate)Calendar.clanChat.get(var3)).isFriend()) {
|
||||
Interpreter.Interpreter_intStack[++class188.Interpreter_intStackSize - 1] = 1;
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++class188.Interpreter_intStackSize - 1] = 0;
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 != ScriptOpcodes.CLAN_ISIGNORE) {
|
||||
if (var0 == 3628) {
|
||||
Message.friendSystem.friendsList.removeComparator();
|
||||
return 1;
|
||||
} else {
|
||||
boolean var7;
|
||||
if (var0 == 3629) {
|
||||
var7 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize] == 1;
|
||||
Message.friendSystem.friendsList.addComparator(new UserComparator1(var7));
|
||||
return 1;
|
||||
} else if (var0 == 3630) {
|
||||
var7 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize] == 1;
|
||||
Message.friendSystem.friendsList.addComparator(new UserComparator2(var7));
|
||||
return 1;
|
||||
} else if (var0 == 3631) {
|
||||
var7 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize] == 1;
|
||||
Message.friendSystem.friendsList.addComparator(new UserComparator3(var7));
|
||||
return 1;
|
||||
} else if (var0 == 3632) {
|
||||
var7 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize] == 1;
|
||||
Message.friendSystem.friendsList.addComparator(new UserComparator4(var7));
|
||||
return 1;
|
||||
} else if (var0 == 3633) {
|
||||
var7 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize] == 1;
|
||||
Message.friendSystem.friendsList.addComparator(new UserComparator5(var7));
|
||||
return 1;
|
||||
} else if (var0 == 3634) {
|
||||
var7 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize] == 1;
|
||||
Message.friendSystem.friendsList.addComparator(new UserComparator6(var7));
|
||||
return 1;
|
||||
} else if (var0 == 3635) {
|
||||
var7 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize] == 1;
|
||||
Message.friendSystem.friendsList.addComparator(new UserComparator7(var7));
|
||||
return 1;
|
||||
} else if (var0 == 3636) {
|
||||
var7 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize] == 1;
|
||||
Message.friendSystem.friendsList.addComparator(new UserComparator8(var7));
|
||||
return 1;
|
||||
} else if (var0 == 3637) {
|
||||
var7 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize] == 1;
|
||||
Message.friendSystem.friendsList.addComparator(new UserComparator9(var7));
|
||||
return 1;
|
||||
} else if (var0 == 3638) {
|
||||
var7 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize] == 1;
|
||||
Message.friendSystem.friendsList.addComparator(new UserComparator10(var7));
|
||||
return 1;
|
||||
} else if (var0 == 3639) {
|
||||
Message.friendSystem.friendsList.sort();
|
||||
return 1;
|
||||
} else if (var0 == 3640) {
|
||||
Message.friendSystem.ignoreList.removeComparator();
|
||||
return 1;
|
||||
} else if (var0 == 3641) {
|
||||
var7 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize] == 1;
|
||||
Message.friendSystem.ignoreList.addComparator(new UserComparator1(var7));
|
||||
return 1;
|
||||
} else if (var0 == 3642) {
|
||||
var7 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize] == 1;
|
||||
Message.friendSystem.ignoreList.addComparator(new UserComparator2(var7));
|
||||
return 1;
|
||||
} else if (var0 == 3643) {
|
||||
Message.friendSystem.ignoreList.sort();
|
||||
return 1;
|
||||
} else if (var0 == 3644) {
|
||||
if (Calendar.clanChat != null) {
|
||||
Calendar.clanChat.removeComparator();
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == 3645) {
|
||||
var7 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize] == 1;
|
||||
if (Calendar.clanChat != null) {
|
||||
Calendar.clanChat.addComparator(new UserComparator1(var7));
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == 3646) {
|
||||
var7 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize] == 1;
|
||||
if (Calendar.clanChat != null) {
|
||||
Calendar.clanChat.addComparator(new UserComparator2(var7));
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == 3647) {
|
||||
var7 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize] == 1;
|
||||
if (Calendar.clanChat != null) {
|
||||
Calendar.clanChat.addComparator(new UserComparator3(var7));
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == 3648) {
|
||||
var7 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize] == 1;
|
||||
if (Calendar.clanChat != null) {
|
||||
Calendar.clanChat.addComparator(new UserComparator4(var7));
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == 3649) {
|
||||
var7 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize] == 1;
|
||||
if (Calendar.clanChat != null) {
|
||||
Calendar.clanChat.addComparator(new UserComparator5(var7));
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == 3650) {
|
||||
var7 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize] == 1;
|
||||
if (Calendar.clanChat != null) {
|
||||
Calendar.clanChat.addComparator(new UserComparator6(var7));
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == 3651) {
|
||||
var7 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize] == 1;
|
||||
if (Calendar.clanChat != null) {
|
||||
Calendar.clanChat.addComparator(new UserComparator7(var7));
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == 3652) {
|
||||
var7 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize] == 1;
|
||||
if (Calendar.clanChat != null) {
|
||||
Calendar.clanChat.addComparator(new UserComparator8(var7));
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == 3653) {
|
||||
var7 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize] == 1;
|
||||
if (Calendar.clanChat != null) {
|
||||
Calendar.clanChat.addComparator(new UserComparator9(var7));
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == 3654) {
|
||||
var7 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize] == 1;
|
||||
if (Calendar.clanChat != null) {
|
||||
Calendar.clanChat.addComparator(new UserComparator10(var7));
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == 3655) {
|
||||
if (Calendar.clanChat != null) {
|
||||
Calendar.clanChat.sort();
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == 3656) {
|
||||
var7 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize] == 1;
|
||||
Message.friendSystem.friendsList.addComparator(new BuddyRankComparator(var7));
|
||||
return 1;
|
||||
} else if (var0 == 3657) {
|
||||
var7 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize] == 1;
|
||||
if (Calendar.clanChat != null) {
|
||||
Calendar.clanChat.addComparator(new BuddyRankComparator(var7));
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else {
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
var3 = Interpreter.Interpreter_intStack[--class188.Interpreter_intStackSize];
|
||||
if (Calendar.clanChat != null && var3 < Calendar.clanChat.getSize() && ((ClanMate)Calendar.clanChat.get(var3)).isIgnored()) {
|
||||
Interpreter.Interpreter_intStack[++class188.Interpreter_intStackSize - 1] = 1;
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++class188.Interpreter_intStackSize - 1] = 0;
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
} else if (var0 == ScriptOpcodes.CC_SETSIZE) {
|
||||
class320.Interpreter_intStackSize -= 4;
|
||||
var4.rawWidth = Interpreter.Interpreter_intStack[class320.Interpreter_intStackSize];
|
||||
var4.rawHeight = Interpreter.Interpreter_intStack[class320.Interpreter_intStackSize + 1];
|
||||
var4.widthAlignment = Interpreter.Interpreter_intStack[class320.Interpreter_intStackSize + 2];
|
||||
var4.heightAlignment = Interpreter.Interpreter_intStack[class320.Interpreter_intStackSize + 3];
|
||||
NPCDefinition.invalidateWidget(var4);
|
||||
Username.client.alignWidget(var4);
|
||||
if (var3 != -1 && var4.type == 0) {
|
||||
WorldMapIcon_1.revalidateWidgetScroll(WorldMapLabel.Widget_interfaceComponents[var3 >> 16], var4, false);
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CC_SETHIDE) {
|
||||
boolean var5 = Interpreter.Interpreter_intStack[--class320.Interpreter_intStackSize] == 1;
|
||||
if (var5 != var4.isHidden) {
|
||||
var4.isHidden = var5;
|
||||
NPCDefinition.invalidateWidget(var4);
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CC_SETNOCLICKTHROUGH) {
|
||||
var4.noClickThrough = Interpreter.Interpreter_intStack[--class320.Interpreter_intStackSize] == 1;
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CC_SETNOSCROLLTHROUGH) {
|
||||
var4.noScrollThrough = Interpreter.Interpreter_intStack[--class320.Interpreter_intStackSize] == 1;
|
||||
return 1;
|
||||
} else {
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("kg")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(I)V",
|
||||
garbageValue = "-879378563"
|
||||
)
|
||||
@Export("Clan_leaveChat")
|
||||
static final void Clan_leaveChat() {
|
||||
PacketBufferNode var0 = TilePaint.getPacketBufferNode(ClientPacket.field2252, Client.packetWriter.isaacCipher);
|
||||
var0.packetBuffer.writeByte(0);
|
||||
Client.packetWriter.addNode(var0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user