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

The lists a mission's play terms resolve to. More...

#include <ChallengeMissionPlayTerm.h>

Inheritance diagram for ChallengeMissionPlayTerm:
Collaboration diagram for ChallengeMissionPlayTerm:

Instance Methods

(instancetype) - init
 Returns an empty term with -reset already applied.
(void) - reset
 Clears three of the six lists.
(void) - initWithData:achieve:
 Resolves a mission's terms against its progress.

Properties

NSArray * musicNGID
 Music identifiers the mission excludes.
NSArray * markerNG
 Markers the mission excludes.
NSArray * levelNG
 Levels the mission excludes.
NSArray * playHistory
 The plays already recorded against the mission.
NSArray * historyDup
 Per-column flags saying which of the compared terms still agree across every play.
NSArray * requireMusicInfo
 The mission rows still outstanding, once the achieved ones are removed.

Detailed Description

The lists a mission's play terms resolve to.

Every property is readonly; -initWithData:achieve: writes the ivars directly and leaves any list it has nothing to say about untouched rather than nilling it.

Method Documentation

◆ init

- (instancetype) init

Returns an empty term with -reset already applied.

Returns
The initialised term.
Ghidra address:
0x1ef288
Ghidra address:
0x1ef288

◆ initWithData:achieve:

- (void) initWithData: (nullable ChallengeMissionTerms *) data
achieve: (nullable ChallengeMissionAchieve *) achieve 

Resolves a mission's terms against its progress.

Returns void, not an object, despite its name — the metadata encodes it v32@0:8@16@24 and it never chains to an initialiser. Does nothing unless data is mission type 1.

Parameters
dataThe mission's terms.
achieveThe player's progress against that mission.
Ghidra address:
0x1ef338

◆ reset

- (void) reset

Clears three of the six lists.

Only musicNGID, requireMusicInfo and markerNG are cleared. levelNG, playHistory and historyDup are left as they were.

Ghidra address:
0x1ef2e4
Ghidra address:
0x1ef2e4

Property Documentation

◆ historyDup

- (NSArray*) historyDup
readnonatomicassign

Per-column flags saying which of the compared terms still agree across every play.

Seven entries of NSNumber booleans, indexed by play-term column. Set alongside playHistory and only when that is set.


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