complete login system for now, misc fixes

This commit is contained in:
Sen 2025-05-31 00:23:35 +02:00
parent 06a14ae645
commit a6c2695ccb
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
26 changed files with 460 additions and 210 deletions

View file

@ -15,7 +15,6 @@ import common.net.util.concurrent.Future;
import common.net.util.concurrent.GenericFutureListener;
import common.network.IClientLoginHandler;
import common.network.NetConnection;
import common.network.NetHandler;
import common.network.PacketRegistry;
import common.packet.LPacketChallenge;
import common.packet.LPacketPassword;
@ -31,7 +30,7 @@ import common.packet.RPacketResponse;
import common.packet.RPacketServerConfig;
import common.util.EncryptUtil;
public class ClientLoginHandler extends NetHandler implements IClientLoginHandler {
public class ClientLoginHandler implements IClientLoginHandler {
private static enum LoginState {
HANDSHAKE, CONFIRMING, CHALLENGE, ENCRYPTED, PROVING, AUTHENTICATING, DONE;
}

View file

@ -144,7 +144,7 @@ import common.world.Explosion;
import common.world.Weather;
import common.world.World;
public class ClientPlayer extends NetHandler implements IClientPlayer
public class ClientPlayer implements IClientPlayer
{
/**
* The NetworkManager instance used to communicate with the server (used only by handlePlayerPosLook to update