JubeatPlus 3.9.11
Loading...
Searching...
No Matches
JcfDownloader Class Reference

Downloads a shared edit chart by its custom id. More...

#include <JcfDownloader.h>

Inheritance diagram for JcfDownloader:
Collaboration diagram for JcfDownloader:

Instance Methods

(nullable NSURL *) - createCustomSequenceURL:
 The store-new-info endpoint used for the comprised-pack lookup.
(instancetype) - initWithCustomID:delegate:
 Begins downloading the chart for a custom id, minting an editor id first if needed.
(void) - downloadStart
 Starts the jubeatLab sequence-download API for the custom id.
(void) - jubeatLabAccessProceed:
 jubeatLab access progress callback (a no-op).
(void) - jubeatLabAccessError:
 jubeatLab access failure callback: reports the error for the matching request.
(void) - downloadFailedDelegate
 Relays a plain download failure to the delegate and drops the sequence downloader.
(BOOL) - isExistJbtFile:
 Whether a built-in .jbt chart already exists for a tune id.
(void) - jubeatLabAccessFinished:
 jubeatLab access success callback: decodes and saves the chart, then looks up its pack.
(void) - successIDDownload:
 EditorIDManager success callback: begins the download once an editor id exists.
(void) - errorIDDownload:msgStr:
 EditorIDManager failure callback: reports the download error.

Detailed Description

Downloads a shared edit chart by its custom id.

Method Documentation

◆ createCustomSequenceURL:

- (nullable NSURL *) createCustomSequenceURL: (nullable id) customID

The store-new-info endpoint used for the comprised-pack lookup.

Parameters
customIDUnused; present to match the binary's selector.
Returns
The store-new-info endpoint URL.
Ghidra address:
0x1d4624

◆ downloadFailedDelegate

- (void) downloadFailedDelegate

Relays a plain download failure to the delegate and drops the sequence downloader.

Ghidra address:
0x1d4948

◆ downloadStart

- (void) downloadStart

Starts the jubeatLab sequence-download API for the custom id.

Ghidra address:
0x1d474c

◆ errorIDDownload:msgStr:

- (void) errorIDDownload: (nullable id) sender
msgStr: (nullable NSString *) msg 

EditorIDManager failure callback: reports the download error.

Parameters
senderThe editor-ID manager reporting the failure.
msgThe message to report, or nil when there is none.
Ghidra address:
0x1d568c

Reimplemented from <EditorIDManagerDelegate>.

◆ initWithCustomID:delegate:

- (instancetype) initWithCustomID: (nullable NSString *) customID
delegate: (nullable id) delegate 

Begins downloading the chart for a custom id, minting an editor id first if needed.

Parameters
customIDThe shared chart's custom id.
delegateThe object told the outcome.
Returns
The initialised downloader.
Ghidra address:
0x1d4638

◆ isExistJbtFile:

- (BOOL) isExistJbtFile: (unsigned int) tuneID

Whether a built-in .jbt chart already exists for a tune id.

Parameters
tuneIDThe tune id.
Returns
YES when the tune is a built-in chart or its .jbt file is present.
Ghidra address:
0x1d49f0
Ghidra address:
0x1d49f0

◆ jubeatLabAccessError:

- (void) jubeatLabAccessError: (nullable jubeatLabAccess *) access

jubeatLab access failure callback: reports the error for the matching request.

Parameters
accessThe access reporting the failure.
Ghidra address:
0x1d47c0

◆ jubeatLabAccessFinished:

- (void) jubeatLabAccessFinished: (nullable jubeatLabAccess *) access

jubeatLab access success callback: decodes and saves the chart, then looks up its pack.

Parameters
accessThe access reporting the result.
Ghidra address:
0x1d4ca4

◆ jubeatLabAccessProceed:

- (void) jubeatLabAccessProceed: (nullable jubeatLabAccess *) access

jubeatLab access progress callback (a no-op).

Parameters
accessThe access reporting progress. The binary ignores it.
Ghidra address:
0x1d47bc

◆ successIDDownload:

- (void) successIDDownload: (nullable id) sender

EditorIDManager success callback: begins the download once an editor id exists.

Parameters
senderThe editor-ID manager reporting the result.
Ghidra address:
0x1d5608

Reimplemented from <EditorIDManagerDelegate>.


The documentation for this class was generated from the following files: