Package l2p.loginserver.gameservercon.lspackets

Examples of l2p.loginserver.gameservercon.lspackets.PlayerAuthResponse


    int loginOkId2 = readD();
    L2LoginClient client = LoginController.getInstance().getAuthedClient(account);
    if(client == null)
    {
      System.out.println("Client is null for account " + account);
      sendPacket(new PlayerAuthResponse(account));
      return;
    }
    SessionKey key = client.getSessionKey();
    int lPlayOk1 = key.playOkID1;
    int lPlayOk2 = key.playOkID2;
    int lLoginOk1 = key.loginOkID1;
    int lLoginOk2 = key.loginOkID2;
    boolean isAuthedOnLs;
    isAuthedOnLs = playOkId1 == lPlayOk1 && playOkId2 == lPlayOk2 && loginOkId1 == lLoginOk1 && loginOkId2 == lLoginOk2;
    sendPacket(new PlayerAuthResponse(client, isAuthedOnLs));
  }
View Full Code Here

TOP

Related Classes of l2p.loginserver.gameservercon.lspackets.PlayerAuthResponse

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.