diff --git a/steam/core/msg/structs.py b/steam/core/msg/structs.py index b26cde1..f9622a5 100644 --- a/steam/core/msg/structs.py +++ b/steam/core/msg/structs.py @@ -294,4 +294,23 @@ class ClientMarketingMessageUpdate2(StructMessage): return '\n'.join(text) +class ClientUpdateGuestPassesList(StructMessage): + result = EResult.Invalid + countGuestPassesToGive = 0 + countGuestPassesToRedeem = 0 + # there is more to parse, but I dont have an sample to figure it out + # fairly sure this is deprecated anyway since introduction of the invetory system + def load(self, data): + (result, + self.countGuestPassesToGive, + self.countGuestPassesToRedeem, + ) = struct.unpack_from("