JubeatPlus 3.9.11
Loading...
Searching...
No Matches
ScratchInfo.h
Go to the documentation of this file.
1
8
9#import <Foundation/Foundation.h>
10
11NS_ASSUME_NONNULL_BEGIN
12
17@interface ScratchInfo : NSObject
18
20@property(nonatomic) int musicID;
21
26@property(nonatomic) NSInteger packID;
27
29@property(nonatomic) BOOL bOpen;
30
35@property(nonatomic, strong, nullable) NSDate *endDate;
36
41@property(nonatomic, strong, nullable) NSString *musicName;
42
47@property(nonatomic, strong, nullable) NSString *artistName;
48
50@property(nonatomic, strong, nullable) NSString *imgURL;
51
53@property(nonatomic, strong, nullable) NSString *itemURL;
54
61- (instancetype)init:(nullable NSDictionary *)dictionary;
62
68- (void)openUpdate:(nullable NSDictionary *)dictionary;
69
75- (int)getMyScore:(int)difficulty;
76
82- (int)getMyRank:(int)difficulty;
83
90- (int)getMyIndex:(int)difficulty;
91
99- (void)setMyRank:(int)difficulty rank:(int)rank index:(int)index;
100
106- (BOOL)getFullCombo:(int)difficulty;
107
108@end
109
110NS_ASSUME_NONNULL_END
111
112// code: language=Objective-C
113// kate: hl Objective-C;
114// vim: set ft=objc :
A scratch track resolved from the challenge line-up, with the player's score, rank,...
Definition ScratchInfo.h:18
NSString * itemURL
The downloadable song data URL from the challenge line-up.
Definition ScratchInfo.h:53
NSInteger packID
The identifier of the pack this track belongs to.
Definition ScratchInfo.h:26
NSString * musicName
The track's title.
Definition ScratchInfo.h:41
BOOL bOpen
Whether the scratch card for this track has been opened.
Definition ScratchInfo.h:29
int musicID
The track's music identifier.
Definition ScratchInfo.h:20
NSString * artistName
The track's artist.
Definition ScratchInfo.h:47
NSString * imgURL
The jacket image URL from the challenge line-up.
Definition ScratchInfo.h:50
NSDate * endDate
The date this scratch track stops being playable.
Definition ScratchInfo.h:35