JubeatPlus 3.9.11
Loading...
Searching...
No Matches
ScratchView.h File Reference

A single scratch-card view: an artwork jacket hidden behind five stacked cover layers that the user rubs away to reveal the artwork. More...

import <UIKit/UIKit.h>
import "Downloader.h"
import "ScratchInfo.h"
Include dependency graph for ScratchView.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

protocol  <ScratchViewDelegate>
 The delegate a scratch card reports its progress to. More...
class  ScratchView
 One scratch card: a jacket image under five stacked cover layers, with a rub gesture, a reveal effect, a download indicator, and a small scratch-progress state machine. More...

Enumerations

enum  ScratchViewState : int { ScratchViewStateClosed = 0 , ScratchViewStateOpen = 1 , ScratchViewStateScratching }
 The three discrete states -getState reports. More...

Detailed Description

A single scratch-card view: an artwork jacket hidden behind five stacked cover layers that the user rubs away to reveal the artwork.

Reconstructed from Ghidra program Jubeat (class ScratchView, image base 0x100000000). All

Ghidra address:
values are offsets relative to that image base.

Enumeration Type Documentation

◆ ScratchViewState

enum ScratchViewState : int

The three discrete states -getState reports.

Derived from the scratch step: a step in the mid-scratch range reports ScratchViewStateScratching, otherwise the state follows the bOpen flag.

Enumerator
ScratchViewStateClosed 

The card is closed and unscratched.

ScratchViewStateOpen 

The card has been fully revealed.

ScratchViewStateScratching 

The card is mid-scratch (step in the open animation range).