104 lines
2.4 KiB
Java
104 lines
2.4 KiB
Java
import net.runelite.mapping.Export;
|
|
import net.runelite.mapping.Implements;
|
|
import net.runelite.mapping.ObfuscatedName;
|
|
import net.runelite.mapping.ObfuscatedSignature;
|
|
|
|
@ObfuscatedName("nj")
|
|
@Implements("ClanMate")
|
|
public class ClanMate extends Buddy {
|
|
@ObfuscatedName("c")
|
|
@ObfuscatedSignature(
|
|
descriptor = "Lnt;"
|
|
)
|
|
@Export("friend")
|
|
TriBool friend;
|
|
@ObfuscatedName("v")
|
|
@ObfuscatedSignature(
|
|
descriptor = "Lnt;"
|
|
)
|
|
@Export("ignored")
|
|
TriBool ignored;
|
|
|
|
ClanMate() {
|
|
this.friend = TriBool.TriBool_unknown; // L: 6
|
|
this.ignored = TriBool.TriBool_unknown; // L: 7
|
|
} // L: 9
|
|
|
|
@ObfuscatedName("c")
|
|
@ObfuscatedSignature(
|
|
descriptor = "(I)V",
|
|
garbageValue = "-2088884239"
|
|
)
|
|
@Export("clearIsFriend")
|
|
void clearIsFriend() {
|
|
this.friend = TriBool.TriBool_unknown; // L: 12
|
|
} // L: 13
|
|
|
|
@ObfuscatedName("q")
|
|
@ObfuscatedSignature(
|
|
descriptor = "(I)Z",
|
|
garbageValue = "-138013262"
|
|
)
|
|
@Export("isFriend")
|
|
public final boolean isFriend() {
|
|
if (this.friend == TriBool.TriBool_unknown) { // L: 16
|
|
this.fillIsFriend(); // L: 17
|
|
}
|
|
|
|
return this.friend == TriBool.TriBool_true; // L: 19
|
|
}
|
|
|
|
@ObfuscatedName("f")
|
|
@ObfuscatedSignature(
|
|
descriptor = "(B)V",
|
|
garbageValue = "-43"
|
|
)
|
|
@Export("fillIsFriend")
|
|
void fillIsFriend() {
|
|
this.friend = Player.friendSystem.friendsList.contains(super.username) ? TriBool.TriBool_true : TriBool.TriBool_false; // L: 23
|
|
} // L: 24
|
|
|
|
@ObfuscatedName("e")
|
|
@ObfuscatedSignature(
|
|
descriptor = "(I)V",
|
|
garbageValue = "-1504039009"
|
|
)
|
|
@Export("clearIsIgnored")
|
|
void clearIsIgnored() {
|
|
this.ignored = TriBool.TriBool_unknown; // L: 27
|
|
}
|
|
|
|
@ObfuscatedName("g")
|
|
@ObfuscatedSignature(
|
|
descriptor = "(B)Z",
|
|
garbageValue = "-61"
|
|
)
|
|
@Export("isIgnored")
|
|
public final boolean isIgnored() {
|
|
if (this.ignored == TriBool.TriBool_unknown) { // L: 31
|
|
this.fillIsIgnored(); // L: 32
|
|
}
|
|
|
|
return this.ignored == TriBool.TriBool_true; // L: 34
|
|
}
|
|
|
|
@ObfuscatedName("w")
|
|
@ObfuscatedSignature(
|
|
descriptor = "(I)V",
|
|
garbageValue = "2033430026"
|
|
)
|
|
@Export("fillIsIgnored")
|
|
void fillIsIgnored() {
|
|
this.ignored = Player.friendSystem.ignoreList.contains(super.username) ? TriBool.TriBool_true : TriBool.TriBool_false; // L: 38
|
|
} // L: 39
|
|
|
|
@ObfuscatedName("v")
|
|
@ObfuscatedSignature(
|
|
descriptor = "(IB)I",
|
|
garbageValue = "34"
|
|
)
|
|
public static int method6650(int var0) {
|
|
return class401.field4442[var0 & 16383]; // L: 28
|
|
}
|
|
}
|