JubeatPlus 3.9.11
Loading...
Searching...
No Matches
TuneInfo.h
Go to the documentation of this file.
1
11
12#import <Foundation/Foundation.h>
13
14NS_ASSUME_NONNULL_BEGIN
15
19@interface TuneInfo : NSObject
20
24@property(nonatomic, strong, nullable) NSString *filePath;
25
29@property(nonatomic, strong, nullable) NSString *name;
30
34@property(nonatomic, strong, nullable) NSString *nameYomi;
35
39@property(nonatomic, strong, nullable) NSString *artist;
40
44@property(nonatomic, strong, nullable) NSString *iTunesURL;
45
49@property(nonatomic) char lvBas;
50
54@property(nonatomic) char lvAdv;
55
59@property(nonatomic) char lvExt;
60
64@property(nonatomic) unsigned int tuneID;
65
69@property(nonatomic) unsigned int extendID;
70
74@property(nonatomic) unsigned int extendFlag;
75
79@property(nonatomic) unsigned int holdFlag;
80
93- (instancetype)initWithfilePath:(nullable NSString *)filePath
94 dictionary:(nullable NSDictionary *)dictionary;
95
105- (nullable NSDictionary *)infoDict;
106
116- (BOOL)isLicensedTune;
117
124- (NSInteger)compareLicensedFirst:(nullable TuneInfo *)other;
125
136- (NSInteger)compareYomi:(nullable TuneInfo *)other;
137
138@end
139
140NS_ASSUME_NONNULL_END
141
142// code: language=Objective-C
143// kate: hl Objective-C;
144// vim: set ft=objc :
A tune, its three difficulty levels, and how it sorts.
Definition TuneInfo.h:20
char lvExt
The extreme chart's level.
Definition TuneInfo.h:59
nullable NSDictionary * infoDict()
The tune as a dictionary, in the same shape the catalogue uses.
Definition TuneInfo.m:83
NSString * nameYomi
The title's reading, used for sorting.
Definition TuneInfo.h:34
BOOL isLicensedTune()
Whether the tune is a licensed track rather than an original.
Definition TuneInfo.m:103
char lvAdv
The advanced chart's level.
Definition TuneInfo.h:54
unsigned int extendID
Which extend pack the tune belongs to, or zero.
Definition TuneInfo.h:69
NSString * name
The tune's title.
Definition TuneInfo.h:29
NSString * artist
The artist.
Definition TuneInfo.h:39
NSString * iTunesURL
Where to buy the tune.
Definition TuneInfo.h:44
char lvBas
The basic chart's level.
Definition TuneInfo.h:49
unsigned int extendFlag
The tune's extend flags, or zero.
Definition TuneInfo.h:74
NSString * filePath
Where the tune's data lives.
Definition TuneInfo.h:24
unsigned int tuneID
The tune's identifier.
Definition TuneInfo.h:64
unsigned int holdFlag
The tune's hold-marker flags, or zero.
Definition TuneInfo.h:79