|
JubeatPlus 3.9.11
|
A challenge mission's identity, description, and completion condition. More...
#include <ChallengeMissionTerms.h>


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. | |
A challenge mission's identity, description, and completion condition.
| - (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.
| - (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.
| dictionary | The server's mission record, read at the top level with no wrapper entry. |
|
readnonatomicassign |
The condition's parameters.
Wire key "data".
|
readnonatomicassign |
The mission's description.
Wire key "description".
|
readnonatomicassign |
The mission's identifier.
Wire key "id".
|
readnonatomicassign |
The mission's display name.
Wire key "name".
|
readnonatomicassign |
What kind of condition completes the mission.
Wire key "condition".
Unsigned per the metadata (TI), though -getDictionary boxes it with +numberWithInt:.
|
readnonatomicassign |
What skipping the mission costs.
Wire key "fee_skip".