Blame view
ios/GameSDK.framework/Versions/A/Headers/LetsGameAPI.h
2.2 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; |
6e191f658
![]() |
15 |
static NSString *version = @"3.4.7"; |
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; |
971c75d1b
![]() |
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 |
|
6e191f658
![]() |
51 52 53 |
//-(void)iap:(NSDictionary*) payInfo forUser:(NSString*) uid handleCallback:(void (^)(NSString* orderId)) callback; -(void)iap:(NSDictionary*) payInfo forUser:(NSString*) uid succCallback:(void (^)(NSString* orderId)) succCallback failCallback:(void (^)(NSString* orderId)) failCallback; |
23a302b86
![]() |
54 55 |
-(void)registeIapObserver; |
971c75d1b
![]() |
56 |
-(void)decideIsDebug:(int)isDebug; |
23a302b86
![]() |
57 |
|
0605edc71
![]() |
58 |
-(void)decideWebPayVersion:(int)decideWebPay; |
bf74f0bb6
![]() |
59 60 61 |
-(void)obtainAccessTokenSuccess:(void (^)(NSString *tokenString, NSString *refreshTime, NSString *expirationTime))success failure:(void (^)(NSString *errorString))failure; |
635b66127
![]() |
62 63 64 65 66 |
//获取是否展示安全页面,YES展示侵权页面,NO展示非侵权页面 -(void)gameObtainSafeSetInfoWithAppId:(NSString *)appId ChannelId:(NSString *)channelId handleCallBack:(void (^)(BOOL resultStatus))callBack; |
23a302b86
![]() |
67 |
@end |