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

The title screen in the game's own livery. More...

#include <TitleViewControllerOrg.h>

Inheritance diagram for TitleViewControllerOrg:
Collaboration diagram for TitleViewControllerOrg:

Instance Methods

(instancetype) - init
 Builds the controller and subscribes to background/foreground notifications.
(void) - dealloc
 Tears down the controller and unsubscribes from notifications.
(void) - loadView
 Builds the view hierarchy.
(void) - start
 Begins the title sequence.
(void) - blinkPrompt
 Fades the touch prompt between a tenth and full opacity, forever.
(void) - startBlinkPrompt
 Starts the prompt blink and arms the hidden-code input.
(void) - startMarkerCheck
 Shows the marker download view and starts the marker check.
(void) - showLogo
 Fades the logo and copyright in over 0.5 s, then starts the marker check.
(void) - handleTap:
 Handles a tap on the title screen.
(void) - handleSwipe:
 Handles a swipe on the title screen.
(void) - suspend:
 Pauses the title animation when the app backgrounds.
(void) - resume:
 Resumes the title animation when the app foregrounds.
(void) - viewDidUnload
 Drops the views created in -loadView.
(void) - markerCheckEnd
 Called when the marker check finishes.
(void) - nextScene
 Leaves the title screen for the music-select screen.
(void) - createPolicyView
 Creates the licence agreement view centred on the screen.
(BOOL) - shouldAutorotateToInterfaceOrientation:
 Reports that only portrait orientations are supported.
(UIInterfaceOrientationMask) - supportedInterfaceOrientations
 The orientations the title screen allows.
(BOOL) - shouldAutorotate
 Whether the title screen rotates at all.
(void) - agreementError:msgStr:
 Handles a licence agreement error.
(void) - agreementSuccess:
 Handles a licence agreement success.
(void) - agreementFailed:
 Handles a licence agreement failure.
(void) - errorIDDownload:msgStr:
 EditorIDManagerDelegate : the editor-ID download failed; shows the network-error alert.
(void) - successIDDownload:
 EditorIDManagerDelegate : the editor-ID download succeeded; registers the user id and shows the challenge policy.
Instance Methods inherited from TitleViewController
(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) - 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.

Additional Inherited Members

Protected Attributes inherited from TitleViewController
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

The title screen in the game's own livery.

Method Documentation

◆ agreementError:msgStr:

- (void) agreementError: (id) agreement
msgStr: (NSString *) msgStr 

Handles a licence agreement error.

Parameters
agreementThe agreement.
msgStrThe error message.
Ghidra address:
0x13cb84
Ghidra address:
0x13cb84

◆ agreementFailed:

- (void) agreementFailed: (id) agreement

Handles a licence agreement failure.

Parameters
agreementThe agreement.
Ghidra address:
0x13cd9c
Ghidra address:
0x13cd9c

◆ agreementSuccess:

- (void) agreementSuccess: (id) agreement

Handles a licence agreement success.

Parameters
agreementThe agreement.
Ghidra address:
0x13cd24
Ghidra address:
0x13cd24

◆ blinkPrompt

- (void) blinkPrompt

Fades the touch prompt between a tenth and full opacity, forever.

Ghidra address:
0x13b7a8

◆ createPolicyView

- (void) createPolicyView

Creates the licence agreement view centred on the screen.

Ghidra address:
0x13ca38

◆ dealloc

- (void) dealloc

Tears down the controller and unsubscribes from notifications.

Ghidra address:
0x13c580

◆ errorIDDownload:msgStr:

- (void) errorIDDownload: (nullable id) download
msgStr: (nullable NSString *) msgStr 

EditorIDManagerDelegate : the editor-ID download failed; shows the network-error alert.

Both parameters are nullable to match the protocol's own declaration, which the surrounding NS_ASSUME_NONNULL_BEGIN would otherwise contradict.

Parameters
downloadThe download.
msgStrThe error message, or nil for the default network-error string.
Ghidra address:
0x13ce04

Reimplemented from <EditorIDManagerDelegate>.

◆ handleSwipe:

- (void) handleSwipe: (UISwipeGestureRecognizer *) sender

Handles a swipe on the title screen.

Advances the hidden up, up, down, down, left, right, left, right code held in kcState . A swipe out of sequence restarts the code.

Parameters
senderThe recogniser that fired.
Ghidra address:
0x13c328
Ghidra address:
0x13c328

◆ handleTap:

- (void) handleTap: (UITapGestureRecognizer *) sender

Handles a tap on the title screen.

Two hidden square hot-spots on the logo finish the sequence that -handleSwipe: starts; completing it plays a sound and speeds the cube background up, and does not leave the title. Every other tap begins the start flow: it covers the title and hands over to the challenge policy or the editor-identifier download, either of which reaches -nextScene later.

Parameters
senderThe recogniser that fired.
Ghidra address:
0x13be70
Ghidra address:
0x13be70

◆ init

- (instancetype) init

Builds the controller and subscribes to background/foreground notifications.

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

Reimplemented from TitleViewController.

◆ loadView

- (void) loadView

Builds the view hierarchy.

Creates the title background with its 5-frame animation and two gradient layers, then the jubeat logo, touch prompt, copyright, coBtn, and marker view.

Ghidra address:
0x13ac88
Ghidra address:
0x13ac88

Reimplemented from TitleViewController.

◆ markerCheckEnd

- (void) markerCheckEnd

Called when the marker check finishes.

Ghidra address:
0x13c554

Reimplemented from <MarkerDownloadViewDelegate>.

◆ nextScene

- (void) nextScene

Leaves the title screen for the music-select screen.

Removes the swipe and tap recognisers, plays the confirm sound, fades the BGM out over 1.5 s, replaces the prompt's slow blink with ten fast cycles, and sends -endTitle to the root controller. Unguarded: nothing prevents a second entry.

Ghidra address:
0x13c5fc
Ghidra address:
0x13c5fc

◆ resume:

- (void) resume: (id) sender

Resumes the title animation when the app foregrounds.

Parameters
senderThe notification.
Ghidra address:
0x13c478
Ghidra address:
0x13c478

◆ shouldAutorotate

- (BOOL) shouldAutorotate

Whether the title screen rotates at all.

Returns
Always YES .
Ghidra address:
0x13c578
Ghidra address:
0x13c578

◆ shouldAutorotateToInterfaceOrientation:

- (BOOL) shouldAutorotateToInterfaceOrientation: (UIInterfaceOrientation) interfaceOrientation

Reports that only portrait orientations are supported.

Parameters
interfaceOrientationThe orientation being asked about.
Returns
YES for portrait and portrait-upside-down.
Ghidra address:
0x13c560
Ghidra address:
0x13c560

◆ showLogo

- (void) showLogo

Fades the logo and copyright in over 0.5 s, then starts the marker check.

The curve is linear and the completion ignores its finished flag, so the marker check always runs.

Ghidra address:
0x13bd1c
Ghidra address:
0x13bd1c
Ghidra address:
0x13bddc
Ghidra address:
0x13be50

Reimplemented from TitleViewController.

◆ start

- (void) start

Begins the title sequence.

Hides the logo views and starts the title BGM and welcome voice.

Ghidra address:
0x13b65c
Ghidra address:
0x13b65c

Reimplemented from TitleViewController.

◆ startBlinkPrompt

- (void) startBlinkPrompt

Starts the prompt blink and arms the hidden-code input.

Resets kcState , installs the four swipe recognisers in the order up, down, right, left and keeps them in that order, installs the tap recogniser, and lifts the corporate button back above them.

Ghidra address:
0x13b9e0
Ghidra address:
0x13b9e0

◆ startMarkerCheck

- (void) startMarkerCheck

Shows the marker download view and starts the marker check.

The check's completion is what calls -markerCheckEnd and so arms the title screen.

Ghidra address:
0x13b960
Ghidra address:
0x13b960

◆ successIDDownload:

- (void) successIDDownload: (nullable id) download

EditorIDManagerDelegate : the editor-ID download succeeded; registers the user id and shows the challenge policy.

Parameters
downloadThe download.
Ghidra address:
0x13cfac

Reimplemented from <EditorIDManagerDelegate>.

◆ supportedInterfaceOrientations

- (UIInterfaceOrientationMask) supportedInterfaceOrientations

The orientations the title screen allows.

Returns
Portrait and portrait-upside-down (6).
Ghidra address:
0x13c570
Ghidra address:
0x13c570

◆ suspend:

- (void) suspend: (id) sender

Pauses the title animation when the app backgrounds.

Parameters
senderThe notification.
Ghidra address:
0x13c418
Ghidra address:
0x13c418

◆ viewDidUnload

- (void) viewDidUnload

Drops the views created in -loadView.

Ghidra address:
0x13c498

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