|
JubeatPlus 3.9.11
|
A store track, including the extended chart it may carry. More...
#include <StoreMusicInfo.h>


Instance Methods | |
| (instancetype) | - initWithDictionary: |
| Builds a track from a server dictionary, or returns nil. | |
| (nullable StoreMusicInfo *) | - getExtendInfo |
| The extended chart, if any. | |
Properties | |
| int | musicID |
| The track's identifier. | |
| NSString * | name |
| The track's title. | |
| NSString * | artist |
| The performing artist. | |
| NSString * | itemURL |
| Where to buy the track. | |
| NSString * | artworkURL |
The artwork, or nil when the server's value did not pass +[StoreUtil isValidURL:]. | |
| NSString * | sampleURL |
| The preview clip, subject to the same validity test. | |
| NSString * | itunesURL |
| The iTunes listing, subject to the same validity test. | |
| int | lvBas |
| The basic chart's level, 1 to 10. | |
| int | lvAdv |
| The advanced chart's level, 1 to 10. | |
| int | lvExt |
| The extreme chart's level, 1 to 10. | |
| unsigned int | holdFlag |
| Whether the track is held back from sale. | |
| unsigned int | extendFlag |
| What the extended chart may be played with. | |
| unsigned int | extendMusicID |
| The extended chart's own track identifier. | |
| NSString * | extendItemURL |
| Where to buy the extended chart. | |
| StoreMusicInfo * | extendInfo |
| The extended chart as a track in its own right. | |
A store track, including the extended chart it may carry.
| - (StoreMusicInfo *) getExtendInfo |
The extended chart, if any.
A one-instruction tail call to the extendInfo getter, so it is an alias rather than a computation. Kept because the binary ships it as a separate selector.
| - (instancetype) initWithDictionary: | (NSDictionary *) | dictionary |
Builds a track from a server dictionary, or returns nil.
A genuine initialiser, unlike the identically named methods on the challenge-mission classes: it calls -init and returns instancetype. It answers nil before doing anything when "ID" is missing or reads below 1.
| dictionary | The server's track record. |
|
readwritenonatomicstrong |
The performing artist.
Wire key "Artist".
|
readnonatomicassign |
What the extended chart may be played with.
Wire key "extendFlag".
|
readwritenonatomicstrong |
The extended chart as a track in its own right.
Built recursively: when extendMusicID is non-zero the initialiser rewrites its own input dictionary and feeds it back through -initWithDictionary:. The nesting stops after one level because the rewritten dictionary has its "extID" removed.
|
readnonatomicassign |
Where to buy the extended chart.
Wire key "extURL".
|
readnonatomicassign |
The extended chart's own track identifier.
Wire key "extID".
|
readnonatomicassign |
Whether the track is held back from sale.
Wire key "holdFlag".
|
readwritenonatomicstrong |
Where to buy the track.
Wire key "ItemURL".
|
readwritenonatomicstrong |
The iTunes listing, subject to the same validity test.
Wire key "iTunesURL".
|
readnonatomicassign |
The advanced chart's level, 1 to 10.
Wire key "Level", element 1.
|
readnonatomicassign |
The basic chart's level, 1 to 10.
Wire key "Level", element 0.
|
readnonatomicassign |
The extreme chart's level, 1 to 10.
Wire key "Level", element 2.
|
readnonatomicassign |
The track's identifier.
Wire key "ID"; a value below 1 rejects the whole record.
|
readwritenonatomicstrong |
The track's title.
Wire key "Name".
|
readwritenonatomicstrong |
The preview clip, subject to the same validity test.
Wire key "SampleURL".