mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2026-08-22 19:05:16 -06:00
Consolidated a bunch of static classes
This commit is contained in:
parent
cf6a86e926
commit
774d382816
260 changed files with 4163 additions and 4536 deletions
|
|
@ -126,7 +126,18 @@ public class AudioChannel {
|
|||
}
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!vh", name = "a", descriptor = "()V")
|
||||
@OriginalMember(owner = "client!nd", name = "a", descriptor = "(ZLclient!qb;)V")
|
||||
public static void setInactive(@OriginalArg(1) PcmStream arg0) {
|
||||
if (arg0.aClass3_Sub16_5 != null) {
|
||||
arg0.aClass3_Sub16_5.anInt3313 = 0;
|
||||
}
|
||||
arg0.aBoolean292 = false;
|
||||
for (@Pc(14) PcmStream local14 = arg0.method4406(); local14 != null; local14 = arg0.method4409()) {
|
||||
setInactive(local14);
|
||||
}
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!vh", name = "a", descriptor = "()V")
|
||||
protected void write() throws Exception {
|
||||
}
|
||||
|
||||
|
|
@ -148,7 +159,7 @@ public class AudioChannel {
|
|||
this.anInt4638 -= 256;
|
||||
if (this.stream != null && this.anInt4638 <= 0) {
|
||||
this.anInt4638 += sampleRate >> 4;
|
||||
Static167.setInactive(this.stream);
|
||||
setInactive(this.stream);
|
||||
this.method3567(this.stream, this.stream.method4407());
|
||||
@Pc(45) int local45 = 0;
|
||||
@Pc(47) int local47 = 255;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue