mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-16 19:40:18 -07:00
Started organizing CS2/Protocol-related functions
This commit is contained in:
parent
46740027df
commit
ef6a5d7385
268 changed files with 5936 additions and 6093 deletions
|
|
@ -16,16 +16,6 @@ public final class Static148 {
|
|||
@OriginalMember(owner = "client!li", name = "p", descriptor = "Lclient!na;")
|
||||
public static final JagString aClass100_677 = JagString.parse("::rebuild");
|
||||
|
||||
@OriginalMember(owner = "client!li", name = "a", descriptor = "(ZI)V")
|
||||
public static void method2765(@OriginalArg(1) int arg0) {
|
||||
if (arg0 == -1 && !MidiPlayer.jingle) {
|
||||
Static241.method4548();
|
||||
} else if (arg0 != -1 && (MusicPlayer.groupId != arg0 || !Static136.method2655()) && Preferences.musicVolume != 0 && !MidiPlayer.jingle) {
|
||||
MidiPlayer.playFadeOut(arg0, client.js5Archive6, Preferences.musicVolume);
|
||||
}
|
||||
MusicPlayer.groupId = arg0;
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!li", name = "a", descriptor = "(III)V")
|
||||
public static void method2766(@OriginalArg(0) int arg0, @OriginalArg(2) int arg1) {
|
||||
Static7.varps[arg0] = arg1;
|
||||
|
|
@ -38,16 +28,4 @@ public final class Static148 {
|
|||
}
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!li", name = "a", descriptor = "(II)Lclient!dd;")
|
||||
public static SoftwareFont method2768(@OriginalArg(1) int arg0) {
|
||||
@Pc(16) SoftwareFont local16 = (SoftwareFont) FontMetricsList.fontMetrics.get((long) arg0);
|
||||
if (local16 != null) {
|
||||
return local16;
|
||||
}
|
||||
@Pc(26) byte[] local26 = client.js5Archive13.getFile(arg0, 0);
|
||||
local16 = new SoftwareFont(local26);
|
||||
local16.setNameIcons(Sprites.nameIcons, null);
|
||||
FontMetricsList.fontMetrics.put(local16, (long) arg0);
|
||||
return local16;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue