Commit 582a5a7307700da135bc678a4967171829c6c693
1 parent
9c951e2e3d
Exists in
master
1、界面UI更新 2、删除VK登录 3、修改并增加语言版本 4、删除重置密码
Showing 66 changed files with 369 additions and 396 deletions Side-by-side Diff
- IOSDocument.md
- README.md
- ios/GameSDK.framework/Versions/A/GameSDK
- ios/GameSDK.framework/Versions/A/Headers/LSGAccount.h
- ios/GameSDK.framework/Versions/A/Headers/LetsGameAPI.h
- ios/GameSDK.zip
- ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.pbxproj
- ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.xcworkspace/xcuserdata/yanglele.xcuserdatad/IDEFindNavigatorScopes.plist
- ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.xcworkspace/xcuserdata/yanglele.xcuserdatad/UserInterfaceState.xcuserstate
- ios/GameSDKDemo/GameSDKDemo.xcodeproj/xcuserdata/yanglele.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
- ios/GameSDKDemo/letsgameDemo/LSGAppDelegate.m
- ios/GameSDKDemo/letsgameDemo/LSGMainViewController.m
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/BlueBtn.png
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/BlueBtn@2x.png
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/BlueBtn@3x.png
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/BlueBtn_pressed.png
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/BlueBtn_pressed@2x.png
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/BlueBtn_pressed@3x.png
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/Disclosure.png
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/Disclosure@2x.png
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/Disclosure@3x.png
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/Info.plist
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/en.lproj/InfoPlist.strings
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/en.lproj/Localizable.strings
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_deleteattach.png
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_deleteattach@2x.png
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_deletephoto.png
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_deletephoto@2x.png
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_vk_activity_logo.png
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_vk_activity_logo@2x.png
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_vk_activity_logo@2x~ipad.png
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_vk_activity_logo@3x.png
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_vk_activity_logo~ipad.png
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_vk_ios7_activity_logo.png
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_vk_ios7_activity_logo@2x.png
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_vk_ios7_activity_logo@2x~ipad.png
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_vk_ios7_activity_logo@3x.png
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_vk_ios7_activity_logo~ipad.png
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_vk_logo_nb.png
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_vk_logo_nb@2x.png
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_vk_logo_nb@3x.png
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/img_newpostattachlink.png
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/img_newpostattachlink@2x.png
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ru.lproj/Localizable.strings
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/vk_settings.png
- ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/vk_settings@2x.png
- ios/GameSDKDemo/letsgameDemo/letsgameDemo-Info.plist
- ios/GameSDKResources.bundle/de.strings
- ios/GameSDKResources.bundle/en.strings
- ios/GameSDKResources.bundle/images/account@2x.png
- ios/GameSDKResources.bundle/images/facebook@2x.png
- ios/GameSDKResources.bundle/images/google@2x.png
- ios/GameSDKResources.bundle/images/password@2x.png
- ios/GameSDKResources.bundle/images/vk@2x.png
- ios/GameSDKResources.bundle/ko.strings
- ios/GameSDKResources.bundle/pt-PT.strings
- ios/GameSDKResources.bundle/ru.strings
- ios/GameSDKResources.bundle/th.strings
- ios/GameSDKResources.bundle/vi.strings
- ios/GameSDKResources.bundle/zh-Hans.strings
- ios/GameSDKResources.bundle/zh-Hant.strings
- ios/VKBridge.framework/Headers
- ios/VKBridge.framework/VKBridge
- ios/VKBridge.framework/Versions/A/Headers/VKBridge.h
- ios/VKBridge.framework/Versions/A/VKBridge
- ios/VKBridge.framework/Versions/Current
IOSDocument.md
| ... | ... | @@ -2,22 +2,18 @@ |
| 2 | 2 | |
| 3 | 3 | |
| 4 | 4 | 接入手册 |
| 5 | -V 3.5.24 | |
| 6 | -2018年9月20日 | |
| 5 | +V 3.6.2 | |
| 6 | +2018年10月19日 | |
| 7 | 7 | |
| 8 | 8 | ## 概述 |
| 9 | -#### 本SDK提供gump账号,fb账号,vk账号,Google帐号,line 登录四种账号登录,iap支付和第三方支付两种支付功能,其中gump账号登录和fb账号登录功能为必须接入,支付可根据需要选择性接入。 | |
| 9 | +#### 本SDK提供gump账号,fb账号,Google帐号,line 登录三种账号登录,iap支付和第三方支付两种支付功能,其中gump账号登录和fb账号登录功能为必须接入,支付可根据需要选择性接入。 | |
| 10 | 10 | |
| 11 | 11 | ## 接入步骤 |
| 12 | 12 | ### 1、添加Framework和资源文件 |
| 13 | 13 | + 以下为必须添加的framework以及资源bundle: |
| 14 | 14 | MobileCoreServices.framework、SystemConfiguration.framework、libz.dylib、CFNetwork.framework、GameSDK.framework、StoreKit.framework、GameSDKResources.bundle |
| 15 | -+ 以下为可选,若接入vk登录则需要添加以下framework和bundle,其中VKSdk.framework和VKSDKResources.bundle请自行从vk.com下载,使用1.3版本 | |
| 16 | - VKSdk.framework、VKBridge.framework、VKSDKResources.bundle | |
| 17 | 15 | |
| 18 | - | |
| 19 | -### 2、引入头文件,设置build setting | |
| 20 | -需要使用头文件有LetsGameAPI.h和VKBridge.h,其中VKBridge.h为接入vk时使用,不接入vk可忽略。 | |
| 16 | +### 2、引入头文件,设置build setting | |
| 21 | 17 | 因sdk内使用了category,需要设置other linker flag为 -ObjC |
| 22 | 18 | |
| 23 | 19 | |
| ... | ... | @@ -25,13 +21,7 @@ MobileCoreServices.framework、SystemConfiguration.framework、libz.dylib、CFNe |
| 25 | 21 | 1)在application delegate中, 在application:openURL:sourceApplication:annotation:添加返回: |
| 26 | 22 | |
| 27 | 23 | return [[LetsGameAPI instance] handleOpenURL:url sourceApplication:sourceApplication]; |
| 28 | - | |
| 29 | - | |
| 30 | -2)配置URL-schema(vk专用,不接入vk可忽略) | |
| 31 | -Xcode 5: Open your application settings then select the Info tab. In the URL Types section click the plus sign. Enter vk+APP_ID (e.g. vk1234567) to the Identifier and URL Schemes fields. | |
| 32 | - | |
| 33 | -Xcode 4: Open your Info.plist then add a new row URL Types. Set the URL identifier to vk+APP_ID | |
| 34 | - | |
| 24 | + | |
| 35 | 25 | |
| 36 | 26 | ### 4、在工程里添加SDK登录代码 |
| 37 | 27 | |
| ... | ... | @@ -43,9 +33,6 @@ Xcode 4: Open your Info.plist then add a new row URL Types. Set the URL identifi |
| 43 | 33 | [[LetsGameAPI instance] SDKLoginInitofResponse:^(BOOL result) { |
| 44 | 34 | if (result) { |
| 45 | 35 | NSLog(@"初始化成功"); |
| 46 | - //启用vk的代码,需要填入vk appId,若不接入vk,可以忽略 | |
| 47 | - VKBridge *vkBridge = [[VKBridge alloc] initWithVKAppId:@"5029792"]; | |
| 48 | - [LetsGameAPI instance].vkBridge = vkBridge; | |
| 49 | 36 | //隐藏fb登录 |
| 50 | 37 | [LetsGameAPI disableFB:YES]; |
| 51 | 38 | //隐藏Google登录 |
README.md
| 1 | -# Gump IOS SDK使用文档 | |
| 1 | + # Gump IOS SDK使用文档 | |
| 2 | + | |
| 3 | + | |
| 4 | + 接入手册 | |
| 5 | + V 3.6.2 | |
| 6 | + 2018年10月19日 | |
| 7 | + | |
| 8 | + ## 概述 | |
| 9 | + #### 本SDK提供gump账号,fb账号,Google帐号,line 登录三种账号登录,iap支付和第三方支付两种支付功能,其中gump账号登录和fb账号登录功能为必须接入,支付可根据需要选择性接入。 | |
| 10 | + | |
| 11 | + ## 接入步骤 | |
| 12 | + ### 1、添加Framework和资源文件 | |
| 13 | + + 以下为必须添加的framework以及资源bundle: | |
| 14 | + MobileCoreServices.framework、SystemConfiguration.framework、libz.dylib、CFNetwork.framework、GameSDK.framework、StoreKit.framework、GameSDKResources.bundle | |
| 15 | + | |
| 16 | + ### 2、引入头文件,设置build setting | |
| 17 | + 因sdk内使用了category,需要设置other linker flag为 -ObjC | |
| 18 | + | |
| 19 | + | |
| 20 | + ### 3、增加必要配置 | |
| 21 | + 1)在application delegate中, 在application:openURL:sourceApplication:annotation:添加返回: | |
| 22 | + | |
| 23 | + return [[LetsGameAPI instance] handleOpenURL:url sourceApplication:sourceApplication]; | |
| 24 | + | |
| 25 | + | |
| 26 | + ### 4、在工程里添加SDK登录代码 | |
| 27 | + | |
| 28 | + [LetsGameAPI instance].appId = @"100"; // 设置appId | |
| 29 | + [LetsGameAPI instance].appKey = @"100"; // 设置appKey | |
| 30 | + [LetsGameAPI instance].channelId = @"100"; //设置channelId | |
| 31 | + | |
| 32 | + //sdk login 初始化 | |
| 33 | + [[LetsGameAPI instance] SDKLoginInitofResponse:^(BOOL result) { | |
| 34 | + if (result) { | |
| 35 | + NSLog(@"初始化成功"); | |
| 36 | + //隐藏fb登录 | |
| 37 | + [LetsGameAPI disableFB:YES]; | |
| 38 | + //隐藏Google登录 | |
| 39 | + [LetsGameAPI disableGoogle:YES]; | |
| 40 | + //隐藏gumptech的logo | |
| 41 | + [LetsGameAPI hiddenLogo:YES]; | |
| 42 | + //隐藏line登录 | |
| 43 | + [LetsGameAPI disableLine:YES]; | |
| 44 | + | |
| 45 | + [[LetsGameAPI instance] showLoginView]; // 弹出登录页面 | |
| 46 | + | |
| 47 | + // 登录成功回调 | |
| 48 | + [LetsGameAPI instance].succBlock = ^(NSString *userId, NSString *sessionKey, LSGAccountType type) { | |
| 49 | + NSLog(@"%@", [NSString stringWithFormat:@"login succ: userId = %@, sessionKey = %@, accountType = %d", userId, sessionKey, type]); | |
| 50 | + }; | |
| 51 | + | |
| 52 | + // 登录失败回调,需要游戏自己处理 | |
| 53 | + [LetsGameAPI instance].dismissBlock = ^() { | |
| 54 | + NSLog(@"dismiss without login"); | |
| 55 | + }; | |
| 56 | + }else{ | |
| 57 | + NSLog(@"初始化失败"); | |
| 58 | + }]; | |
| 59 | + | |
| 60 | + | |
| 2 | 61 | |
| 3 | 62 | |
| 4 | -接入手册 | |
| 5 | -V 3.5.24 | |
| 6 | -2018年9月20日 | |
| 63 | + ### 5、登录注销 | |
| 64 | + 注销接口只要设置过appId和appKey之后就不需要设置了,注销完成之后会回到登录界面。FB登录回到登录页面,Gump登录或者游客登录回到登录框。 | |
| 65 | + | |
| 66 | + [LetsGameAPI instance].appId = @"100";//设置appId | |
| 67 | + [LetsGameAPI instance].appKey = @"100";//设置appkey | |
| 68 | + [[LetsGameAPI instance] logout]; //注销 | |
| 7 | 69 | |
| 8 | -## 概述 | |
| 9 | -#### 本SDK提供gump账号,fb账号,vk账号,Google帐号,line 登录四种账号登录,iap支付和第三方支付两种支付功能,其中gump账号登录和fb账号登录功能为必须接入,支付可根据需要选择性接入。 | |
| 10 | - | |
| 11 | -## 接入步骤 | |
| 12 | -### 1、添加Framework和资源文件 | |
| 13 | -+ 以下为必须添加的framework以及资源bundle: | |
| 14 | -MobileCoreServices.framework、SystemConfiguration.framework、libz.dylib、CFNetwork.framework、GameSDK.framework、StoreKit.framework、GameSDKResources.bundle | |
| 15 | -+ 以下为可选,若接入vk登录则需要添加以下framework和bundle,其中VKSdk.framework和VKSDKResources.bundle请自行从vk.com下载,使用1.3版本 | |
| 16 | - VKSdk.framework、VKBridge.framework、VKSDKResources.bundle | |
| 17 | - | |
| 18 | - | |
| 19 | -### 2、引入头文件,设置build setting | |
| 20 | -需要使用头文件有LetsGameAPI.h和VKBridge.h,其中VKBridge.h为接入vk时使用,不接入vk可忽略。 | |
| 21 | -因sdk内使用了category,需要设置other linker flag为 -ObjC | |
| 22 | - | |
| 23 | - | |
| 24 | -### 3、增加必要配置 | |
| 25 | -1)在application delegate中, 在application:openURL:sourceApplication:annotation:添加返回: | |
| 26 | - | |
| 27 | - return [[LetsGameAPI instance] handleOpenURL:url sourceApplication:sourceApplication]; | |
| 28 | - | |
| 29 | - | |
| 30 | -2)配置URL-schema(vk专用,不接入vk可忽略) | |
| 31 | -Xcode 5: Open your application settings then select the Info tab. In the URL Types section click the plus sign. Enter vk+APP_ID (e.g. vk1234567) to the Identifier and URL Schemes fields. | |
| 32 | - | |
| 33 | -Xcode 4: Open your Info.plist then add a new row URL Types. Set the URL identifier to vk+APP_ID | |
| 34 | - | |
| 35 | - | |
| 36 | -### 4、在工程里添加SDK登录代码 | |
| 37 | - | |
| 38 | - [LetsGameAPI instance].appId = @"100"; // 设置appId | |
| 39 | - [LetsGameAPI instance].appKey = @"100"; // 设置appKey | |
| 40 | - [LetsGameAPI instance].channelId = @"100"; //设置channelId | |
| 41 | - | |
| 42 | - //sdk login 初始化 | |
| 43 | - [[LetsGameAPI instance] SDKLoginInitofResponse:^(BOOL result) { | |
| 44 | - if (result) { | |
| 45 | - NSLog(@"初始化成功"); | |
| 46 | - //启用vk的代码,需要填入vk appId,若不接入vk,可以忽略 | |
| 47 | - VKBridge *vkBridge = [[VKBridge alloc] initWithVKAppId:@"5029792"]; | |
| 48 | - [LetsGameAPI instance].vkBridge = vkBridge; | |
| 49 | - //隐藏fb登录 | |
| 50 | - [LetsGameAPI disableFB:YES]; | |
| 51 | - //隐藏Google登录 | |
| 52 | - [LetsGameAPI disableGoogle:YES]; | |
| 53 | - //隐藏gumptech的logo | |
| 54 | - [LetsGameAPI hiddenLogo:YES]; | |
| 55 | - //隐藏line登录 | |
| 56 | - [LetsGameAPI disableLine:YES]; | |
| 57 | - | |
| 58 | - [[LetsGameAPI instance] showLoginView]; // 弹出登录页面 | |
| 59 | - | |
| 60 | - // 登录成功回调 | |
| 61 | - [LetsGameAPI instance].succBlock = ^(NSString *userId, NSString *sessionKey, LSGAccountType type) { | |
| 62 | - NSLog(@"%@", [NSString stringWithFormat:@"login succ: userId = %@, sessionKey = %@, accountType = %d", userId, sessionKey, type]); | |
| 63 | - }; | |
| 64 | - | |
| 65 | - // 登录失败回调,需要游戏自己处理 | |
| 66 | - [LetsGameAPI instance].dismissBlock = ^() { | |
| 67 | - NSLog(@"dismiss without login"); | |
| 68 | - }; | |
| 69 | - }else{ | |
| 70 | - NSLog(@"初始化失败"); | |
| 71 | - }]; | |
| 72 | - | |
| 73 | - | |
| 74 | - | |
| 75 | - | |
| 76 | -### 5、登录注销 | |
| 77 | -注销接口只要设置过appId和appKey之后就不需要设置了,注销完成之后会回到登录界面。FB登录回到登录页面,Gump登录或者游客登录回到登录框。 | |
| 78 | - | |
| 79 | - [LetsGameAPI instance].appId = @"100";//设置appId | |
| 80 | - [LetsGameAPI instance].appKey = @"100";//设置appkey | |
| 81 | - [[LetsGameAPI instance] logout]; //注销 | |
| 82 | - | |
| 83 | - | |
| 84 | -### 6、第三方支付 | |
| 85 | - [LetsGameAPI instance].appId = @"10022"; | |
| 86 | - [LetsGameAPI instance].appKey = @"f899139df5e1059396431415e770c6dd"; | |
| 87 | - NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; | |
| 88 | - [payInfo setValue:@"5001" forKey:@"serverId"];//服务器id,必传参数 | |
| 89 | - [payInfo setValue:@"10010" forKey:@"roleId"];//用户角色id | |
| 90 | - [payInfo setValue:@"1000" forKey:@"channelId"];//渠道id | |
| 91 | - [payInfo setValue:@"10" forKey:@"amount"];//金额 | |
| 92 | - [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//外部订单信息 | |
| 93 | - [payInfo setValue:@"元宝" forKey:@"product"];//物品ID | |
| 94 | - [payInfo setValue:self.sessionKey forKey:@"sessionKey"];//登录成功的sessionKey | |
| 95 | - [[LetsGameAPI instance] pWeb:payInfo handleCallBack:^{ | |
| 96 | - //第三方支付完成时的回调(包括支付成功和支付失败,除了支付过程中取消的),取消的不会有回调 | |
| 97 | - NSLog(@"第三方支付完成"); | |
| 98 | - }]]; | |
| 99 | - | |
| 100 | -### 7、IAP支付 | |
| 101 | -若要使用apple IAP支付,需要在AppDelegate的application: didFinishLaunchingWithOptions:方法内注册iap observer,使用如下方法 | |
| 102 | - | |
| 103 | - [[LetsGameAPI instance] registeIapObserver]; | |
| 104 | -具体调用iap支付的方法如下: | |
| 105 | - | |
| 106 | - [LetsGameAPI instance].appId = @"10022"; | |
| 107 | - [LetsGameAPI instance].appKey = @"93a27b0bd99bac3e68a440b48aa421ab"; | |
| 108 | - NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; | |
| 109 | - [payInfo setValue:@"5001" forKey:@"serverId"];//当前用户所在的服务器Id | |
| 110 | - [payInfo setValue:@"10010" forKey:@"roleId"];//当前用户的角色id | |
| 111 | - [payInfo setValue:@"1000" forKey:@"channelId"];//渠道id,用于统计 | |
| 112 | - [payInfo setValue:@"10" forKey:@"amount"];//对应支付项的支付金额,实际支付金额以itunes配置为准 | |
| 113 | - [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//扩展信息,可以游戏自定义,建议传自有订单号 | |
| 114 | - [payInfo setValue:@"test.product.1" forKey:@"product"];//itunes 后台配置的对应支付项的productId | |
| 115 | - [[LetsGameAPI instance] iap:payInfo forUser:@"" succCallback:^(NSString *orderId) { | |
| 116 | - //此处的回调表明支付已经完成,但此时支付不一定成功,需要服务端验证支付结果 | |
| 117 | - //orderId为gump生成的订单号,此订单号可以在gump server查询此笔支付是否成功 | |
| 118 | - NSLog(@"IAP completed orderId of Gumptech:%@",orderId); | |
| 119 | - } failCallback:^(NSString *orderId) { | |
| 120 | - //支付失败 | |
| 121 | - NSLog(@"IAP file orderId of Gumptech:%@",orderId); | |
| 122 | - }]; | |
| 123 | -### 8、token的获取 | |
| 124 | -FB登录之后会产生token并自动登录,需要如果需要token的话,需要自己调用接口获取。 | |
| 125 | - | |
| 126 | - //tokenString:token字符串 | |
| 127 | - //refreshTime:refreshTime token最后刷新的时间,即获取的token的时间 | |
| 128 | - //expirationTime:expirationTime token最后的有效时间 | |
| 129 | - [[LetsGameAPI instance] obtainAccessTokenSuccess:^(NSString *tokenString, NSString *refreshTime, NSString *expirationTime) { | |
| 130 | - NSLog(@"tokenString %@, refreshTime %@, expirationTime %@", tokenString, refreshTime, expirationTime); | |
| 131 | - } failure:^(NSString *errorString) { | |
| 132 | - NSLog(@"get token faile"); | |
| 133 | - }]; | |
| 134 | - | |
| 135 | - | |
| 136 | -### 9、第三方支付版本 | |
| 137 | -第三方支付,分成两个版本:没有gump币和有gump币,不设置时默认为不带gump币版本,如果使用带gump币的版本如下设置: | |
| 138 | - | |
| 139 | - 需要在 application:didFinishLaunchingWithOptions方法中添加: | |
| 140 | - | |
| 141 | - [[LetsGameAPI instance] decideWebToVersion:1] | |
| 142 | - | |
| 143 | - | |
| 144 | -### 10、关于侵权还是侵权的接口显示 | |
| 145 | -运营在后台配置此包名和版本在什么时候显示侵权内容还是不侵权内容,此接口调用需要在游戏才开始加载的时候调用,返回值是YES的时候显示侵权内容,在NO的时候显示不侵权内容。 | |
| 146 | - | |
| 147 | -注意:关于运营配置的游戏的版本号,我们默认取的是Bulid版本号的值,请注意。 | |
| 148 | - | |
| 149 | - [[LetsGameAPI instance] gameObtainSafeSetInfoWithAppId:@"10056" ChannelId:@"1000" handleCallBack:^(BOOL resultStatus) { | |
| 150 | - if (resultStatus) { | |
| 151 | - NSLog(@"YES 侵权"); | |
| 152 | - }else{ | |
| 153 | - NSLog(@"NO 不侵权"); | |
| 154 | - } | |
| 155 | - }]; | |
| 156 | -### 11、横竖屏设置 | |
| 157 | - | |
| 158 | - 首先设置SDK默认是横屏,在General->Deployment Info->Device Orientain下,只选择Landscape Left 和 Landscape Right,SDK的界面默认是横屏。 | |
| 159 | - 其次如果想使用竖屏的模式,需要在General->Deployment Info->Device Orientain下,只选择Portrait模式,并且需要在AppDelegate中的方法: | |
| 160 | - - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions;靠前的位置添加代码设置: | |
| 161 | - | |
| 162 | - [LetsGameAPI DeviceOrientationIsHorizontal:NO]; | |
| 163 | - | |
| 164 | - | |
| 165 | - | |
| 166 | - | |
| 167 | -### 12、CocoaPods集成 | |
| 168 | -集成项目的.framework和bundle,但是vk登录封装的VK.framework,需要自己手动添加。 | |
| 169 | -``` | |
| 170 | -pod 'GameSDK', '~> 3.5.5' | |
| 171 | -``` | |
| 172 | - | |
| 173 | -### 13、活动添加 | |
| 174 | -添加项目GameActivitySDK.framework | |
| 175 | -设置:设置xxxx.plist | |
| 176 | -只支持HTTP的方式,需要将相应的项目的xxx.plist添加Information Property List->App Transport Security Settings -> Allow Arbitrary Loads设置为YES | |
| 177 | - | |
| 178 | -工程中添加SDK登录代码: | |
| 179 | - | |
| 180 | - NSMutableDictionary *activityInfo = [NSMutableDictionary dictionary]; | |
| 181 | - [activityInfo setValue:@"100" forKey:@"appId"]; | |
| 182 | - [activityInfo setValue:@"f899139df5e1059396431415e770c6dd" forKey:@"appKey"]; | |
| 183 | - [activityInfo setValue:@"123456" forKey:@"userId"]; | |
| 184 | - [activityInfo setValue:@"111" forKey:@"serverId"]; | |
| 185 | - [activityInfo setValue:@"aaa" forKey:@"serverName"]; | |
| 186 | - [activityInfo setValue:@"222" forKey:@"roleId"]; | |
| 187 | - [activityInfo setValue:@"ccc" forKey:@"roleName"]; | |
| 188 | - [activityInfo setValue:@"888" forKey:@"diamond"]; | |
| 189 | - //活动关闭的回调 | |
| 190 | - [[LetsGameActivityAPI instance] GameActivityWithParaDictory:activityInfo handleCallBackL:^{ | |
| 191 | - NSLog(@"activity finish!"); | |
| 192 | - }]; | |
| 70 | + | |
| 71 | + ### 6、第三方支付 | |
| 72 | + [LetsGameAPI instance].appId = @"10022"; | |
| 73 | + [LetsGameAPI instance].appKey = @"f899139df5e1059396431415e770c6dd"; | |
| 74 | + NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; | |
| 75 | + [payInfo setValue:@"5001" forKey:@"serverId"];//服务器id,必传参数 | |
| 76 | + [payInfo setValue:@"10010" forKey:@"roleId"];//用户角色id | |
| 77 | + [payInfo setValue:@"1000" forKey:@"channelId"];//渠道id | |
| 78 | + [payInfo setValue:@"10" forKey:@"amount"];//金额 | |
| 79 | + [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//外部订单信息 | |
| 80 | + [payInfo setValue:@"元宝" forKey:@"product"];//物品ID | |
| 81 | + [payInfo setValue:self.sessionKey forKey:@"sessionKey"];//登录成功的sessionKey | |
| 82 | + [[LetsGameAPI instance] pWeb:payInfo handleCallBack:^{ | |
| 83 | + //第三方支付完成时的回调(包括支付成功和支付失败,除了支付过程中取消的),取消的不会有回调 | |
| 84 | + NSLog(@"第三方支付完成"); | |
| 85 | + }]]; | |
| 86 | + | |
| 87 | + ### 7、IAP支付 | |
| 88 | + 若要使用apple IAP支付,需要在AppDelegate的application: didFinishLaunchingWithOptions:方法内注册iap observer,使用如下方法 | |
| 89 | + | |
| 90 | + [[LetsGameAPI instance] registeIapObserver]; | |
| 91 | + 具体调用iap支付的方法如下: | |
| 92 | + | |
| 93 | + [LetsGameAPI instance].appId = @"10022"; | |
| 94 | + [LetsGameAPI instance].appKey = @"93a27b0bd99bac3e68a440b48aa421ab"; | |
| 95 | + NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; | |
| 96 | + [payInfo setValue:@"5001" forKey:@"serverId"];//当前用户所在的服务器Id | |
| 97 | + [payInfo setValue:@"10010" forKey:@"roleId"];//当前用户的角色id | |
| 98 | + [payInfo setValue:@"1000" forKey:@"channelId"];//渠道id,用于统计 | |
| 99 | + [payInfo setValue:@"10" forKey:@"amount"];//对应支付项的支付金额,实际支付金额以itunes配置为准 | |
| 100 | + [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//扩展信息,可以游戏自定义,建议传自有订单号 | |
| 101 | + [payInfo setValue:@"test.product.1" forKey:@"product"];//itunes 后台配置的对应支付项的productId | |
| 102 | + [[LetsGameAPI instance] iap:payInfo forUser:@"" succCallback:^(NSString *orderId) { | |
| 103 | + //此处的回调表明支付已经完成,但此时支付不一定成功,需要服务端验证支付结果 | |
| 104 | + //orderId为gump生成的订单号,此订单号可以在gump server查询此笔支付是否成功 | |
| 105 | + NSLog(@"IAP completed orderId of Gumptech:%@",orderId); | |
| 106 | + } failCallback:^(NSString *orderId) { | |
| 107 | + //支付失败 | |
| 108 | + NSLog(@"IAP file orderId of Gumptech:%@",orderId); | |
| 109 | + }]; | |
| 110 | + ### 8、token的获取 | |
| 111 | + FB登录之后会产生token并自动登录,需要如果需要token的话,需要自己调用接口获取。 | |
| 112 | + | |
| 113 | + //tokenString:token字符串 | |
| 114 | + //refreshTime:refreshTime token最后刷新的时间,即获取的token的时间 | |
| 115 | + //expirationTime:expirationTime token最后的有效时间 | |
| 116 | + [[LetsGameAPI instance] obtainAccessTokenSuccess:^(NSString *tokenString, NSString *refreshTime, NSString *expirationTime) { | |
| 117 | + NSLog(@"tokenString %@, refreshTime %@, expirationTime %@", tokenString, refreshTime, expirationTime); | |
| 118 | + } failure:^(NSString *errorString) { | |
| 119 | + NSLog(@"get token faile"); | |
| 120 | + }]; | |
| 121 | + | |
| 122 | + | |
| 123 | + ### 9、第三方支付版本 | |
| 124 | + 第三方支付,分成两个版本:没有gump币和有gump币,不设置时默认为不带gump币版本,如果使用带gump币的版本如下设置: | |
| 125 | + | |
| 126 | + 需要在 application:didFinishLaunchingWithOptions方法中添加: | |
| 127 | + | |
| 128 | + [[LetsGameAPI instance] decideWebToVersion:1] | |
| 129 | + | |
| 130 | + | |
| 131 | + ### 10、关于侵权还是侵权的接口显示 | |
| 132 | + 运营在后台配置此包名和版本在什么时候显示侵权内容还是不侵权内容,此接口调用需要在游戏才开始加载的时候调用,返回值是YES的时候显示侵权内容,在NO的时候显示不侵权内容。 | |
| 133 | + | |
| 134 | + 注意:关于运营配置的游戏的版本号,我们默认取的是Bulid版本号的值,请注意。 | |
| 135 | + | |
| 136 | + [[LetsGameAPI instance] gameObtainSafeSetInfoWithAppId:@"10056" ChannelId:@"1000" handleCallBack:^(BOOL resultStatus) { | |
| 137 | + if (resultStatus) { | |
| 138 | + NSLog(@"YES 侵权"); | |
| 139 | + }else{ | |
| 140 | + NSLog(@"NO 不侵权"); | |
| 141 | + } | |
| 142 | + }]; | |
| 143 | + ### 11、横竖屏设置 | |
| 144 | + | |
| 145 | + 首先设置SDK默认是横屏,在General->Deployment Info->Device Orientain下,只选择Landscape Left 和 Landscape Right,SDK的界面默认是横屏。 | |
| 146 | + 其次如果想使用竖屏的模式,需要在General->Deployment Info->Device Orientain下,只选择Portrait模式,并且需要在AppDelegate中的方法: | |
| 147 | + - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions;靠前的位置添加代码设置: | |
| 148 | + | |
| 149 | + [LetsGameAPI DeviceOrientationIsHorizontal:NO]; | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + ### 12、CocoaPods集成 | |
| 155 | + 集成项目的.framework和bundle,但是vk登录封装的VK.framework,需要自己手动添加。 | |
| 156 | + ``` | |
| 157 | + pod 'GameSDK', '~> 3.5.5' | |
| 158 | + ``` | |
| 159 | + | |
| 160 | + ### 13、活动添加 | |
| 161 | + 添加项目GameActivitySDK.framework | |
| 162 | + 设置:设置xxxx.plist | |
| 163 | + 只支持HTTP的方式,需要将相应的项目的xxx.plist添加Information Property List->App Transport Security Settings -> Allow Arbitrary Loads设置为YES | |
| 164 | + | |
| 165 | + 工程中添加SDK登录代码: | |
| 166 | + | |
| 167 | + NSMutableDictionary *activityInfo = [NSMutableDictionary dictionary]; | |
| 168 | + [activityInfo setValue:@"100" forKey:@"appId"]; | |
| 169 | + [activityInfo setValue:@"f899139df5e1059396431415e770c6dd" forKey:@"appKey"]; | |
| 170 | + [activityInfo setValue:@"123456" forKey:@"userId"]; | |
| 171 | + [activityInfo setValue:@"111" forKey:@"serverId"]; | |
| 172 | + [activityInfo setValue:@"aaa" forKey:@"serverName"]; | |
| 173 | + [activityInfo setValue:@"222" forKey:@"roleId"]; | |
| 174 | + [activityInfo setValue:@"ccc" forKey:@"roleName"]; | |
| 175 | + [activityInfo setValue:@"888" forKey:@"diamond"]; | |
| 176 | + //活动关闭的回调 | |
| 177 | + [[LetsGameActivityAPI instance] GameActivityWithParaDictory:activityInfo handleCallBackL:^{ | |
| 178 | + NSLog(@"activity finish!"); | |
| 179 | + }]; |
ios/GameSDK.framework/Versions/A/GameSDK
No preview for this file type
ios/GameSDK.framework/Versions/A/Headers/LSGAccount.h
| ... | ... | @@ -4,14 +4,13 @@ typedef NS_ENUM(NSInteger, LSGAccountType) { |
| 4 | 4 | LSGAccountTypeRegist = 1, |
| 5 | 5 | LSGAccountTypeFBRegist = 2, |
| 6 | 6 | LSGAccountTypeQuickRegist = 4, |
| 7 | - LSGAccountTypeVKRegist = 8, | |
| 8 | - LSGAccountTypeGoogleRegist = 16, | |
| 9 | - LSGAccountTypeWeChatRegist = 32, | |
| 10 | - LSGAccountTypeLineRegist = 64, | |
| 7 | + LSGAccountTypeGoogleRegist = 8, | |
| 8 | + LSGAccountTypeWeChatRegist = 16, | |
| 9 | + LSGAccountTypeLineRegist = 32, | |
| 11 | 10 | }; |
| 12 | 11 | |
| 13 | 12 | //判断是不是自动登录情况 |
| 14 | -#define LSGAccountTypeBaseLogin 128 | |
| 13 | +#define LSGAccountTypeBaseLogin 64 | |
| 15 | 14 | |
| 16 | 15 | @interface LSGAccount : NSObject |
| 17 | 16 |
ios/GameSDK.framework/Versions/A/Headers/LetsGameAPI.h
| 1 | 1 | |
| 2 | 2 | #import <Foundation/Foundation.h> |
| 3 | 3 | #import "LSGAccount.h" |
| 4 | -#import "VKBridgeProtocol.h" | |
| 5 | 4 | |
| 6 | 5 | |
| 7 | 6 | typedef void (^LSGLoginSuccBlock)(NSString *userId, NSString *sessionKey, LSGAccountType type); |
| ... | ... | @@ -9,8 +8,6 @@ typedef void (^LSGDismissBlock)(void); |
| 9 | 8 | |
| 10 | 9 | static BOOL isDisableFB = NO; |
| 11 | 10 | |
| 12 | -static BOOL isEnableVK = NO; | |
| 13 | - | |
| 14 | 11 | static BOOL isDisableLine = NO; |
| 15 | 12 | |
| 16 | 13 | static BOOL isDisableGoogle = NO; |
| ... | ... | @@ -20,7 +17,7 @@ static BOOL hiddenLogo = NO; |
| 20 | 17 | //默认横屏 |
| 21 | 18 | static BOOL DeviceOrientationIsHorizontal = YES; |
| 22 | 19 | |
| 23 | -static NSString *version = @"3.5.24"; | |
| 20 | +static NSString *version = @"3.6.2"; | |
| 24 | 21 | |
| 25 | 22 | @interface LetsGameAPI : NSObject<UIApplicationDelegate> |
| 26 | 23 | |
| ... | ... | @@ -31,7 +28,6 @@ static NSString *version = @"3.5.24"; |
| 31 | 28 | @property (nonatomic, copy) LSGDismissBlock dismissBlock; |
| 32 | 29 | @property (nonatomic, assign) int isDebug; |
| 33 | 30 | @property (nonatomic, assign) int decideWebTo; |
| 34 | -@property (nonatomic,retain) id<VKBridgeProtocol> vkBridge; | |
| 35 | 31 | //@property(nonatomic,strong) NSString *version; |
| 36 | 32 | |
| 37 | 33 | + (instancetype)instance; |
| ... | ... | @@ -45,7 +41,6 @@ static NSString *version = @"3.5.24"; |
| 45 | 41 | +(void)disableGoogle:(BOOL)isDisable; |
| 46 | 42 | +(void)disableLine:(BOOL)isDissable; |
| 47 | 43 | +(BOOL)isFBDisable; |
| 48 | -+(BOOL)isVKEnable; | |
| 49 | 44 | +(BOOL)isGoogleDisable; |
| 50 | 45 | +(BOOL)isLineDisable; |
| 51 | 46 | +(void)hiddenLogo:(BOOL)isHidden; |
ios/GameSDK.zip
No preview for this file type
ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.pbxproj
| ... | ... | @@ -10,9 +10,6 @@ |
| 10 | 10 | 3309D8531C312F5900534E33 /* StoreKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3309D8521C312F5900534E33 /* StoreKit.framework */; }; |
| 11 | 11 | 3309D8551C312F6500534E33 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3309D8541C312F6500534E33 /* QuartzCore.framework */; }; |
| 12 | 12 | 3309D9791C438A5E00534E33 /* libz.1.2.5.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 3309D9781C438A5E00534E33 /* libz.1.2.5.tbd */; }; |
| 13 | - 3309D97F1C4394C800534E33 /* VKSdk.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3309D97E1C4394C800534E33 /* VKSdk.framework */; }; | |
| 14 | - 331262371C50B56800B1B435 /* VKBridge.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 331262361C50B56800B1B435 /* VKBridge.framework */; }; | |
| 15 | - 3CD53D9D1B81F37900E1B01A /* VKSdkResources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 3CD53D9C1B81F37900E1B01A /* VKSdkResources.bundle */; }; | |
| 16 | 13 | 7517F2111FFF437F000237ED /* GameSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7517F2101FFF437E000237ED /* GameSDK.framework */; }; |
| 17 | 14 | 752A5F421CDC826A00C36131 /* GameSDKResources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 752A5F411CDC826A00C36131 /* GameSDKResources.bundle */; }; |
| 18 | 15 | 752CAD8C20CE5CED003C3840 /* GameActivitySDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 752CAD8B20CE5CB3003C3840 /* GameActivitySDK.framework */; }; |
| ... | ... | @@ -55,7 +52,6 @@ |
| 55 | 52 | 3309D9781C438A5E00534E33 /* libz.1.2.5.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.1.2.5.tbd; path = usr/lib/libz.1.2.5.tbd; sourceTree = SDKROOT; }; |
| 56 | 53 | 3309D97E1C4394C800534E33 /* VKSdk.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VKSdk.framework; path = letsgameDemo/VKSdk.framework; sourceTree = "<group>"; }; |
| 57 | 54 | 331262361C50B56800B1B435 /* VKBridge.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VKBridge.framework; path = ../VKBridge.framework; sourceTree = "<group>"; }; |
| 58 | - 3CD53D9C1B81F37900E1B01A /* VKSdkResources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = VKSdkResources.bundle; sourceTree = "<group>"; }; | |
| 59 | 55 | 7517F2101FFF437E000237ED /* GameSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GameSDK.framework; path = ../GameSDK.framework; sourceTree = "<group>"; }; |
| 60 | 56 | 752A5F411CDC826A00C36131 /* GameSDKResources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = GameSDKResources.bundle; path = ../../GameSDKResources.bundle; sourceTree = "<group>"; }; |
| 61 | 57 | 752CAD8B20CE5CB3003C3840 /* GameActivitySDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GameActivitySDK.framework; path = ../GameActivitySDK.framework; sourceTree = "<group>"; }; |
| ... | ... | @@ -92,12 +88,10 @@ |
| 92 | 88 | 75864D651FF35A3A002C9012 /* CoreTelephony.framework in Frameworks */, |
| 93 | 89 | 7517F2111FFF437F000237ED /* GameSDK.framework in Frameworks */, |
| 94 | 90 | 75864D631FF35A22002C9012 /* libsqlite3.tbd in Frameworks */, |
| 95 | - 331262371C50B56800B1B435 /* VKBridge.framework in Frameworks */, | |
| 96 | 91 | 3309D9791C438A5E00534E33 /* libz.1.2.5.tbd in Frameworks */, |
| 97 | 92 | 3309D8551C312F6500534E33 /* QuartzCore.framework in Frameworks */, |
| 98 | 93 | 3309D8531C312F5900534E33 /* StoreKit.framework in Frameworks */, |
| 99 | 94 | 997523321930A52600F50D29 /* MobileCoreServices.framework in Frameworks */, |
| 100 | - 3309D97F1C4394C800534E33 /* VKSdk.framework in Frameworks */, | |
| 101 | 95 | 997523281930A42500F50D29 /* CFNetwork.framework in Frameworks */, |
| 102 | 96 | 9934F1B619303DC6005EF4AB /* UIKit.framework in Frameworks */, |
| 103 | 97 | 9934F1B219303DC6005EF4AB /* Foundation.framework in Frameworks */, |
| ... | ... | @@ -193,7 +187,6 @@ |
| 193 | 187 | 9934F23819307153005EF4AB /* LSGMainViewController.h */, |
| 194 | 188 | 9934F23919307153005EF4AB /* LSGMainViewController.m */, |
| 195 | 189 | 9934F1B819303DC6005EF4AB /* Supporting Files */, |
| 196 | - 3CD53D9C1B81F37900E1B01A /* VKSdkResources.bundle */, | |
| 197 | 190 | ); |
| 198 | 191 | path = letsgameDemo; |
| 199 | 192 | sourceTree = "<group>"; |
| ... | ... | @@ -300,7 +293,6 @@ |
| 300 | 293 | isa = PBXResourcesBuildPhase; |
| 301 | 294 | buildActionMask = 2147483647; |
| 302 | 295 | files = ( |
| 303 | - 3CD53D9D1B81F37900E1B01A /* VKSdkResources.bundle in Resources */, | |
| 304 | 296 | 752A5F421CDC826A00C36131 /* GameSDKResources.bundle in Resources */, |
| 305 | 297 | 9934F1C419303DC6005EF4AB /* Images.xcassets in Resources */, |
| 306 | 298 | ); |
| ... | ... | @@ -418,7 +410,6 @@ |
| 418 | 410 | "$(PROJECT_DIR)/../GameSDK.framework/**", |
| 419 | 411 | "$(inherited)", |
| 420 | 412 | "$(PROJECT_DIR)/letsgameDemo/**", |
| 421 | - "$(PROJECT_DIR)/../VKBridge.framework/**", | |
| 422 | 413 | "$(PROJECT_DIR)/../GameActivitySDK.framework/**", |
| 423 | 414 | ); |
| 424 | 415 | INFOPLIST_FILE = "letsgameDemo/letsgameDemo-Info.plist"; |
| ... | ... | @@ -458,7 +449,6 @@ |
| 458 | 449 | "$(PROJECT_DIR)/../GameSDK.framework/**", |
| 459 | 450 | "$(inherited)", |
| 460 | 451 | "$(PROJECT_DIR)/letsgameDemo/**", |
| 461 | - "$(PROJECT_DIR)/../VKBridge.framework/**", | |
| 462 | 452 | "$(PROJECT_DIR)/../GameActivitySDK.framework/**", |
| 463 | 453 | ); |
| 464 | 454 | INFOPLIST_FILE = "letsgameDemo/letsgameDemo-Info.plist"; |
ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.xcworkspace/xcuserdata/yanglele.xcuserdatad/IDEFindNavigatorScopes.plist
ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.xcworkspace/xcuserdata/yanglele.xcuserdatad/UserInterfaceState.xcuserstate
No preview for this file type
ios/GameSDKDemo/GameSDKDemo.xcodeproj/xcuserdata/yanglele.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
| ... | ... | @@ -2,4 +2,22 @@ |
| 2 | 2 | <Bucket |
| 3 | 3 | type = "1" |
| 4 | 4 | version = "2.0"> |
| 5 | + <Breakpoints> | |
| 6 | + <BreakpointProxy | |
| 7 | + BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | |
| 8 | + <BreakpointContent | |
| 9 | + shouldBeEnabled = "No" | |
| 10 | + ignoreCount = "0" | |
| 11 | + continueAfterRunningActions = "No" | |
| 12 | + filePath = "../../../iosgamesdk/GameSDK/letsgame/LetsGameAPI.m" | |
| 13 | + timestampString = "561631643.406551" | |
| 14 | + startingColumnNumber = "9223372036854775807" | |
| 15 | + endingColumnNumber = "9223372036854775807" | |
| 16 | + startingLineNumber = "91" | |
| 17 | + endingLineNumber = "91" | |
| 18 | + landmarkName = "-showLoginViewInView:" | |
| 19 | + landmarkType = "7"> | |
| 20 | + </BreakpointContent> | |
| 21 | + </BreakpointProxy> | |
| 22 | + </Breakpoints> | |
| 5 | 23 | </Bucket> |
ios/GameSDKDemo/letsgameDemo/LSGAppDelegate.m
| ... | ... | @@ -62,7 +62,7 @@ |
| 62 | 62 | |
| 63 | 63 | -(BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation{ |
| 64 | 64 | return [[LetsGameAPI instance] handleOpenURL:url sourceApplication:sourceApplication]; |
| 65 | - //return [[LetsGameAPI instance].vkBridge processOpenURL:url fromApplication:sourceApplication]; | |
| 65 | + | |
| 66 | 66 | } |
| 67 | 67 | |
| 68 | 68 | //-(UIInterfaceOrientationMask)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window{ |
ios/GameSDKDemo/letsgameDemo/LSGMainViewController.m
| ... | ... | @@ -9,15 +9,12 @@ |
| 9 | 9 | #import "LSGMainViewController.h" |
| 10 | 10 | #import "LetsGameAPI.h" |
| 11 | 11 | #import "LetsGameActivityAPI.h" |
| 12 | -#import "VKBridge.h" | |
| 13 | 12 | |
| 14 | 13 | |
| 15 | 14 | @interface LSGMainViewController () |
| 16 | 15 | |
| 17 | 16 | @property (nonatomic, strong) UILabel *resultLabel; |
| 18 | 17 | |
| 19 | -@property(nonatomic,strong) UIButton *vkActivityShareBtn; | |
| 20 | - | |
| 21 | 18 | @property(nonatomic,copy) NSString *sessionKey; |
| 22 | 19 | @end |
| 23 | 20 | |
| ... | ... | @@ -26,8 +23,8 @@ |
| 26 | 23 | - (void)loadView { |
| 27 | 24 | [super loadView]; |
| 28 | 25 | NSLog(@"i come in"); |
| 29 | - self.view.backgroundColor = [UIColor whiteColor]; | |
| 30 | -// self.view.backgroundColor = [UIColor blackColor]; | |
| 26 | +// self.view.backgroundColor = [UIColor whiteColor]; | |
| 27 | + self.view.backgroundColor = [UIColor blackColor]; | |
| 31 | 28 | |
| 32 | 29 | UIButton *btn = [[UIButton alloc] initWithFrame:CGRectMake(110, 40, 100, 30)]; |
| 33 | 30 | btn.backgroundColor = [UIColor orangeColor]; |
| ... | ... | @@ -102,10 +99,7 @@ |
| 102 | 99 | NSLog(@"初始化成功"); |
| 103 | 100 | // [LetsGameAPI disableFB:YES]; |
| 104 | 101 | // [LetsGameAPI disableGoogle:YES]; |
| 105 | - // [LetsGameAPI disableLine:YES]; | |
| 106 | - //启用vk登录 | |
| 107 | - VKBridge *vkBridge = [[VKBridge alloc] initWithVKAppId:@"5029792"]; | |
| 108 | - [LetsGameAPI instance].vkBridge = vkBridge; | |
| 102 | +// [LetsGameAPI disableLine:YES]; | |
| 109 | 103 | |
| 110 | 104 | [LetsGameAPI instance].succBlock = ^(NSString *userId, NSString *sessionKey, LSGAccountType type) { |
| 111 | 105 | self.sessionKey = sessionKey; |
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/BlueBtn.png
1.08 KB
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/BlueBtn@2x.png
1.22 KB
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/BlueBtn@3x.png
1.36 KB
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/BlueBtn_pressed.png
1.08 KB
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/BlueBtn_pressed@2x.png
1.22 KB
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/BlueBtn_pressed@3x.png
1.36 KB
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/Disclosure.png
1.06 KB
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/Disclosure@2x.png
1.25 KB
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/Disclosure@3x.png
1.45 KB
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/Info.plist
No preview for this file type
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/en.lproj/InfoPlist.strings
No preview for this file type
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/en.lproj/Localizable.strings
No preview for this file type
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_deleteattach.png
1.33 KB
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_deleteattach@2x.png
1.9 KB
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_deletephoto.png
1.48 KB
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_deletephoto@2x.png
2.15 KB
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_vk_activity_logo.png
2.77 KB
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_vk_activity_logo@2x.png
4.43 KB
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_vk_activity_logo@2x~ipad.png
4.13 KB
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_vk_activity_logo@3x.png
6.32 KB
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_vk_activity_logo~ipad.png
2.55 KB
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_vk_ios7_activity_logo.png
2.22 KB
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_vk_ios7_activity_logo@2x.png
3.74 KB
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_vk_ios7_activity_logo@2x~ipad.png
4.57 KB
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_vk_ios7_activity_logo@3x.png
5.44 KB
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_vk_ios7_activity_logo~ipad.png
2.58 KB
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_vk_logo_nb.png
1.5 KB
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_vk_logo_nb@2x.png
2.15 KB
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ic_vk_logo_nb@3x.png
2.77 KB
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/img_newpostattachlink.png
1.68 KB
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/img_newpostattachlink@2x.png
2.6 KB
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/ru.lproj/Localizable.strings
No preview for this file type
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/vk_settings.png
1.45 KB
ios/GameSDKDemo/letsgameDemo/VKSdkResources.bundle/vk_settings@2x.png
1.95 KB
ios/GameSDKDemo/letsgameDemo/letsgameDemo-Info.plist
| ... | ... | @@ -29,22 +29,6 @@ ${PRODUCT_NAME}</string> |
| 29 | 29 | <string>fb1401636950118536</string> |
| 30 | 30 | </array> |
| 31 | 31 | </dict> |
| 32 | - <dict> | |
| 33 | - <key>CFBundleURLName</key> | |
| 34 | - <string>vk5029792</string> | |
| 35 | - <key>CFBundleURLSchemes</key> | |
| 36 | - <array> | |
| 37 | - <string>vk5029792</string> | |
| 38 | - </array> | |
| 39 | - </dict> | |
| 40 | - <dict> | |
| 41 | - <key>CFBundleTypeRole</key> | |
| 42 | - <string>Editor</string> | |
| 43 | - <key>CFBundleURLSchemes</key> | |
| 44 | - <array> | |
| 45 | - <string>wxf9b6d466612e8aee</string> | |
| 46 | - </array> | |
| 47 | - </dict> | |
| 48 | 32 | </array> |
| 49 | 33 | <key>CFBundleVersion</key> |
| 50 | 34 | <string>1.1.1</string> |
ios/GameSDKResources.bundle/de.strings
| 1 | 1 | "user_name_hint" = "Konto"; |
| 2 | 2 | "password_hint" = "Passwort"; |
| 3 | -"quick_login" = "Quick Login"; | |
| 4 | -"quick_play" = "Gast Login"; | |
| 3 | +"quick_login" = "Schnelles Login"; | |
| 4 | +"quick_play" = "Gäste"; | |
| 5 | 5 | "gump_login" = "Einloggen"; |
| 6 | -"login" = "Per Passwort einloggen"; | |
| 7 | -"loginFacebook" = "Facebook einloggen"; | |
| 6 | +"login" = "Mit dem Konto und dem Passwort einloggen"; | |
| 7 | +"loginFacebook" = "Einloggen Facebook"; | |
| 8 | 8 | "signup" = "Registrieren"; |
| 9 | -"bind" = "E-Mali binden"; | |
| 10 | -"loading" = "Loading……"; | |
| 11 | -"illegal_uname_tip" = "Ungültige E-Mail"; | |
| 12 | -"illegal_pwd_tip" = "Ungültiges Passwort (6-20 Zeichen)."; | |
| 13 | -"illegal_user_exist" = "Die E-Mail wurde bereits verwendet"; | |
| 14 | -"illegal_pwd_invalid" = "Passwortfehler"; | |
| 15 | -"illegal_user_not_exist" = "Ungültige E-Mail"; | |
| 16 | -"invalid_email" = "Bitte geben Sie eine gültige Email-Adresse ein"; | |
| 9 | +"bind" = "E-Mail Verknüpfung"; | |
| 10 | +"loading" = "Laden……"; | |
| 11 | +"illegal_uname_tip" = "Die E-Mail Adresse existiert nicht"; | |
| 12 | +"illegal_pwd_tip" = "Ungültiges Passwort (6-20 Zeichen)"; | |
| 13 | +"illegal_user_exist" = "Die E-Mail Adresse wurde bereits registriert"; | |
| 14 | +"illegal_pwd_invalid" = "Passwort flasch"; | |
| 15 | +"illegal_user_not_exist" = "Ungültige E-Mail Adresse"; | |
| 16 | +"invalid_email" = "Bitte gebe eine gültige Email-Adresse ein"; | |
| 17 | 17 | "login_fail" = "Login fehlgeschlagen"; |
| 18 | 18 | "signup_fail" = "Registrierung fehlgeschlagen"; |
| 19 | -"bind_fail" = "Bindung fehlgeschlagen"; | |
| 19 | +"bind_fail" = "Verknüpfung fehlgeschlagen"; | |
| 20 | 20 | "GumptechLogin" = "Gump Login"; |
| 21 | 21 | "switch" = "Konto wechseln"; |
| 22 | -"change_password" = "Passwort zurücksetzen"; | |
| 22 | +"reset_password" = "Passwort vergessen"; | |
| 23 | 23 | "current_password" = "Aktuelles Passwort"; |
| 24 | -"change_password_notice" = "Füllen Sie nicht das aktuelle Passwort aus, wenn Sie das Passwort zurücksetzen"; | |
| 24 | +"change_password_notice" = "Lass das aktuelle Passwort aus, wenn du Passwort zurücksetzen willst"; | |
| 25 | 25 | "new_password" = "Neues Passwort"; |
| 26 | -"Reset" = "Passwort vergessen? Klicken Sie hier zum Zurücksetzen"; | |
| 27 | -"Confirm" = "bestätigen"; | |
| 28 | -"Succeed" = "Reset erfolgreich"; | |
| 29 | -"reset_fail" = "Reset fehlgeschlagen, bitte kontaktieren Sie den Kundenservice"; | |
| 30 | -"reset_success" = "Bestätigte E-Mail wurde gesendet. Bitte setzen Sie das Passwort gemäß der E-Mail zurück"; | |
| 26 | +"Reset" = "Passwort vergessen"; | |
| 27 | +"Confirm" = "Bestätigen"; | |
| 28 | +"Succeed" = "Änderung erfolgreich"; | |
| 29 | +"reset_fail" = "Reset fehlgeschlagen, bitte kontaktiere den Kundenservice"; | |
| 30 | +"reset_success" = "Eine Bestätigung E-Mail wurde gesendet. Bitte setze das Passwort mit der E-Mail zurück"; | |
| 31 | 31 | "other_login_style" = "Andere Anmeldemethoden"; |
| 32 | -"account_pwd_invalid" = "Account and password is empty!"; | |
| 33 | -"new_old_password_diff" = "Die Passworte stimmen nicht überein."; | |
| 32 | +"account_pwd_invalid" = "Konto und passwort Feld sind leer "; | |
| 33 | +"new_old_password_diff" = "Die Passwörter stimmen nicht überein"; | |
| 34 | 34 | "Confirm_password" = "Passwort bestätigen"; |
| 35 | -"forget_change_password" = "Passwort zurücksetzen oder vergessen?"; | |
| 36 | -"input_new_pwd" = "erneuert eingeben"; | |
| 37 | -"back" = "zurückgehen"; | |
| 38 | -"play_btn_notice" = "Sie haben als Gast angemeldet.Um Datenverluste zu vermeiden,gehen Sie ein Konto zu registrieren.Gastinformationen werden automatisch auf das neue Konto übertragen."; | |
| 35 | +"forget_change_password" = "Passwort vergessen"; | |
| 36 | +"input_new_pwd" = "Bitte gebe ein neues Passwort ein"; | |
| 37 | +"back" = "Zurückgehen"; | |
| 38 | +"play_btn_notice" = "Du bist als Gast angemeldet.Um Datenverluste zu vermeiden,registriere ein Konto.Gastinformationen werden automatisch auf das neue Konto übertragen"; | |
| 39 | 39 | "Notice" = "Tipps"; |
| 40 | -"Continue" = "weiter einloggen"; | |
| 40 | +"Continue" = "Weiter Einloggen"; | |
| 41 | 41 | "Log_in" = "Konto Registrieren"; |
| 42 | 42 |
ios/GameSDKResources.bundle/en.strings
| 1 | 1 | "user_name_hint" = "Account"; |
| 2 | 2 | "password_hint" = "Password"; |
| 3 | -"quick_play" = "Guest login"; | |
| 3 | +"quick_play" = "Guest"; | |
| 4 | 4 | "login" = "Log In"; |
| 5 | 5 | "gump_login" = "Login"; |
| 6 | 6 | "signup" = "Sign up"; |
| ... | ... | @@ -18,7 +18,7 @@ |
| 18 | 18 | "signup_fail" = "Signup Failed"; |
| 19 | 19 | "bind_fail" = "Bind Failed"; |
| 20 | 20 | "switch"="Switch Account"; |
| 21 | -"change_password" = "Modify Password"; | |
| 21 | +"reset_password" = "Reset Password"; | |
| 22 | 22 | "current_password" = "Current Password"; |
| 23 | 23 | "change_password_notice" = “Current passeord isn't required when reset password."; |
| 24 | 24 | "new_password" = "New Password"; |
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 | "Succeed" = "Succeed"; |
| 28 | 28 | "reset_fail" = "Reset failed, please contact customer service"; |
| 29 | 29 | "reset_success" = "Verified email has been sent. Please reset Password according to the email"; |
| 30 | -"forget_change_password" = "Modify/Forget Password"; | |
| 30 | +"forget_change_password" = "Forget Password"; | |
| 31 | 31 | "other_login_style" = "Others"; |
| 32 | 32 | "account_pwd_invalid" = "Please input both account and password"; |
| 33 | 33 | "new_old_password_diff" = "Password mismatch"; |
ios/GameSDKResources.bundle/images/account@2x.png
1.8 KB
ios/GameSDKResources.bundle/images/facebook@2x.png
1.29 KB
ios/GameSDKResources.bundle/images/google@2x.png
ios/GameSDKResources.bundle/images/password@2x.png
1.09 KB
ios/GameSDKResources.bundle/images/vk@2x.png
ios/GameSDKResources.bundle/ko.strings
| ... | ... | @@ -0,0 +1,42 @@ |
| 1 | +"user_name_hint" = "계정"; | |
| 2 | +"password_hint" = "비밀번호 확인"; | |
| 3 | +"quick_login" = "원클릭 입장"; | |
| 4 | +"quick_play" = "guest 로그인"; | |
| 5 | +"gump_login" = "로그인"; | |
| 6 | +"login" = "아이디 비밀번호 로그인"; | |
| 7 | +"loginFacebook" = "로그인 Facebook"; | |
| 8 | +"signup" = "회원가입"; | |
| 9 | +"bind" = "메일 등록"; | |
| 10 | +"loading" = "로딩중……"; | |
| 11 | +"illegal_uname_tip" = "이메일이 존재하지 않습니다"; | |
| 12 | +"illegal_pwd_tip" = "올바른 비밀번호 형식이 아닙니다 (6~20자리)"; | |
| 13 | +"illegal_user_exist" = "사용 중인 이메일입니다"; | |
| 14 | +"illegal_pwd_invalid" = "비밀번호 오류"; | |
| 15 | +"illegal_user_not_exist" = "올바른 이메일 주소가 아닙니다"; | |
| 16 | +"invalid_email" = "정확한 이메일을 입력하세요"; | |
| 17 | +"login_fail" = "로그인 실패"; | |
| 18 | +"signup_fail" = "회원가입 실패"; | |
| 19 | +"bind_fail" = "메일 등록이 실패되었습니다"; | |
| 20 | +"GumptechLogin" = "Gump 로그인"; | |
| 21 | +"switch" = "계정 전환"; | |
| 22 | +"reset_password" = "비밀번호 찾기"; | |
| 23 | +"current_password" = "현재 비밀번호"; | |
| 24 | +"change_password_notice" = "비밀번호 재설정 시 현재 비밀번호를 입력하지 않아도 됩니다"; | |
| 25 | +"new_password" = "새 비밀번호"; | |
| 26 | +"Reset" = "비밀번호 찾기? 여기를 클릭하여 재설정"; | |
| 27 | +"Confirm" = "확인"; | |
| 28 | +"Succeed" = "성공적으로 변경되었습니다"; | |
| 29 | +"reset_fail" = "변경이 실패 되었습니다. 고객센터로 연락하세요."; | |
| 30 | +"reset_success" = "인증메일이 발송되었습니다. 메일 안내절차에 따라 비밀번호를 재설정 해주세요."; | |
| 31 | +"other_login_style" = "기타 로그인"; | |
| 32 | +"account_pwd_invalid" = "아이디와 비밀번호를 입력하세요"; | |
| 33 | +"new_old_password_diff" = "비밀번호가 일치하지 않습니다"; | |
| 34 | +"Confirm_password" = "비밀번호 확인"; | |
| 35 | +"forget_change_password" = "비밀번호 찾기"; | |
| 36 | +"input_new_pwd" = "새 비밀번호를 입력하세요"; | |
| 37 | +"back" = "돌아가기"; | |
| 38 | +"play_btn_notice" = "현재 Guest유저 이용 중입니다. 계정 안전과 데이터 분실방지를 위해 회원가입을 클릭하여 가입하시기 바랍니다. Guest정보는 새 계정으로 자동 이동됩니다."; | |
| 39 | +"Notice" = "알림 메시지"; | |
| 40 | +"Continue" = "계속 로그인"; | |
| 41 | +"Log_in" = "회원가입"; | |
| 42 | + |
ios/GameSDKResources.bundle/pt-PT.strings
| ... | ... | @@ -1,18 +0,0 @@ |
| 1 | -"user_name_hint" = "Email"; | |
| 2 | -"password_hint" = "Senha"; | |
| 3 | -"quick_login" = "jogo de hóspedes"; | |
| 4 | -"quick_play" = "Play"; | |
| 5 | -"login" = "Login"; | |
| 6 | -"gump_login" = "Login"; | |
| 7 | -"signup" = "Registrar"; | |
| 8 | -"bind" = "Vincular ao email"; | |
| 9 | -"loading" = "Carregando"; | |
| 10 | -"illegal_uname_tip" = "Email inválido"; | |
| 11 | -"illegal_pwd_tip" = "Senha Inválida (6-20 caracteres)"; | |
| 12 | -"illegal_user_exist" = "Email já está em uso"; | |
| 13 | -"illegal_pwd_invalid" = "Senha incorreta, favor tentar novamente"; | |
| 14 | -"illegal_user_not_exist" = "Email Inválido"; | |
| 15 | -"invalid_email" = "Favor inserir seu email"; | |
| 16 | -"login_fail" = "Login Falhou"; | |
| 17 | -"signup_fail" = "Registrar Falhou"; | |
| 18 | -"bind_fail" = "Vincular Falhou"; |
ios/GameSDKResources.bundle/ru.strings
| ... | ... | @@ -1,28 +0,0 @@ |
| 1 | -"user_name_hint" = "Почта"; | |
| 2 | -"password_hint" = "Пароль"; | |
| 3 | -"quick_play" = "Play as Guest"; | |
| 4 | -"login" = "Войти"; | |
| 5 | -"gump_login" = "Login"; | |
| 6 | -"signup" = "Зарегистрироваться"; | |
| 7 | -"bind" = "Bind your email"; | |
| 8 | -"loading" = "Загружаю..."; | |
| 9 | -"cancel" = "отменить"; | |
| 10 | -"ok" = "Ок"; | |
| 11 | -"illegal_uname_tip" = "Неверный электронный адрес "; | |
| 12 | -"illegal_pwd_tip" = "Неверный пароль (6-20 символов)"; | |
| 13 | -"illegal_user_exist" = "Почта используется"; | |
| 14 | -"illegal_pwd_invalid" = "Введите верный пароль"; | |
| 15 | -"illegal_user_not_exist" = "Почта не зарегистрирована"; | |
| 16 | -"invalid_email" = "Неверный электронный адрес"; | |
| 17 | -"login_fail" = "не удалось войти"; | |
| 18 | -"signup_fail" = "кандидату не"; | |
| 19 | -"bind_fail" = "Bind Failed"; | |
| 20 | -"change_password" = "Change Password"; | |
| 21 | -"current_password" = "Current Password"; | |
| 22 | -"change_password_notice" = "Current passeord isn't required when reset password."; | |
| 23 | -"new_password" = "New Password"; | |
| 24 | -"Reset" = "Reset"; | |
| 25 | -"Confirm" = "Confirm"; | |
| 26 | -"Succeed" = "Succeed"; | |
| 27 | -"reset_fail" = "Reset failed, please contact customer service"; | |
| 28 | -"reset_success" = "An Email has been sent to you, please follow the instructions in Email."; | |
| 29 | 0 | \ No newline at end of file |
ios/GameSDKResources.bundle/th.strings
| 1 | -"user_name_hint" = "ชื่อบัญชี"; | |
| 2 | -"password_hint" = "พาสเวิร์ด"; | |
| 3 | -"quick_play" = "บัญชีนักท่องเที่ยว"; | |
| 4 | -"quick_login" = "เริ่มเล่น"; | |
| 1 | +"user_name_hint" = "ไอดี"; | |
| 2 | +"password_hint" = "ยืนยันรหัสผ่าน"; | |
| 3 | +"quick_login" = "เข้าโดยคลิกครั้งเดียว"; | |
| 4 | +"quick_play" = "เริ่มเล่น"; | |
| 5 | +"gump_login" = "ล๊อคอิน"; | |
| 5 | 6 | "login" = "ล็อคอินชื่อบัญชีรหัสผ่าน"; |
| 6 | -"gump_login" = "ล็อคอิน"; | |
| 7 | +"loginFacebook" = "ล๊อคอิน Facebook"; | |
| 7 | 8 | "signup" = "ลงทะเบียน"; |
| 8 | -"bind" = "ผูกอีเมลล์"; | |
| 9 | -"loading" = "กำลังโหลด"; | |
| 10 | -"illegal_uname_tip" = "อีเมลล์ไม่ถูกต้อง"; | |
| 11 | -"illegal_pwd_tip" = "พาสเวิร์ดไม่ถูกต้อง(6-20 ตัวอักษร)"; | |
| 12 | -"illegal_user_exist" = "อีเมลล์นี้ได้ถูกใช้แล้ว"; | |
| 13 | -"account_pwd_invalid" = "ชื่อบัญชีและรหัสผ่านห้ามเว้นว่าง"; | |
| 14 | -"illegal_user_not_exist" = "อีเมลล์ไม่ถูกต้อง"; | |
| 15 | -"invalid_email" = "ใส่อีเมลล์ของคุณ"; | |
| 16 | -"login_fail" = "ล็อกอินผิดพลาด"; | |
| 17 | -"signup_fail" = "ลงทะเบียนไม่สำเร็จ"; | |
| 18 | -"bind_fail" = "ผูกอีเมลล์ไม่สำเร็จ"; | |
| 19 | -"change_password" = "แก้ไขรหัสผ่าน"; | |
| 20 | -"current_password" = "พาสเวิร์ดปัจจุบัน"; | |
| 21 | -"change_password_notice" = "ไม่สามารถตั้งพาสเวิร์ดซ้ำกับพาสเวิร์ดปัจจุบันได้."; | |
| 22 | -"new_password" = "พาสเวิร์ดใหม่"; | |
| 23 | -"Reset" = "ลืมรหัสผ่าน?คลิกรีเซ็ตรหัสผ่าน"; | |
| 9 | +"bind" = "ผูกอีเมล"; | |
| 10 | +"loading" = "กำลังโหลด……"; | |
| 11 | +"illegal_uname_tip" = "ไม่มีอีเมลนี้"; | |
| 12 | +"illegal_pwd_tip" = "รูปแบบรหัสผ่านไม่ถูกต้อง(6-20ตัวอักษร)"; | |
| 13 | +"illegal_user_exist" = "ลงทะเบียนอีเมลแล้ว"; | |
| 14 | +"illegal_pwd_invalid" = "รหัสผ่านผิดพลาด"; | |
| 15 | +"illegal_user_not_exist" = "รูปแบบอีเมลไม่ถูกต้อง"; | |
| 16 | +"invalid_email" = "โปรดใส่ข้อมูลอีเมลที่ถูกต้อง"; | |
| 17 | +"login_fail" = "ล๊อคอินล้มเหลว"; | |
| 18 | +"signup_fail" = "ลงทะเบียนล้มเหลว"; | |
| 19 | +"bind_fail" = "ผูกอีเมลล้มเหลว"; | |
| 20 | +"GumptechLogin" = "ล๊อคอินGump"; | |
| 21 | +"switch" = "เปลี่ยนไอดี"; | |
| 22 | +"reset_password" = "รีเซ็ตรหัสผ่าน"; | |
| 23 | +"current_password" = "รหัสผ่านปัจจุบัน"; | |
| 24 | +"change_password_notice" = "ไม่สามารถใช้รหัสผ่านเก่าในการรีเซ็ตรหัสผ่านใหม่"; | |
| 25 | +"new_password" = "รหัสผ่านใหม่"; | |
| 26 | +"Reset" = "ลืมรหัสผ่าน? คลิกนี้เพื่อรีเซ็ต"; | |
| 24 | 27 | "Confirm" = "ยืนยัน"; |
| 25 | 28 | "Succeed" = "แก้ไขสำเร็จ"; |
| 26 | -"reset_fail" = "แก้ไขล้มเหลว,กรุณาติดต่อแอดมิน"; | |
| 27 | -"reset_success" = "ส่งอีเมลล์ยืนยันแล้ว กรุณาทำตามขั้นตอนที่ระบุในอีเมลล์เพื่อรีเซ็ตรหัสผ่าน"; | |
| 28 | -"forget_change_password" = "แก้ไข/ลืมรหัสผ่าน"; | |
| 29 | -"other_login_style" = "ล็อคอินช่องทางอื่น"; | |
| 30 | -"new_old_password_diff" = "รหัสผ่านไม่เหมือนกัน"; | |
| 29 | +"reset_fail" = "แก้ไขล้มเหลว โปรดติดต่อแอดมิน"; | |
| 30 | +"reset_success" = "ส่งอีเมลยืนยันแล้ว โปรดป้อนรหัสยืนยันที่ได้รับในอีเมล"; | |
| 31 | +"other_login_style" = "ล๊อคอินด้วยวิธีอื่น"; | |
| 32 | +"account_pwd_invalid" = "ไอดีและรหัสผ่านไม่สามารถเว้นวรรคได้"; | |
| 33 | +"new_old_password_diff" = "รหัสผ่านไม่สอดคล้องกัน"; | |
| 31 | 34 | "Confirm_password" = "ยืนยันรหัสผ่าน"; |
| 32 | -"input_new_pwd" = "กรุณากรอกรหัสผ่านใหม่"; | |
| 35 | +"forget_change_password" = "ลืมรหัสผ่าน"; | |
| 36 | +"input_new_pwd" = "โปรดใส่รหัสผ่านใหม่"; | |
| 33 | 37 | "back" = "ย้อนกลับ"; |
| 34 | -"play_btn_notice" = "เพื่อความปลอดภัยของIDที่ล็อกอินแบบGuestกรุณากดสมัครบัญชีและดำเนินการให้สำเร็จข้อมูลในIDแบบGuestของท่านจะย้ายไปยังIDใหม่โดยอัตโนมัติ"; | |
| 35 | -"Notice" = "คำเตือน"; | |
| 36 | -"Continue" = "ล็อกอินต่อไป"; | |
| 37 | -"Log_in" = "สมัคร"; | |
| 38 | +"play_btn_notice" = "ท่านได้ทำการล๊อคอินแบบผู้เข้าพัก เพื่อความปลอดภัยของไอดีท่าน โปรดลงทะเบียนให้เสร็จก่อน ไอดีผู้เข้าพักของท่านก็จะถูกย้ายไปไอดีที่ท่านลงทะเบียนไว้"; | |
| 39 | +"Notice" = "คำแนะนำ"; | |
| 40 | +"Continue" = "เข้าสู่ระบบต่อ"; | |
| 41 | +"Log_in" = "ลงทะเบียนไอดี"; | |
| 42 | + |
ios/GameSDKResources.bundle/vi.strings
| ... | ... | @@ -0,0 +1,42 @@ |
| 1 | +"user_name_hint" = "ID"; | |
| 2 | +"password_hint" = "Xác nhận mật khẩu"; | |
| 3 | +"quick_login" = "Vào nhanh"; | |
| 4 | +"quick_play" = "Chơi thử"; | |
| 5 | +"gump_login" = "Đăng nhập"; | |
| 6 | +"login" = "Đăng nhập ID mật khẩu"; | |
| 7 | +"loginFacebook" = "Đăng nhập Facebook"; | |
| 8 | +"signup" = "Đăng kí"; | |
| 9 | +"bind" = "Cố định Email"; | |
| 10 | +"loading" = "Loading……"; | |
| 11 | +"illegal_uname_tip" = "Email không tồn tại"; | |
| 12 | +"illegal_pwd_tip" = "Quy cách không hợp lệ (6-20 kí tự)"; | |
| 13 | +"illegal_user_exist" = "Email đã đăng kí"; | |
| 14 | +"illegal_pwd_invalid" = "Mật khẩu sai"; | |
| 15 | +"illegal_user_not_exist" = "Quy cách không hợp lệ"; | |
| 16 | +"invalid_email" = "Hãy nhập email chính xác"; | |
| 17 | +"login_fail" = "Đăng nhập thất bại"; | |
| 18 | +"signup_fail" = "Đăng kí thất bại"; | |
| 19 | +"bind_fail" = "Cố định thất bại"; | |
| 20 | +"GumptechLogin" = "Gumptech"; | |
| 21 | +"switch" = "Đổi tài khoản"; | |
| 22 | +"reset_password" = "Reset mật khẩu"; | |
| 23 | +"current_password" = "Mật khẩu hiện tại"; | |
| 24 | +"change_password_notice" = "Reset mật khẩu không điền mật khẩu hiện tại"; | |
| 25 | +"new_password" = "MK mới"; | |
| 26 | +"Reset" = "Quên mật khẩu? Nhấp reset"; | |
| 27 | +"Confirm" = "OK"; | |
| 28 | +"Succeed" = "Đổi thành công"; | |
| 29 | +"reset_fail" = "Đổi thất bại, liên hệ CSKH"; | |
| 30 | +"reset_success" = "Email xác thực đã gửi, vào email và làm theo hướng dẫn"; | |
| 31 | +"other_login_style" = "Cách đăng nhập khác"; | |
| 32 | +"account_pwd_invalid" = "ID và mật khẩu không thể để trống"; | |
| 33 | +"new_old_password_diff" = "Mật khẩu không giống"; | |
| 34 | +"Confirm_password" = "Xác nhận mật khẩu"; | |
| 35 | +"forget_change_password" = "Quên mật khẩu"; | |
| 36 | +"input_new_pwd" = "Hãy nhập mật khẩu mới"; | |
| 37 | +"back" = "Trở về"; | |
| 38 | +"play_btn_notice" = "Bạn đăng nhập chơi thử, để bảo đảm an toàn tránh mất dữ liệu. Hãy nhấp đăng kí. "; | |
| 39 | +"Notice" = "Nhắc nhở"; | |
| 40 | +"Continue" = "Tiếp tục đăng nhập"; | |
| 41 | +"Log_in" = "Đăng kí"; | |
| 42 | + |
ios/GameSDKResources.bundle/zh-Hans.strings
| 1 | 1 | "user_name_hint" = "账号"; |
| 2 | 2 | "password_hint" = "密码"; |
| 3 | 3 | "quick_login" = "一键进入"; |
| 4 | -"quick_play" = "游客登录"; | |
| 4 | +"quick_play" = "游客"; | |
| 5 | 5 | "gump_login" = "登录"; |
| 6 | 6 | "login" = "账号密码登录"; |
| 7 | 7 | "loginFacebook" = "登录Facebook"; |
| ... | ... | @@ -19,7 +19,7 @@ |
| 19 | 19 | "bind_fail" = "绑定失败"; |
| 20 | 20 | "GumptechLogin" = "甘普登录"; |
| 21 | 21 | "switch" = "切换账户"; |
| 22 | -"change_password" = "修改密码?"; | |
| 22 | +"reset_password" = "重置密码"; | |
| 23 | 23 | "current_password" = "当前密码"; |
| 24 | 24 | "change_password_notice" = "重置密码时可不填写当前密码"; |
| 25 | 25 | "new_password" = "新密码"; |
| ... | ... | @@ -32,7 +32,7 @@ |
| 32 | 32 | "account_pwd_invalid" = "账号和密码不能为空"; |
| 33 | 33 | "new_old_password_diff" = "密码不一致"; |
| 34 | 34 | "Confirm_password" = "确认密码"; |
| 35 | -"forget_change_password" = "修改/忘记密码?"; | |
| 35 | +"forget_change_password" = "忘记密码"; | |
| 36 | 36 | "input_new_pwd" = "请输入新密码"; |
| 37 | 37 | "back" = "返回"; |
| 38 | 38 | "play_btn_notice" = "您登录了游客用户,为了账户安全,避免数据丢失。请点击注册账号完成注册。游客信息将自动转移至新帐号。"; |
ios/GameSDKResources.bundle/zh-Hant.strings
| 1 | 1 | "user_name_hint" = "帳號"; |
| 2 | 2 | "password_hint" = "密碼"; |
| 3 | 3 | "quick_login" = "一鍵進入"; |
| 4 | -"quick_play" = "遊客登陸"; | |
| 4 | +"quick_play" = "遊客"; | |
| 5 | 5 | "gump_login" = "登錄"; |
| 6 | 6 | "login" = "帳號密碼登錄"; |
| 7 | 7 | "signup" = "註冊"; |
| ... | ... | @@ -18,7 +18,7 @@ |
| 18 | 18 | "bind_fail" = "綁定失敗"; |
| 19 | 19 | "GumptechLogin" = "甘普登錄"; |
| 20 | 20 | "switch" = "切換賬號"; |
| 21 | -"change_password" = "修改密碼"; | |
| 21 | +"reset_password" = "重置密碼"; | |
| 22 | 22 | "current_password" = "當前密碼"; |
| 23 | 23 | "change_password_notice" = "重置密碼時可不填寫當前密碼"; |
| 24 | 24 | "new_password" = "新密碼"; |
| ... | ... | @@ -31,7 +31,7 @@ |
| 31 | 31 | "account_pwd_invalid" = "帳號或密碼不能為空"; |
| 32 | 32 | "new_old_password_diff" = "密碼不一致"; |
| 33 | 33 | "Confirm_password" = "確認密碼"; |
| 34 | -"forget_change_password" = "修改/忘記密碼"; | |
| 34 | +"forget_change_password" = "忘記密碼"; | |
| 35 | 35 | "input_new_pwd" = "請輸入新密碼"; |
| 36 | 36 | "back" = "返回"; |
| 37 | 37 | "play_btn_notice" = "您登錄了遊客帳戶。為了您的帳號安全,避免數據丟失,請點擊註冊帳號完成註冊。遊客信息將自動轉移至新帳號。"; |
ios/VKBridge.framework/Headers
ios/VKBridge.framework/VKBridge
ios/VKBridge.framework/Versions/A/Headers/VKBridge.h
| ... | ... | @@ -1,26 +0,0 @@ |
| 1 | -// | |
| 2 | -// VKBridge.h | |
| 3 | -// VKBridge | |
| 4 | -// | |
| 5 | -// Created by king on 15/10/30. | |
| 6 | -// Copyright © 2015年 Gump. All rights reserved. | |
| 7 | -// | |
| 8 | - | |
| 9 | -#import <Foundation/Foundation.h> | |
| 10 | -#import <VKSdk/VKSdk.h> | |
| 11 | -#import "LetsGameAPI.h" | |
| 12 | - | |
| 13 | -//@interface UIViewController (ForVK) | |
| 14 | -//-(void)loginWithVkToken:(NSString*)token andUid:(NSString *)uid; | |
| 15 | -// | |
| 16 | -//@end | |
| 17 | -@interface VKBridge : NSObject<VKSdkDelegate,VKBridgeProtocol> | |
| 18 | - | |
| 19 | - | |
| 20 | -@property (nonatomic,retain)UIViewController *holdViewController; | |
| 21 | -@property (nonatomic,copy) onVKTokenGoten vKBlock; | |
| 22 | - | |
| 23 | --(instancetype)initWithVKAppId:(NSString*)vkAppId; | |
| 24 | - | |
| 25 | - | |
| 26 | -@end |
ios/VKBridge.framework/Versions/A/VKBridge
No preview for this file type
ios/VKBridge.framework/Versions/Current
No preview for this file type