mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2026-08-21 10:25:17 -06:00
Refactored Buffer class
This commit is contained in:
parent
65965ea3a2
commit
6d9afcdc29
165 changed files with 2763 additions and 2728 deletions
|
|
@ -16,15 +16,15 @@ public final class Js5NetRequest extends Js5Request {
|
|||
@OriginalMember(owner = "client!pm", name = "a", descriptor = "(Z)I")
|
||||
@Override
|
||||
public final int method3553() {
|
||||
return this.aClass3_Sub15_7 == null ? 0 : this.aClass3_Sub15_7.anInt2792 * 100 / (this.aClass3_Sub15_7.aByteArray40.length - this.aByte16);
|
||||
return this.aClass3_Sub15_7 == null ? 0 : this.aClass3_Sub15_7.offset * 100 / (this.aClass3_Sub15_7.data.length - this.aByte16);
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!pm", name = "b", descriptor = "(Z)[B")
|
||||
@Override
|
||||
public final byte[] method3554() {
|
||||
if (this.aBoolean226 || this.aClass3_Sub15_7.anInt2792 < this.aClass3_Sub15_7.aByteArray40.length - this.aByte16) {
|
||||
if (this.aBoolean226 || this.aClass3_Sub15_7.offset < this.aClass3_Sub15_7.data.length - this.aByte16) {
|
||||
throw new RuntimeException();
|
||||
}
|
||||
return this.aClass3_Sub15_7.aByteArray40;
|
||||
return this.aClass3_Sub15_7.data;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue