-
Notifications
You must be signed in to change notification settings - Fork 496
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
force_full_app_update of CMsgClientPICSChangesSinceResponse is not propagated #474
Comments
Just to make sure I understand this: the issue here is that |
If I understood it right t9t wants to change:
Into:
And if you ask me it makes sense, since as noticed above - |
@yaakov-h yes, that's exactly correct. @JustArchi I would like it more if all the properties were exposed in the callback, so that the user can decide for themselves which properties they would like to use or not. Changing the way that the value of |
I assumed as much and this is the reason why I'd rewrite that property to be actually useful and not just outdated placeholder. Still, from library point of view it'd be probably better to expose all 3, so I'm with you on that, although I also like how SK2 can add logic and make those generic Steam responses actually useful for the developer, so he has a flag that tells him if app requires full update or not, not 3 generic flags and "guess yourself what is the right one" behaviour. If somebody needs that generic behaviour then he can send the request and parse the response himself, I've always seen SK2 functions as a helper layer between raw requests with responses, and the developer and his app itself. In this case it'd be better if the callback produced useful pre-parsed properties and not just raw values - we can already ask for raw values by sending the request. |
I haven't dug into the code much, and this is slightly off-topic, but I wonder if it would be possible to include the raw message objects in the callbacks, so that it would be available in the event that someone might want to use some arcane properties. |
You can always implement a My current thinking is just to add two new properties to the callback object. |
This was fixed in #865 |
In
PICSChangesCallback
, the propertyRequiresFullUpdate
is set to the value offorce_full_update
. However,CMsgClientPICSChangesSinceResponse
also hasforce_full_app_update
andforce_full_package_update
. These are not available in the code at all (and I noticed that whenforce_full_app_update
istrue
, theforce_full_update
remainsfalse
).Location of
force_full_app_update
:SteamKit/Resources/Protobufs/steamclient/steammessages_clientserver.proto
Line 971 in 7640dfe
Location where
RequiresFullUpdate
is set:SteamKit/SteamKit2/SteamKit2/Steam/Handlers/SteamApps/Callbacks.cs
Line 394 in 5fbf660
The text was updated successfully, but these errors were encountered: