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

The view that submits an inherit code and, on success, replaces the local account. More...

#include <InheritCodeInputView.h>

Inheritance diagram for InheritCodeInputView:
Collaboration diagram for InheritCodeInputView:

Instance Methods

(instancetype) - initWithFrame:
 Builds the view: a background image, a caution label, the code field, and the send button.
(void) - tapCodeInput:
 Validates the entered code and submits it through a SessionDownloader.
(void) - alertClose:
 Called when the confirmation alert closes; does nothing.
(void) - alertSelect:
 Called when the confirmation alert is answered; on OK it submits the replace request.
(void) - downloaderFinished:
 Called when a request finishes; drives the confirm/replace/success/error flow.
(void) - downloaderError:
 Called when a request fails; shows the server-error alert.

Properties

UIViewController * parentCtrl
 The controller the alerts are presented from.

Detailed Description

The view that submits an inherit code and, on success, replaces the local account.

Method Documentation

◆ alertClose:

- (void) alertClose: (nonnull NSDictionary *) info

Called when the confirmation alert closes; does nothing.

Parameters
infoThe alert info.
Ghidra address:
0xd0964

Reimplemented from <AlertViewManagerDelegate>.

◆ alertSelect:

- (void) alertSelect: (nonnull NSDictionary *) info

Called when the confirmation alert is answered; on OK it submits the replace request.

Parameters
infoThe alert info.
Ghidra address:
0xd0968

Reimplemented from <AlertViewManagerDelegate>.

◆ downloaderError:

- (void) downloaderError: (nonnull id) downloader

Called when a request fails; shows the server-error alert.

Parameters
downloaderThe failed downloader.
Ghidra address:
0xd1778

◆ downloaderFinished:

- (void) downloaderFinished: (nonnull id) downloader

Called when a request finishes; drives the confirm/replace/success/error flow.

Parameters
downloaderThe finished downloader.
Ghidra address:
0xd0b90

◆ initWithFrame:

- (instancetype) initWithFrame: (CGRect) frame

Builds the view: a background image, a caution label, the code field, and the send button.

Parameters
frameThe frame.
Returns
The initialised view.
Ghidra address:
0xd0140
Ghidra address:
0xd0140

◆ tapCodeInput:

- (void) tapCodeInput: (nullable id) sender

Validates the entered code and submits it through a SessionDownloader.

Parameters
senderThe send button.
Ghidra address:
0xd06e0

Property Documentation

◆ parentCtrl

- (UIViewController*) parentCtrl
readwritenonatomicweak

The controller the alerts are presented from.

Ghidra address:
0xd191c (getter)

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