JubeatPlus 3.9.11
Loading...
Searching...
No Matches
GameNetworkUtil.h
Go to the documentation of this file.
1
12
13#import <Foundation/Foundation.h>
14
15NS_ASSUME_NONNULL_BEGIN
16
20@interface GameNetworkUtil : NSObject
21
27+ (nullable NSURL *)rewardCheckURL;
28
34+ (nullable NSURL *)rewardEnableURL;
35
41+ (nullable NSURL *)recommendEnableURL;
42
48+ (void)fillInstallAppNum:(int)appNum;
49
56
62+ (nullable NSURL *)scoreSendURL;
63
69+ (nullable NSURL *)recommendTwitterURL;
70
76+ (nullable NSURL *)recommendFacebookURL;
77
83+ (nullable NSURL *)searchPackIDURL:(int)musicID;
84
90+ (nullable NSString *)getStoreTarget;
91
92@end
93
94NS_ASSUME_NONNULL_END
95
96// code: language=Objective-C
97// kate: hl Objective-C;
98// vim: set ft=objc :
Builds the game-network endpoints and tracks the reward install count.
Definition GameNetworkUtil.h:21
nullable NSURL * recommendTwitterURL()
The recommend-Twitter endpoint.
Definition GameNetworkUtil.m:61
nullable NSString * getStoreTarget()
The store target region code.
Definition GameNetworkUtil.m:85
nullable NSURL * rewardCheckURL()
The reward-check endpoint.
Definition GameNetworkUtil.m:32
nullable NSURL * scoreSendURL()
The score/play-log endpoint.
Definition GameNetworkUtil.m:54
nullable NSURL * rewardEnableURL()
The reward-enable (startup) endpoint.
Definition GameNetworkUtil.m:38
int readInstallAppNum()
Reads the persisted reward install count for the current editor id.
Definition GameNetworkUtil.m:114
nullable NSURL * recommendFacebookURL()
The recommend-Facebook endpoint.
Definition GameNetworkUtil.m:68
nullable NSURL * recommendEnableURL()
The recommend-enable (startup) endpoint.
Definition GameNetworkUtil.m:46