Blame view
ios/GameSDK.framework/Versions/A/Headers/LetsGameAPI.h
2.04 KB
|
23a302b86
|
1 2 3 4 5 6 7 |
#import <Foundation/Foundation.h> #import "LSGAccount.h" #import "VKBridgeProtocol.h" typedef void (^LSGLoginSuccBlock)(NSString *userId, NSString *sessionKey, LSGAccountType type); |
|
23a302b86
|
8 9 10 11 12 |
typedef void (^LSGDismissBlock)(void); static BOOL isDisableFB = NO; static BOOL isEnableVK = NO; |
|
b27a5c1eb
|
13 |
static BOOL isDisableGoogle = NO; |
|
23a302b86
|
14 |
static BOOL hiddenLogo = NO; |
|
b27a5c1eb
|
15 |
static NSString *version = @"3.5.2"; |
|
23a302b86
|
16 17 18 19 20 21 22 |
@interface LetsGameAPI : NSObject<UIApplicationDelegate> @property (nonatomic, strong) NSString *appId; @property (nonatomic, strong) NSString *appKey; @property (nonatomic, copy) LSGLoginSuccBlock succBlock; @property (nonatomic, copy) LSGDismissBlock dismissBlock; |
|
8efe96941
|
23 |
//@property (nonatomic, assign) int isDebug; |
|
0605edc71
|
24 |
@property (nonatomic, assign) int decideWebPay; |
|
23a302b86
|
25 26 27 28 29 30 31 32 33 34 35 |
@property (nonatomic,retain) id<VKBridgeProtocol> vkBridge; //@property(nonatomic,strong) NSString *version; + (instancetype)instance; -(NSString*)version; - (void)showLoginView; - (void)showLoginViewInView:(UIView *)view; +(void)disableFB:(BOOL)isDisable; |
|
b27a5c1eb
|
36 |
+(void)disableGoogle:(BOOL)isDisable; |
|
23a302b86
|
37 38 |
+(BOOL)isFBDisable; +(BOOL)isVKEnable; |
|
b27a5c1eb
|
39 |
+(BOOL)isGoogleDisable; |
|
23a302b86
|
40 41 42 43 44 45 46 47 48 |
+(void)hiddenLogo:(BOOL)isHidden;
+(BOOL)isHiddenLogo;
- (void)logout;
- (void)hide;
- (BOOL)handleOpenURL:(NSURL *)url
sourceApplication:(NSString *)sourceApplication;
|
|
635b66127
|
49 |
-(void)pay:(NSDictionary*) payInfo handleCallBack:(void (^)()) payAccomplistCallback; |
|
23a302b86
|
50 51 52 53 |
-(void)iap:(NSDictionary*) payInfo forUser:(NSString*) uid handleCallback:(void (^)(NSString* orderId)) callback; -(void)registeIapObserver; |
|
8efe96941
|
54 |
//-(void)decideIsDebug:(int)isDebug; |
|
23a302b86
|
55 |
|
|
0605edc71
|
56 |
-(void)decideWebPayVersion:(int)decideWebPay; |
|
bf74f0bb6
|
57 58 59 |
-(void)obtainAccessTokenSuccess:(void (^)(NSString *tokenString, NSString *refreshTime, NSString *expirationTime))success
failure:(void (^)(NSString *errorString))failure;
|
|
635b66127
|
60 61 62 63 64 |
//获取是否展示安全页面,YES展示侵权页面,NO展示非侵权页面
-(void)gameObtainSafeSetInfoWithAppId:(NSString *)appId
ChannelId:(NSString *)channelId
handleCallBack:(void (^)(BOOL resultStatus))callBack;
|
|
23a302b86
|
65 |
@end |