Runs a list of store download tasks one after another, verifying each pack's trailing MD5 digest, saving it, unpacking it, and registering its tune before advancing.
More...
#include <StoreDownloadManager.h>
|
| (nullable NSDictionary *) | - getTuneInfoFromUnzip: |
| | Decodes and deserialises the tune-info property list held in an unpacked archive.
|
| (instancetype) | - initWithTasks:delegate: |
| | Builds the manager for a task list and a delegate.
|
| (void) | - start |
| | Starts downloading the first task.
|
| (void) | - cancel |
| | Cancels the in-flight download.
|
Runs a list of store download tasks one after another, verifying each pack's trailing MD5 digest, saving it, unpacking it, and registering its tune before advancing.
◆ cancel
Cancels the in-flight download.
- Ghidra address:
- 0xd7f5c
◆ getTuneInfoFromUnzip:
| - (nullable NSDictionary *) getTuneInfoFromUnzip: |
|
(nullable KUnzip *) | unzip |
|
Decodes and deserialises the tune-info property list held in an unpacked archive.
Tries the infov3 , infov2 , then info entries; infov3 is deciphered with the tune-info key and has a four-byte header stripped, while the older entries are deciphered with the BGM key.
- Parameters
-
- Returns
- The tune-info dictionary, or nil.
- Ghidra address:
- 0xd79bc
◆ initWithTasks:delegate:
Builds the manager for a task list and a delegate.
- Parameters
-
| tasks | The download tasks, each a StoreDownloadTask . |
| delegate | The delegate told about progress; held weakly. |
- Returns
- The initialised manager, or nil when
tasks is nil.
- Ghidra address:
- 0xd7c04
◆ start
Starts downloading the first task.
- Ghidra address:
- 0xd7db0
◆ currentIndex
| - (unsigned int) currentIndex |
|
readwritenonatomicassign |
The index of the task currently downloading.
- Ghidra address:
- 0xd8764 (getter)
◆ currentProgress
| - (float) currentProgress |
|
readnonatomicassign |
The current task's download progress, 0…1.
- Ghidra address:
- 0xd7d08 (getter)
- Ghidra address:
- 0xd7d08
◆ numTasks
| - (unsigned int) numTasks |
|
readnonatomicassign |
The number of tasks.
- Ghidra address:
- 0xd7d88 (getter)
- Ghidra address:
- 0xd7d88
◆ overallProgress
| - (float) overallProgress |
|
readnonatomicassign |
The progress across all tasks, 0…1.
- Ghidra address:
- 0xd7d20 (getter)
- Ghidra address:
- 0xd7d20
The documentation for this class was generated from the following files: