Started moving around static methods/fields

This commit is contained in:
Pazaz 2022-04-25 00:49:33 -04:00
parent bed128bd19
commit 6ba1f2f808
305 changed files with 5027 additions and 5075 deletions

View file

@ -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
}