mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-19 04:50:25 -07:00
Moved around some Static fields/methods, named LocType opcode 74
This commit is contained in:
parent
82c75b3ec9
commit
5e66d3ba01
95 changed files with 946 additions and 993 deletions
|
|
@ -774,4 +774,39 @@ public class LoginManager {
|
|||
Static99.aClass69_64.clear();
|
||||
Static217.aClass69_116.clear();
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!dh", name = "a", descriptor = "(Z)V")
|
||||
public static void reconnect() {
|
||||
Protocol.outboundBuffer.offset = 0;
|
||||
Protocol.opcode3 = -1;
|
||||
Static40.aBoolean108 = false;
|
||||
Protocol.length = 0;
|
||||
mapFlagX = 0;
|
||||
MiniMenu.size = 0;
|
||||
Protocol.opcode2 = -1;
|
||||
MiniMap.state = 0;
|
||||
Player.rebootTimer = 0;
|
||||
Protocol.opcode4 = -1;
|
||||
Protocol.inboundBuffer.offset = 0;
|
||||
Static201.anInt1862 = 0;
|
||||
Protocol.opcode = -1;
|
||||
@Pc(35) int local35;
|
||||
for (local35 = 0; local35 < PlayerList.players.length; local35++) {
|
||||
if (PlayerList.players[local35] != null) {
|
||||
PlayerList.players[local35].faceEntity = -1;
|
||||
}
|
||||
}
|
||||
for (local35 = 0; local35 < NpcList.npcs.length; local35++) {
|
||||
if (NpcList.npcs[local35] != null) {
|
||||
NpcList.npcs[local35].faceEntity = -1;
|
||||
}
|
||||
}
|
||||
Inv.method2073();
|
||||
Camera.cameraType = 1;
|
||||
client.setGameState(30);
|
||||
for (local35 = 0; local35 < 100; local35++) {
|
||||
Static186.aBooleanArray100[local35] = true;
|
||||
}
|
||||
ClientProt.method1373();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue