diff --git a/steam/client/builtins/apps.py b/steam/client/builtins/apps.py index 3d1f7df..05cceb3 100644 --- a/steam/client/builtins/apps.py +++ b/steam/client/builtins/apps.py @@ -148,6 +148,20 @@ class Apps(object): {'app_id': app_id}, timeout=10 ) + + def get_encrypted_app_ticket(self, app_id, userdata): + """Gets the encrypted app ticket + :param app_id: app id + :type app_id: :class:`int` + :param userdata: userdata + :type userdata: :class:`bytes` + :return: `EncryptedAppTicket _` + :rtype: proto message + """ + return self.send_job_and_wait(MsgProto(EMsg.ClientRequestEncryptedAppTicket), + {'app_id': app_id, 'userdata': userdata}, + timeout=10 + ) def get_depot_key(self, app_id, depot_id): """Get depot decryption key