JubeatPlus 3.9.11
Loading...
Searching...
No Matches
ChallengeResourceManager.h
Go to the documentation of this file.
1
9
10#import <Foundation/Foundation.h>
11
12NS_ASSUME_NONNULL_BEGIN
13
18@interface ChallengeResourceManager : NSObject
19
25+ (instancetype)sharedManager;
26
31@property(nonatomic, strong, nullable) NSMutableArray *arrayResource;
32
37- (void)loadResourceList;
38
43- (void)saveResourceList;
44
51- (BOOL)addPanelResourceInfo:(nullable NSDictionary *)info;
52
59- (nullable NSData *)getPanelResourceData:(nullable NSDictionary *)info;
60
67- (void)savePanelResourceData:(nullable NSData *)data info:(nullable NSDictionary *)info;
68
74- (void)deletePanelResourceData:(int)itemID;
75
81- (void)setIgnoreSave:(nullable NSURL *)url;
82
83@end
84
85NS_ASSUME_NONNULL_END
86
87// code: language=Objective-C
88// kate: hl Objective-C;
89// vim: set ft=objc :
Stores the list of scratch-panel resource descriptors and each panel's enciphered image data on disk,...
Definition ChallengeResourceManager.h:19
void saveResourceList()
Enciphers and saves the resource list to disk with a random-nonce header.
Definition ChallengeResourceManager.m:79
instancetype sharedManager()
The shared instance, built once.
Definition ChallengeResourceManager.m:34
NSMutableArray * arrayResource
The resource descriptors, each a dictionary keyed by item_id .
Definition ChallengeResourceManager.h:31
void loadResourceList()
Loads and deciphers the resource list from disk (or starts an empty one).
Definition ChallengeResourceManager.m:52