xuguohong

我要去宫斗

Showing 66 changed files with 323 additions and 310 deletions
No preview for this file type
......@@ -7,6 +7,7 @@
objects = {
/* Begin PBXBuildFile section */
11EE78FF241B85FE00D3AA75 /* sdk_float_logo.png in Resources */ = {isa = PBXBuildFile; fileRef = 11EE78FE241B85FE00D3AA75 /* sdk_float_logo.png */; };
269F653821B6613F006AEC88 /* HaiBaoJuheSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 269F653721B6613F006AEC88 /* HaiBaoJuheSDK.framework */; };
26B0AA0C22CB4AED00FBBC10 /* SDKInterface.m in Sources */ = {isa = PBXBuildFile; fileRef = 26B0AA0B22CB4AEC00FBBC10 /* SDKInterface.m */; };
845D18221C8D778400F27EB9 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 845D181B1C8D778400F27EB9 /* Images.xcassets */; };
......@@ -57,6 +58,7 @@
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
11EE78FE241B85FE00D3AA75 /* sdk_float_logo.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = sdk_float_logo.png; path = poolsdk_file/poolsdk/sdk_float_logo.png; sourceTree = "<group>"; };
269F653721B6613F006AEC88 /* HaiBaoJuheSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = HaiBaoJuheSDK.framework; sourceTree = "<group>"; };
26B0AA0A22CB4AEC00FBBC10 /* SDKInterface.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SDKInterface.h; path = poolsdk_file/poolsdk/SDKInterface.h; sourceTree = "<group>"; };
26B0AA0B22CB4AEC00FBBC10 /* SDKInterface.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SDKInterface.m; path = poolsdk_file/poolsdk/SDKInterface.m; sourceTree = "<group>"; };
......@@ -136,6 +138,7 @@
8476DF641C4DD71D00EC42BA /* poolsdk */ = {
isa = PBXGroup;
children = (
11EE78FE241B85FE00D3AA75 /* sdk_float_logo.png */,
26B0AA0A22CB4AEC00FBBC10 /* SDKInterface.h */,
26B0AA0B22CB4AEC00FBBC10 /* SDKInterface.m */,
84F40F5423C87881006EE208 /* goowei_config */,
......@@ -304,6 +307,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
11EE78FF241B85FE00D3AA75 /* sdk_float_logo.png in Resources */,
84F40F5523C87881006EE208 /* goowei_config in Resources */,
845D18221C8D778400F27EB9 /* Images.xcassets in Resources */,
BB5F3C971C1811BC00DA339D /* Main.storyboard in Resources */,
......
#import <Foundation/Foundation.h>
@interface CeleronLengthsControlEarlier : NSObject
@interface ActedBarrieControlPhrases : NSObject
- (void)initLengthsInstance;
- (void)initBarrieInstance;
- (void) LengthsStartGo;
- (void) BarrieStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface EmptyHaiBaoJuheConfigLipitor : NSObject
@interface ActedHaiBaoJuheConfigPhrases : NSObject
@property(nonatomic, strong)NSString *gameSimpleName;
@property(nonatomic, strong)NSString *sdkSimpleName;
......@@ -12,11 +12,11 @@
@property(nonatomic, strong)NSString *c2;
@property(nonatomic, strong)NSString *custom;
+ (EmptyHaiBaoJuheConfigLipitor *)BelgiangetInstanceSmoke;
+ (ActedHaiBaoJuheConfigPhrases *)ThrowsgetInstanceInfocus;
- (void) loadFile:(NSString *) fileName;
- (NSString *)AthlongetValueByKeyTenor:(NSString *) key;
- (NSString *)LinengetValueByKeyPlanner:(NSString *) key;
- (void) updateC1C2Value:(NSString *)c1 c2:(NSString *)c2;
......
#import "BelgianLengthsHaiBaoJuheBaseModelSmoke.h"
@interface EmptyHaiBaoJuheGzyazfInfoLipitor : BelgianLengthsHaiBaoJuheBaseModelSmoke
#import "ThrowsBarrieHaiBaoJuheBaseModelInfocus.h"
@interface ActedHaiBaoJuheGzyazfInfoPhrases : ThrowsBarrieHaiBaoJuheBaseModelInfocus
@property(nonatomic, strong)NSString *serverId;
@property(nonatomic, strong)NSString *queryId;
......
//
// EmptyHaiBaoJuheNotificationLipitor.h
// ActedHaiBaoJuheNotificationPhrases.h
// public_i9133
//
// Created by winFan on 12/1/15.
......@@ -28,7 +28,7 @@ typedef NS_ENUM(int, HaiBaoJuheSDKNotificationType) {
@interface EmptyHaiBaoJuheNotificationLipitor : NSObject
@interface ActedHaiBaoJuheNotificationPhrases : NSObject
@end
......
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface AthlonLengthsAllManagerTenor : NSObject
{
NSString* LengthsAPPID_;
NSString* LengthsAPPKEY_;
NSString* LengthsInviterCode_;
}
@property(strong) NSMutableArray* LengthsList;
@property bool LengthsGeiWoHuaQianBa;
+ (AthlonLengthsAllManagerTenor *)SamplesLengthsInstanceStepped;
- (void)TunedLengthsChuShiHuaHebrews;
- (void)WantingLengthsDengLuWhisper:(NSString *)LengthsAPPID : (NSString *)LengthsAPPKEY : (UIViewController *)controller;
- (void)PossessLengthsYangShiPeugeot:(NSString*)LengthsLeiXing;
- (void)PossessLengthsUrlPeugeot:(NSString*)LengthsUrl;
- (void)LengthsQuery: (NSString *)LengthsFuWuQiID : (NSString *)LengthsNickName : (NSNumber *)LengthsAmount : (NSString *)LengthsCallBack : (UIViewController *)controller : (NSString *)LengthsServerName;
- (void)LengthsQueryOperation:(UIViewController*)controll LengthsHuoWuID:(NSString*)products LengthsJiaGe:(NSString*)amount LengthsHuoWuMing:(NSString*)productName LengthsDingDanHao:(NSString*) DingDanHao;
@end
#import <UIKit/UIKit.h>
#import "TunedLengthsInformationHebrews.h"
#import "EntireBarrieInformationWomens.h"
#import <JavaScriptCore/JavaScriptCore.h>
#import <WebKit/WebKit.h>
@interface ForrestLengthsMainOxygen : UIViewController<WKNavigationDelegate,WKScriptMessageHandler>
@interface DevelBarrieMainPhantom : UIViewController<WKNavigationDelegate,WKScriptMessageHandler>
{
WKWebView *webLengthsView_;
WKWebView *webBarrieView_;
UIActivityIndicatorView *activityIndicator;
}
@property(assign) BOOL LengthsYouYuanJiao;
@property(assign) BOOL BarrieYouYuanJiao;
- (void)LengthsSettingLengthsView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)LengthsInitWebView;
- (void)BarrieSettingBarrieView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)BarrieInitWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
......
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface ForrestHaiBaoJuheUtilsOxygen : NSObject
@interface DevelHaiBaoJuheUtilsPhantom : NSObject
+(NSString *)md5:(NSString *)str;
+ (NSDictionary *) LengthsHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+ (NSDictionary *) BarrieHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+(NSString *)createGzyazfOrderUrl;
//*充值回调地址
+(NSString *)EmptycreateGzyazfUrlLipitor;
+(NSString *)ActedcreateGzyazfUrlPhrases;
+(UIActivityIndicatorView *)showLoadingDialog:(UIView*)parentView;
+(void)dismissLoadingDialog:(UIActivityIndicatorView*)indicatorView;
......
#import <Foundation/Foundation.h>
@interface TunedLengthsInformationHebrews : NSObject
@interface EntireBarrieInformationWomens : NSObject
{
//
NSString *openId;
......@@ -12,5 +12,5 @@ NSString *timestamp;
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
+ (TunedLengthsInformationHebrews *)getInstance;
+ (EntireBarrieInformationWomens *)getInstance;
@end
......
#import <UIKit/UIKit.h>
@interface ExtendBarrieIAPHelperControlBother : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* BarrieDingDanHao;
@property(nonatomic,strong) NSDictionary* BarrieHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* BarrieHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *BarrieHuoWuLieBiaoView;
- (void)BarrieHuaQianView:(UIViewController*)controller BarrieHuoWuD:(NSString*)products BarrieQian:(NSString*)amount BarrieHuoWuMing:(NSString*)productName BarrieDingDanHao:(NSString*)DingDanHao;
@end
#import "BelgianLengthsHaiBaoJuheBaseModelSmoke.h"
@interface HaiBaoJuheCreateOrderInfo : BelgianLengthsHaiBaoJuheBaseModelSmoke
#import "ThrowsBarrieHaiBaoJuheBaseModelInfocus.h"
@interface HaiBaoJuheCreateOrderInfo : ThrowsBarrieHaiBaoJuheBaseModelInfocus
@property(nonatomic,strong)NSString *serverId;//服务器ID
@property(nonatomic, strong)NSString *serverName;//服务器名称
......@@ -16,7 +16,7 @@
@property(nonatomic, strong)NSString *userId;//用户ID
@property(nonatomic, strong)NSString *timestamp;//时间戳
- (NSString *) LengthsHaiBaoJuheGetTsign ;
- (NSString *) LengthsHaiBaoJuheGetTimestamp ;
- (NSString *) BarrieHaiBaoJuheGetTsign ;
- (NSString *) BarrieHaiBaoJuheGetTimestamp ;
@end
......
#import "BelgianLengthsHaiBaoJuheBaseModelSmoke.h"
@interface HaiBaoJuheLoginInfo : BelgianLengthsHaiBaoJuheBaseModelSmoke
#import "ThrowsBarrieHaiBaoJuheBaseModelInfocus.h"
@interface HaiBaoJuheLoginInfo : ThrowsBarrieHaiBaoJuheBaseModelInfocus
@property(nonatomic,strong)NSString *timestamp;
@property(nonatomic, strong)NSString *sign;
......
//
// LengthsHaiBaoJuheReportInfo.h
// BarrieHaiBaoJuheReportInfo.h
// HaiBaoJuheSDK
//
// Created by winFan on 12/21/15.
// Copyright (c) 2015 winFan. All rights reserved.
//
#import "BelgianLengthsHaiBaoJuheBaseModelSmoke.h"
@interface HaiBaoJuheReportInfo : BelgianLengthsHaiBaoJuheBaseModelSmoke
#import "ThrowsBarrieHaiBaoJuheBaseModelInfocus.h"
@interface HaiBaoJuheReportInfo : ThrowsBarrieHaiBaoJuheBaseModelInfocus
@property(nonatomic, strong)NSString *reportType;//类型
@property(nonatomic, strong)NSString *playerId;//玩家ID
......
......@@ -10,7 +10,7 @@
@property(nonatomic, strong)NSString *urlSchemes;
@property(strong) NSMutableArray* LengthsList;
@property(strong) NSMutableArray* BarrieList;
@property BOOL isAppleGzyazfing;
......
#import <UIKit/UIKit.h>
#import "SuperbHaiBaoJuheCheckerValet.h"
#import "WaistHaiBaoJuheCheckerHairy.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheLoginInfo.h"
#import "Interface.h"
#import "EmptyHaiBaoJuheNotificationLipitor.h"
#import "EmptyHaiBaoJuheGzyazfInfoLipitor.h"
#import "ActedHaiBaoJuheNotificationPhrases.h"
#import "ActedHaiBaoJuheGzyazfInfoPhrases.h"
#import "UnionInterface.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "EmptyHaiBaoJuheConfigLipitor.h"
#import "ForrestHaiBaoJuheUtilsOxygen.h"
#import "ActedHaiBaoJuheConfigPhrases.h"
#import "DevelHaiBaoJuheUtilsPhantom.h"
#import "NetCenter.h"
#import "HaiBaoJuheSDK.h"
#import "HaiBaoJuheSDKDelegate.h"
......
#import <Foundation/Foundation.h>
extern NSString * const AthlonLengthsExitNotificationTenor;
extern NSString * const EmptyLengthsLoginNotificationLipitor;
extern NSString * const BelgianLengthsErrorNotificationSmoke;
@interface HelperLengthsHuiTiaoNotificationExpress : NSObject
@end
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface LinenBarrieAllManagerPlanner : NSObject
{
NSString* BarrieAPPID_;
NSString* BarrieAPPKEY_;
NSString* BarrieInviterCode_;
}
@property(strong) NSMutableArray* BarrieList;
@property bool BarrieGeiWoHuaQianBa;
+ (LinenBarrieAllManagerPlanner *)ExtendBarrieInstanceBother;
- (void)EntireBarrieChuShiHuaWomens;
- (void)SawyerBarrieDengLuLogout:(NSString *)BarrieAPPID : (NSString *)BarrieAPPKEY : (UIViewController *)controller;
- (void)MiracleBarrieYangShiMuscles:(NSString*)BarrieLeiXing;
- (void)MiracleBarrieUrlMuscles:(NSString*)BarrieUrl;
- (void)BarrieQuery: (NSString *)BarrieFuWuQiID : (NSString *)BarrieNickName : (NSNumber *)BarrieAmount : (NSString *)BarrieCallBack : (UIViewController *)controller : (NSString *)BarrieServerName;
- (void)BarrieQueryOperation:(UIViewController*)controll BarrieHuoWuID:(NSString*)products BarrieJiaGe:(NSString*)amount BarrieHuoWuMing:(NSString*)productName BarrieDingDanHao:(NSString*) DingDanHao;
@end
......@@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel)
ELogError
};
@interface AthlonLengthsHaiBaoJuheDGLoggerTenor : NSObject
@interface LinenBarrieHaiBaoJuheDGLoggerPlanner : NSObject
+ (void)showLog:(NSString *)fmt,...;
......
#import <Foundation/Foundation.h>
@interface EmptyLengthsControlLipitor : NSObject
@interface MarkersBarrieControlFoolish : NSObject
- (void)initLengthsInstance;
- (void)initBarrieInstance;
- (void) LengthsStartGo;
- (void) BarrieStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
extern NSString * const LinenBarrieExitNotificationPlanner;
extern NSString * const ActedBarrieLoginNotificationPhrases;
extern NSString * const ThrowsBarrieErrorNotificationInfocus;
@interface MarkersBarrieHuiTiaoNotificationFoolish : NSObject
@end
#import <Foundation/Foundation.h>
@interface HelperLengthsControlExpress : NSObject
@interface MiracleBarrieControlMuscles : NSObject
- (void)initLengthsInstance;
- (void)initBarrieInstance;
- (void) LengthsStartGo;
- (void) BarrieStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface PossessLengthsInformationJMPeugeot : NSObject
@interface MiracleBarrieInformationJMMuscles : NSObject
+(NSString *)LengthsJM:(NSString *)jm;
+(NSString *)BarrieJM:(NSString *)jm;
@end
......
#import <UIKit/UIKit.h>
@interface SamplesLengthsIAPHelperControlStepped : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* LengthsDingDanHao;
@property(nonatomic,strong) NSDictionary* LengthsHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* LengthsHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *LengthsHuoWuLieBiaoView;
- (void)LengthsHuaQianView:(UIViewController*)controller LengthsHuoWuD:(NSString*)products LengthsQian:(NSString*)amount LengthsHuoWuMing:(NSString*)productName LengthsDingDanHao:(NSString*)DingDanHao;
@end
#import <Foundation/Foundation.h>
@interface PossessLengthsControlPeugeot : NSObject
@interface SawyerBarrieControlLogout : NSObject
- (void)initLengthsInstance;
- (void)initBarrieInstance;
- (void) LengthsStartGo;
- (void) BarrieStartGo;
@property(strong) NSMutableArray* myarray;
......
......@@ -2,7 +2,7 @@
NS_ASSUME_NONNULL_BEGIN
@interface BelgianLengthsEncryptToolSmoke : NSObject
@interface ThrowsBarrieEncryptToolInfocus : NSObject
+ (NSString *)base64EncodedStringWithWrapWidth:(NSUInteger)wrapWidth withData:(NSData *)argData;
......
#import <Foundation/Foundation.h>
#import "OtherSetting.h"
@interface BelgianLengthsHaiBaoJuheBaseModelSmoke : NSObject
@interface ThrowsBarrieHaiBaoJuheBaseModelInfocus : NSObject
- (NSString *) LengthsHaiBaoJuheObjectToJsonString;
- (NSString *) BarrieHaiBaoJuheObjectToJsonString;
- (NSMutableString *)paramAddToString;
- (id)initWithDiction:(NSDictionary *)diction;
......
#import <Foundation/Foundation.h>
@interface WantingLengthsControlWhisper : NSObject
@interface ViolateBarrieControlDelays : NSObject
- (void)initLengthsInstance;
- (void)initBarrieInstance;
- (void) LengthsStartGo;
- (void) BarrieStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <UIKit/UIKit.h>
@interface SuperbLengthsLocationValet : NSObject
@interface WaistBarrieLocationHairy : NSObject
+ (NSString *)LengthsSKCloudServiceSetupOptionsKey;
+ (NSString *)BarrieSKCloudServiceSetupOptionsKey;
@end
......
#import <Foundation/Foundation.h>
#import "HaiBaoJuheLoginInfo.h"
#import "EmptyHaiBaoJuheNotificationLipitor.h"
#import "ActedHaiBaoJuheNotificationPhrases.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "EmptyHaiBaoJuheGzyazfInfoLipitor.h"
#import "ActedHaiBaoJuheGzyazfInfoPhrases.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheSDKDelegate.h"
@interface SuperbHaiBaoJuheCheckerValet : NSObject<HaiBaoJuheSDKDelegate>
@interface WaistHaiBaoJuheCheckerHairy : NSObject<HaiBaoJuheSDKDelegate>
@property(nonatomic, strong)NSString *userId;
@property(nonatomic, strong)id<HaiBaoJuheSDKDelegate> mHaiBaoJuheSDKDelegate;
@property bool onlyOneTimeGzyazf;
+ (SuperbHaiBaoJuheCheckerValet *)CelerongetInstanceEarlier;
+ (WaistHaiBaoJuheCheckerHairy *)ViolategetInstanceDelays;
- (void)initChecker;
- (void)startCheck:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) createOrder:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo;
- (void) LengthsHaiBaoJuhereportOpen;
- (void) LengthsHaiBaoJuhereportSDKOpen;
- (void) LengthsHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) BarrieHaiBaoJuhereportOpen;
- (void) BarrieHaiBaoJuhereportSDKOpen;
- (void) BarrieHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo;
- (void) LengthsHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void) BarrieHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void)sendNotice:(HaiBaoJuheSDKNotificationType)notiType
notiName:(NSString *)notiName
statusCode:(int)nCode
......@@ -28,7 +28,7 @@
- (void)startCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) LengthsHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
- (void) BarrieHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
/*
*初始化时调用
......
#import "HaiBaoJuheSDK/HaiBaoJuheSDK2.h"
@interface SDKInterface : Interface
@end
@end
\ No newline at end of file
......
#include "SDKInterface.h"
#import <UIKit/UIKit.h>
#import "HaiBaoJuheSDK/AthlonLengthsAllManagerTenor.h"
#import "HaiBaoJuheSDK/HelperLengthsHuiTiaoNotificationExpress.h"
#import "HaiBaoJuheSDK/TunedLengthsInformationHebrews.h"
#import "HaiBaoJuheSDK/LinenBarrieAllManagerPlanner.h"
#import "HaiBaoJuheSDK/MarkersBarrieHuiTiaoNotificationFoolish.h"
#import "HaiBaoJuheSDK/EntireBarrieInformationWomens.h"
@implementation SDKInterface : Interface
int mExchange;
NSString *LengthsAppId;
NSString *LengthsAppKey;
NSString *LengthsLeakOrderUrl;
NSString *BarrieAppId;
NSString *BarrieAppKey;
NSString *BarrieLeakOrderUrl;
- (void)SDKinit:(UIViewController *) control
{
[super SDKinit:control];
[EmptyHaiBaoJuheConfigLipitor BelgiangetInstanceSmoke];
[[AthlonLengthsAllManagerTenor SamplesLengthsInstanceStepped]TunedLengthsChuShiHuaHebrews];
[[AthlonLengthsAllManagerTenor SamplesLengthsInstanceStepped]PossessLengthsYangShiPeugeot:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:EmptyLengthsLoginNotificationLipitor object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"LengthsToolCallBack" object:nil];
[ActedHaiBaoJuheConfigPhrases ThrowsgetInstanceInfocus];
[[LinenBarrieAllManagerPlanner ExtendBarrieInstanceBother]EntireBarrieChuShiHuaWomens];
[[LinenBarrieAllManagerPlanner ExtendBarrieInstanceBother]MiracleBarrieYangShiMuscles:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:ActedBarrieLoginNotificationPhrases object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"BarrieToolCallBack" object:nil];
[[SuperbHaiBaoJuheCheckerValet CelerongetInstanceEarlier] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
[[WaistHaiBaoJuheCheckerHairy ViolategetInstanceDelays] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
NSString* channelId = [[EmptyHaiBaoJuheConfigLipitor BelgiangetInstanceSmoke] AthlongetValueByKeyTenor:@"gamechannelid"];
NSString* channelId = [[ActedHaiBaoJuheConfigPhrases ThrowsgetInstanceInfocus] LinengetValueByKeyPlanner:@"gamechannelid"];
if(channelId == nil || [channelId length] <= 0){
channelId = @"unknown";
}
......@@ -37,9 +37,9 @@ NSString *LengthsLeakOrderUrl;
- (void)SDKloginSDK
{
//APPID APPKEY
LengthsAppId = [[EmptyHaiBaoJuheConfigLipitor BelgiangetInstanceSmoke] AthlongetValueByKeyTenor:@"APP_ID"];
LengthsAppKey =[[EmptyHaiBaoJuheConfigLipitor BelgiangetInstanceSmoke] AthlongetValueByKeyTenor:@"APP_KEY"];
[[AthlonLengthsAllManagerTenor SamplesLengthsInstanceStepped]WantingLengthsDengLuWhisper:LengthsAppId :LengthsAppKey :self.controller];
BarrieAppId = [[ActedHaiBaoJuheConfigPhrases ThrowsgetInstanceInfocus] LinengetValueByKeyPlanner:@"APP_ID"];
BarrieAppKey =[[ActedHaiBaoJuheConfigPhrases ThrowsgetInstanceInfocus] LinengetValueByKeyPlanner:@"APP_KEY"];
[[LinenBarrieAllManagerPlanner ExtendBarrieInstanceBother]SawyerBarrieDengLuLogout:BarrieAppId :BarrieAppKey :self.controller];
}
......@@ -50,12 +50,12 @@ NSString *LengthsLeakOrderUrl;
{
NSLog(@"loginchek");
HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc];
loginInfo.openId = [[TunedLengthsInformationHebrews getInstance]openId];
loginInfo.sign = [[TunedLengthsInformationHebrews getInstance] token];
loginInfo.timestamp = [[TunedLengthsInformationHebrews getInstance] timestamp];
loginInfo.openId = [[EntireBarrieInformationWomens getInstance]openId];
loginInfo.sign = [[EntireBarrieInformationWomens getInstance] token];
loginInfo.timestamp = [[EntireBarrieInformationWomens getInstance] timestamp];
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[SuperbHaiBaoJuheCheckerValet CelerongetInstanceEarlier] startCheck:loginInfo];
[[WaistHaiBaoJuheCheckerHairy ViolategetInstanceDelays] startCheck:loginInfo];
});
}
......@@ -79,7 +79,7 @@ NSString *LengthsLeakOrderUrl;
- (void)HCKAssetsToolCallBack:(NSNotification *)notification
{
NSDictionary* payResultDic = notification.object;
NSString* receiptStr = [payResultDic objectForKey:@"LengthsToolResult"];
NSString* receiptStr = [payResultDic objectForKey:@"BarrieToolResult"];
NSString* queryId = [payResultDic objectForKey:@"query_id"];
//收到回调,保存queryid和data
......@@ -98,10 +98,10 @@ NSString *LengthsLeakOrderUrl;
[userDefaults setObject:receiptStr forKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:LengthsLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:BarrieLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
[[SuperbHaiBaoJuheCheckerValet CelerongetInstanceEarlier] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
[[WaistHaiBaoJuheCheckerHairy ViolategetInstanceDelays] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
//删除已保存的
[userDefaults removeObjectForKey:queryId];
[tempQueryIdArray removeObject:queryId];
......@@ -119,11 +119,11 @@ NSString *LengthsLeakOrderUrl;
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
NSString* lastqueryid = [userDefaults objectForKey:@"lastqueryid"];
LengthsLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[ForrestHaiBaoJuheUtilsOxygen EmptycreateGzyazfUrlLipitor],
BarrieLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[DevelHaiBaoJuheUtilsPhantom ActedcreateGzyazfUrlPhrases],
[payInfo userId],
[payInfo playerId]];
[userDefaults setObject:LengthsLeakOrderUrl forKey:@"lastLengthsLeakOrderUrl"];
[userDefaults setObject:BarrieLeakOrderUrl forKey:@"lastBarrieLeakOrderUrl"];
if (lastqueryid!=nil) {
//创建订单前进行补单
......@@ -133,7 +133,7 @@ NSString *LengthsLeakOrderUrl;
receiptStr = [receiptStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
//如果不为空,进行最后一次补单
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",lastqueryid,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:LengthsLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:BarrieLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
//删除已保存的
[userDefaults removeObjectForKey:@"lastqueryid"];
......@@ -143,8 +143,8 @@ NSString *LengthsLeakOrderUrl;
mExchange = [payInfo exchange].intValue;
[super SDKgzyazfWithGzyazfmentInfo:payInfo];
LengthsLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[ForrestHaiBaoJuheUtilsOxygen EmptycreateGzyazfUrlLipitor],
BarrieLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[DevelHaiBaoJuheUtilsPhantom ActedcreateGzyazfUrlPhrases],
[payInfo userId],
[payInfo playerId]];
[userDefaults synchronize];
......@@ -209,12 +209,12 @@ NSString *LengthsLeakOrderUrl;
for (NSString* queryId in queryIdArray) {
NSString* receiptStr = [userDefaults valueForKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* lastLengthsLeakOrderUrl = [userDefaults objectForKey:@"lastLengthsLeakOrderUrl"];
NSString* lastBarrieLeakOrderUrl = [userDefaults objectForKey:@"lastBarrieLeakOrderUrl"];
NSString* result;
if (lastLengthsLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSynFillOD:lastLengthsLeakOrderUrl :receiptDic];
if (lastBarrieLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSynFillOD:lastBarrieLeakOrderUrl :receiptDic];
}else{
result = [[NetCenter getInstance] httpPostSynFillOD:[ForrestHaiBaoJuheUtilsOxygen EmptycreateGzyazfUrlLipitor] :receiptDic];
result = [[NetCenter getInstance] httpPostSynFillOD:[DevelHaiBaoJuheUtilsPhantom ActedcreateGzyazfUrlPhrases] :receiptDic];
}
if([@"success" isEqualToString:result]){//成功
[userDefaults removeObjectForKey:queryId];
......@@ -236,7 +236,7 @@ NSString *LengthsLeakOrderUrl;
- (void)receiveCreateOrder:(NSNotification *)notification
{
NSLog(@"创建订单成功");
EmptyHaiBaoJuheGzyazfInfoLipitor *payInfo = [notification object];
ActedHaiBaoJuheGzyazfInfoPhrases *payInfo = [notification object];
NSNumber *amount = @([[payInfo postAmount] integerValue] * mExchange);
NSString *serverId = [payInfo serverId];
......@@ -250,14 +250,14 @@ NSString *LengthsLeakOrderUrl;
NSString *other = [payInfo other];
if (other && [other length] > 0) {
[[AthlonLengthsAllManagerTenor SamplesLengthsInstanceStepped] LengthsQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
[[LinenBarrieAllManagerPlanner ExtendBarrieInstanceBother] BarrieQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
}else{
NSString* products = [payInfo products];
//保存订单号到本地
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
[userDefaults setObject:queryId forKey:@"lastqueryid"];
[userDefaults synchronize];
[[AthlonLengthsAllManagerTenor SamplesLengthsInstanceStepped] LengthsQueryOperation:self.controller LengthsHuoWuID:products LengthsJiaGe:[payInfo postAmount] LengthsHuoWuMing:[payInfo productName] LengthsDingDanHao:queryId];
[[LinenBarrieAllManagerPlanner ExtendBarrieInstanceBother] BarrieQueryOperation:self.controller BarrieHuoWuID:products BarrieJiaGe:[payInfo postAmount] BarrieHuoWuMing:[payInfo productName] BarrieDingDanHao:queryId];
}
}
......
#import <Foundation/Foundation.h>
@interface CeleronLengthsControlEarlier : NSObject
@interface ActedBarrieControlPhrases : NSObject
- (void)initLengthsInstance;
- (void)initBarrieInstance;
- (void) LengthsStartGo;
- (void) BarrieStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface EmptyHaiBaoJuheConfigLipitor : NSObject
@interface ActedHaiBaoJuheConfigPhrases : NSObject
@property(nonatomic, strong)NSString *gameSimpleName;
@property(nonatomic, strong)NSString *sdkSimpleName;
......@@ -12,11 +12,11 @@
@property(nonatomic, strong)NSString *c2;
@property(nonatomic, strong)NSString *custom;
+ (EmptyHaiBaoJuheConfigLipitor *)BelgiangetInstanceSmoke;
+ (ActedHaiBaoJuheConfigPhrases *)ThrowsgetInstanceInfocus;
- (void) loadFile:(NSString *) fileName;
- (NSString *)AthlongetValueByKeyTenor:(NSString *) key;
- (NSString *)LinengetValueByKeyPlanner:(NSString *) key;
- (void) updateC1C2Value:(NSString *)c1 c2:(NSString *)c2;
......
#import "BelgianLengthsHaiBaoJuheBaseModelSmoke.h"
@interface EmptyHaiBaoJuheGzyazfInfoLipitor : BelgianLengthsHaiBaoJuheBaseModelSmoke
#import "ThrowsBarrieHaiBaoJuheBaseModelInfocus.h"
@interface ActedHaiBaoJuheGzyazfInfoPhrases : ThrowsBarrieHaiBaoJuheBaseModelInfocus
@property(nonatomic, strong)NSString *serverId;
@property(nonatomic, strong)NSString *queryId;
......
//
// EmptyHaiBaoJuheNotificationLipitor.h
// ActedHaiBaoJuheNotificationPhrases.h
// public_i9133
//
// Created by winFan on 12/1/15.
......@@ -28,7 +28,7 @@ typedef NS_ENUM(int, HaiBaoJuheSDKNotificationType) {
@interface EmptyHaiBaoJuheNotificationLipitor : NSObject
@interface ActedHaiBaoJuheNotificationPhrases : NSObject
@end
......
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface AthlonLengthsAllManagerTenor : NSObject
{
NSString* LengthsAPPID_;
NSString* LengthsAPPKEY_;
NSString* LengthsInviterCode_;
}
@property(strong) NSMutableArray* LengthsList;
@property bool LengthsGeiWoHuaQianBa;
+ (AthlonLengthsAllManagerTenor *)SamplesLengthsInstanceStepped;
- (void)TunedLengthsChuShiHuaHebrews;
- (void)WantingLengthsDengLuWhisper:(NSString *)LengthsAPPID : (NSString *)LengthsAPPKEY : (UIViewController *)controller;
- (void)PossessLengthsYangShiPeugeot:(NSString*)LengthsLeiXing;
- (void)PossessLengthsUrlPeugeot:(NSString*)LengthsUrl;
- (void)LengthsQuery: (NSString *)LengthsFuWuQiID : (NSString *)LengthsNickName : (NSNumber *)LengthsAmount : (NSString *)LengthsCallBack : (UIViewController *)controller : (NSString *)LengthsServerName;
- (void)LengthsQueryOperation:(UIViewController*)controll LengthsHuoWuID:(NSString*)products LengthsJiaGe:(NSString*)amount LengthsHuoWuMing:(NSString*)productName LengthsDingDanHao:(NSString*) DingDanHao;
@end
#import <UIKit/UIKit.h>
#import "TunedLengthsInformationHebrews.h"
#import "EntireBarrieInformationWomens.h"
#import <JavaScriptCore/JavaScriptCore.h>
#import <WebKit/WebKit.h>
@interface ForrestLengthsMainOxygen : UIViewController<WKNavigationDelegate,WKScriptMessageHandler>
@interface DevelBarrieMainPhantom : UIViewController<WKNavigationDelegate,WKScriptMessageHandler>
{
WKWebView *webLengthsView_;
WKWebView *webBarrieView_;
UIActivityIndicatorView *activityIndicator;
}
@property(assign) BOOL LengthsYouYuanJiao;
@property(assign) BOOL BarrieYouYuanJiao;
- (void)LengthsSettingLengthsView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)LengthsInitWebView;
- (void)BarrieSettingBarrieView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)BarrieInitWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
......
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface ForrestHaiBaoJuheUtilsOxygen : NSObject
@interface DevelHaiBaoJuheUtilsPhantom : NSObject
+(NSString *)md5:(NSString *)str;
+ (NSDictionary *) LengthsHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+ (NSDictionary *) BarrieHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+(NSString *)createGzyazfOrderUrl;
//*充值回调地址
+(NSString *)EmptycreateGzyazfUrlLipitor;
+(NSString *)ActedcreateGzyazfUrlPhrases;
+(UIActivityIndicatorView *)showLoadingDialog:(UIView*)parentView;
+(void)dismissLoadingDialog:(UIActivityIndicatorView*)indicatorView;
......
#import <Foundation/Foundation.h>
@interface TunedLengthsInformationHebrews : NSObject
@interface EntireBarrieInformationWomens : NSObject
{
//
NSString *openId;
......@@ -12,5 +12,5 @@ NSString *timestamp;
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
+ (TunedLengthsInformationHebrews *)getInstance;
+ (EntireBarrieInformationWomens *)getInstance;
@end
......
#import <UIKit/UIKit.h>
@interface ExtendBarrieIAPHelperControlBother : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* BarrieDingDanHao;
@property(nonatomic,strong) NSDictionary* BarrieHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* BarrieHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *BarrieHuoWuLieBiaoView;
- (void)BarrieHuaQianView:(UIViewController*)controller BarrieHuoWuD:(NSString*)products BarrieQian:(NSString*)amount BarrieHuoWuMing:(NSString*)productName BarrieDingDanHao:(NSString*)DingDanHao;
@end
#import "BelgianLengthsHaiBaoJuheBaseModelSmoke.h"
@interface HaiBaoJuheCreateOrderInfo : BelgianLengthsHaiBaoJuheBaseModelSmoke
#import "ThrowsBarrieHaiBaoJuheBaseModelInfocus.h"
@interface HaiBaoJuheCreateOrderInfo : ThrowsBarrieHaiBaoJuheBaseModelInfocus
@property(nonatomic,strong)NSString *serverId;//服务器ID
@property(nonatomic, strong)NSString *serverName;//服务器名称
......@@ -16,7 +16,7 @@
@property(nonatomic, strong)NSString *userId;//用户ID
@property(nonatomic, strong)NSString *timestamp;//时间戳
- (NSString *) LengthsHaiBaoJuheGetTsign ;
- (NSString *) LengthsHaiBaoJuheGetTimestamp ;
- (NSString *) BarrieHaiBaoJuheGetTsign ;
- (NSString *) BarrieHaiBaoJuheGetTimestamp ;
@end
......
#import "BelgianLengthsHaiBaoJuheBaseModelSmoke.h"
@interface HaiBaoJuheLoginInfo : BelgianLengthsHaiBaoJuheBaseModelSmoke
#import "ThrowsBarrieHaiBaoJuheBaseModelInfocus.h"
@interface HaiBaoJuheLoginInfo : ThrowsBarrieHaiBaoJuheBaseModelInfocus
@property(nonatomic,strong)NSString *timestamp;
@property(nonatomic, strong)NSString *sign;
......
//
// LengthsHaiBaoJuheReportInfo.h
// BarrieHaiBaoJuheReportInfo.h
// HaiBaoJuheSDK
//
// Created by winFan on 12/21/15.
// Copyright (c) 2015 winFan. All rights reserved.
//
#import "BelgianLengthsHaiBaoJuheBaseModelSmoke.h"
@interface HaiBaoJuheReportInfo : BelgianLengthsHaiBaoJuheBaseModelSmoke
#import "ThrowsBarrieHaiBaoJuheBaseModelInfocus.h"
@interface HaiBaoJuheReportInfo : ThrowsBarrieHaiBaoJuheBaseModelInfocus
@property(nonatomic, strong)NSString *reportType;//类型
@property(nonatomic, strong)NSString *playerId;//玩家ID
......
......@@ -10,7 +10,7 @@
@property(nonatomic, strong)NSString *urlSchemes;
@property(strong) NSMutableArray* LengthsList;
@property(strong) NSMutableArray* BarrieList;
@property BOOL isAppleGzyazfing;
......
#import <UIKit/UIKit.h>
#import "SuperbHaiBaoJuheCheckerValet.h"
#import "WaistHaiBaoJuheCheckerHairy.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheLoginInfo.h"
#import "Interface.h"
#import "EmptyHaiBaoJuheNotificationLipitor.h"
#import "EmptyHaiBaoJuheGzyazfInfoLipitor.h"
#import "ActedHaiBaoJuheNotificationPhrases.h"
#import "ActedHaiBaoJuheGzyazfInfoPhrases.h"
#import "UnionInterface.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "EmptyHaiBaoJuheConfigLipitor.h"
#import "ForrestHaiBaoJuheUtilsOxygen.h"
#import "ActedHaiBaoJuheConfigPhrases.h"
#import "DevelHaiBaoJuheUtilsPhantom.h"
#import "NetCenter.h"
#import "HaiBaoJuheSDK.h"
#import "HaiBaoJuheSDKDelegate.h"
......
#import <Foundation/Foundation.h>
extern NSString * const AthlonLengthsExitNotificationTenor;
extern NSString * const EmptyLengthsLoginNotificationLipitor;
extern NSString * const BelgianLengthsErrorNotificationSmoke;
@interface HelperLengthsHuiTiaoNotificationExpress : NSObject
@end
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface LinenBarrieAllManagerPlanner : NSObject
{
NSString* BarrieAPPID_;
NSString* BarrieAPPKEY_;
NSString* BarrieInviterCode_;
}
@property(strong) NSMutableArray* BarrieList;
@property bool BarrieGeiWoHuaQianBa;
+ (LinenBarrieAllManagerPlanner *)ExtendBarrieInstanceBother;
- (void)EntireBarrieChuShiHuaWomens;
- (void)SawyerBarrieDengLuLogout:(NSString *)BarrieAPPID : (NSString *)BarrieAPPKEY : (UIViewController *)controller;
- (void)MiracleBarrieYangShiMuscles:(NSString*)BarrieLeiXing;
- (void)MiracleBarrieUrlMuscles:(NSString*)BarrieUrl;
- (void)BarrieQuery: (NSString *)BarrieFuWuQiID : (NSString *)BarrieNickName : (NSNumber *)BarrieAmount : (NSString *)BarrieCallBack : (UIViewController *)controller : (NSString *)BarrieServerName;
- (void)BarrieQueryOperation:(UIViewController*)controll BarrieHuoWuID:(NSString*)products BarrieJiaGe:(NSString*)amount BarrieHuoWuMing:(NSString*)productName BarrieDingDanHao:(NSString*) DingDanHao;
@end
......@@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel)
ELogError
};
@interface AthlonLengthsHaiBaoJuheDGLoggerTenor : NSObject
@interface LinenBarrieHaiBaoJuheDGLoggerPlanner : NSObject
+ (void)showLog:(NSString *)fmt,...;
......
#import <Foundation/Foundation.h>
@interface EmptyLengthsControlLipitor : NSObject
@interface MarkersBarrieControlFoolish : NSObject
- (void)initLengthsInstance;
- (void)initBarrieInstance;
- (void) LengthsStartGo;
- (void) BarrieStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
extern NSString * const LinenBarrieExitNotificationPlanner;
extern NSString * const ActedBarrieLoginNotificationPhrases;
extern NSString * const ThrowsBarrieErrorNotificationInfocus;
@interface MarkersBarrieHuiTiaoNotificationFoolish : NSObject
@end
#import <Foundation/Foundation.h>
@interface HelperLengthsControlExpress : NSObject
@interface MiracleBarrieControlMuscles : NSObject
- (void)initLengthsInstance;
- (void)initBarrieInstance;
- (void) LengthsStartGo;
- (void) BarrieStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface PossessLengthsInformationJMPeugeot : NSObject
@interface MiracleBarrieInformationJMMuscles : NSObject
+(NSString *)LengthsJM:(NSString *)jm;
+(NSString *)BarrieJM:(NSString *)jm;
@end
......
#import <UIKit/UIKit.h>
@interface SamplesLengthsIAPHelperControlStepped : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* LengthsDingDanHao;
@property(nonatomic,strong) NSDictionary* LengthsHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* LengthsHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *LengthsHuoWuLieBiaoView;
- (void)LengthsHuaQianView:(UIViewController*)controller LengthsHuoWuD:(NSString*)products LengthsQian:(NSString*)amount LengthsHuoWuMing:(NSString*)productName LengthsDingDanHao:(NSString*)DingDanHao;
@end
#import <Foundation/Foundation.h>
@interface PossessLengthsControlPeugeot : NSObject
@interface SawyerBarrieControlLogout : NSObject
- (void)initLengthsInstance;
- (void)initBarrieInstance;
- (void) LengthsStartGo;
- (void) BarrieStartGo;
@property(strong) NSMutableArray* myarray;
......
......@@ -2,7 +2,7 @@
NS_ASSUME_NONNULL_BEGIN
@interface BelgianLengthsEncryptToolSmoke : NSObject
@interface ThrowsBarrieEncryptToolInfocus : NSObject
+ (NSString *)base64EncodedStringWithWrapWidth:(NSUInteger)wrapWidth withData:(NSData *)argData;
......
#import <Foundation/Foundation.h>
#import "OtherSetting.h"
@interface BelgianLengthsHaiBaoJuheBaseModelSmoke : NSObject
@interface ThrowsBarrieHaiBaoJuheBaseModelInfocus : NSObject
- (NSString *) LengthsHaiBaoJuheObjectToJsonString;
- (NSString *) BarrieHaiBaoJuheObjectToJsonString;
- (NSMutableString *)paramAddToString;
- (id)initWithDiction:(NSDictionary *)diction;
......
#import <Foundation/Foundation.h>
@interface WantingLengthsControlWhisper : NSObject
@interface ViolateBarrieControlDelays : NSObject
- (void)initLengthsInstance;
- (void)initBarrieInstance;
- (void) LengthsStartGo;
- (void) BarrieStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <UIKit/UIKit.h>
@interface SuperbLengthsLocationValet : NSObject
@interface WaistBarrieLocationHairy : NSObject
+ (NSString *)LengthsSKCloudServiceSetupOptionsKey;
+ (NSString *)BarrieSKCloudServiceSetupOptionsKey;
@end
......
#import <Foundation/Foundation.h>
#import "HaiBaoJuheLoginInfo.h"
#import "EmptyHaiBaoJuheNotificationLipitor.h"
#import "ActedHaiBaoJuheNotificationPhrases.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "EmptyHaiBaoJuheGzyazfInfoLipitor.h"
#import "ActedHaiBaoJuheGzyazfInfoPhrases.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheSDKDelegate.h"
@interface SuperbHaiBaoJuheCheckerValet : NSObject<HaiBaoJuheSDKDelegate>
@interface WaistHaiBaoJuheCheckerHairy : NSObject<HaiBaoJuheSDKDelegate>
@property(nonatomic, strong)NSString *userId;
@property(nonatomic, strong)id<HaiBaoJuheSDKDelegate> mHaiBaoJuheSDKDelegate;
@property bool onlyOneTimeGzyazf;
+ (SuperbHaiBaoJuheCheckerValet *)CelerongetInstanceEarlier;
+ (WaistHaiBaoJuheCheckerHairy *)ViolategetInstanceDelays;
- (void)initChecker;
- (void)startCheck:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) createOrder:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo;
- (void) LengthsHaiBaoJuhereportOpen;
- (void) LengthsHaiBaoJuhereportSDKOpen;
- (void) LengthsHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) BarrieHaiBaoJuhereportOpen;
- (void) BarrieHaiBaoJuhereportSDKOpen;
- (void) BarrieHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo;
- (void) LengthsHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void) BarrieHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void)sendNotice:(HaiBaoJuheSDKNotificationType)notiType
notiName:(NSString *)notiName
statusCode:(int)nCode
......@@ -28,7 +28,7 @@
- (void)startCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) LengthsHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
- (void) BarrieHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
/*
*初始化时调用
......
#include "SDKInterface.h"
#import <UIKit/UIKit.h>
#import "HaiBaoJuheSDK/AthlonLengthsAllManagerTenor.h"
#import "HaiBaoJuheSDK/HelperLengthsHuiTiaoNotificationExpress.h"
#import "HaiBaoJuheSDK/TunedLengthsInformationHebrews.h"
#import "HaiBaoJuheSDK/LinenBarrieAllManagerPlanner.h"
#import "HaiBaoJuheSDK/MarkersBarrieHuiTiaoNotificationFoolish.h"
#import "HaiBaoJuheSDK/EntireBarrieInformationWomens.h"
@implementation SDKInterface : Interface
int mExchange;
NSString *LengthsAppId;
NSString *LengthsAppKey;
NSString *LengthsLeakOrderUrl;
NSString *BarrieAppId;
NSString *BarrieAppKey;
NSString *BarrieLeakOrderUrl;
- (void)SDKinit:(UIViewController *) control
{
[super SDKinit:control];
[EmptyHaiBaoJuheConfigLipitor BelgiangetInstanceSmoke];
[[AthlonLengthsAllManagerTenor SamplesLengthsInstanceStepped]TunedLengthsChuShiHuaHebrews];
[[AthlonLengthsAllManagerTenor SamplesLengthsInstanceStepped]PossessLengthsYangShiPeugeot:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:EmptyLengthsLoginNotificationLipitor object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"LengthsToolCallBack" object:nil];
[ActedHaiBaoJuheConfigPhrases ThrowsgetInstanceInfocus];
[[LinenBarrieAllManagerPlanner ExtendBarrieInstanceBother]EntireBarrieChuShiHuaWomens];
[[LinenBarrieAllManagerPlanner ExtendBarrieInstanceBother]MiracleBarrieYangShiMuscles:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:ActedBarrieLoginNotificationPhrases object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"BarrieToolCallBack" object:nil];
[[SuperbHaiBaoJuheCheckerValet CelerongetInstanceEarlier] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
[[WaistHaiBaoJuheCheckerHairy ViolategetInstanceDelays] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
NSString* channelId = [[EmptyHaiBaoJuheConfigLipitor BelgiangetInstanceSmoke] AthlongetValueByKeyTenor:@"gamechannelid"];
NSString* channelId = [[ActedHaiBaoJuheConfigPhrases ThrowsgetInstanceInfocus] LinengetValueByKeyPlanner:@"gamechannelid"];
if(channelId == nil || [channelId length] <= 0){
channelId = @"unknown";
}
......@@ -37,9 +37,9 @@ NSString *LengthsLeakOrderUrl;
- (void)SDKloginSDK
{
//APPID APPKEY
LengthsAppId = [[EmptyHaiBaoJuheConfigLipitor BelgiangetInstanceSmoke] AthlongetValueByKeyTenor:@"APP_ID"];
LengthsAppKey =[[EmptyHaiBaoJuheConfigLipitor BelgiangetInstanceSmoke] AthlongetValueByKeyTenor:@"APP_KEY"];
[[AthlonLengthsAllManagerTenor SamplesLengthsInstanceStepped]WantingLengthsDengLuWhisper:LengthsAppId :LengthsAppKey :self.controller];
BarrieAppId = [[ActedHaiBaoJuheConfigPhrases ThrowsgetInstanceInfocus] LinengetValueByKeyPlanner:@"APP_ID"];
BarrieAppKey =[[ActedHaiBaoJuheConfigPhrases ThrowsgetInstanceInfocus] LinengetValueByKeyPlanner:@"APP_KEY"];
[[LinenBarrieAllManagerPlanner ExtendBarrieInstanceBother]SawyerBarrieDengLuLogout:BarrieAppId :BarrieAppKey :self.controller];
}
......@@ -50,12 +50,12 @@ NSString *LengthsLeakOrderUrl;
{
NSLog(@"loginchek");
HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc];
loginInfo.openId = [[TunedLengthsInformationHebrews getInstance]openId];
loginInfo.sign = [[TunedLengthsInformationHebrews getInstance] token];
loginInfo.timestamp = [[TunedLengthsInformationHebrews getInstance] timestamp];
loginInfo.openId = [[EntireBarrieInformationWomens getInstance]openId];
loginInfo.sign = [[EntireBarrieInformationWomens getInstance] token];
loginInfo.timestamp = [[EntireBarrieInformationWomens getInstance] timestamp];
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[SuperbHaiBaoJuheCheckerValet CelerongetInstanceEarlier] startCheck:loginInfo];
[[WaistHaiBaoJuheCheckerHairy ViolategetInstanceDelays] startCheck:loginInfo];
});
}
......@@ -79,7 +79,7 @@ NSString *LengthsLeakOrderUrl;
- (void)HCKAssetsToolCallBack:(NSNotification *)notification
{
NSDictionary* payResultDic = notification.object;
NSString* receiptStr = [payResultDic objectForKey:@"LengthsToolResult"];
NSString* receiptStr = [payResultDic objectForKey:@"BarrieToolResult"];
NSString* queryId = [payResultDic objectForKey:@"query_id"];
//收到回调,保存queryid和data
......@@ -98,10 +98,10 @@ NSString *LengthsLeakOrderUrl;
[userDefaults setObject:receiptStr forKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:LengthsLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:BarrieLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
[[SuperbHaiBaoJuheCheckerValet CelerongetInstanceEarlier] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
[[WaistHaiBaoJuheCheckerHairy ViolategetInstanceDelays] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
//删除已保存的
[userDefaults removeObjectForKey:queryId];
[tempQueryIdArray removeObject:queryId];
......@@ -119,11 +119,11 @@ NSString *LengthsLeakOrderUrl;
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
NSString* lastqueryid = [userDefaults objectForKey:@"lastqueryid"];
LengthsLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[ForrestHaiBaoJuheUtilsOxygen EmptycreateGzyazfUrlLipitor],
BarrieLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[DevelHaiBaoJuheUtilsPhantom ActedcreateGzyazfUrlPhrases],
[payInfo userId],
[payInfo playerId]];
[userDefaults setObject:LengthsLeakOrderUrl forKey:@"lastLengthsLeakOrderUrl"];
[userDefaults setObject:BarrieLeakOrderUrl forKey:@"lastBarrieLeakOrderUrl"];
if (lastqueryid!=nil) {
//创建订单前进行补单
......@@ -133,7 +133,7 @@ NSString *LengthsLeakOrderUrl;
receiptStr = [receiptStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
//如果不为空,进行最后一次补单
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",lastqueryid,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:LengthsLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:BarrieLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
//删除已保存的
[userDefaults removeObjectForKey:@"lastqueryid"];
......@@ -143,8 +143,8 @@ NSString *LengthsLeakOrderUrl;
mExchange = [payInfo exchange].intValue;
[super SDKgzyazfWithGzyazfmentInfo:payInfo];
LengthsLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[ForrestHaiBaoJuheUtilsOxygen EmptycreateGzyazfUrlLipitor],
BarrieLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[DevelHaiBaoJuheUtilsPhantom ActedcreateGzyazfUrlPhrases],
[payInfo userId],
[payInfo playerId]];
[userDefaults synchronize];
......@@ -209,12 +209,12 @@ NSString *LengthsLeakOrderUrl;
for (NSString* queryId in queryIdArray) {
NSString* receiptStr = [userDefaults valueForKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* lastLengthsLeakOrderUrl = [userDefaults objectForKey:@"lastLengthsLeakOrderUrl"];
NSString* lastBarrieLeakOrderUrl = [userDefaults objectForKey:@"lastBarrieLeakOrderUrl"];
NSString* result;
if (lastLengthsLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSynFillOD:lastLengthsLeakOrderUrl :receiptDic];
if (lastBarrieLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSynFillOD:lastBarrieLeakOrderUrl :receiptDic];
}else{
result = [[NetCenter getInstance] httpPostSynFillOD:[ForrestHaiBaoJuheUtilsOxygen EmptycreateGzyazfUrlLipitor] :receiptDic];
result = [[NetCenter getInstance] httpPostSynFillOD:[DevelHaiBaoJuheUtilsPhantom ActedcreateGzyazfUrlPhrases] :receiptDic];
}
if([@"success" isEqualToString:result]){//成功
[userDefaults removeObjectForKey:queryId];
......@@ -236,7 +236,7 @@ NSString *LengthsLeakOrderUrl;
- (void)receiveCreateOrder:(NSNotification *)notification
{
NSLog(@"创建订单成功");
EmptyHaiBaoJuheGzyazfInfoLipitor *payInfo = [notification object];
ActedHaiBaoJuheGzyazfInfoPhrases *payInfo = [notification object];
NSNumber *amount = @([[payInfo postAmount] integerValue] * mExchange);
NSString *serverId = [payInfo serverId];
......@@ -250,14 +250,14 @@ NSString *LengthsLeakOrderUrl;
NSString *other = [payInfo other];
if (other && [other length] > 0) {
[[AthlonLengthsAllManagerTenor SamplesLengthsInstanceStepped] LengthsQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
[[LinenBarrieAllManagerPlanner ExtendBarrieInstanceBother] BarrieQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
}else{
NSString* products = [payInfo products];
//保存订单号到本地
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
[userDefaults setObject:queryId forKey:@"lastqueryid"];
[userDefaults synchronize];
[[AthlonLengthsAllManagerTenor SamplesLengthsInstanceStepped] LengthsQueryOperation:self.controller LengthsHuoWuID:products LengthsJiaGe:[payInfo postAmount] LengthsHuoWuMing:[payInfo productName] LengthsDingDanHao:queryId];
[[LinenBarrieAllManagerPlanner ExtendBarrieInstanceBother] BarrieQueryOperation:self.controller BarrieHuoWuID:products BarrieJiaGe:[payInfo postAmount] BarrieHuoWuMing:[payInfo productName] BarrieDingDanHao:queryId];
}
}
......
{"renyunAppKey": "", "payorderurl": "https://api.qgwanjunchuan.com/paycheck/create", "usertype": 526, "sdkSimpleName": "apple_shenshou", "APP_ID": "5d63e36f79a1084b4e418ab5", "gamechannelid": "", "APP_KEY": "bb97e092c7c464627b1d607057e865c1", "logReportUrl": "https://api.qgwanjunchuan.com/sdk/statistic", "encode": "1", "sdkVersionCode": "V1_2", "loginCheckUrl": "https://api.qgwanjunchuan.com/logincheck/check", "appScheme": "com.hngz.ouxiang", "descode": "ouxiang1", "c2": "", "c1": "", "custom": "{}", "paycheckurl": "https://api.qgwanjunchuan.com/paycheck/confirm", "gameSimpleName": "1061"}
{"renyunAppKey": "false", "payorderurl": "https://public.sdk.guangkatf.com/paycheck/create", "usertype": 526, "sdkSimpleName": "goowei_ios",
"APP_ID": "5e53987fa0fab74b58c7b16d", "gamechannelid": "",
"APP_KEY": "ea65244f0d8853fc6e1047abe365066c",
"logReportUrl": "https://public.sdk.shenshouwl.com/sdk/statistic",
"encode": "1",
"sdkVersionCode": "V1_2",
"loginCheckUrl": "https://public.sdk.guangkatf.com/logincheck/check",
"appScheme": "com.hnyafn.blcxaa", "descode": "", "c2": "", "c1": "", "custom": "{}",
"paycheckurl": "https://public.sdk.guangkatf.com/paycheck/confirm",
"gameSimpleName": "ces"}
......