Example #1
0
        private void onLoggedIn(LoginStatusModel status, SocketKey key)
        {
            view.enabled = false;
            view.gameObject.SetActive(false);

            needLoginSignal.RemoveListener(onNeedLogin);
            failedAuth.RemoveListener(onFailAuth);
            loggedInSignal.RemoveListener(onLoggedIn);
        }
Example #2
0
 private void onLoggedIn(LoginStatusModel status, SocketKey key)
 {
     //start checking for successful login, if one is not found (by the player fetched)
     //resend the login signal to retrigger the fetch player command
     loginStatuses[key] = new LoginWatch()
     {
         loginStatus = status,
         checkSuccess = true
     };
 }