Ejemplo n.º 1
0
    public void onLoginFailure(string result)
    {
        Debug.Log("GamePotEventListener::onLoginFailure()-" + result);
        NError error = JsonMapper.ToObject <NError>(result);

        if (cbLogin != null)
        {
            cbLogin(NCommon.ResultLogin.FAILED, null, null, error);
            cbLogin = null;
        }
        else
        {
            if (GamePotInterface != null)
            {
                GamePotInterface.onLoginFailure(error);
            }
        }
    }