Esempio n. 1
0
    private void RecoverAction()
    {
        if (action.isBusy)
        {
            return;
        }

        state = State.Prepare;
        ShowBusy();
        CommonAction ac = new CommonAction();

        ac.RecoverAction(uid, (res) =>
        {
            HideBusy();
            if (res.isOK)
            {
                var _act = res.actionInfos.First(a => a.action == "login");
                if (_act != null)
                {
                    ShowBusy();
                    action.Recover(uid, _act);
                }
            }
        });
    }