12#import <Foundation/Foundation.h>
14NS_ASSUME_NONNULL_BEGIN
24@property(nonatomic, strong, nullable) NSString *
filePath;
29@property(nonatomic, strong, nullable) NSString *
name;
34@property(nonatomic, strong, nullable) NSString *
nameYomi;
39@property(nonatomic, strong, nullable) NSString *
artist;
44@property(nonatomic, strong, nullable) NSString *
iTunesURL;
64@property(nonatomic)
unsigned int tuneID;
93- (instancetype)initWithfilePath:(nullable NSString *)filePath
94 dictionary:(nullable NSDictionary *)dictionary;
124- (NSInteger)compareLicensedFirst:(nullable
TuneInfo *)other;
136- (NSInteger)compareYomi:(nullable
TuneInfo *)other;
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