internal SteamTFSystem440RawEndpoint(SteamHttpClient client)
 {
     Client = client;
 }
Beispiel #2
0
 internal SteamAppsRawEndpoint(SteamHttpClient client)
 {
     Client = client;
 }
Beispiel #3
0
 internal SteamWebUserPresenceOAuthRawEndpoint(SteamHttpClient client)
 {
     Client = client;
 }
 internal SteamUserStatsRawEndpoint(SteamHttpClient client)
 {
     Client = client;
 }
 internal SteamEnvoyRawEndpoint(SteamHttpClient client)
 {
     Client = client;
 }
Beispiel #6
0
 internal SteamPortal2Leaderboards620RawEndpoint(SteamHttpClient client)
 {
     Client = client;
 }
Beispiel #7
0
 internal SteamDirectoryRawEndpoint(SteamHttpClient client)
 {
     Client = client;
 }
 internal SteamWebAPIUtilRawEndpoint(SteamHttpClient client)
 {
     Client = client;
 }
 internal SteamGCVersion570RawEndpoint(SteamHttpClient client)
 {
     Client = client;
 }
 internal SteamPlayerServiceRawEndpoint(SteamHttpClient client)
 {
     Client = client;
 }
        private void OnTimer(object sender, System.Timers.ElapsedEventArgs e)
        {
            var total = currChangedAppKeys + currChangedPackageKeys;
            currProc = ChangedApps.Count;

            if (currChangedAppKeys == 0 && currProc == 0)
            {
                lastProc = ChangedApps.Count;
                Logs.Log("SteamApps", "Running update cycle (Revision: " + PreviousChange + ")..");
                GetPICSChanges();

            }

            else if (currProc + currChangedPackageKeys == total)
            {
                Logs.Log("SteamApps", "Completed Processing AppCycle.");
                var apps = new List<App>(ChangedApps);
                ChangedApps.Clear();
                var http = new SteamHttpClient();
                http.process(apps);
                currChangedAppKeys = 0;
                currChangedPackageKeys = 0;
                AIcount = 0;
                currProc = 0;
                lastProc = 0;
            }
            else
            {
                if (currProc == lastProc && currProc > 0 && lastProc > 0)
                {
                    AIcount++;
                    Logs.Log("SteamApps", "App processing queue appears to be stuck at " + ChangedApps.Count + " out of " + currChangedAppKeys + " (" + AIcount + ")");

                }

                if (AIcount == 3)
                {

                    currChangedAppKeys = 0;
                    currChangedPackageKeys = 0;
                    AIcount = 0;
                    currProc = 0;
                    lastProc = 0;
                    Logs.Log("SteamApps", "AppCycle seems to have reached maximum, preparing to send gathered data.");
                    var apps = new List<App>(ChangedApps);
                    ChangedApps.Clear();
                    var http = new SteamHttpClient();
                    http.process(apps);

                    return;
                }
                // Cycle isn't done yet
                Logs.Log("SteamApps", "Processing.. " + currProc + " out of " + currChangedAppKeys);
                lastProc = currProc;
            }
        }
 internal SteamUserOAuthRawEndpoint(SteamHttpClient client)
 {
     Client = client;
 }
 internal SteamAccountRecoveryServiceRawEndpoint(SteamHttpClient client)
 {
     Client = client;
 }
Beispiel #14
0
 internal SteamRemoteStorageRawEndpoint(SteamHttpClient client)
 {
     Client = client;
 }
 internal SteamGameNotificationServiceRawEndpoint(SteamHttpClient client)
 {
     Client = client;
 }