mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-16 03:20:21 -07:00
Refactored some buffering classes
This commit is contained in:
parent
38800991cb
commit
e79d5ddee8
29 changed files with 391 additions and 391 deletions
|
|
@ -28,7 +28,7 @@ public final class Static158 {
|
|||
try {
|
||||
if (++Static226.anInt5079 > 2000) {
|
||||
if (Static124.socket != null) {
|
||||
Static124.socket.method2834();
|
||||
Static124.socket.close();
|
||||
Static124.socket = null;
|
||||
}
|
||||
if (Static57.anInt1758 >= 1) {
|
||||
|
|
@ -76,7 +76,7 @@ public final class Static158 {
|
|||
if (local120 != 21) {
|
||||
Static223.anInt5034 = local120;
|
||||
Static179.anInt4261 = 0;
|
||||
Static124.socket.method2834();
|
||||
Static124.socket.close();
|
||||
Static124.socket = null;
|
||||
return;
|
||||
}
|
||||
|
|
@ -94,19 +94,19 @@ public final class Static158 {
|
|||
return;
|
||||
}
|
||||
Static57.aClass3_Sub15_Sub1_3.offset = 0;
|
||||
Static124.socket.method2827(0, Static229.aClass100Array156.length * 8, Static57.aClass3_Sub15_Sub1_3.data);
|
||||
Static124.socket.read(0, Static229.aClass100Array156.length * 8, Static57.aClass3_Sub15_Sub1_3.data);
|
||||
for (local120 = 0; local120 < Static229.aClass100Array156.length; local120++) {
|
||||
Static229.aClass100Array156[local120] = Static79.decode37(Static57.aClass3_Sub15_Sub1_3.g8());
|
||||
}
|
||||
Static223.anInt5034 = 21;
|
||||
Static179.anInt4261 = 0;
|
||||
Static124.socket.method2834();
|
||||
Static124.socket.close();
|
||||
Static124.socket = null;
|
||||
return;
|
||||
}
|
||||
} catch (@Pc(238) IOException local238) {
|
||||
if (Static124.socket != null) {
|
||||
Static124.socket.method2834();
|
||||
Static124.socket.close();
|
||||
Static124.socket = null;
|
||||
}
|
||||
if (Static57.anInt1758 < 1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue