|
|
@ -61,7 +61,7 @@ const AuthenticationType = {
|
|
|
|
OpenSystem_1: "OpenSystem_1",
|
|
|
|
OpenSystem_1: "OpenSystem_1",
|
|
|
|
OpenSystem_2: "OpenSystem_2",
|
|
|
|
OpenSystem_2: "OpenSystem_2",
|
|
|
|
Unknown: "Unknown",
|
|
|
|
Unknown: "Unknown",
|
|
|
|
}
|
|
|
|
};
|
|
|
|
class AuthenticationPacket extends Packet{
|
|
|
|
class AuthenticationPacket extends Packet{
|
|
|
|
authenticationType;
|
|
|
|
authenticationType;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -81,7 +81,7 @@ const HandshakeStage = {
|
|
|
|
2: "2",
|
|
|
|
2: "2",
|
|
|
|
3: "3",
|
|
|
|
3: "3",
|
|
|
|
4: "4"
|
|
|
|
4: "4"
|
|
|
|
}
|
|
|
|
};
|
|
|
|
class HandshakePacket extends Packet{
|
|
|
|
class HandshakePacket extends Packet{
|
|
|
|
handshakeStage;
|
|
|
|
handshakeStage;
|
|
|
|
}
|
|
|
|
}
|
|
|
|