JubeatPlus 3.9.11
Loading...
Searching...
No Matches
ChallengeMissionReward.h
Go to the documentation of this file.
1
17
18#import <Foundation/Foundation.h>
19
20NS_ASSUME_NONNULL_BEGIN
21
25@interface ChallengeMissionReward : NSObject
26
28@property(nonatomic, readonly) int rewardID;
30@property(nonatomic, readonly) int itemType;
32@property(nonatomic, readonly, nullable) NSString *itemID;
34@property(nonatomic, readonly, nullable) NSString *rewardName;
36@property(nonatomic, readonly, nullable) NSString *rewardDescription;
38@property(nonatomic, readonly, nullable) NSString *rewardImageURL;
40@property(nonatomic, readonly, nullable) NSString *endTime;
42@property(nonatomic, readonly, nullable) NSString *version;
43
55- (BOOL)initWithDictionary:(NSDictionary *)dictionary;
63- (NSDictionary *)getDictionary;
64
65@end
66
67NS_ASSUME_NONNULL_END
68
69// code: language=Objective-C
70// kate: hl Objective-C;
71// vim: set ft=objc :
A challenge-mission reward, as sent by the server.
Definition ChallengeMissionReward.h:26
NSString * endTime
When the reward stops being shown.
Definition ChallengeMissionReward.h:40
NSString * itemID
The item's identifier.
Definition ChallengeMissionReward.h:32
NSString * rewardDescription
The reward's description.
Definition ChallengeMissionReward.h:36
NSDictionary * getDictionary()
Writes the object back out in the server's format.
Definition ChallengeMissionReward.m:46
int rewardID
The reward's identifier.
Definition ChallengeMissionReward.h:28
NSString * rewardImageURL
Where to fetch the reward's image.
Definition ChallengeMissionReward.h:38
NSString * version
The record's version.
Definition ChallengeMissionReward.h:42
int itemType
What kind of item the reward is.
Definition ChallengeMissionReward.h:30
NSString * rewardName
The reward's display name.
Definition ChallengeMissionReward.h:34