complete login system for now, misc fixes
This commit is contained in:
parent
06a14ae645
commit
a6c2695ccb
26 changed files with 460 additions and 210 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue