示例#1
0
 protected override void Response()
 {
     base.Response();
     _session.UserInfo.StatusCode = GPStatus.Online;
     GPCMServer.LoggedInSession.GetOrAdd(_session.Id, _session);
     SDKRevision.ExtendedFunction(_session);
 }
        protected override void Response()
        {
            base.Response();
            //Arves is correct we need to check this
            if (_errorCode != GPError.NoError)
            {
                return;
            }

            if (_result == null)
            {
                return;
            }

            _session.UserData.UserStatus   = GPStatus.Online;
            _session.UserData.UserID       = _result.UserID;
            _session.UserData.ProfileID    = _result.ProfileID;
            _session.UserData.SubProfileID = _result.SubProfileID;
            //_session.UserData.ProductID =
            _session.UserData.GameName    = _request.GameName;
            _session.UserData.GamePort    = _request.GamePort;
            _session.UserData.LoginStatus = LoginStatus.Completed;
            _session.UserData.SDKRevision = _request.SDKType;

            PCMServer.LoggedInSession.GetOrAdd(_session.Id, _session);
            SDKRevision.ExtendedFunction(_session);
        }
示例#3
0
 protected override void Response(GPCMSession session)
 {
     base.Response(session);
     SDKRevision.Switch(session, _recv);
 }