JubeatPlus 3.9.11
Loading...
Searching...
No Matches
RewardCheck.h
Go to the documentation of this file.
1
8
9#import <Foundation/Foundation.h>
10
11#import "Downloader.h"
12
13NS_ASSUME_NONNULL_BEGIN
14
18@protocol RewardCheckDelegate <NSObject>
19@optional
24- (void)rewardCheckEnd:(nonnull id)rewardCheck;
25@end
26
30@interface RewardCheck : NSObject <DownloaderDelegate>
31
38- (instancetype)initWithDelegate:(nullable id<RewardCheckDelegate>)delegate;
39
44- (void)checkStart;
45
50- (void)checkCancel;
51
52@end
53
54NS_ASSUME_NONNULL_END
55
56// code: language=Objective-C
57// kate: hl Objective-C;
58// vim: set ft=objc :
The HTTP client.
Posts the installed-app reward check to the game server and applies the granted rewards.
Definition RewardCheck.h:30
void checkStart()
Starts the check download.
Definition RewardCheck.m:128
void checkCancel()
Cancels the check download.
Definition RewardCheck.m:133
Performs a single HTTP request.
Definition Downloader.h:30