示例#1
0
    public void onMainternance(string result)
    {
        Debug.Log("GamePotEventListener::onMainternance-" + result);
        NAppStatus status = JsonMapper.ToObject <NAppStatus>(result);

        status.userInfo = null;

        if (cbLogin != null)
        {
            cbLogin(NCommon.ResultLogin.NEED_UPDATE, null, status);
        }
        else
        {
            if (GamePotInterface != null)
            {
                GamePotInterface.onMainternance(status);
            }
        }
    }