Example #1
0
        static void ProcessLoginResponse(PacketData packet)
        {
            var response = new LoginResPacket();

            response.FromBytes(packet.BodyData);

            if (response.Result == ERROR_CODE.NONE)
            {
                Debug.Log("로그인성공");
            }
            else
            {
                GameNetworkServer.Instance.LocalUserID = "";
            }

            LoginSceneManager.loginResult = (Int16)response.Result;
        }