JubeatPlus 3.9.11
Loading...
Searching...
No Matches
StoreUtil.h
Go to the documentation of this file.
1
13
14#import <Foundation/Foundation.h>
15
16NS_ASSUME_NONNULL_BEGIN
17
21@interface StoreUtil : NSObject
22
47
57+ (nullable NSString *)queryStringForDictionary:(nullable NSDictionary *)dictionary;
58
64+ (nullable NSURL *)storeNewInfoURL;
65
77+ (nullable NSURL *)packListURL:(unsigned int)head
78 limit:(unsigned int)limit
79 genre:(unsigned int)genre;
90+ (nullable NSURL *)recommendPackListURL:(unsigned int)useGenre;
99+ (nullable NSURL *)selectivePackListURL:(nullable NSArray *)packIDs;
100
107+ (nullable NSURL *)packInfoURL:(unsigned int)packID;
114+ (nullable NSURL *)restorePackInfoURL:(unsigned int)packID;
121+ (nullable NSURL *)musicInfoURL:(unsigned int)musicID;
128+ (nullable NSURL *)privilegeListURL:(int)key;
135+ (nullable NSURL *)privilegeMusicInfoURL:(unsigned int)musicID;
136
142+ (nullable NSURL *)verifyReceiptNewURL;
149+ (nullable NSURL *)verifyReceiptConsumeURL;
150
156+ (nullable NSURL *)campaignListURL;
162+ (nullable NSURL *)campaignSerialCheckURL;
168+ (nullable NSURL *)campaignItemURL;
174+ (nullable NSURL *)markerListURL;
181+ (nullable NSURL *)recommendPackURL:(unsigned int)musicID;
187+ (nullable NSURL *)startNewsURL;
193+ (nullable NSURL *)passedInfoListURL;
201+ (nullable NSURL *)storeUserPolicyURL;
210+ (nullable NSURL *)storeExtendListURL;
211
222+ (nullable NSDictionary *)checkStoreResponse:(nullable NSData *)response;
223
234+ (nullable NSString *)priceString:(nullable NSNumber *)price
235 withLocale:(nullable NSLocale *)locale;
236
246+ (BOOL)isValidURL:(nullable NSString *)url;
247
257+ (nullable NSString *)productIDForPackID:(int)packID;
258
268+ (int)packIDForProductID:(nullable NSString *)productID;
269
280+ (BOOL)existMusicFile:(int)musicID;
281
291+ (BOOL)existDownloadableExtendMusic:(nullable NSArray *)entries;
292
302+ (nullable NSDictionary *)affiliateParametersFromURL:(nullable NSURL *)url;
303
313+ (nullable NSString *)filePathForMusicID:(unsigned int)musicID;
314
324+ (nullable NSURL *)knitColorURL;
325
326@end
327
328NS_ASSUME_NONNULL_END
329
330// code: language=Objective-C
331// kate: hl Objective-C;
332// vim: set ft=objc :
Odds and ends the store screens share.
Definition StoreUtil.h:22
nullable NSURL * verifyReceiptConsumeURL()
The receipt-verify URL for a consumable purchase; delegates to ScratchUtil .
Definition StoreUtil.m:210
nullable NSURL * passedInfoListURL()
The passed-information list URL.
Definition StoreUtil.m:264
nullable NSURL * storeNewInfoURL()
The store's new-information URL, carrying the client info as a query.
Definition StoreUtil.m:103
nullable NSURL * campaignItemURL()
The campaign-item fetch URL.
Definition StoreUtil.m:228
int storeTabFooterHeight()
The store tab footer height, 49 points.
Definition StoreUtil.m:69
nullable NSURL * storeUserPolicyURL()
The store user-policy URL, carrying the agreed licence version.
Definition StoreUtil.m:272
nullable NSURL * verifyReceiptNewURL()
The receipt-verify URL for a new purchase; delegates to ScratchUtil .
Definition StoreUtil.m:205
nullable NSURL * campaignListURL()
The campaign-list URL.
Definition StoreUtil.m:216
nullable NSURL * markerListURL()
The marker-list check URL.
Definition StoreUtil.m:240
int storeTabHeaderHeight()
The store tab header height, 44 points.
Definition StoreUtil.m:64
int storeCategoryListHeight()
The store category list height, 80 points.
Definition StoreUtil.m:74
int storeCategoryTitleHeight()
The store category title height, 100 points.
Definition StoreUtil.m:79
nullable NSURL * campaignSerialCheckURL()
The campaign serial-check URL.
Definition StoreUtil.m:222
nullable NSURL * storeExtendListURL()
The store extend-list URL, carrying the last-update timestamp.
Definition StoreUtil.m:277
nullable NSURL * startNewsURL()
The startup-news URL.
Definition StoreUtil.m:257
nullable NSURL * knitColorURL()
The endpoint the store's knit background colour is fetched from.
Definition StoreUtil.m:234