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

A full-screen dimming cover carrying a StoreDialogView download-progress panel. More...

#include <MarkerDownloadView.h>

Inheritance diagram for MarkerDownloadView:
Collaboration diagram for MarkerDownloadView:

Instance Methods

(instancetype) - init
 Builds the cover and the progress panel at the screen's size.
(void) - show
 Starts the marker check: shows the dialog (unless the markers are already legal) and downloads the marker list.
(void) - downloadMarkerList
 Requests the marker list from the store.
(void) - markerDownloadEnd
 Ends the check: hides the dialog and tells the delegate -markerCheckEnd .
(void) - markerDownloadCancel
 Aborts the check: hides the dialog, cancels the queue, resets the current marker to "mk0026" , and tells the delegate -markerCheckEnd .
(void) - markerDownload
 Starts downloading the queued markers, or ends the check when the queue is empty.
(void) - createMarkerDownloadList
 Builds the download queue by diffing the downloaded marker list against the installed markers, then shows the dialog when there is work to do.
(void) - downloaderError:
 DownloaderDelegate : the list request failed.
(void) - downloaderFinished:
 DownloaderDelegate : the list request finished; validate it and start the markers.
(void) - listDownloadFailed
 Handles a failed list download: ends the check when the markers are legal, otherwise treats it as a queue failure.
(void) - showDownloadRetryAlert
 Presents the retry-or-skip alert (tag 2 ).
(void) - showListSkipAlert
 Presents the confirm-skip alert (tag 1 ).
(void) - alertSelect:
 AlertViewManagerDelegate : routes the retry and skip alert buttons.
(void) - showModalDialog
 Fades the cover in and puts the panel into its spinner state.
(void) - hideModalDialog
 Fades the cover out, stops the spinner, and detaches the modal.
(void) - storeDialogCancel:
 StoreDialogViewDelegate : the panel's abort button was pressed.
(void) - downloadManagerProceed:
 MarkerDownloadManagerDelegate : the queue made progress.
(void) - downloadManagerCompleted:
 MarkerDownloadManagerDelegate : the queue completed.
(void) - downloadManagerFailed:
 MarkerDownloadManagerDelegate : the queue failed.
Instance Methods inherited from <DownloaderDelegate>
(void) - downloaderProceed:
 Sent periodically as data arrives, and once more on completion.
Instance Methods inherited from <MarkerDownloadManagerDelegate>
(void) - downloadManagerStartTask:
 A task has started.
(void) - downloadManagerProceed:
 The current task made progress.
(void) - downloadManagerCompleted:
 All tasks completed.
Instance Methods inherited from <AlertViewManagerDelegate>
(void) - alertClose:
 Sent when a UIAlertController -based alert finishes dismissing.

Properties

id< MarkerDownloadViewDelegate > delegate
 The object told when the marker check ends.
UIView * parentView
 The view the modal is shown over.

Detailed Description

A full-screen dimming cover carrying a StoreDialogView download-progress panel.

Method Documentation

◆ alertSelect:

- (void) alertSelect: (nonnull NSDictionary *) info

AlertViewManagerDelegate : routes the retry and skip alert buttons.

Parameters
infoThe alert result, carrying "Tag" and "btnMessage" .
Ghidra address:
0x60f4c

Reimplemented from <AlertViewManagerDelegate>.

◆ createMarkerDownloadList

- (void) createMarkerDownloadList

Builds the download queue by diffing the downloaded marker list against the installed markers, then shows the dialog when there is work to do.

Ghidra address:
0x603ec

◆ downloaderError:

- (void) downloaderError: (id) downloader

DownloaderDelegate : the list request failed.

Parameters
downloaderThe failed request.
Ghidra address:
0x609bc
Ghidra address:
0x609bc

Reimplemented from <DownloaderDelegate>.

◆ downloaderFinished:

- (void) downloaderFinished: (id) downloader

DownloaderDelegate : the list request finished; validate it and start the markers.

Parameters
downloaderThe finished request.
Ghidra address:
0x609c8
Ghidra address:
0x609c8

Reimplemented from <DownloaderDelegate>.

◆ downloadManagerCompleted:

- (void) downloadManagerCompleted: (MarkerDownloadManager *) manager

MarkerDownloadManagerDelegate : the queue completed.

Parameters
managerThe queue.
Ghidra address:
0x61750
Ghidra address:
0x61750

◆ downloadManagerFailed:

- (void) downloadManagerFailed: (nullable MarkerDownloadManager *) manager

MarkerDownloadManagerDelegate : the queue failed.

Parameters
managerThe queue.
Ghidra address:
0x617f4

Reimplemented from <MarkerDownloadManagerDelegate>.

◆ downloadManagerProceed:

- (void) downloadManagerProceed: (MarkerDownloadManager *) manager

MarkerDownloadManagerDelegate : the queue made progress.

Parameters
managerThe queue.
Ghidra address:
0x616e4
Ghidra address:
0x616e4

◆ downloadMarkerList

- (void) downloadMarkerList

Requests the marker list from the store.

Ghidra address:
0x5ffd0

◆ hideModalDialog

- (void) hideModalDialog

Fades the cover out, stops the spinner, and detaches the modal.

Ghidra address:
0x613e0
Ghidra address:
0x61594
Ghidra address:
0x615e0

◆ init

- (instancetype) init

Builds the cover and the progress panel at the screen's size.

The panel is 400×300 on a pad and 300×270 otherwise, its message eighteen point on a pad and sixteen otherwise, centred in the screen. The cover is a forty-per-cent black slab that starts fully transparent.

Returns
The initialised view.
Ghidra address:
0x5fbb4
Ghidra address:
0x5fbb4

◆ listDownloadFailed

- (void) listDownloadFailed

Handles a failed list download: ends the check when the markers are legal, otherwise treats it as a queue failure.

Ghidra address:
0x60b60

◆ markerDownload

- (void) markerDownload

Starts downloading the queued markers, or ends the check when the queue is empty.

Ghidra address:
0x60270

◆ markerDownloadCancel

- (void) markerDownloadCancel

Aborts the check: hides the dialog, cancels the queue, resets the current marker to "mk0026" , and tells the delegate -markerCheckEnd .

Ghidra address:
0x60128

◆ markerDownloadEnd

- (void) markerDownloadEnd

Ends the check: hides the dialog and tells the delegate -markerCheckEnd .

Ghidra address:
0x60068

◆ show

- (void) show

Starts the marker check: shows the dialog (unless the markers are already legal) and downloads the marker list.

Ghidra address:
0x5ff44

◆ showDownloadRetryAlert

- (void) showDownloadRetryAlert

Presents the retry-or-skip alert (tag 2 ).

Ghidra address:
0x60bec

◆ showListSkipAlert

- (void) showListSkipAlert

Presents the confirm-skip alert (tag 1 ).

Ghidra address:
0x60d9c

◆ showModalDialog

- (void) showModalDialog

Fades the cover in and puts the panel into its spinner state.

Ghidra address:
0x610c8
Ghidra address:
0x61328
Ghidra address:
0x61374

◆ storeDialogCancel:

- (void) storeDialogCancel: (id) dialogView

StoreDialogViewDelegate : the panel's abort button was pressed.

Parameters
dialogViewThe panel.
Ghidra address:
0x616bc
Ghidra address:
0x616bc

Reimplemented from <StoreDialogViewDelegate>.

Property Documentation

◆ delegate

- (id<MarkerDownloadViewDelegate>) delegate
readwritenonatomicweak

The object told when the marker check ends.

Weak, and dispatched through -respondsToSelector: .

◆ parentView

- (UIView*) parentView
readwritenonatomicweak

The view the modal is shown over.

Weak.


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