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

A challenge mission's identity, description, and completion condition. More...

#include <ChallengeMissionTerms.h>

Inheritance diagram for ChallengeMissionTerms:
Collaboration diagram for ChallengeMissionTerms:

Instance Methods

(BOOL) - initWithDictionary:
 Fills the object in from a server dictionary.
(NSDictionary *) - getDictionary
 Writes the object back out in the server's format.

Properties

int missionID
 The mission's identifier.
NSString * missionTitle
 The mission's display name.
NSString * missionExplain
 The mission's description.
unsigned int missionType
 What kind of condition completes the mission.
NSArray * missionDetail
 The condition's parameters.
int skipCost
 What skipping the mission costs.

Detailed Description

A challenge mission's identity, description, and completion condition.

Method Documentation

◆ getDictionary

- (NSDictionary *) getDictionary

Writes the object back out in the server's format.

A true inverse of -initWithDictionary: here, unlike the reward class, since both sides work at the top level.

Ghidra address:
0x1eead4
Ghidra address:
0x1eead4

◆ initWithDictionary:

- (BOOL) initWithDictionary: (NSDictionary *) dictionary

Fills the object in from a server dictionary.

Named like an initialiser but it is not one: it returns BOOL rather than instancetype and never calls -init. Unlike -[ChallengeMissionReward initWithDictionary:] it has no failure path at all — it reads six keys unconditionally and always answers YES.

Parameters
dictionaryThe server's mission record, read at the top level with no wrapper entry.
Returns
Always YES.
Ghidra address:
0x1ee928
Ghidra address:
0x1ee928

Property Documentation

◆ missionDetail

- (NSArray*) missionDetail
readnonatomicassign

The condition's parameters.

Wire key "data".

◆ missionExplain

- (NSString*) missionExplain
readnonatomicassign

The mission's description.

Wire key "description".

◆ missionID

- (int) missionID
readnonatomicassign

The mission's identifier.

Wire key "id".

◆ missionTitle

- (NSString*) missionTitle
readnonatomicassign

The mission's display name.

Wire key "name".

◆ missionType

- (unsigned int) missionType
readnonatomicassign

What kind of condition completes the mission.

Wire key "condition".

Unsigned per the metadata (TI), though -getDictionary boxes it with +numberWithInt:.

◆ skipCost

- (int) skipCost
readnonatomicassign

What skipping the mission costs.

Wire key "fee_skip".


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