client: rev 201
This commit is contained in:
@@ -3,96 +3,96 @@ import net.runelite.mapping.Implements;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
|
||||
@ObfuscatedName("pm")
|
||||
@ObfuscatedName("pb")
|
||||
@Implements("Username")
|
||||
public class Username implements Comparable {
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedName("i")
|
||||
@Export("name")
|
||||
String name;
|
||||
@ObfuscatedName("q")
|
||||
@ObfuscatedName("w")
|
||||
@Export("cleanName")
|
||||
String cleanName;
|
||||
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Ljava/lang/String;Lny;)V"
|
||||
descriptor = "(Ljava/lang/String;Lni;)V"
|
||||
)
|
||||
public Username(String var1, LoginType var2) {
|
||||
this.name = var1;
|
||||
this.cleanName = Varcs.method2322(var1, var2);
|
||||
}
|
||||
this.name = var1; // L: 16
|
||||
this.cleanName = GameEngine.method585(var1, var2); // L: 17
|
||||
} // L: 18
|
||||
|
||||
public Username(String var1) {
|
||||
this.name = var1;
|
||||
this.cleanName = Varcs.method2322(var1, LoginType.oldscape);
|
||||
}
|
||||
this.name = var1; // L: 11
|
||||
this.cleanName = GameEngine.method585(var1, LoginType.oldscape); // L: 12
|
||||
} // L: 13
|
||||
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(B)Ljava/lang/String;",
|
||||
garbageValue = "58"
|
||||
garbageValue = "98"
|
||||
)
|
||||
@Export("getName")
|
||||
public String getName() {
|
||||
return this.name;
|
||||
return this.name; // L: 21
|
||||
}
|
||||
|
||||
@ObfuscatedName("q")
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)Ljava/lang/String;",
|
||||
garbageValue = "-1341977890"
|
||||
garbageValue = "-74292372"
|
||||
)
|
||||
public String method7459() {
|
||||
return this.cleanName;
|
||||
public String method7579() {
|
||||
return this.cleanName; // L: 25
|
||||
}
|
||||
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)Z",
|
||||
garbageValue = "460895398"
|
||||
descriptor = "(B)Z",
|
||||
garbageValue = "89"
|
||||
)
|
||||
@Export("hasCleanName")
|
||||
public boolean hasCleanName() {
|
||||
return this.cleanName != null;
|
||||
return this.cleanName != null; // L: 29
|
||||
}
|
||||
|
||||
@ObfuscatedName("j")
|
||||
@ObfuscatedName("a")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Lpm;I)I",
|
||||
garbageValue = "1178953694"
|
||||
descriptor = "(Lpb;B)I",
|
||||
garbageValue = "6"
|
||||
)
|
||||
@Export("compareToTyped")
|
||||
public int compareToTyped(Username var1) {
|
||||
if (this.cleanName == null) {
|
||||
return var1.cleanName == null ? 0 : 1;
|
||||
if (this.cleanName == null) { // L: 53
|
||||
return var1.cleanName == null ? 0 : 1; // L: 54 55
|
||||
} else {
|
||||
return var1.cleanName == null ? -1 : this.cleanName.compareTo(var1.cleanName);
|
||||
return var1.cleanName == null ? -1 : this.cleanName.compareTo(var1.cleanName); // L: 57 58
|
||||
}
|
||||
}
|
||||
|
||||
public boolean equals(Object var1) {
|
||||
if (var1 instanceof Username) {
|
||||
Username var2 = (Username)var1;
|
||||
if (var1 instanceof Username) { // L: 33
|
||||
Username var2 = (Username)var1; // L: 34
|
||||
if (this.cleanName == null) {
|
||||
return var2.cleanName == null;
|
||||
} else if (var2.cleanName == null) {
|
||||
return var2.cleanName == null; // L: 35
|
||||
} else if (var2.cleanName == null) { // L: 36
|
||||
return false;
|
||||
} else {
|
||||
return this.hashCode() != var2.hashCode() ? false : this.cleanName.equals(var2.cleanName);
|
||||
return this.hashCode() != var2.hashCode() ? false : this.cleanName.equals(var2.cleanName); // L: 37 38
|
||||
}
|
||||
} else {
|
||||
return false;
|
||||
return false; // L: 40
|
||||
}
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return this.cleanName == null ? 0 : this.cleanName.hashCode();
|
||||
return this.cleanName == null ? 0 : this.cleanName.hashCode(); // L: 44 45
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return this.getName();
|
||||
return this.getName(); // L: 49
|
||||
}
|
||||
|
||||
public int compareTo(Object var1) {
|
||||
return this.compareToTyped((Username)var1);
|
||||
return this.compareToTyped((Username)var1); // L: 62
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user