Blame view
ios/GameSDK.framework/Versions/A/Headers/LetsGameAPI.h
1.66 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 13 14 |
typedef void (^LSGDismissBlock)(void); static BOOL isDisableFB = NO; static BOOL isEnableVK = NO; static BOOL hiddenLogo = NO; |
bf74f0bb6
![]() |
15 |
static NSString *version = @"3.3.19"; |
23a302b86
![]() |
16 17 18 19 20 21 22 23 |
@interface LetsGameAPI : NSObject<UIApplicationDelegate> @property (nonatomic, strong) NSString *appId; @property (nonatomic, strong) NSString *appKey; @property (nonatomic, copy) LSGLoginSuccBlock succBlock; @property (nonatomic, copy) LSGDismissBlock dismissBlock; @property (nonatomic, assign) int isDebug; |
0605edc71
![]() |
24 |
@property (nonatomic, assign) int decideWebPay; |
23a302b86
![]() |
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
@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; +(BOOL)isFBDisable; +(BOOL)isVKEnable; +(void)hiddenLogo:(BOOL)isHidden; +(BOOL)isHiddenLogo; - (void)logout; - (void)hide; - (BOOL)handleOpenURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication; |
4c7cd90d2
![]() |
47 |
-(void)pay:(NSDictionary*) payInfo handleCallBack:(void (^)()) paySuccessCallback; |
23a302b86
![]() |
48 49 50 51 |
-(void)iap:(NSDictionary*) payInfo forUser:(NSString*) uid handleCallback:(void (^)(NSString* orderId)) callback; -(void)registeIapObserver; |
23a302b86
![]() |
52 |
-(void)decideIsDebug:(int)isDebug; |
0605edc71
![]() |
53 |
-(void)decideWebPayVersion:(int)decideWebPay; |
bf74f0bb6
![]() |
54 55 56 |
-(void)obtainAccessTokenSuccess:(void (^)(NSString *tokenString, NSString *refreshTime, NSString *expirationTime))success failure:(void (^)(NSString *errorString))failure; |
23a302b86
![]() |
57 |
@end |