client: rev 198 (#3014)
* client: rev 198 * client: checkstyle Co-authored-by: therealnull <therealnull@gmail.com>
This commit is contained in:
@@ -3,136 +3,451 @@ 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("jt")
|
||||
@ObfuscatedName("jj")
|
||||
@Implements("GrandExchangeEvent")
|
||||
public class GrandExchangeEvent {
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedName("kr")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 664373343
|
||||
intValue = 672319355
|
||||
)
|
||||
@Export("Client_plane")
|
||||
static int Client_plane;
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1872389181
|
||||
)
|
||||
@Export("world")
|
||||
public final int world;
|
||||
@ObfuscatedName("e")
|
||||
@ObfuscatedName("t")
|
||||
@ObfuscatedGetter(
|
||||
longValue = -1846074913095996279L
|
||||
longValue = -7476556361608611427L
|
||||
)
|
||||
@Export("age")
|
||||
public final long age;
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lju;"
|
||||
descriptor = "Ljk;"
|
||||
)
|
||||
@Export("grandExchangeOffer")
|
||||
public final GrandExchangeOffer grandExchangeOffer;
|
||||
@ObfuscatedName("y")
|
||||
@ObfuscatedName("j")
|
||||
@Export("offerName")
|
||||
String offerName;
|
||||
@ObfuscatedName("j")
|
||||
@ObfuscatedName("l")
|
||||
@Export("previousOfferName")
|
||||
String previousOfferName;
|
||||
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Lnt;BI)V"
|
||||
descriptor = "(Lnv;BI)V"
|
||||
)
|
||||
GrandExchangeEvent(Buffer var1, byte var2, int var3) {
|
||||
this.offerName = var1.readStringCp1252NullTerminated();
|
||||
this.previousOfferName = var1.readStringCp1252NullTerminated(); // L: 112
|
||||
this.world = var1.readUnsignedShort(); // L: 113
|
||||
this.age = var1.readLong(); // L: 114
|
||||
int var4 = var1.readInt(); // L: 115
|
||||
int var5 = var1.readInt(); // L: 116
|
||||
this.grandExchangeOffer = new GrandExchangeOffer(); // L: 117
|
||||
this.grandExchangeOffer.method5224(2); // L: 118
|
||||
this.grandExchangeOffer.method5229(var2); // L: 119
|
||||
this.grandExchangeOffer.unitPrice = var4; // L: 120
|
||||
this.grandExchangeOffer.totalQuantity = var5; // L: 121
|
||||
this.grandExchangeOffer.currentQuantity = 0; // L: 122
|
||||
this.grandExchangeOffer.currentPrice = 0; // L: 123
|
||||
this.grandExchangeOffer.id = var3; // L: 124
|
||||
} // L: 125
|
||||
this.previousOfferName = var1.readStringCp1252NullTerminated();
|
||||
this.world = var1.readUnsignedShort();
|
||||
this.age = var1.readLong();
|
||||
int var4 = var1.readInt();
|
||||
int var5 = var1.readInt();
|
||||
this.grandExchangeOffer = new GrandExchangeOffer();
|
||||
this.grandExchangeOffer.method5157(2);
|
||||
this.grandExchangeOffer.method5158(var2);
|
||||
this.grandExchangeOffer.unitPrice = var4;
|
||||
this.grandExchangeOffer.totalQuantity = var5;
|
||||
this.grandExchangeOffer.currentQuantity = 0;
|
||||
this.grandExchangeOffer.currentPrice = 0;
|
||||
this.grandExchangeOffer.id = var3;
|
||||
}
|
||||
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)Ljava/lang/String;",
|
||||
garbageValue = "827394451"
|
||||
descriptor = "(B)Ljava/lang/String;",
|
||||
garbageValue = "-103"
|
||||
)
|
||||
@Export("getOfferName")
|
||||
public String getOfferName() {
|
||||
return this.offerName; // L: 128
|
||||
return this.offerName;
|
||||
}
|
||||
|
||||
@ObfuscatedName("e")
|
||||
@ObfuscatedName("t")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(B)Ljava/lang/String;",
|
||||
garbageValue = "73"
|
||||
descriptor = "(I)Ljava/lang/String;",
|
||||
garbageValue = "-1488255767"
|
||||
)
|
||||
@Export("getPreviousOfferName")
|
||||
public String getPreviousOfferName() {
|
||||
return this.previousOfferName; // L: 132
|
||||
return this.previousOfferName;
|
||||
}
|
||||
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(B)[Loj;",
|
||||
garbageValue = "-77"
|
||||
descriptor = "(II)I",
|
||||
garbageValue = "238780662"
|
||||
)
|
||||
@Export("FillMode_values")
|
||||
public static FillMode[] FillMode_values() {
|
||||
return new FillMode[]{FillMode.field4239, FillMode.SOLID, FillMode.field4241}; // L: 15
|
||||
public static int method5152(int var0) {
|
||||
long var2 = ViewportMouse.ViewportMouse_entityTags[var0];
|
||||
int var1 = (int)(var2 >>> 7 & 127L);
|
||||
return var1;
|
||||
}
|
||||
|
||||
@ObfuscatedName("h")
|
||||
@ObfuscatedName("ae")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)V",
|
||||
garbageValue = "1329889616"
|
||||
descriptor = "(ILbd;ZI)I",
|
||||
garbageValue = "-2107492280"
|
||||
)
|
||||
static final void method5223() {
|
||||
Object var10000 = null; // L: 107
|
||||
String var0 = "Your friend list is full. Max of 200 for free users, and 400 for members";
|
||||
UserComparator10.addGameMessage(30, "", var0); // L: 109
|
||||
} // L: 111
|
||||
static int method5148(int var0, Script var1, boolean var2) {
|
||||
if (var0 == ScriptOpcodes.FRIEND_COUNT) {
|
||||
if (Canvas.friendSystem.field713 == 0) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = -2;
|
||||
} else if (Canvas.friendSystem.field713 == 1) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = -1;
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = Canvas.friendSystem.friendsList.getSize();
|
||||
}
|
||||
|
||||
@ObfuscatedName("iy")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(III)V",
|
||||
garbageValue = "-106576024"
|
||||
)
|
||||
static void method5222(int var0, int var1) {
|
||||
int var2 = class309.fontBold12.stringWidth("Choose Option"); // L: 7910
|
||||
return 1;
|
||||
} else {
|
||||
int var3;
|
||||
if (var0 == ScriptOpcodes.FRIEND_GETNAME) {
|
||||
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
|
||||
if (Canvas.friendSystem.method1473() && var3 >= 0 && var3 < Canvas.friendSystem.friendsList.getSize()) {
|
||||
Friend var8 = (Friend)Canvas.friendSystem.friendsList.get(var3);
|
||||
Interpreter.Interpreter_stringStack[++class1.Interpreter_stringStackSize - 1] = var8.getName();
|
||||
Interpreter.Interpreter_stringStack[++class1.Interpreter_stringStackSize - 1] = var8.getPreviousName();
|
||||
} else {
|
||||
Interpreter.Interpreter_stringStack[++class1.Interpreter_stringStackSize - 1] = "";
|
||||
Interpreter.Interpreter_stringStack[++class1.Interpreter_stringStackSize - 1] = "";
|
||||
}
|
||||
|
||||
int var3;
|
||||
int var4;
|
||||
for (var3 = 0; var3 < Client.menuOptionsCount; ++var3) { // L: 7911
|
||||
var4 = class309.fontBold12.stringWidth(class0.method1(var3)); // L: 7912
|
||||
if (var4 > var2) { // L: 7913
|
||||
var2 = var4;
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.FRIEND_GETWORLD) {
|
||||
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
|
||||
if (Canvas.friendSystem.method1473() && var3 >= 0 && var3 < Canvas.friendSystem.friendsList.getSize()) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = ((Buddy)Canvas.friendSystem.friendsList.get(var3)).world;
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = 0;
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.FRIEND_GETRANK) {
|
||||
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
|
||||
if (Canvas.friendSystem.method1473() && var3 >= 0 && var3 < Canvas.friendSystem.friendsList.getSize()) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = ((Buddy)Canvas.friendSystem.friendsList.get(var3)).rank;
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = 0;
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else {
|
||||
String var5;
|
||||
if (var0 == ScriptOpcodes.FRIEND_SETRANK) {
|
||||
var5 = Interpreter.Interpreter_stringStack[--class1.Interpreter_stringStackSize];
|
||||
int var6 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
|
||||
FriendLoginUpdate.method5763(var5, var6);
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.FRIEND_ADD) {
|
||||
var5 = Interpreter.Interpreter_stringStack[--class1.Interpreter_stringStackSize];
|
||||
Canvas.friendSystem.addFriend(var5);
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.FRIEND_DEL) {
|
||||
var5 = Interpreter.Interpreter_stringStack[--class1.Interpreter_stringStackSize];
|
||||
Canvas.friendSystem.removeFriend(var5);
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.IGNORE_ADD) {
|
||||
var5 = Interpreter.Interpreter_stringStack[--class1.Interpreter_stringStackSize];
|
||||
Canvas.friendSystem.addIgnore(var5);
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.IGNORE_DEL) {
|
||||
var5 = Interpreter.Interpreter_stringStack[--class1.Interpreter_stringStackSize];
|
||||
Canvas.friendSystem.removeIgnore(var5);
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.FRIEND_TEST) {
|
||||
var5 = Interpreter.Interpreter_stringStack[--class1.Interpreter_stringStackSize];
|
||||
var5 = class52.method1648(var5);
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = Canvas.friendSystem.isFriended(new Username(var5, GraphicsObject.loginType), false) ? 1 : 0;
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CLAN_GETCHATDISPLAYNAME) {
|
||||
if (MouseRecorder.friendsChat != null) {
|
||||
Interpreter.Interpreter_stringStack[++class1.Interpreter_stringStackSize - 1] = MouseRecorder.friendsChat.name;
|
||||
} else {
|
||||
Interpreter.Interpreter_stringStack[++class1.Interpreter_stringStackSize - 1] = "";
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CLAN_GETCHATCOUNT) {
|
||||
if (MouseRecorder.friendsChat != null) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = MouseRecorder.friendsChat.getSize();
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = 0;
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CLAN_GETCHATUSERNAME) {
|
||||
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
|
||||
if (MouseRecorder.friendsChat != null && var3 < MouseRecorder.friendsChat.getSize()) {
|
||||
Interpreter.Interpreter_stringStack[++class1.Interpreter_stringStackSize - 1] = MouseRecorder.friendsChat.get(var3).getUsername().getName();
|
||||
} else {
|
||||
Interpreter.Interpreter_stringStack[++class1.Interpreter_stringStackSize - 1] = "";
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CLAN_GETCHATUSERWORLD) {
|
||||
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
|
||||
if (MouseRecorder.friendsChat != null && var3 < MouseRecorder.friendsChat.getSize()) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = ((Buddy)MouseRecorder.friendsChat.get(var3)).getWorld();
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = 0;
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CLAN_GETCHATUSERRANK) {
|
||||
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
|
||||
if (MouseRecorder.friendsChat != null && var3 < MouseRecorder.friendsChat.getSize()) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = ((Buddy)MouseRecorder.friendsChat.get(var3)).rank;
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = 0;
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CLAN_GETCHATMINKICK) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = MouseRecorder.friendsChat != null ? MouseRecorder.friendsChat.minKick : 0;
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CLAN_KICKUSER) {
|
||||
var5 = Interpreter.Interpreter_stringStack[--class1.Interpreter_stringStackSize];
|
||||
SecureRandomCallable.clanKickUser(var5);
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CLAN_GETCHATRANK) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = MouseRecorder.friendsChat != null ? MouseRecorder.friendsChat.rank * -1047234431 * 553895809 : 0;
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CLAN_JOINCHAT) {
|
||||
var5 = Interpreter.Interpreter_stringStack[--class1.Interpreter_stringStackSize];
|
||||
GrandExchangeOfferOwnWorldComparator.Clan_joinChat(var5);
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CLAN_LEAVECHAT) {
|
||||
Login.Clan_leaveChat();
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.IGNORE_COUNT) {
|
||||
if (!Canvas.friendSystem.method1473()) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = -1;
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = Canvas.friendSystem.ignoreList.getSize();
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.IGNORE_GETNAME) {
|
||||
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
|
||||
if (Canvas.friendSystem.method1473() && var3 >= 0 && var3 < Canvas.friendSystem.ignoreList.getSize()) {
|
||||
Ignored var4 = (Ignored)Canvas.friendSystem.ignoreList.get(var3);
|
||||
Interpreter.Interpreter_stringStack[++class1.Interpreter_stringStackSize - 1] = var4.getName();
|
||||
Interpreter.Interpreter_stringStack[++class1.Interpreter_stringStackSize - 1] = var4.getPreviousName();
|
||||
} else {
|
||||
Interpreter.Interpreter_stringStack[++class1.Interpreter_stringStackSize - 1] = "";
|
||||
Interpreter.Interpreter_stringStack[++class1.Interpreter_stringStackSize - 1] = "";
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.IGNORE_TEST) {
|
||||
var5 = Interpreter.Interpreter_stringStack[--class1.Interpreter_stringStackSize];
|
||||
var5 = class52.method1648(var5);
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = Canvas.friendSystem.isIgnored(new Username(var5, GraphicsObject.loginType)) ? 1 : 0;
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CLAN_ISSELF) {
|
||||
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
|
||||
if (MouseRecorder.friendsChat != null && var3 < MouseRecorder.friendsChat.getSize() && MouseRecorder.friendsChat.get(var3).getUsername().equals(MouseHandler.localPlayer.username)) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = 1;
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = 0;
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CLAN_GETCHATOWNERNAME) {
|
||||
if (MouseRecorder.friendsChat != null && MouseRecorder.friendsChat.owner != null) {
|
||||
Interpreter.Interpreter_stringStack[++class1.Interpreter_stringStackSize - 1] = MouseRecorder.friendsChat.owner;
|
||||
} else {
|
||||
Interpreter.Interpreter_stringStack[++class1.Interpreter_stringStackSize - 1] = "";
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CLAN_ISFRIEND) {
|
||||
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
|
||||
if (MouseRecorder.friendsChat != null && var3 < MouseRecorder.friendsChat.getSize() && ((ClanMate)MouseRecorder.friendsChat.get(var3)).isFriend()) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = 1;
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = 0;
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 != ScriptOpcodes.CLAN_ISIGNORE) {
|
||||
if (var0 == 3628) {
|
||||
Canvas.friendSystem.friendsList.removeComparator();
|
||||
return 1;
|
||||
} else {
|
||||
boolean var7;
|
||||
if (var0 == 3629) {
|
||||
var7 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize] == 1;
|
||||
Canvas.friendSystem.friendsList.addComparator(new UserComparator1(var7));
|
||||
return 1;
|
||||
} else if (var0 == 3630) {
|
||||
var7 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize] == 1;
|
||||
Canvas.friendSystem.friendsList.addComparator(new UserComparator2(var7));
|
||||
return 1;
|
||||
} else if (var0 == 3631) {
|
||||
var7 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize] == 1;
|
||||
Canvas.friendSystem.friendsList.addComparator(new UserComparator3(var7));
|
||||
return 1;
|
||||
} else if (var0 == 3632) {
|
||||
var7 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize] == 1;
|
||||
Canvas.friendSystem.friendsList.addComparator(new UserComparator4(var7));
|
||||
return 1;
|
||||
} else if (var0 == 3633) {
|
||||
var7 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize] == 1;
|
||||
Canvas.friendSystem.friendsList.addComparator(new UserComparator5(var7));
|
||||
return 1;
|
||||
} else if (var0 == 3634) {
|
||||
var7 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize] == 1;
|
||||
Canvas.friendSystem.friendsList.addComparator(new UserComparator6(var7));
|
||||
return 1;
|
||||
} else if (var0 == 3635) {
|
||||
var7 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize] == 1;
|
||||
Canvas.friendSystem.friendsList.addComparator(new UserComparator7(var7));
|
||||
return 1;
|
||||
} else if (var0 == 3636) {
|
||||
var7 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize] == 1;
|
||||
Canvas.friendSystem.friendsList.addComparator(new UserComparator8(var7));
|
||||
return 1;
|
||||
} else if (var0 == 3637) {
|
||||
var7 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize] == 1;
|
||||
Canvas.friendSystem.friendsList.addComparator(new UserComparator9(var7));
|
||||
return 1;
|
||||
} else if (var0 == 3638) {
|
||||
var7 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize] == 1;
|
||||
Canvas.friendSystem.friendsList.addComparator(new UserComparator10(var7));
|
||||
return 1;
|
||||
} else if (var0 == 3639) {
|
||||
Canvas.friendSystem.friendsList.sort();
|
||||
return 1;
|
||||
} else if (var0 == 3640) {
|
||||
Canvas.friendSystem.ignoreList.removeComparator();
|
||||
return 1;
|
||||
} else if (var0 == 3641) {
|
||||
var7 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize] == 1;
|
||||
Canvas.friendSystem.ignoreList.addComparator(new UserComparator1(var7));
|
||||
return 1;
|
||||
} else if (var0 == 3642) {
|
||||
var7 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize] == 1;
|
||||
Canvas.friendSystem.ignoreList.addComparator(new UserComparator2(var7));
|
||||
return 1;
|
||||
} else if (var0 == 3643) {
|
||||
Canvas.friendSystem.ignoreList.sort();
|
||||
return 1;
|
||||
} else if (var0 == 3644) {
|
||||
if (MouseRecorder.friendsChat != null) {
|
||||
MouseRecorder.friendsChat.removeComparator();
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == 3645) {
|
||||
var7 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize] == 1;
|
||||
if (MouseRecorder.friendsChat != null) {
|
||||
MouseRecorder.friendsChat.addComparator(new UserComparator1(var7));
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == 3646) {
|
||||
var7 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize] == 1;
|
||||
if (MouseRecorder.friendsChat != null) {
|
||||
MouseRecorder.friendsChat.addComparator(new UserComparator2(var7));
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == 3647) {
|
||||
var7 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize] == 1;
|
||||
if (MouseRecorder.friendsChat != null) {
|
||||
MouseRecorder.friendsChat.addComparator(new UserComparator3(var7));
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == 3648) {
|
||||
var7 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize] == 1;
|
||||
if (MouseRecorder.friendsChat != null) {
|
||||
MouseRecorder.friendsChat.addComparator(new UserComparator4(var7));
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == 3649) {
|
||||
var7 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize] == 1;
|
||||
if (MouseRecorder.friendsChat != null) {
|
||||
MouseRecorder.friendsChat.addComparator(new UserComparator5(var7));
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == 3650) {
|
||||
var7 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize] == 1;
|
||||
if (MouseRecorder.friendsChat != null) {
|
||||
MouseRecorder.friendsChat.addComparator(new UserComparator6(var7));
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == 3651) {
|
||||
var7 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize] == 1;
|
||||
if (MouseRecorder.friendsChat != null) {
|
||||
MouseRecorder.friendsChat.addComparator(new UserComparator7(var7));
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == 3652) {
|
||||
var7 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize] == 1;
|
||||
if (MouseRecorder.friendsChat != null) {
|
||||
MouseRecorder.friendsChat.addComparator(new UserComparator8(var7));
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == 3653) {
|
||||
var7 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize] == 1;
|
||||
if (MouseRecorder.friendsChat != null) {
|
||||
MouseRecorder.friendsChat.addComparator(new UserComparator9(var7));
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == 3654) {
|
||||
var7 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize] == 1;
|
||||
if (MouseRecorder.friendsChat != null) {
|
||||
MouseRecorder.friendsChat.addComparator(new UserComparator10(var7));
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == 3655) {
|
||||
if (MouseRecorder.friendsChat != null) {
|
||||
MouseRecorder.friendsChat.sort();
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == 3656) {
|
||||
var7 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize] == 1;
|
||||
Canvas.friendSystem.friendsList.addComparator(new BuddyRankComparator(var7));
|
||||
return 1;
|
||||
} else if (var0 == 3657) {
|
||||
var7 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize] == 1;
|
||||
if (MouseRecorder.friendsChat != null) {
|
||||
MouseRecorder.friendsChat.addComparator(new BuddyRankComparator(var7));
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else {
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
|
||||
if (MouseRecorder.friendsChat != null && var3 < MouseRecorder.friendsChat.getSize() && ((ClanMate)MouseRecorder.friendsChat.get(var3)).isIgnored()) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = 1;
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = 0;
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var2 += 8; // L: 7915
|
||||
var3 = Client.menuOptionsCount * 15 + 22; // L: 7916
|
||||
var4 = var0 - var2 / 2; // L: 7917
|
||||
if (var2 + var4 > AttackOption.canvasWidth) { // L: 7918
|
||||
var4 = AttackOption.canvasWidth - var2;
|
||||
}
|
||||
|
||||
if (var4 < 0) { // L: 7919
|
||||
var4 = 0;
|
||||
}
|
||||
|
||||
int var5 = var1; // L: 7920
|
||||
if (var1 + var3 > class0.canvasHeight) { // L: 7921
|
||||
var5 = class0.canvasHeight - var3;
|
||||
}
|
||||
|
||||
if (var5 < 0) { // L: 7922
|
||||
var5 = 0;
|
||||
}
|
||||
|
||||
StructComposition.menuX = var4; // L: 7923
|
||||
class143.menuY = var5; // L: 7924
|
||||
UserComparator3.menuWidth = var2; // L: 7925
|
||||
PendingSpawn.menuHeight = Client.menuOptionsCount * 15 + 22; // L: 7926
|
||||
} // L: 7927
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user