JubeatPlus 3.9.11
Loading...
Searching...
No Matches
StoreMusicInfo.h
Go to the documentation of this file.
1
13
14#import <Foundation/Foundation.h>
15
16NS_ASSUME_NONNULL_BEGIN
17
21@interface StoreMusicInfo : NSObject
22
24@property(nonatomic, readonly) int musicID;
26@property(nonatomic, strong, nullable) NSString *name;
28@property(nonatomic, strong, nullable) NSString *artist;
30@property(nonatomic, strong, nullable) NSString *itemURL;
32@property(nonatomic, strong, nullable) NSString *artworkURL;
34@property(nonatomic, strong, nullable) NSString *sampleURL;
36@property(nonatomic, strong, nullable) NSString *itunesURL;
37
39@property(nonatomic, readonly) int lvBas;
41@property(nonatomic, readonly) int lvAdv;
43@property(nonatomic, readonly) int lvExt;
44
46@property(nonatomic, readonly) unsigned int holdFlag;
48@property(nonatomic, readonly) unsigned int extendFlag;
50@property(nonatomic, readonly) unsigned int extendMusicID;
52@property(nonatomic, readonly, nullable) NSString *extendItemURL;
60@property(nonatomic, strong, nullable) StoreMusicInfo *extendInfo;
61
72- (instancetype)initWithDictionary:(NSDictionary *)dictionary;
80- (nullable StoreMusicInfo *)getExtendInfo;
81
82@end
83
84NS_ASSUME_NONNULL_END
85
86// code: language=Objective-C
87// kate: hl Objective-C;
88// vim: set ft=objc :
A store track, including the extended chart it may carry.
Definition StoreMusicInfo.h:22
NSString * itemURL
Where to buy the track.
Definition StoreMusicInfo.h:30
StoreMusicInfo * extendInfo
The extended chart as a track in its own right.
Definition StoreMusicInfo.h:60
NSString * itunesURL
The iTunes listing, subject to the same validity test.
Definition StoreMusicInfo.h:36
NSString * artist
The performing artist.
Definition StoreMusicInfo.h:28
NSString * artworkURL
The artwork, or nil when the server's value did not pass +[StoreUtil isValidURL:].
Definition StoreMusicInfo.h:32
int lvBas
The basic chart's level, 1 to 10.
Definition StoreMusicInfo.h:39
unsigned int extendFlag
What the extended chart may be played with.
Definition StoreMusicInfo.h:48
nullable StoreMusicInfo * getExtendInfo()
The extended chart, if any.
Definition StoreMusicInfo.m:146
unsigned int holdFlag
Whether the track is held back from sale.
Definition StoreMusicInfo.h:46
int musicID
The track's identifier.
Definition StoreMusicInfo.h:24
int lvExt
The extreme chart's level, 1 to 10.
Definition StoreMusicInfo.h:43
NSString * sampleURL
The preview clip, subject to the same validity test.
Definition StoreMusicInfo.h:34
NSString * name
The track's title.
Definition StoreMusicInfo.h:26
NSString * extendItemURL
Where to buy the extended chart.
Definition StoreMusicInfo.h:52
unsigned int extendMusicID
The extended chart's own track identifier.
Definition StoreMusicInfo.h:50
int lvAdv
The advanced chart's level, 1 to 10.
Definition StoreMusicInfo.h:41