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

A remaining-scratches digit and a countdown to the next reset. More...

#include <ScratchMessageView.h>

Inheritance diagram for ScratchMessageView:
Collaboration diagram for ScratchMessageView:

Instance Methods

(instancetype) - initWithFrame:
 Builds the digit and the countdown label, scaled for the current idiom.
(void) - setScratchCnt:
 Shows a remaining-scratch count.
(void) - timerUpdate
 Refreshes the countdown text from the shared challenge state.

Detailed Description

A remaining-scratches digit and a countdown to the next reset.

Method Documentation

◆ initWithFrame:

- (instancetype) initWithFrame: (CGRect) frame

Builds the digit and the countdown label, scaled for the current idiom.

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

◆ setScratchCnt:

- (void) setScratchCnt: (int) scratchCnt

Shows a remaining-scratch count.

Counts above nine are clamped to nine rather than rejected, since the artwork is a single digit.

Parameters
scratchCntHow many scratches remain.
Ghidra address:
0x73fb8
Ghidra address:
0x73fb8

◆ timerUpdate

- (void) timerUpdate

Refreshes the countdown text from the shared challenge state.

Under one second remaining shows a fixed expiry message instead of a countdown.

Ghidra address:
0x74054
Ghidra address:
0x74054

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