public void GetPlayRestrictions(ref Lockouts restrictions, bool reload)
        {
            if (!reload)
            {
                if (this.LastGameSessionInfo != null)
                {
                    restrictions.loaded           = true;
                    restrictions.sessionStartTime = this.LastGameSessionInfo.SessionStartTime;
                    return;
                }
                if (this.GameSessionRunningCount > 0)
                {
                    return;
                }
            }
            this.LastGameSessionInfo = null;
            AccountAPI gameSessionRunningCount = this;

            gameSessionRunningCount.GameSessionRunningCount = gameSessionRunningCount.GameSessionRunningCount + 1;
            GetGameSessionInfoRequest getGameSessionInfoRequest = new GetGameSessionInfoRequest();

            getGameSessionInfoRequest.SetEntityId(this.m_battleNet.GameAccountId);
            AccountAPI.GetGameSessionInfoRequestContext getGameSessionInfoRequestContext = new AccountAPI.GetGameSessionInfoRequestContext(this);
            this.m_rpcConnection.QueueRequest(this.m_accountService.Id, 34, getGameSessionInfoRequest, new RPCContextDelegate(getGameSessionInfoRequestContext.GetGameSessionInfoRequestContextCallback), 0);
        }
    public void GetPlayRestrictions(ref BattleNet.DllLockouts restrictions, bool reload)
    {
        if (!reload)
        {
            if (this.LastGameSessionInfo != null)
            {
                restrictions.loaded           = true;
                restrictions.sessionStartTime = this.LastGameSessionInfo.SessionStartTime;
                return;
            }
            if (this.GameSessionRunningCount > 0)
            {
                return;
            }
        }
        this.LastGameSessionInfo = null;
        this.GameSessionRunningCount++;
        GetGameSessionInfoRequest message = new GetGameSessionInfoRequest();

        message.SetEntityId(base.m_battleNet.GameAccountId);
        GetGameSessionInfoRequestContext context = new GetGameSessionInfoRequestContext(this);

        base.m_rpcConnection.QueueRequest(this.m_accountService.Id, 0x22, message, new RPCContextDelegate(context.GetGameSessionInfoRequestContextCallback), 0);
    }