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

The panel that lets the player rate a downloaded custom chart. More...

#include <EvaluateJcfView.h>

Inheritance diagram for EvaluateJcfView:
Collaboration diagram for EvaluateJcfView:

Instance Methods

(void) - createStoreBtn:
 Builds and configures a stray StoreButton .
(instancetype) - initWithID:defaultLevel:delegate:tuneID:
 Builds the evaluation panel for a downloaded chart.
(void) - pushCancel:
 Cancel-button handler: closes the panel.
(void) - pushGoodJob:
 Good-job-button handler: POSTs a good-job vote and dims the button.
(void) - pushLevelCommit:
 Level-commit-button handler: POSTs the chosen level and disables the button.
(void) - sliderChange:
 Slider handler: snaps the slider to the nearest whole level and applies it.
(void) - levelChange:
 Applies a chosen level: records it, moves the slider, and updates the title.
(void) - evaluateEnd
 Reports the panel closing to the delegate.
(void) - jubeatLabAccessError:
 jubeatLab access failure callback: drops the matching request.
(void) - jubeatLabAccessFinished:
 jubeatLab access success callback: records the vote in the editor info and closes.

Class Methods

(Class) + layerClass
 The layer class used to back the view.

Detailed Description

The panel that lets the player rate a downloaded custom chart.

Method Documentation

◆ createStoreBtn:

- (void) createStoreBtn: (nullable id) sender

Builds and configures a stray StoreButton .

The button is allocated, coloured, and given a corner radius and bold font, but is never stored nor added to any view — the binary discards it. Reconstructed faithfully.

Parameters
senderUnused; present to match the binary's selector.
Ghidra address:
0x1fac70

◆ evaluateEnd

- (void) evaluateEnd

Reports the panel closing to the delegate.

Ghidra address:
0x1fbd34

◆ initWithID:defaultLevel:delegate:tuneID:

- (instancetype) initWithID: (nullable NSString *) seqID
defaultLevel: (int) defaultLevel
delegate: (nullable id) delegate
tuneID: (int) tuneID 

Builds the evaluation panel for a downloaded chart.

Parameters
seqIDThe sequence identifier of the chart being rated.
defaultLevelThe level the slider starts at.
delegateThe object told when the panel closes; held weakly.
tuneIDThe music (tune) identifier of the chart.
Returns
The initialised view.
Ghidra address:
0x1fada8

◆ jubeatLabAccessError:

- (void) jubeatLabAccessError: (nullable jubeatLabAccess *) access

jubeatLab access failure callback: drops the matching request.

Parameters
accessThe failed request.
Ghidra address:
0x1fbdd8

◆ jubeatLabAccessFinished:

- (void) jubeatLabAccessFinished: (nullable jubeatLabAccess *) access

jubeatLab access success callback: records the vote in the editor info and closes.

Parameters
accessThe finished request.
Ghidra address:
0x1fbe38

◆ layerClass

+ (Class) layerClass

The layer class used to back the view.

Returns
CAGradientLayer .
Ghidra address:
0x1fac5c
Ghidra address:
0x1fac5c

◆ levelChange:

- (void) levelChange: (int) level

Applies a chosen level: records it, moves the slider, and updates the title.

Parameters
levelThe chosen level.
Ghidra address:
0x1fbc90
Ghidra address:
0x1fbc90

◆ pushCancel:

- (void) pushCancel: (nullable id) sender

Cancel-button handler: closes the panel.

Parameters
senderThe cancel button.
Ghidra address:
0x1fba60

◆ pushGoodJob:

- (void) pushGoodJob: (nullable id) sender

Good-job-button handler: POSTs a good-job vote and dims the button.

Parameters
senderThe good-job button.
Ghidra address:
0x1fba6c

◆ pushLevelCommit:

- (void) pushLevelCommit: (nullable id) sender

Level-commit-button handler: POSTs the chosen level and disables the button.

Parameters
senderThe level-commit button.
Ghidra address:
0x1fbb20

◆ sliderChange:

- (void) sliderChange: (nullable id) sender

Slider handler: snaps the slider to the nearest whole level and applies it.

Parameters
senderThe level slider.
Ghidra address:
0x1fbbd4

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