mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-17 20:10:21 -07:00
Started moving around static methods/fields
This commit is contained in:
parent
bed128bd19
commit
6ba1f2f808
305 changed files with 5027 additions and 5075 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import org.openrs2.deob.annotation.OriginalArg;
|
||||
import org.openrs2.deob.annotation.OriginalMember;
|
||||
|
||||
public class LocalizedText {
|
||||
|
|
@ -1304,5 +1305,19 @@ public class LocalizedText {
|
|||
CHATEFFECT4 = FR_CHATEFFECT4;
|
||||
MAINLOAD135 = FR_MAINLOAD135;
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!ab", name = "a", descriptor = "(II)V")
|
||||
public static void setLanguage(@OriginalArg(1) int arg0) {
|
||||
if (arg0 == 0) {
|
||||
return;
|
||||
}
|
||||
if (arg0 == 1) {
|
||||
switchToGerman();
|
||||
} else if (arg0 == 2) {
|
||||
switchToFrench();
|
||||
} else {
|
||||
throw new RuntimeException();
|
||||
}
|
||||
}
|
||||
//endregion
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue