Example #1
0
 internal PICSChangesCallback( SteamClient client, CMsgPICSChangesSinceResponse msg )
     : base( client )
Example #2
0
            internal PICSChangesCallback( CMsgPICSChangesSinceResponse msg )
#endif
            {
                LastChangeNumber = msg.since_change_number;
                CurrentChangeNumber = msg.current_change_number;
                RequiresFullUpdate = msg.force_full_update;
                PackageChanges = new Dictionary<uint, PICSChangeData>();
                AppChanges = new Dictionary<uint, PICSChangeData>();

                foreach ( var package_change in msg.package_changes )
                {
                    PackageChanges.Add( package_change.packageid, new PICSChangeData( package_change ) );
                }

                foreach ( var app_change in msg.app_changes )
                {
                    AppChanges.Add( app_change.appid, new PICSChangeData( app_change ) );
                }
            }
Example #3
0
 internal PICSChangeData( CMsgPICSChangesSinceResponse.PackageChange change )
 {
     this.ID = change.packageid;
     this.ChangeNumber = change.change_number;
     this.NeedsToken = change.needs_token;
 }