11from binascii import hexlify
22
33import vdf
4+
45from steam .core .msg import MsgProto
56from steam .enums import EResult
67from steam .enums .emsg import EMsg
@@ -177,14 +178,16 @@ def get_product_info(self, apps=[], packages=[], meta_data_only=False, raw=False
177178
178179 return data
179180
180- def get_changes_since (self , change_number , app_changes = True , package_changes = False ):
181+ def get_changes_since (self , change_number , app_changes = True , package_changes = False , timeout = 10 ):
181182 """Get changes since a change number
182183
183184 :param change_number: change number to use as stating point
184185 :type change_number: :class:`int`
185- :param app_changes: whether to inclued app changes
186+ :param app_changes: whether to include app changes
186187 :type app_changes: :class:`bool`
187- :param package_changes: whether to inclued package changes
188+ :param package_changes: whether to include package changes
189+ :param timeout: timeout in seconds
190+ :type timeout: :class:`int`
188191 :type package_changes: :class:`bool`
189192 :return: `CMsgClientPICSChangesSinceResponse <https://github.com/fabieu/steam-next/blob/39627fe883feeed2206016bacd92cf0e4580ead6/protobufs/steammessages_clientserver.proto#L1171-L1191>`_
190193 :rtype: proto message instance, or :class:`None` on timeout
@@ -195,7 +198,7 @@ def get_changes_since(self, change_number, app_changes=True, package_changes=Fal
195198 'send_app_info_changes' : app_changes ,
196199 'send_package_info_changes' : package_changes ,
197200 },
198- timeout = 10
201+ timeout = timeout
199202 )
200203
201204 def get_app_ticket (self , app_id ):
0 commit comments