xuguohong

update

Showing 64 changed files with 314 additions and 324 deletions
No preview for this file type
......@@ -7,6 +7,7 @@
objects = {
/* Begin PBXBuildFile section */
1198207824454D980087A9D7 /* goowei_hh_config in Resources */ = {isa = PBXBuildFile; fileRef = 1198207724454D980087A9D7 /* goowei_hh_config */; };
11EE78FF241B85FE00D3AA75 /* sdk_float_logo.png in Resources */ = {isa = PBXBuildFile; fileRef = 11EE78FE241B85FE00D3AA75 /* sdk_float_logo.png */; };
11EE79022420B11200D3AA75 /* SDKInterface.m in Sources */ = {isa = PBXBuildFile; fileRef = 11EE79012420B11200D3AA75 /* SDKInterface.m */; };
269F653821B6613F006AEC88 /* HaiBaoJuheSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 269F653721B6613F006AEC88 /* HaiBaoJuheSDK.framework */; };
......@@ -28,7 +29,6 @@
8484E5121EE7E2B800B402D1 /* libz.1.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 8484E5111EE7E2B800B402D1 /* libz.1.dylib */; };
8484E5141EE7E2DE00B402D1 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8484E5131EE7E2DE00B402D1 /* Foundation.framework */; };
8484E5161EE7E36800B402D1 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8484E5151EE7E36800B402D1 /* SystemConfiguration.framework */; };
84F40F5523C87881006EE208 /* goowei_config in Resources */ = {isa = PBXBuildFile; fileRef = 84F40F5423C87881006EE208 /* goowei_config */; };
BB5F3C8E1C1811BC00DA339D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = BB5F3C8D1C1811BC00DA339D /* main.m */; };
BB5F3C971C1811BC00DA339D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = BB5F3C951C1811BC00DA339D /* Main.storyboard */; };
BB5F3CA81C1811BC00DA339D /* DemoTests.m in Sources */ = {isa = PBXBuildFile; fileRef = BB5F3CA71C1811BC00DA339D /* DemoTests.m */; };
......@@ -58,6 +58,7 @@
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
1198207724454D980087A9D7 /* goowei_hh_config */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = goowei_hh_config; path = poolsdk_file/poolsdk/goowei_hh_config; sourceTree = "<group>"; };
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>"; };
11EE79002420B11200D3AA75 /* SDKInterface.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SDKInterface.h; path = poolsdk_file/poolsdk/SDKInterface.h; sourceTree = "<group>"; };
11EE79012420B11200D3AA75 /* SDKInterface.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SDKInterface.m; path = poolsdk_file/poolsdk/SDKInterface.m; sourceTree = "<group>"; };
......@@ -84,7 +85,6 @@
8484E5111EE7E2B800B402D1 /* libz.1.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.1.dylib; path = ../../../../../../../../usr/lib/libz.1.dylib; sourceTree = "<group>"; };
8484E5131EE7E2DE00B402D1 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
8484E5151EE7E36800B402D1 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; };
84F40F5423C87881006EE208 /* goowei_config */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = goowei_config; path = poolsdk_file/poolsdk/goowei_config; sourceTree = "<group>"; };
BB5F3C881C1811BC00DA339D /* 接入DEMO.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "接入DEMO.app"; sourceTree = BUILT_PRODUCTS_DIR; };
BB5F3C8D1C1811BC00DA339D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
BB5F3C961C1811BC00DA339D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
......@@ -140,8 +140,8 @@
children = (
11EE79002420B11200D3AA75 /* SDKInterface.h */,
11EE79012420B11200D3AA75 /* SDKInterface.m */,
1198207724454D980087A9D7 /* goowei_hh_config */,
11EE78FE241B85FE00D3AA75 /* sdk_float_logo.png */,
84F40F5423C87881006EE208 /* goowei_config */,
845D181B1C8D778400F27EB9 /* Images.xcassets */,
845D181C1C8D778400F27EB9 /* Info.plist */,
);
......@@ -308,8 +308,8 @@
buildActionMask = 2147483647;
files = (
11EE78FF241B85FE00D3AA75 /* sdk_float_logo.png in Resources */,
84F40F5523C87881006EE208 /* goowei_config in Resources */,
845D18221C8D778400F27EB9 /* Images.xcassets in Resources */,
1198207824454D980087A9D7 /* goowei_hh_config in Resources */,
BB5F3C971C1811BC00DA339D /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
......
#import <Foundation/Foundation.h>
@interface BiggestGenericControlTissues : NSObject
@interface BoltonBathingControlGrape : NSObject
- (void)initGenericInstance;
- (void)initBathingInstance;
- (void) GenericStartGo;
- (void) BathingStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface BiggestGenericInformationJMTissues : NSObject
@interface BoltonBathingInformationJMGrape : NSObject
+(NSString *)GenericJM:(NSString *)jm;
+(NSString *)BathingJM:(NSString *)jm;
@end
......
#import <Foundation/Foundation.h>
extern NSString * const NelsonGenericExitNotificationLookout;
extern NSString * const CrewsGenericLoginNotificationGlimpse;
extern NSString * const LaughGenericErrorNotificationInterim;
@interface CannesGenericHuiTiaoNotificationWasted : NSObject
@end
#import "LaughGenericHaiBaoJuheBaseModelInterim.h"
@interface HaiBaoJuheCreateOrderInfo : LaughGenericHaiBaoJuheBaseModelInterim
#import "VanityBathingHaiBaoJuheBaseModelFluids.h"
@interface HaiBaoJuheCreateOrderInfo : VanityBathingHaiBaoJuheBaseModelFluids
@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 *) GenericHaiBaoJuheGetTsign ;
- (NSString *) GenericHaiBaoJuheGetTimestamp ;
- (NSString *) BathingHaiBaoJuheGetTsign ;
- (NSString *) BathingHaiBaoJuheGetTimestamp ;
@end
......
#import "LaughGenericHaiBaoJuheBaseModelInterim.h"
@interface HaiBaoJuheLoginInfo : LaughGenericHaiBaoJuheBaseModelInterim
#import "VanityBathingHaiBaoJuheBaseModelFluids.h"
@interface HaiBaoJuheLoginInfo : VanityBathingHaiBaoJuheBaseModelFluids
@property(nonatomic,strong)NSString *timestamp;
@property(nonatomic, strong)NSString *sign;
......
//
// GenericHaiBaoJuheReportInfo.h
// BathingHaiBaoJuheReportInfo.h
// HaiBaoJuheSDK
//
// Created by winFan on 12/21/15.
// Copyright (c) 2015 winFan. All rights reserved.
//
#import "LaughGenericHaiBaoJuheBaseModelInterim.h"
@interface HaiBaoJuheReportInfo : LaughGenericHaiBaoJuheBaseModelInterim
#import "VanityBathingHaiBaoJuheBaseModelFluids.h"
@interface HaiBaoJuheReportInfo : VanityBathingHaiBaoJuheBaseModelFluids
@property(nonatomic, strong)NSString *reportType;//类型
@property(nonatomic, strong)NSString *playerId;//玩家ID
......
......@@ -10,7 +10,7 @@
@property(nonatomic, strong)NSString *urlSchemes;
@property(strong) NSMutableArray* GenericList;
@property(strong) NSMutableArray* BathingList;
@property BOOL isAppleGzyazfing;
......
#import <UIKit/UIKit.h>
#import "OasisHaiBaoJuheCheckerZenith.h"
#import "XtremeHaiBaoJuheCheckerVictory.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheLoginInfo.h"
#import "Interface.h"
#import "CrewsHaiBaoJuheNotificationGlimpse.h"
#import "CrewsHaiBaoJuheGzyazfInfoGlimpse.h"
#import "ZealandHaiBaoJuheNotificationChipset.h"
#import "ZealandHaiBaoJuheGzyazfInfoChipset.h"
#import "UnionInterface.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "CrewsHaiBaoJuheConfigGlimpse.h"
#import "VeganHaiBaoJuheUtilsHelping.h"
#import "ZealandHaiBaoJuheConfigChipset.h"
#import "StrandHaiBaoJuheUtilsSqueeze.h"
#import "NetCenter.h"
#import "HaiBaoJuheSDK.h"
#import "HaiBaoJuheSDKDelegate.h"
......
#import <Foundation/Foundation.h>
@interface CannesGenericControlWasted : NSObject
@interface HusseinBathingControlVarious : NSObject
- (void)initGenericInstance;
- (void)initBathingInstance;
- (void) GenericStartGo;
- (void) BathingStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <UIKit/UIKit.h>
@interface LeaveBathingIAPHelperControlPaired : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* BathingDingDanHao;
@property(nonatomic,strong) NSDictionary* BathingHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* BathingHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *BathingHuoWuLieBiaoView;
- (void)BathingHuaQianView:(UIViewController*)controller BathingHuoWuD:(NSString*)products BathingQian:(NSString*)amount BathingHuoWuMing:(NSString*)productName BathingDingDanHao:(NSString*)DingDanHao;
@end
#import <Foundation/Foundation.h>
@interface AdvisedGenericInformationRussia : NSObject
@interface MammalsBathingInformationImmune : NSObject
{
//
NSString *openId;
......@@ -12,5 +12,5 @@ NSString *timestamp;
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
+ (AdvisedGenericInformationRussia *)getInstance;
+ (MammalsBathingInformationImmune *)getInstance;
@end
......
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface NelsonGenericAllManagerLookout : NSObject
{
NSString* GenericAPPID_;
NSString* GenericAPPKEY_;
NSString* GenericInviterCode_;
}
@property(strong) NSMutableArray* GenericList;
@property bool GenericGeiWoHuaQianBa;
+ (NelsonGenericAllManagerLookout *)PelicanGenericInstanceBatter;
- (void)AdvisedGenericChuShiHuaRussia;
- (void)VisasGenericDengLuWaters:(NSString *)GenericAPPID : (NSString *)GenericAPPKEY : (UIViewController *)controller;
- (void)BiggestGenericYangShiTissues:(NSString*)GenericLeiXing;
- (void)BiggestGenericUrlTissues:(NSString*)GenericUrl;
- (void)GenericQuery: (NSString *)GenericFuWuQiID : (NSString *)GenericNickName : (NSNumber *)GenericAmount : (NSString *)GenericCallBack : (UIViewController *)controller : (NSString *)GenericServerName;
- (void)GenericQueryOperation:(UIViewController*)controll GenericHuoWuID:(NSString*)products GenericJiaGe:(NSString*)amount GenericHuoWuMing:(NSString*)productName GenericDingDanHao:(NSString*) DingDanHao;
@end
#import <UIKit/UIKit.h>
@interface PelicanGenericIAPHelperControlBatter : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* GenericDingDanHao;
@property(nonatomic,strong) NSDictionary* GenericHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* GenericHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *GenericHuoWuLieBiaoView;
- (void)GenericHuaQianView:(UIViewController*)controller GenericHuoWuD:(NSString*)products GenericQian:(NSString*)amount GenericHuoWuMing:(NSString*)productName GenericDingDanHao:(NSString*)DingDanHao;
@end
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface SpillBathingAllManagerMother : NSObject
{
NSString* BathingAPPID_;
NSString* BathingAPPKEY_;
NSString* BathingInviterCode_;
}
@property(strong) NSMutableArray* BathingList;
@property bool BathingGeiWoHuaQianBa;
+ (SpillBathingAllManagerMother *)LeaveBathingInstancePaired;
- (void)MammalsBathingChuShiHuaImmune;
- (void)HusseinBathingDengLuVarious:(NSString *)BathingAPPID : (NSString *)BathingAPPKEY : (UIViewController *)controller;
- (void)BoltonBathingYangShiGrape:(NSString*)BathingLeiXing;
- (void)BoltonBathingUrlGrape:(NSString*)BathingUrl;
- (void)BathingQuery: (NSString *)BathingFuWuQiID : (NSString *)BathingNickName : (NSNumber *)BathingAmount : (NSString *)BathingCallBack : (UIViewController *)controller : (NSString *)BathingServerName;
- (void)BathingQueryOperation:(UIViewController*)controll BathingHuoWuID:(NSString*)products BathingJiaGe:(NSString*)amount BathingHuoWuMing:(NSString*)productName BathingDingDanHao:(NSString*) DingDanHao;
@end
......@@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel)
ELogError
};
@interface NelsonGenericHaiBaoJuheDGLoggerLookout : NSObject
@interface SpillBathingHaiBaoJuheDGLoggerMother : NSObject
+ (void)showLog:(NSString *)fmt,...;
......
#import <UIKit/UIKit.h>
#import "AdvisedGenericInformationRussia.h"
#import "MammalsBathingInformationImmune.h"
#import <JavaScriptCore/JavaScriptCore.h>
#import <WebKit/WebKit.h>
@interface VeganGenericMainHelping : UIViewController<WKNavigationDelegate,WKScriptMessageHandler>
@interface StrandBathingMainSqueeze : UIViewController<WKNavigationDelegate,WKScriptMessageHandler>
{
WKWebView *webGenericView_;
WKWebView *webBathingView_;
UIActivityIndicatorView *activityIndicator;
}
@property(assign) BOOL GenericYouYuanJiao;
@property(assign) BOOL BathingYouYuanJiao;
- (void)GenericSettingGenericView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)GenericInitWebView;
- (void)BathingSettingBathingView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)BathingInitWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
......
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface VeganHaiBaoJuheUtilsHelping : NSObject
@interface StrandHaiBaoJuheUtilsSqueeze : NSObject
+(NSString *)md5:(NSString *)str;
+ (NSDictionary *) GenericHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+ (NSDictionary *) BathingHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+(NSString *)createGzyazfOrderUrl;
//*充值回调地址
+(NSString *)CrewscreateGzyazfUrlGlimpse;
+(NSString *)ZealandcreateGzyazfUrlChipset;
+(UIActivityIndicatorView *)showLoadingDialog:(UIView*)parentView;
+(void)dismissLoadingDialog:(UIActivityIndicatorView*)indicatorView;
......
#import <Foundation/Foundation.h>
@interface CrewsGenericControlGlimpse : NSObject
@interface StuckBathingControlAnxious : NSObject
- (void)initGenericInstance;
- (void)initBathingInstance;
- (void) GenericStartGo;
- (void) BathingStartGo;
@property(strong) NSMutableArray* myarray;
......
......@@ -2,7 +2,7 @@
NS_ASSUME_NONNULL_BEGIN
@interface LaughGenericEncryptToolInterim : NSObject
@interface VanityBathingEncryptToolFluids : NSObject
+ (NSString *)base64EncodedStringWithWrapWidth:(NSUInteger)wrapWidth withData:(NSData *)argData;
......
#import <Foundation/Foundation.h>
#import "OtherSetting.h"
@interface LaughGenericHaiBaoJuheBaseModelInterim : NSObject
@interface VanityBathingHaiBaoJuheBaseModelFluids : NSObject
- (NSString *) GenericHaiBaoJuheObjectToJsonString;
- (NSString *) BathingHaiBaoJuheObjectToJsonString;
- (NSMutableString *)paramAddToString;
- (id)initWithDiction:(NSDictionary *)diction;
......
#import <Foundation/Foundation.h>
@interface NorrisGenericControlGarmin : NSObject
@interface WebcamsBathingControlAmnesty : NSObject
- (void)initGenericInstance;
- (void)initBathingInstance;
- (void) GenericStartGo;
- (void) BathingStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
extern NSString * const SpillBathingExitNotificationMother;
extern NSString * const ZealandBathingLoginNotificationChipset;
extern NSString * const VanityBathingErrorNotificationFluids;
@interface WebcamsBathingHuiTiaoNotificationAmnesty : NSObject
@end
#import <UIKit/UIKit.h>
@interface OasisGenericLocationZenith : NSObject
@interface XtremeBathingLocationVictory : NSObject
+ (NSString *)GenericSKCloudServiceSetupOptionsKey;
+ (NSString *)BathingSKCloudServiceSetupOptionsKey;
@end
......
#import <Foundation/Foundation.h>
#import "HaiBaoJuheLoginInfo.h"
#import "CrewsHaiBaoJuheNotificationGlimpse.h"
#import "ZealandHaiBaoJuheNotificationChipset.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "CrewsHaiBaoJuheGzyazfInfoGlimpse.h"
#import "ZealandHaiBaoJuheGzyazfInfoChipset.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheSDKDelegate.h"
@interface OasisHaiBaoJuheCheckerZenith : NSObject<HaiBaoJuheSDKDelegate>
@interface XtremeHaiBaoJuheCheckerVictory : NSObject<HaiBaoJuheSDKDelegate>
@property(nonatomic, strong)NSString *userId;
@property(nonatomic, strong)id<HaiBaoJuheSDKDelegate> mHaiBaoJuheSDKDelegate;
@property bool onlyOneTimeGzyazf;
+ (OasisHaiBaoJuheCheckerZenith *)NorrisgetInstanceGarmin;
+ (XtremeHaiBaoJuheCheckerVictory *)StuckgetInstanceAnxious;
- (void)initChecker;
- (void)startCheck:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) createOrder:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo;
- (void) GenericHaiBaoJuhereportOpen;
- (void) GenericHaiBaoJuhereportSDKOpen;
- (void) GenericHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) BathingHaiBaoJuhereportOpen;
- (void) BathingHaiBaoJuhereportSDKOpen;
- (void) BathingHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo;
- (void) GenericHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void) BathingHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void)sendNotice:(HaiBaoJuheSDKNotificationType)notiType
notiName:(NSString *)notiName
statusCode:(int)nCode
......@@ -28,7 +28,7 @@
- (void)startCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) GenericHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
- (void) BathingHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
/*
*初始化时调用
......
#import <Foundation/Foundation.h>
@interface VisasGenericControlWaters : NSObject
@interface ZealandBathingControlChipset : NSObject
- (void)initGenericInstance;
- (void)initBathingInstance;
- (void) GenericStartGo;
- (void) BathingStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface CrewsHaiBaoJuheConfigGlimpse : NSObject
@interface ZealandHaiBaoJuheConfigChipset : 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;
+ (CrewsHaiBaoJuheConfigGlimpse *)LaughgetInstanceInterim;
+ (ZealandHaiBaoJuheConfigChipset *)VanitygetInstanceFluids;
- (void) loadFile:(NSString *) fileName;
- (NSString *)NelsongetValueByKeyLookout:(NSString *) key;
- (NSString *)SpillgetValueByKeyMother:(NSString *) key;
- (void) updateC1C2Value:(NSString *)c1 c2:(NSString *)c2;
......
#import "LaughGenericHaiBaoJuheBaseModelInterim.h"
@interface CrewsHaiBaoJuheGzyazfInfoGlimpse : LaughGenericHaiBaoJuheBaseModelInterim
#import "VanityBathingHaiBaoJuheBaseModelFluids.h"
@interface ZealandHaiBaoJuheGzyazfInfoChipset : VanityBathingHaiBaoJuheBaseModelFluids
@property(nonatomic, strong)NSString *serverId;
@property(nonatomic, strong)NSString *queryId;
......
//
// CrewsHaiBaoJuheNotificationGlimpse.h
// ZealandHaiBaoJuheNotificationChipset.h
// public_i9133
//
// Created by winFan on 12/1/15.
......@@ -28,7 +28,7 @@ typedef NS_ENUM(int, HaiBaoJuheSDKNotificationType) {
@interface CrewsHaiBaoJuheNotificationGlimpse : NSObject
@interface ZealandHaiBaoJuheNotificationChipset : NSObject
@end
......
#include "SDKInterface.h"
#import <UIKit/UIKit.h>
#import "HaiBaoJuheSDK/NelsonGenericAllManagerLookout.h"
#import "HaiBaoJuheSDK/CannesGenericHuiTiaoNotificationWasted.h"
#import "HaiBaoJuheSDK/AdvisedGenericInformationRussia.h"
#import "HaiBaoJuheSDK/SpillBathingAllManagerMother.h"
#import "HaiBaoJuheSDK/WebcamsBathingHuiTiaoNotificationAmnesty.h"
#import "HaiBaoJuheSDK/MammalsBathingInformationImmune.h"
@implementation SDKInterface : Interface
int mExchange;
NSString *GenericAppId;
NSString *GenericAppKey;
NSString *GenericLeakOrderUrl;
NSString *BathingAppId;
NSString *BathingAppKey;
NSString *BathingLeakOrderUrl;
- (void)SDKinit:(UIViewController *) control
{
[super SDKinit:control];
[CrewsHaiBaoJuheConfigGlimpse LaughgetInstanceInterim];
[[NelsonGenericAllManagerLookout PelicanGenericInstanceBatter]AdvisedGenericChuShiHuaRussia];
[[NelsonGenericAllManagerLookout PelicanGenericInstanceBatter]BiggestGenericYangShiTissues:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:CrewsGenericLoginNotificationGlimpse object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"GenericToolCallBack" object:nil];
[ZealandHaiBaoJuheConfigChipset VanitygetInstanceFluids];
[[SpillBathingAllManagerMother LeaveBathingInstancePaired]MammalsBathingChuShiHuaImmune];
[[SpillBathingAllManagerMother LeaveBathingInstancePaired]BoltonBathingYangShiGrape:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:ZealandBathingLoginNotificationChipset object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"BathingToolCallBack" object:nil];
[[OasisHaiBaoJuheCheckerZenith NorrisgetInstanceGarmin] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
[[XtremeHaiBaoJuheCheckerVictory StuckgetInstanceAnxious] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
NSString* channelId = [[CrewsHaiBaoJuheConfigGlimpse LaughgetInstanceInterim] NelsongetValueByKeyLookout:@"gamechannelid"];
NSString* channelId = [[ZealandHaiBaoJuheConfigChipset VanitygetInstanceFluids] SpillgetValueByKeyMother:@"gamechannelid"];
if(channelId == nil || [channelId length] <= 0){
channelId = @"unknown";
}
......@@ -37,9 +37,9 @@ NSString *GenericLeakOrderUrl;
- (void)SDKloginSDK
{
//APPID APPKEY
GenericAppId = [[CrewsHaiBaoJuheConfigGlimpse LaughgetInstanceInterim] NelsongetValueByKeyLookout:@"APP_ID"];
GenericAppKey =[[CrewsHaiBaoJuheConfigGlimpse LaughgetInstanceInterim] NelsongetValueByKeyLookout:@"APP_KEY"];
[[NelsonGenericAllManagerLookout PelicanGenericInstanceBatter]VisasGenericDengLuWaters:GenericAppId :GenericAppKey :self.controller];
BathingAppId = [[ZealandHaiBaoJuheConfigChipset VanitygetInstanceFluids] SpillgetValueByKeyMother:@"APP_ID"];
BathingAppKey =[[ZealandHaiBaoJuheConfigChipset VanitygetInstanceFluids] SpillgetValueByKeyMother:@"APP_KEY"];
[[SpillBathingAllManagerMother LeaveBathingInstancePaired]HusseinBathingDengLuVarious:BathingAppId :BathingAppKey :self.controller];
}
......@@ -50,12 +50,12 @@ NSString *GenericLeakOrderUrl;
{
NSLog(@"loginchek");
HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc];
loginInfo.openId = [[AdvisedGenericInformationRussia getInstance]openId];
loginInfo.sign = [[AdvisedGenericInformationRussia getInstance] token];
loginInfo.timestamp = [[AdvisedGenericInformationRussia getInstance] timestamp];
loginInfo.openId = [[MammalsBathingInformationImmune getInstance]openId];
loginInfo.sign = [[MammalsBathingInformationImmune getInstance] token];
loginInfo.timestamp = [[MammalsBathingInformationImmune getInstance] timestamp];
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[OasisHaiBaoJuheCheckerZenith NorrisgetInstanceGarmin] startCheck:loginInfo];
[[XtremeHaiBaoJuheCheckerVictory StuckgetInstanceAnxious] startCheck:loginInfo];
});
}
......@@ -79,7 +79,7 @@ NSString *GenericLeakOrderUrl;
- (void)HCKAssetsToolCallBack:(NSNotification *)notification
{
NSDictionary* payResultDic = notification.object;
NSString* receiptStr = [payResultDic objectForKey:@"GenericToolResult"];
NSString* receiptStr = [payResultDic objectForKey:@"BathingToolResult"];
NSString* queryId = [payResultDic objectForKey:@"query_id"];
//收到回调,保存queryid和data
......@@ -98,10 +98,10 @@ NSString *GenericLeakOrderUrl;
[userDefaults setObject:receiptStr forKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:GenericLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:BathingLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
[[OasisHaiBaoJuheCheckerZenith NorrisgetInstanceGarmin] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
[[XtremeHaiBaoJuheCheckerVictory StuckgetInstanceAnxious] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
//删除已保存的
[userDefaults removeObjectForKey:queryId];
[tempQueryIdArray removeObject:queryId];
......@@ -119,11 +119,11 @@ NSString *GenericLeakOrderUrl;
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
NSString* lastqueryid = [userDefaults objectForKey:@"lastqueryid"];
GenericLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[VeganHaiBaoJuheUtilsHelping CrewscreateGzyazfUrlGlimpse],
BathingLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[StrandHaiBaoJuheUtilsSqueeze ZealandcreateGzyazfUrlChipset],
[payInfo userId],
[payInfo playerId]];
[userDefaults setObject:GenericLeakOrderUrl forKey:@"lastGenericLeakOrderUrl"];
[userDefaults setObject:BathingLeakOrderUrl forKey:@"lastBathingLeakOrderUrl"];
if (lastqueryid!=nil) {
//创建订单前进行补单
......@@ -133,7 +133,7 @@ NSString *GenericLeakOrderUrl;
receiptStr = [receiptStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
//如果不为空,进行最后一次补单
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",lastqueryid,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:GenericLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:BathingLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
//删除已保存的
[userDefaults removeObjectForKey:@"lastqueryid"];
......@@ -143,8 +143,8 @@ NSString *GenericLeakOrderUrl;
mExchange = [payInfo exchange].intValue;
[super SDKgzyazfWithGzyazfmentInfo:payInfo];
GenericLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[VeganHaiBaoJuheUtilsHelping CrewscreateGzyazfUrlGlimpse],
BathingLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[StrandHaiBaoJuheUtilsSqueeze ZealandcreateGzyazfUrlChipset],
[payInfo userId],
[payInfo playerId]];
[userDefaults synchronize];
......@@ -189,7 +189,7 @@ NSString *GenericLeakOrderUrl;
- (void)SDKlogoutSDK
{
NSLog(@"切换账号");
[[OasisHaiBaoJuheCheckerZenith NorrisgetInstanceGarmin] sendNotice:HaiBaoJuheSDKNotificationLogout notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
[[XtremeHaiBaoJuheCheckerVictory StuckgetInstanceAnxious] sendNotice:HaiBaoJuheSDKNotificationLogout notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
}
- (void)handleOpenurl:(NSURL *)url
......@@ -215,12 +215,12 @@ NSString *GenericLeakOrderUrl;
for (NSString* queryId in queryIdArray) {
NSString* receiptStr = [userDefaults valueForKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* lastGenericLeakOrderUrl = [userDefaults objectForKey:@"lastGenericLeakOrderUrl"];
NSString* lastBathingLeakOrderUrl = [userDefaults objectForKey:@"lastBathingLeakOrderUrl"];
NSString* result;
if (lastGenericLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSynFillOD:lastGenericLeakOrderUrl :receiptDic];
if (lastBathingLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSynFillOD:lastBathingLeakOrderUrl :receiptDic];
}else{
result = [[NetCenter getInstance] httpPostSynFillOD:[VeganHaiBaoJuheUtilsHelping CrewscreateGzyazfUrlGlimpse] :receiptDic];
result = [[NetCenter getInstance] httpPostSynFillOD:[StrandHaiBaoJuheUtilsSqueeze ZealandcreateGzyazfUrlChipset] :receiptDic];
}
if([@"success" isEqualToString:result]){//成功
[userDefaults removeObjectForKey:queryId];
......@@ -242,7 +242,7 @@ NSString *GenericLeakOrderUrl;
- (void)receiveCreateOrder:(NSNotification *)notification
{
NSLog(@"创建订单成功");
CrewsHaiBaoJuheGzyazfInfoGlimpse *payInfo = [notification object];
ZealandHaiBaoJuheGzyazfInfoChipset *payInfo = [notification object];
NSNumber *amount = @([[payInfo postAmount] integerValue] * mExchange);
NSString *serverId = [payInfo serverId];
......@@ -253,18 +253,13 @@ NSString *GenericLeakOrderUrl;
[self handlerLeakOrder];
});
NSString *other = [payInfo other];
if (other && [other length] > 0) {
[[NelsonGenericAllManagerLookout PelicanGenericInstanceBatter] GenericQuery: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];
[[NelsonGenericAllManagerLookout PelicanGenericInstanceBatter] GenericQueryOperation:self.controller GenericHuoWuID:products GenericJiaGe:[payInfo postAmount] GenericHuoWuMing:[payInfo productName] GenericDingDanHao:queryId];
}
[[SpillBathingAllManagerMother LeaveBathingInstancePaired] BathingQueryOperation:self.controller BathingHuoWuID:products BathingJiaGe:[payInfo postAmount] BathingHuoWuMing:[payInfo productName] BathingDingDanHao:queryId];
}
@end
......
#import <Foundation/Foundation.h>
@interface BiggestGenericControlTissues : NSObject
@interface BoltonBathingControlGrape : NSObject
- (void)initGenericInstance;
- (void)initBathingInstance;
- (void) GenericStartGo;
- (void) BathingStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface BiggestGenericInformationJMTissues : NSObject
@interface BoltonBathingInformationJMGrape : NSObject
+(NSString *)GenericJM:(NSString *)jm;
+(NSString *)BathingJM:(NSString *)jm;
@end
......
#import <Foundation/Foundation.h>
extern NSString * const NelsonGenericExitNotificationLookout;
extern NSString * const CrewsGenericLoginNotificationGlimpse;
extern NSString * const LaughGenericErrorNotificationInterim;
@interface CannesGenericHuiTiaoNotificationWasted : NSObject
@end
#import "LaughGenericHaiBaoJuheBaseModelInterim.h"
@interface HaiBaoJuheCreateOrderInfo : LaughGenericHaiBaoJuheBaseModelInterim
#import "VanityBathingHaiBaoJuheBaseModelFluids.h"
@interface HaiBaoJuheCreateOrderInfo : VanityBathingHaiBaoJuheBaseModelFluids
@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 *) GenericHaiBaoJuheGetTsign ;
- (NSString *) GenericHaiBaoJuheGetTimestamp ;
- (NSString *) BathingHaiBaoJuheGetTsign ;
- (NSString *) BathingHaiBaoJuheGetTimestamp ;
@end
......
#import "LaughGenericHaiBaoJuheBaseModelInterim.h"
@interface HaiBaoJuheLoginInfo : LaughGenericHaiBaoJuheBaseModelInterim
#import "VanityBathingHaiBaoJuheBaseModelFluids.h"
@interface HaiBaoJuheLoginInfo : VanityBathingHaiBaoJuheBaseModelFluids
@property(nonatomic,strong)NSString *timestamp;
@property(nonatomic, strong)NSString *sign;
......
//
// GenericHaiBaoJuheReportInfo.h
// BathingHaiBaoJuheReportInfo.h
// HaiBaoJuheSDK
//
// Created by winFan on 12/21/15.
// Copyright (c) 2015 winFan. All rights reserved.
//
#import "LaughGenericHaiBaoJuheBaseModelInterim.h"
@interface HaiBaoJuheReportInfo : LaughGenericHaiBaoJuheBaseModelInterim
#import "VanityBathingHaiBaoJuheBaseModelFluids.h"
@interface HaiBaoJuheReportInfo : VanityBathingHaiBaoJuheBaseModelFluids
@property(nonatomic, strong)NSString *reportType;//类型
@property(nonatomic, strong)NSString *playerId;//玩家ID
......
......@@ -10,7 +10,7 @@
@property(nonatomic, strong)NSString *urlSchemes;
@property(strong) NSMutableArray* GenericList;
@property(strong) NSMutableArray* BathingList;
@property BOOL isAppleGzyazfing;
......
#import <UIKit/UIKit.h>
#import "OasisHaiBaoJuheCheckerZenith.h"
#import "XtremeHaiBaoJuheCheckerVictory.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheLoginInfo.h"
#import "Interface.h"
#import "CrewsHaiBaoJuheNotificationGlimpse.h"
#import "CrewsHaiBaoJuheGzyazfInfoGlimpse.h"
#import "ZealandHaiBaoJuheNotificationChipset.h"
#import "ZealandHaiBaoJuheGzyazfInfoChipset.h"
#import "UnionInterface.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "CrewsHaiBaoJuheConfigGlimpse.h"
#import "VeganHaiBaoJuheUtilsHelping.h"
#import "ZealandHaiBaoJuheConfigChipset.h"
#import "StrandHaiBaoJuheUtilsSqueeze.h"
#import "NetCenter.h"
#import "HaiBaoJuheSDK.h"
#import "HaiBaoJuheSDKDelegate.h"
......
#import <Foundation/Foundation.h>
@interface CannesGenericControlWasted : NSObject
@interface HusseinBathingControlVarious : NSObject
- (void)initGenericInstance;
- (void)initBathingInstance;
- (void) GenericStartGo;
- (void) BathingStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <UIKit/UIKit.h>
@interface LeaveBathingIAPHelperControlPaired : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* BathingDingDanHao;
@property(nonatomic,strong) NSDictionary* BathingHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* BathingHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *BathingHuoWuLieBiaoView;
- (void)BathingHuaQianView:(UIViewController*)controller BathingHuoWuD:(NSString*)products BathingQian:(NSString*)amount BathingHuoWuMing:(NSString*)productName BathingDingDanHao:(NSString*)DingDanHao;
@end
#import <Foundation/Foundation.h>
@interface AdvisedGenericInformationRussia : NSObject
@interface MammalsBathingInformationImmune : NSObject
{
//
NSString *openId;
......@@ -12,5 +12,5 @@ NSString *timestamp;
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
+ (AdvisedGenericInformationRussia *)getInstance;
+ (MammalsBathingInformationImmune *)getInstance;
@end
......
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface NelsonGenericAllManagerLookout : NSObject
{
NSString* GenericAPPID_;
NSString* GenericAPPKEY_;
NSString* GenericInviterCode_;
}
@property(strong) NSMutableArray* GenericList;
@property bool GenericGeiWoHuaQianBa;
+ (NelsonGenericAllManagerLookout *)PelicanGenericInstanceBatter;
- (void)AdvisedGenericChuShiHuaRussia;
- (void)VisasGenericDengLuWaters:(NSString *)GenericAPPID : (NSString *)GenericAPPKEY : (UIViewController *)controller;
- (void)BiggestGenericYangShiTissues:(NSString*)GenericLeiXing;
- (void)BiggestGenericUrlTissues:(NSString*)GenericUrl;
- (void)GenericQuery: (NSString *)GenericFuWuQiID : (NSString *)GenericNickName : (NSNumber *)GenericAmount : (NSString *)GenericCallBack : (UIViewController *)controller : (NSString *)GenericServerName;
- (void)GenericQueryOperation:(UIViewController*)controll GenericHuoWuID:(NSString*)products GenericJiaGe:(NSString*)amount GenericHuoWuMing:(NSString*)productName GenericDingDanHao:(NSString*) DingDanHao;
@end
#import <UIKit/UIKit.h>
@interface PelicanGenericIAPHelperControlBatter : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* GenericDingDanHao;
@property(nonatomic,strong) NSDictionary* GenericHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* GenericHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *GenericHuoWuLieBiaoView;
- (void)GenericHuaQianView:(UIViewController*)controller GenericHuoWuD:(NSString*)products GenericQian:(NSString*)amount GenericHuoWuMing:(NSString*)productName GenericDingDanHao:(NSString*)DingDanHao;
@end
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface SpillBathingAllManagerMother : NSObject
{
NSString* BathingAPPID_;
NSString* BathingAPPKEY_;
NSString* BathingInviterCode_;
}
@property(strong) NSMutableArray* BathingList;
@property bool BathingGeiWoHuaQianBa;
+ (SpillBathingAllManagerMother *)LeaveBathingInstancePaired;
- (void)MammalsBathingChuShiHuaImmune;
- (void)HusseinBathingDengLuVarious:(NSString *)BathingAPPID : (NSString *)BathingAPPKEY : (UIViewController *)controller;
- (void)BoltonBathingYangShiGrape:(NSString*)BathingLeiXing;
- (void)BoltonBathingUrlGrape:(NSString*)BathingUrl;
- (void)BathingQuery: (NSString *)BathingFuWuQiID : (NSString *)BathingNickName : (NSNumber *)BathingAmount : (NSString *)BathingCallBack : (UIViewController *)controller : (NSString *)BathingServerName;
- (void)BathingQueryOperation:(UIViewController*)controll BathingHuoWuID:(NSString*)products BathingJiaGe:(NSString*)amount BathingHuoWuMing:(NSString*)productName BathingDingDanHao:(NSString*) DingDanHao;
@end
......@@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel)
ELogError
};
@interface NelsonGenericHaiBaoJuheDGLoggerLookout : NSObject
@interface SpillBathingHaiBaoJuheDGLoggerMother : NSObject
+ (void)showLog:(NSString *)fmt,...;
......
#import <UIKit/UIKit.h>
#import "AdvisedGenericInformationRussia.h"
#import "MammalsBathingInformationImmune.h"
#import <JavaScriptCore/JavaScriptCore.h>
#import <WebKit/WebKit.h>
@interface VeganGenericMainHelping : UIViewController<WKNavigationDelegate,WKScriptMessageHandler>
@interface StrandBathingMainSqueeze : UIViewController<WKNavigationDelegate,WKScriptMessageHandler>
{
WKWebView *webGenericView_;
WKWebView *webBathingView_;
UIActivityIndicatorView *activityIndicator;
}
@property(assign) BOOL GenericYouYuanJiao;
@property(assign) BOOL BathingYouYuanJiao;
- (void)GenericSettingGenericView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)GenericInitWebView;
- (void)BathingSettingBathingView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)BathingInitWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
......
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface VeganHaiBaoJuheUtilsHelping : NSObject
@interface StrandHaiBaoJuheUtilsSqueeze : NSObject
+(NSString *)md5:(NSString *)str;
+ (NSDictionary *) GenericHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+ (NSDictionary *) BathingHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+(NSString *)createGzyazfOrderUrl;
//*充值回调地址
+(NSString *)CrewscreateGzyazfUrlGlimpse;
+(NSString *)ZealandcreateGzyazfUrlChipset;
+(UIActivityIndicatorView *)showLoadingDialog:(UIView*)parentView;
+(void)dismissLoadingDialog:(UIActivityIndicatorView*)indicatorView;
......
#import <Foundation/Foundation.h>
@interface CrewsGenericControlGlimpse : NSObject
@interface StuckBathingControlAnxious : NSObject
- (void)initGenericInstance;
- (void)initBathingInstance;
- (void) GenericStartGo;
- (void) BathingStartGo;
@property(strong) NSMutableArray* myarray;
......
......@@ -2,7 +2,7 @@
NS_ASSUME_NONNULL_BEGIN
@interface LaughGenericEncryptToolInterim : NSObject
@interface VanityBathingEncryptToolFluids : NSObject
+ (NSString *)base64EncodedStringWithWrapWidth:(NSUInteger)wrapWidth withData:(NSData *)argData;
......
#import <Foundation/Foundation.h>
#import "OtherSetting.h"
@interface LaughGenericHaiBaoJuheBaseModelInterim : NSObject
@interface VanityBathingHaiBaoJuheBaseModelFluids : NSObject
- (NSString *) GenericHaiBaoJuheObjectToJsonString;
- (NSString *) BathingHaiBaoJuheObjectToJsonString;
- (NSMutableString *)paramAddToString;
- (id)initWithDiction:(NSDictionary *)diction;
......
#import <Foundation/Foundation.h>
@interface NorrisGenericControlGarmin : NSObject
@interface WebcamsBathingControlAmnesty : NSObject
- (void)initGenericInstance;
- (void)initBathingInstance;
- (void) GenericStartGo;
- (void) BathingStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
extern NSString * const SpillBathingExitNotificationMother;
extern NSString * const ZealandBathingLoginNotificationChipset;
extern NSString * const VanityBathingErrorNotificationFluids;
@interface WebcamsBathingHuiTiaoNotificationAmnesty : NSObject
@end
#import <UIKit/UIKit.h>
@interface OasisGenericLocationZenith : NSObject
@interface XtremeBathingLocationVictory : NSObject
+ (NSString *)GenericSKCloudServiceSetupOptionsKey;
+ (NSString *)BathingSKCloudServiceSetupOptionsKey;
@end
......
#import <Foundation/Foundation.h>
#import "HaiBaoJuheLoginInfo.h"
#import "CrewsHaiBaoJuheNotificationGlimpse.h"
#import "ZealandHaiBaoJuheNotificationChipset.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "CrewsHaiBaoJuheGzyazfInfoGlimpse.h"
#import "ZealandHaiBaoJuheGzyazfInfoChipset.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheSDKDelegate.h"
@interface OasisHaiBaoJuheCheckerZenith : NSObject<HaiBaoJuheSDKDelegate>
@interface XtremeHaiBaoJuheCheckerVictory : NSObject<HaiBaoJuheSDKDelegate>
@property(nonatomic, strong)NSString *userId;
@property(nonatomic, strong)id<HaiBaoJuheSDKDelegate> mHaiBaoJuheSDKDelegate;
@property bool onlyOneTimeGzyazf;
+ (OasisHaiBaoJuheCheckerZenith *)NorrisgetInstanceGarmin;
+ (XtremeHaiBaoJuheCheckerVictory *)StuckgetInstanceAnxious;
- (void)initChecker;
- (void)startCheck:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) createOrder:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo;
- (void) GenericHaiBaoJuhereportOpen;
- (void) GenericHaiBaoJuhereportSDKOpen;
- (void) GenericHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) BathingHaiBaoJuhereportOpen;
- (void) BathingHaiBaoJuhereportSDKOpen;
- (void) BathingHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo;
- (void) GenericHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void) BathingHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void)sendNotice:(HaiBaoJuheSDKNotificationType)notiType
notiName:(NSString *)notiName
statusCode:(int)nCode
......@@ -28,7 +28,7 @@
- (void)startCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) GenericHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
- (void) BathingHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
/*
*初始化时调用
......
#import <Foundation/Foundation.h>
@interface VisasGenericControlWaters : NSObject
@interface ZealandBathingControlChipset : NSObject
- (void)initGenericInstance;
- (void)initBathingInstance;
- (void) GenericStartGo;
- (void) BathingStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface CrewsHaiBaoJuheConfigGlimpse : NSObject
@interface ZealandHaiBaoJuheConfigChipset : 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;
+ (CrewsHaiBaoJuheConfigGlimpse *)LaughgetInstanceInterim;
+ (ZealandHaiBaoJuheConfigChipset *)VanitygetInstanceFluids;
- (void) loadFile:(NSString *) fileName;
- (NSString *)NelsongetValueByKeyLookout:(NSString *) key;
- (NSString *)SpillgetValueByKeyMother:(NSString *) key;
- (void) updateC1C2Value:(NSString *)c1 c2:(NSString *)c2;
......
#import "LaughGenericHaiBaoJuheBaseModelInterim.h"
@interface CrewsHaiBaoJuheGzyazfInfoGlimpse : LaughGenericHaiBaoJuheBaseModelInterim
#import "VanityBathingHaiBaoJuheBaseModelFluids.h"
@interface ZealandHaiBaoJuheGzyazfInfoChipset : VanityBathingHaiBaoJuheBaseModelFluids
@property(nonatomic, strong)NSString *serverId;
@property(nonatomic, strong)NSString *queryId;
......
//
// CrewsHaiBaoJuheNotificationGlimpse.h
// ZealandHaiBaoJuheNotificationChipset.h
// public_i9133
//
// Created by winFan on 12/1/15.
......@@ -28,7 +28,7 @@ typedef NS_ENUM(int, HaiBaoJuheSDKNotificationType) {
@interface CrewsHaiBaoJuheNotificationGlimpse : NSObject
@interface ZealandHaiBaoJuheNotificationChipset : NSObject
@end
......
#include "SDKInterface.h"
#import <UIKit/UIKit.h>
#import "HaiBaoJuheSDK/NelsonGenericAllManagerLookout.h"
#import "HaiBaoJuheSDK/CannesGenericHuiTiaoNotificationWasted.h"
#import "HaiBaoJuheSDK/AdvisedGenericInformationRussia.h"
#import "HaiBaoJuheSDK/SpillBathingAllManagerMother.h"
#import "HaiBaoJuheSDK/WebcamsBathingHuiTiaoNotificationAmnesty.h"
#import "HaiBaoJuheSDK/MammalsBathingInformationImmune.h"
@implementation SDKInterface : Interface
int mExchange;
NSString *GenericAppId;
NSString *GenericAppKey;
NSString *GenericLeakOrderUrl;
NSString *BathingAppId;
NSString *BathingAppKey;
NSString *BathingLeakOrderUrl;
- (void)SDKinit:(UIViewController *) control
{
[super SDKinit:control];
[CrewsHaiBaoJuheConfigGlimpse LaughgetInstanceInterim];
[[NelsonGenericAllManagerLookout PelicanGenericInstanceBatter]AdvisedGenericChuShiHuaRussia];
[[NelsonGenericAllManagerLookout PelicanGenericInstanceBatter]BiggestGenericYangShiTissues:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:CrewsGenericLoginNotificationGlimpse object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"GenericToolCallBack" object:nil];
[ZealandHaiBaoJuheConfigChipset VanitygetInstanceFluids];
[[SpillBathingAllManagerMother LeaveBathingInstancePaired]MammalsBathingChuShiHuaImmune];
[[SpillBathingAllManagerMother LeaveBathingInstancePaired]BoltonBathingYangShiGrape:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:ZealandBathingLoginNotificationChipset object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"BathingToolCallBack" object:nil];
[[OasisHaiBaoJuheCheckerZenith NorrisgetInstanceGarmin] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
[[XtremeHaiBaoJuheCheckerVictory StuckgetInstanceAnxious] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
NSString* channelId = [[CrewsHaiBaoJuheConfigGlimpse LaughgetInstanceInterim] NelsongetValueByKeyLookout:@"gamechannelid"];
NSString* channelId = [[ZealandHaiBaoJuheConfigChipset VanitygetInstanceFluids] SpillgetValueByKeyMother:@"gamechannelid"];
if(channelId == nil || [channelId length] <= 0){
channelId = @"unknown";
}
......@@ -37,9 +37,9 @@ NSString *GenericLeakOrderUrl;
- (void)SDKloginSDK
{
//APPID APPKEY
GenericAppId = [[CrewsHaiBaoJuheConfigGlimpse LaughgetInstanceInterim] NelsongetValueByKeyLookout:@"APP_ID"];
GenericAppKey =[[CrewsHaiBaoJuheConfigGlimpse LaughgetInstanceInterim] NelsongetValueByKeyLookout:@"APP_KEY"];
[[NelsonGenericAllManagerLookout PelicanGenericInstanceBatter]VisasGenericDengLuWaters:GenericAppId :GenericAppKey :self.controller];
BathingAppId = [[ZealandHaiBaoJuheConfigChipset VanitygetInstanceFluids] SpillgetValueByKeyMother:@"APP_ID"];
BathingAppKey =[[ZealandHaiBaoJuheConfigChipset VanitygetInstanceFluids] SpillgetValueByKeyMother:@"APP_KEY"];
[[SpillBathingAllManagerMother LeaveBathingInstancePaired]HusseinBathingDengLuVarious:BathingAppId :BathingAppKey :self.controller];
}
......@@ -50,12 +50,12 @@ NSString *GenericLeakOrderUrl;
{
NSLog(@"loginchek");
HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc];
loginInfo.openId = [[AdvisedGenericInformationRussia getInstance]openId];
loginInfo.sign = [[AdvisedGenericInformationRussia getInstance] token];
loginInfo.timestamp = [[AdvisedGenericInformationRussia getInstance] timestamp];
loginInfo.openId = [[MammalsBathingInformationImmune getInstance]openId];
loginInfo.sign = [[MammalsBathingInformationImmune getInstance] token];
loginInfo.timestamp = [[MammalsBathingInformationImmune getInstance] timestamp];
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[OasisHaiBaoJuheCheckerZenith NorrisgetInstanceGarmin] startCheck:loginInfo];
[[XtremeHaiBaoJuheCheckerVictory StuckgetInstanceAnxious] startCheck:loginInfo];
});
}
......@@ -79,7 +79,7 @@ NSString *GenericLeakOrderUrl;
- (void)HCKAssetsToolCallBack:(NSNotification *)notification
{
NSDictionary* payResultDic = notification.object;
NSString* receiptStr = [payResultDic objectForKey:@"GenericToolResult"];
NSString* receiptStr = [payResultDic objectForKey:@"BathingToolResult"];
NSString* queryId = [payResultDic objectForKey:@"query_id"];
//收到回调,保存queryid和data
......@@ -98,10 +98,10 @@ NSString *GenericLeakOrderUrl;
[userDefaults setObject:receiptStr forKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:GenericLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:BathingLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
[[OasisHaiBaoJuheCheckerZenith NorrisgetInstanceGarmin] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
[[XtremeHaiBaoJuheCheckerVictory StuckgetInstanceAnxious] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
//删除已保存的
[userDefaults removeObjectForKey:queryId];
[tempQueryIdArray removeObject:queryId];
......@@ -119,11 +119,11 @@ NSString *GenericLeakOrderUrl;
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
NSString* lastqueryid = [userDefaults objectForKey:@"lastqueryid"];
GenericLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[VeganHaiBaoJuheUtilsHelping CrewscreateGzyazfUrlGlimpse],
BathingLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[StrandHaiBaoJuheUtilsSqueeze ZealandcreateGzyazfUrlChipset],
[payInfo userId],
[payInfo playerId]];
[userDefaults setObject:GenericLeakOrderUrl forKey:@"lastGenericLeakOrderUrl"];
[userDefaults setObject:BathingLeakOrderUrl forKey:@"lastBathingLeakOrderUrl"];
if (lastqueryid!=nil) {
//创建订单前进行补单
......@@ -133,7 +133,7 @@ NSString *GenericLeakOrderUrl;
receiptStr = [receiptStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
//如果不为空,进行最后一次补单
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",lastqueryid,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:GenericLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:BathingLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
//删除已保存的
[userDefaults removeObjectForKey:@"lastqueryid"];
......@@ -143,8 +143,8 @@ NSString *GenericLeakOrderUrl;
mExchange = [payInfo exchange].intValue;
[super SDKgzyazfWithGzyazfmentInfo:payInfo];
GenericLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[VeganHaiBaoJuheUtilsHelping CrewscreateGzyazfUrlGlimpse],
BathingLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[StrandHaiBaoJuheUtilsSqueeze ZealandcreateGzyazfUrlChipset],
[payInfo userId],
[payInfo playerId]];
[userDefaults synchronize];
......@@ -189,7 +189,7 @@ NSString *GenericLeakOrderUrl;
- (void)SDKlogoutSDK
{
NSLog(@"切换账号");
[[OasisHaiBaoJuheCheckerZenith NorrisgetInstanceGarmin] sendNotice:HaiBaoJuheSDKNotificationLogout notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
[[XtremeHaiBaoJuheCheckerVictory StuckgetInstanceAnxious] sendNotice:HaiBaoJuheSDKNotificationLogout notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
}
- (void)handleOpenurl:(NSURL *)url
......@@ -215,12 +215,12 @@ NSString *GenericLeakOrderUrl;
for (NSString* queryId in queryIdArray) {
NSString* receiptStr = [userDefaults valueForKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* lastGenericLeakOrderUrl = [userDefaults objectForKey:@"lastGenericLeakOrderUrl"];
NSString* lastBathingLeakOrderUrl = [userDefaults objectForKey:@"lastBathingLeakOrderUrl"];
NSString* result;
if (lastGenericLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSynFillOD:lastGenericLeakOrderUrl :receiptDic];
if (lastBathingLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSynFillOD:lastBathingLeakOrderUrl :receiptDic];
}else{
result = [[NetCenter getInstance] httpPostSynFillOD:[VeganHaiBaoJuheUtilsHelping CrewscreateGzyazfUrlGlimpse] :receiptDic];
result = [[NetCenter getInstance] httpPostSynFillOD:[StrandHaiBaoJuheUtilsSqueeze ZealandcreateGzyazfUrlChipset] :receiptDic];
}
if([@"success" isEqualToString:result]){//成功
[userDefaults removeObjectForKey:queryId];
......@@ -242,7 +242,7 @@ NSString *GenericLeakOrderUrl;
- (void)receiveCreateOrder:(NSNotification *)notification
{
NSLog(@"创建订单成功");
CrewsHaiBaoJuheGzyazfInfoGlimpse *payInfo = [notification object];
ZealandHaiBaoJuheGzyazfInfoChipset *payInfo = [notification object];
NSNumber *amount = @([[payInfo postAmount] integerValue] * mExchange);
NSString *serverId = [payInfo serverId];
......@@ -253,18 +253,13 @@ NSString *GenericLeakOrderUrl;
[self handlerLeakOrder];
});
NSString *other = [payInfo other];
if (other && [other length] > 0) {
[[NelsonGenericAllManagerLookout PelicanGenericInstanceBatter] GenericQuery: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];
[[NelsonGenericAllManagerLookout PelicanGenericInstanceBatter] GenericQueryOperation:self.controller GenericHuoWuID:products GenericJiaGe:[payInfo postAmount] GenericHuoWuMing:[payInfo productName] GenericDingDanHao:queryId];
}
[[SpillBathingAllManagerMother LeaveBathingInstancePaired] BathingQueryOperation:self.controller BathingHuoWuID:products BathingJiaGe:[payInfo postAmount] BathingHuoWuMing:[payInfo productName] BathingDingDanHao:queryId];
}
@end
......