Blame view
ios/GameSDK.framework/Versions/A/Headers/LetsGameAPI.h
1.15 KB
bd0fbf81f
![]() |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
#import <Foundation/Foundation.h> #import "LSGAccount.h" #import "VKBridgeProtocol.h" typedef void (^LSGLoginSuccBlock)(NSString *userId, NSString *sessionKey, LSGAccountType type); typedef void (^LSGDismissBlock)(void); static BOOL isDisableFB = NO; static BOOL isEnableVK = NO; |
3d40d58dd
![]() |
14 |
static NSString *version = @"3.3.4"; |
bd0fbf81f
![]() |
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
@interface LetsGameAPI : NSObject @property (nonatomic, strong) NSString *appId; @property (nonatomic, strong) NSString *appKey; @property (nonatomic, copy) LSGLoginSuccBlock succBlock; @property (nonatomic, copy) LSGDismissBlock dismissBlock; @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)logout; - (void)hide; - (BOOL)handleOpenURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication; -(void)pay:(NSDictionary*) payInfo; -(void)iap:(NSDictionary*) payInfo forUser:(NSString*) uid handleCallback:(void (^)(NSString* orderId)) callback; -(void)registeIapObserver; @end |