|
JubeatPlus 3.9.11
|
The title screen in the game's own livery. More...
#include <TitleViewControllerOrg.h>


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 . | |
The title screen in the game's own livery.
| - (void) agreementError: | (id) | agreement | |
| msgStr: | (NSString *) | msgStr |
Handles a licence agreement error.
| agreement | The agreement. |
| msgStr | The error message. |
| - (void) agreementFailed: | (id) | agreement |
Handles a licence agreement failure.
| agreement | The agreement. |
| - (void) agreementSuccess: | (id) | agreement |
Handles a licence agreement success.
| agreement | The agreement. |
| - (void) blinkPrompt |
Fades the touch prompt between a tenth and full opacity, forever.
| - (void) createPolicyView |
Creates the licence agreement view centred on the screen.
| - (void) dealloc |
Tears down the controller and unsubscribes from notifications.
| - (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.
| download | The download. |
| msgStr | The error message, or nil for the default network-error string. |
Reimplemented from <EditorIDManagerDelegate>.
| - (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.
| sender | The recogniser that fired. |
| - (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.
| sender | The recogniser that fired. |
| - (instancetype) init |
Builds the controller and subscribes to background/foreground notifications.
Reimplemented from TitleViewController.
| - (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.
Reimplemented from TitleViewController.
| - (void) markerCheckEnd |
Called when the marker check finishes.
Reimplemented from <MarkerDownloadViewDelegate>.
| - (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.
| - (void) resume: | (id) | sender |
Resumes the title animation when the app foregrounds.
| sender | The notification. |
| - (BOOL) shouldAutorotate |
Whether the title screen rotates at all.
YES . | - (BOOL) shouldAutorotateToInterfaceOrientation: | (UIInterfaceOrientation) | interfaceOrientation |
Reports that only portrait orientations are supported.
| interfaceOrientation | The orientation being asked about. |
YES for portrait and portrait-upside-down. | - (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.
Reimplemented from TitleViewController.
| - (void) start |
Begins the title sequence.
Hides the logo views and starts the title BGM and welcome voice.
Reimplemented from TitleViewController.
| - (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.
| - (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.
| - (void) successIDDownload: | (nullable id) | download |
EditorIDManagerDelegate : the editor-ID download succeeded; registers the user id and shows the challenge policy.
| download | The download. |
Reimplemented from <EditorIDManagerDelegate>.
| - (UIInterfaceOrientationMask) supportedInterfaceOrientations |
The orientations the title screen allows.
| - (void) suspend: | (id) | sender |
Pauses the title animation when the app backgrounds.
| sender | The notification. |
| - (void) viewDidUnload |
Drops the views created in -loadView.