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

Base class for the four themed title screens. More...

#include <TitleViewController.h>

Inheritance diagram for TitleViewController:
Collaboration diagram for TitleViewController:

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 .

Detailed Description

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.

Method Documentation

◆ closeMessage:

- (void) closeMessage: (nullable id) sender

Dismisses the message overlay and re-enables tapping.

Parameters
senderThe message overlay reporting its close.
Ghidra address:
0x1e7c4

Reimplemented from <MessageTextViewDelegate>.

◆ downloaderFinished:

- (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.

Parameters
downloaderThe finished request.
Ghidra address:
0x1ec5c

◆ init

- (instancetype) init

Initialises the controller and enables tapping.

Returns
The initialised controller.
Ghidra address:
0x1e0f0
Ghidra address:
0x1e0f0

Reimplemented in TitleViewControllerKnt, TitleViewControllerNte, TitleViewControllerOrg, and TitleViewControllerRpl.

◆ jubeatLabAccessError:

- (void) jubeatLabAccessError: (nullable id) access

Callback: the top-page licence check failed.

Drops the request.

Parameters
accessThe finished request.
Ghidra address:
0x1eb04

◆ jubeatLabAccessFinished:

- (void) jubeatLabAccessFinished: (nullable id) access

Callback: the top-page licence check finished.

On status 0, stores the encrypted lab URL in NSUserDefaults .

Parameters
accessThe finished request.
Ghidra address:
0x1eb1c

◆ loadView

- (void) loadView

Builds the base view hierarchy: adds the corporate button.

Ghidra address:
0x1e13c

Reimplemented in NteTitleCoreController, TitleViewControllerKnt, TitleViewControllerNte, TitleViewControllerOrg, and TitleViewControllerRpl.

◆ messageDownloadError:msgStr:

- (void) messageDownloadError: (nullable id) sender
msgStr: (nullable NSString *) msgStr 

Shows a download-failure alert, then dismisses the message overlay and re-enables tapping.

Parameters
senderThe message overlay reporting the failure.
msgStrThe server-supplied error text shown in the alert.
Ghidra address:
0x1e840

Reimplemented from <MessageTextViewDelegate>.

◆ setCorporateButton

- (void) setCorporateButton

Builds the corporate ("co_info") button, themed and anchored to the top-right corner.

Ghidra address:
0x1f0f8

◆ showLogo

- (void) showLogo

Shows the logo.

Empty in the base class; overridden by the themed subclasses.

Ghidra address:
0x1ea8c
Ghidra address:
0x1ea8c

Reimplemented in NteTitleCoreController, TitleViewControllerKnt, TitleViewControllerNte, TitleViewControllerOrg, and TitleViewControllerRpl.

◆ start

- (void) start

Begins the title-screen network work.

Kicks off the top-page licence check and the news-list download.

Ghidra address:
0x1e9a8
Ghidra address:
0x1e9a8

Reimplemented in NteTitleCoreController, TitleViewControllerKnt, TitleViewControllerNte, TitleViewControllerOrg, and TitleViewControllerRpl.

◆ stopAnimation

- (void) stopAnimation

Cancels the licence check and the news-list download.

Ghidra address:
0x1ea90

Reimplemented in NteTitleCoreController, TitleViewControllerKnt, and TitleViewControllerNte.

◆ switchController

- (void) switchController

Switches to the next controller.

Empty in the base class; overridden by subclasses.

Ghidra address:
0x1f0f4
Ghidra address:
0x1f0f4

◆ tapCorporateButton:

- (void) tapCorporateButton: (nullable id) sender

Opens the Konami corporate site in a Safari view controller.

Parameters
senderThe button that was tapped.
Ghidra address:
0x1e6dc

◆ tapExplain:

- (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.

Parameters
senderThe button that was tapped.
Ghidra address:
0x1e190

Member Data Documentation

◆ bEnableTap

- (BOOL*) bEnableTap
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.


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