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

The challenge-mode menu container that switches between the landing menu and its sub-views with fade transitions. More...

#include <ChallengeMenuRootView.h>

Inheritance diagram for ChallengeMenuRootView:
Collaboration diagram for ChallengeMenuRootView:

Instance Methods

(instancetype) - initWithFrame:
 Builds the dimming cover and the landing menu, both initially transparent.
(void) - enterRootMenu
 Fades the cover and the landing menu in together.
(void) - enterMenuSelectedView:
 Lazily builds the sub-view for index and fades it in over the menu.
(void) - closeRootMenu
 Close-button callback: plays the cancel sound, fades the cover and menu out, and tells the delegate to dismiss the root menu.
(void) - enterMenu
 Fades the landing menu in.
(void) - outerMenu
 Plays the cancel sound and fades the landing menu out.
(void) - switchInMenu
 First half of the crossfade into a sub-view: fades the menu out, then fades the current sub-view in.
(void) - switchOutMenu
 First half of the crossfade back to the menu: plays the cancel sound, tells the delegate to refresh, removes the current sub-view, then fades the menu back in and rebuilds it.
(void) - createMenuView:
 Builds (replacing any existing instance) the sub-view for index and records it as the current view.
(void) - selectMenu:
 Menu-row callback: plays the labo-menu sound, builds the chosen sub-view, and starts the crossfade into it.
(void) - closeMenu
 Sub-view callback: crossfades back to the landing menu.
(void) - refreshStatus
 Forwards a status refresh to the delegate when it responds to -refreshStatus .
(void) - cubePurchase
 Forwards a cube-purchase request to the delegate when it responds to -cubePurchaseStart .
Instance Methods inherited from <ChallengeLoginInformationViewDelegate>
(void) - closeLoginInformation
 The sheet's close button was tapped and the owner should dismiss the login sheet.
(void) - clickPackInfomation:
 A jbtstore://pack/<id> link was followed.

Properties

id< ChallengeMenuRootViewDelegate > aDelegate
 The object told about close, refresh, and purchase events.

Detailed Description

The challenge-mode menu container that switches between the landing menu and its sub-views with fade transitions.

Method Documentation

◆ closeMenu

- (void) closeMenu

Sub-view callback: crossfades back to the landing menu.

Ghidra address:
0x1024dc

Reimplemented from <ChallengePresentViewDelegate>.

◆ closeRootMenu

- (void) closeRootMenu

Close-button callback: plays the cancel sound, fades the cover and menu out, and tells the delegate to dismiss the root menu.

Ghidra address:
0x1014ec
Ghidra address:
0x101688
Ghidra address:
0x10174c

Reimplemented from <ChallengeMenuViewDelegate>.

◆ createMenuView:

- (void) createMenuView: (int) index

Builds (replacing any existing instance) the sub-view for index and records it as the current view.

The index maps to: 0 present list, 1 name-setting sheet, 2 rival search, 3 rival list, 4 previous ranking, and 5 login/information. Any other value does nothing. Each sub-view is built at {0, 0, self.frame.size.width, self.frame.size.height}, made its own delegate, given user interaction, faded to transparent, and added as a subview.

Parameters
indexThe sub-view selector.
Ghidra address:
0x1020a4
Ghidra address:
0x1020a4

◆ cubePurchase

- (void) cubePurchase

Forwards a cube-purchase request to the delegate when it responds to -cubePurchaseStart .

Ghidra address:
0x102598

◆ enterMenu

- (void) enterMenu

Fades the landing menu in.

Ghidra address:
0x1017a0
Ghidra address:
0x101874
Ghidra address:
0x1018c0

◆ enterMenuSelectedView:

- (void) enterMenuSelectedView: (int) index

Lazily builds the sub-view for index and fades it in over the menu.

Parameters
indexThe sub-view selector (see -createMenuView:).
Ghidra address:
0x1013b4
Ghidra address:
0x1013b4
Ghidra address:
0x10149c
Ghidra address:
0x1014e8

◆ enterRootMenu

- (void) enterRootMenu

Fades the cover and the landing menu in together.

Ghidra address:
0x1011bc
Ghidra address:
0x1012e0
Ghidra address:
0x1013b0

◆ initWithFrame:

- (instancetype) initWithFrame: (CGRect) frame

Builds the dimming cover and the landing menu, both initially transparent.

Parameters
frameThe view's frame.
Returns
The initialised view.
Ghidra address:
0x100ed8
Ghidra address:
0x100ed8

◆ outerMenu

- (void) outerMenu

Plays the cancel sound and fades the landing menu out.

Ghidra address:
0x1018c4
Ghidra address:
0x1019dc
Ghidra address:
0x101a28

◆ refreshStatus

- (void) refreshStatus

Forwards a status refresh to the delegate when it responds to -refreshStatus .

Ghidra address:
0x1024e8

Reimplemented from <ChallengePresentViewDelegate>.

◆ selectMenu:

- (void) selectMenu: (nullable NSNumber *) menu

Menu-row callback: plays the labo-menu sound, builds the chosen sub-view, and starts the crossfade into it.

Parameters
menuThe row's tag, boxed.
Ghidra address:
0x102424

Reimplemented from <ChallengeMenuViewDelegate>.

◆ switchInMenu

- (void) switchInMenu

First half of the crossfade into a sub-view: fades the menu out, then fades the current sub-view in.

Ghidra address:
0x101a2c
Ghidra address:
0x101b78
Ghidra address:
0x101bc4
Ghidra address:
0x101c74
Ghidra address:
0x101cc0

◆ switchOutMenu

- (void) switchOutMenu

First half of the crossfade back to the menu: plays the cancel sound, tells the delegate to refresh, removes the current sub-view, then fades the menu back in and rebuilds it.

Ghidra address:
0x101cd8
Ghidra address:
0x101eb0
Ghidra address:
0x101f6c
Ghidra address:
0x10201c
Ghidra address:
0x10208c

Property Documentation

◆ aDelegate

- (id<ChallengeMenuRootViewDelegate>) aDelegate
readwritenonatomicweak

The object told about close, refresh, and purchase events.

Held weakly.

Ghidra address:
0x102648 (getter), 0x102668 (setter)

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