runescape-client: fix the thing

This commit is contained in:
ThatGamerBlue
2020-12-11 06:14:29 +00:00
parent f74baf08ce
commit 463bc42f5f
325 changed files with 35526 additions and 35531 deletions

View File

@@ -22,9 +22,9 @@ public class Username implements Comparable {
descriptor = "(Ljava/lang/String;Lmu;)V"
)
public Username(String var1, LoginType var2) {
this.name = var1;
this.cleanName = VarbitDefinition.method4525(var1, var2);
}
this.name = var1; // L: 11
this.cleanName = VarbitDefinition.method4525(var1, var2); // L: 12
} // L: 13
@ObfuscatedName("h")
@ObfuscatedSignature(
@@ -33,7 +33,7 @@ public class Username implements Comparable {
)
@Export("getName")
public String getName() {
return this.name;
return this.name; // L: 16
}
@ObfuscatedName("v")
@@ -43,7 +43,7 @@ public class Username implements Comparable {
)
@Export("hasCleanName")
public boolean hasCleanName() {
return this.cleanName != null;
return this.cleanName != null; // L: 20
}
@ObfuscatedName("x")
@@ -53,37 +53,37 @@ public class Username implements Comparable {
)
@Export("compareToTyped")
public int compareToTyped(Username var1) {
if (this.cleanName == null) {
return var1.cleanName == null ? 0 : 1;
if (this.cleanName == null) { // L: 44
return var1.cleanName == null ? 0 : 1; // L: 45 46
} else {
return var1.cleanName == null ? -1 : this.cleanName.compareTo(var1.cleanName);
return var1.cleanName == null ? -1 : this.cleanName.compareTo(var1.cleanName); // L: 48 49
}
}
public boolean equals(Object var1) {
if (var1 instanceof Username) {
Username var2 = (Username)var1;
if (var1 instanceof Username) { // L: 24
Username var2 = (Username)var1; // L: 25
if (this.cleanName == null) {
return var2.cleanName == null;
} else if (var2.cleanName == null) {
return var2.cleanName == null; // L: 26
} else if (var2.cleanName == null) { // L: 27
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: 28 29
}
} else {
return false;
return false; // L: 31
}
}
public int hashCode() {
return this.cleanName == null ? 0 : this.cleanName.hashCode();
return this.cleanName == null ? 0 : this.cleanName.hashCode(); // L: 35 36
}
public int compareTo(Object var1) {
return this.compareToTyped((Username)var1);
return this.compareToTyped((Username)var1); // L: 53
}
public String toString() {
return this.getName();
return this.getName(); // L: 40
}
}