Exemple #1
0
    public void onSendInfo(object obj)
    {
        Debug.Log("WD_LOG_onSendInfo : " + (string)obj);
        string info = obj.ToString();
        loginOrRealNameCallBackInfo data = JsonUtility.FromJson <loginOrRealNameCallBackInfo>(info);

        Debug.Log("WD :" + data.code);
        Debug.Log("WD :" + data.msg);
        if (data.code == callBcakState.CODE_SEND_INFO_SUCCESS.ToString())
        {
        }
        else if (data.code == callBcakState.CODE_SEND_INFO_FAILED.ToString())
        {
        }
    }
Exemple #2
0
    public void onVerified(object obj)
    {
        Debug.Log("WD_LOG_onVerified : " + (string)obj);
        string info = obj.ToString();
        loginOrRealNameCallBackInfo data = JsonUtility.FromJson <loginOrRealNameCallBackInfo>(info);

        Debug.Log("WD :" + data.code);
        Debug.Log("WD :" + data.msg);
        if (data.code == callBcakState.CODE_VERIFIED_SUCCESS_18_TO_MAX.ToString())
        {
        }
        else if (data.code == callBcakState.CODE_VERIFIED_SUCCESS_16_TO_18.ToString())
        {
        }
        else if (data.code == callBcakState.CODE_VERIFIED_SUCCESS_0_TO_16.ToString())
        {
        }
        else if (data.code == callBcakState.CODE_VERIFIED_FAILED_RESUME_GAME.ToString())
        {
        }
        else if (data.code == callBcakState.CODE_VERIFIED_FAILED_STOP_GAME.ToString())
        {
        }
    }