|
JubeatPlus 3.9.11
|
Base class for the four themed title screens. More...
#include <TitleViewController.h>


Instance Methods | |
| (instancetype) | - init |
| Initialises the controller and enables tapping. | |
| (void) | - loadView |
| Builds the base view hierarchy: adds the corporate button. | |
| (void) | - tapExplain: |
| Opens the payment-services message overlay. | |
| (void) | - tapCorporateButton: |
| Opens the Konami corporate site in a Safari view controller. | |
| (void) | - closeMessage: |
| Dismisses the message overlay and re-enables tapping. | |
| (void) | - messageDownloadError:msgStr: |
| Shows a download-failure alert, then dismisses the message overlay and re-enables tapping. | |
| (void) | - start |
| Begins the title-screen network work. | |
| (void) | - showLogo |
| Shows the logo. | |
| (void) | - stopAnimation |
| Cancels the licence check and the news-list download. | |
| (void) | - jubeatLabAccessError: |
| Callback: the top-page licence check failed. | |
| (void) | - jubeatLabAccessFinished: |
| Callback: the top-page licence check finished. | |
| (void) | - downloaderFinished: |
| Callback: the news-list download finished. | |
| (void) | - switchController |
| Switches to the next controller. | |
| (void) | - setCorporateButton |
| Builds the corporate ("co_info") button, themed and anchored to the top-right corner. | |
| Instance Methods inherited from <DownloaderDelegate> | |
| (void) | - downloaderProceed: |
| Sent periodically as data arrives, and once more on completion. | |
| (void) | - downloaderFinished: |
| Sent when the request completes. | |
| (void) | - downloaderError: |
| Sent when the request fails. | |
Protected Attributes | |
| UIButton * | explainBtn |
| The "explain" button opening the payment-services (資金決済法について) message overlay. | |
| UIButton * | coBtn |
The corporate ("co_info") button opening the Konami site; built in setCorporateButton. | |
| BOOL * | bEnableTap |
| Whether taps are currently accepted. | |
| jubeatLabAccess * | labAccess |
The top-page licence-URL fetch, live between -start and its completion. | |
| Downloader * | infoDownloader |
The news-list download, live between -start and its completion. | |
| MessageTextView * | textView |
The payment-services message overlay shown by -tapExplain: . | |
| UIView * | coverView |
The dimming backdrop behind textView . | |
Base class for the four themed title screens.
Acts as the delegate for the message overlay and the news-list downloader, and as the callback target for the top-page licence check.
| - (void) closeMessage: | (nullable id) | sender |
Dismisses the message overlay and re-enables tapping.
| sender | The message overlay reporting its close. |
Reimplemented from <MessageTextViewDelegate>.
| - (void) downloaderFinished: | (nullable id) | downloader |
Callback: the news-list download finished.
Parses the server time (an April-1 date turns on the hidden April-Fools flags), the encrypted info-list URL, and the notification-page URL and its update time.
| downloader | The finished request. |
| - (instancetype) init |
Initialises the controller and enables tapping.
Reimplemented in TitleViewControllerKnt, TitleViewControllerNte, TitleViewControllerOrg, and TitleViewControllerRpl.
| - (void) jubeatLabAccessError: | (nullable id) | access |
Callback: the top-page licence check failed.
Drops the request.
| access | The finished request. |
| - (void) jubeatLabAccessFinished: | (nullable id) | access |
Callback: the top-page licence check finished.
On status 0, stores the encrypted lab URL in NSUserDefaults .
| access | The finished request. |
| - (void) loadView |
Builds the base view hierarchy: adds the corporate button.
Reimplemented in NteTitleCoreController, TitleViewControllerKnt, TitleViewControllerNte, TitleViewControllerOrg, and TitleViewControllerRpl.
| - (void) messageDownloadError: | (nullable id) | sender | |
| msgStr: | (nullable NSString *) | msgStr |
Shows a download-failure alert, then dismisses the message overlay and re-enables tapping.
| sender | The message overlay reporting the failure. |
| msgStr | The server-supplied error text shown in the alert. |
Reimplemented from <MessageTextViewDelegate>.
| - (void) setCorporateButton |
Builds the corporate ("co_info") button, themed and anchored to the top-right corner.
| - (void) showLogo |
Shows the logo.
Empty in the base class; overridden by the themed subclasses.
Reimplemented in NteTitleCoreController, TitleViewControllerKnt, TitleViewControllerNte, TitleViewControllerOrg, and TitleViewControllerRpl.
| - (void) start |
Begins the title-screen network work.
Kicks off the top-page licence check and the news-list download.
Reimplemented in NteTitleCoreController, TitleViewControllerKnt, TitleViewControllerNte, TitleViewControllerOrg, and TitleViewControllerRpl.
| - (void) stopAnimation |
Cancels the licence check and the news-list download.
Reimplemented in NteTitleCoreController, TitleViewControllerKnt, and TitleViewControllerNte.
| - (void) switchController |
Switches to the next controller.
Empty in the base class; overridden by subclasses.
| - (void) tapCorporateButton: | (nullable id) | sender |
Opens the Konami corporate site in a Safari view controller.
| sender | The button that was tapped. |
| - (void) tapExplain: | (nullable id) | sender |
Opens the payment-services message overlay.
Disables tapping, fades in a dimming backdrop and a MessageTextView that downloads the challenge-mode policy text, both centred on the view.
| sender | The button that was tapped. |
|
protected |
Whether taps are currently accepted.
Encoded ^B in the runtime metadata: it is a BOOL pointer used purely as a truthy flag, only ever assigned (BOOL *)YES / NO and never dereferenced.