xuguohong

提交乐游iOS版本

Showing 115 changed files with 371 additions and 330 deletions
No preview for this file type
......@@ -8,10 +8,9 @@
/* Begin PBXBuildFile section */
269F653821B6613F006AEC88 /* HaiBaoJuheSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 269F653721B6613F006AEC88 /* HaiBaoJuheSDK.framework */; };
26B0A92122B1E96200FBBC10 /* Hierophant.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 26B0A92022B1E96200FBBC10 /* Hierophant.framework */; };
26B0AA0C22CB4AED00FBBC10 /* SDKInterface.m in Sources */ = {isa = PBXBuildFile; fileRef = 26B0AA0B22CB4AEC00FBBC10 /* SDKInterface.m */; };
845D18221C8D778400F27EB9 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 845D181B1C8D778400F27EB9 /* Images.xcassets */; };
846BD2241EE9342700E89A1D /* hnyouai_config in Resources */ = {isa = PBXBuildFile; fileRef = 846BD21F1EE9342700E89A1D /* hnyouai_config */; };
846BD2261EE9342700E89A1D /* SDKInterface.m in Sources */ = {isa = PBXBuildFile; fileRef = 846BD2231EE9342700E89A1D /* SDKInterface.m */; };
846BD2241EE9342700E89A1D /* pt_config in Resources */ = {isa = PBXBuildFile; fileRef = 846BD21F1EE9342700E89A1D /* pt_config */; };
847EE5E21EE9007E003A4B7B /* MainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 847EE5E11EE9007E003A4B7B /* MainViewController.m */; };
8484E4F51EE7E0DC00B402D1 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 8484E4F21EE7E0DC00B402D1 /* AppDelegate.m */; };
8484E4F61EE7E0DC00B402D1 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8484E4F41EE7E0DC00B402D1 /* ViewController.m */; };
......@@ -29,7 +28,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 */; };
84A090AB1F160A69003D23FB /* TrackingIO.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 84A090AA1F160A69003D23FB /* TrackingIO.a */; };
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 */; };
......@@ -60,12 +58,11 @@
/* Begin PBXFileReference section */
269F653721B6613F006AEC88 /* HaiBaoJuheSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = HaiBaoJuheSDK.framework; sourceTree = "<group>"; };
26B0A92022B1E96200FBBC10 /* Hierophant.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Hierophant.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>"; };
845D181B1C8D778400F27EB9 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = poolsdk_file/poolsdk/Images.xcassets; sourceTree = "<group>"; };
845D181C1C8D778400F27EB9 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = poolsdk_file/poolsdk/Info.plist; sourceTree = "<group>"; };
846BD21F1EE9342700E89A1D /* hnyouai_config */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = hnyouai_config; path = poolsdk_file/poolsdk/hnyouai_config; sourceTree = "<group>"; };
846BD2221EE9342700E89A1D /* SDKInterface.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SDKInterface.h; path = poolsdk_file/poolsdk/SDKInterface.h; sourceTree = "<group>"; };
846BD2231EE9342700E89A1D /* SDKInterface.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SDKInterface.m; path = poolsdk_file/poolsdk/SDKInterface.m; sourceTree = "<group>"; };
846BD21F1EE9342700E89A1D /* pt_config */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = pt_config; path = poolsdk_file/poolsdk/pt_config; sourceTree = "<group>"; };
847EE5E01EE9007E003A4B7B /* MainViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MainViewController.h; sourceTree = "<group>"; };
847EE5E11EE9007E003A4B7B /* MainViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MainViewController.m; sourceTree = "<group>"; };
8484E4F11EE7E0DC00B402D1 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
......@@ -86,8 +83,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; };
84A090AA1F160A69003D23FB /* TrackingIO.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = TrackingIO.a; path = poolsdk_file/poolsdk/TrackingIO.a; sourceTree = "<group>"; };
84A090AC1F174E21003D23FB /* TrackingIO.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = TrackingIO.h; path = poolsdk_file/poolsdk/TrackingIO.h; 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>"; };
......@@ -104,7 +99,6 @@
files = (
8484E5161EE7E36800B402D1 /* SystemConfiguration.framework in Frameworks */,
269F653821B6613F006AEC88 /* HaiBaoJuheSDK.framework in Frameworks */,
26B0A92122B1E96200FBBC10 /* Hierophant.framework in Frameworks */,
8484E4FC1EE7E1D800B402D1 /* libsqlite3.dylib in Frameworks */,
8484E5121EE7E2B800B402D1 /* libz.1.dylib in Frameworks */,
8484E5101EE7E29A00B402D1 /* libc++.1.dylib in Frameworks */,
......@@ -118,7 +112,6 @@
8484E50A1EE7E26200B402D1 /* Security.framework in Frameworks */,
8484E5041EE7E24400B402D1 /* StoreKit.framework in Frameworks */,
8484E4FE1EE7E1F700B402D1 /* CoreTelephony.framework in Frameworks */,
84A090AB1F160A69003D23FB /* TrackingIO.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
......@@ -143,12 +136,9 @@
8476DF641C4DD71D00EC42BA /* poolsdk */ = {
isa = PBXGroup;
children = (
26B0A92022B1E96200FBBC10 /* Hierophant.framework */,
84A090AC1F174E21003D23FB /* TrackingIO.h */,
84A090AA1F160A69003D23FB /* TrackingIO.a */,
846BD21F1EE9342700E89A1D /* hnyouai_config */,
846BD2221EE9342700E89A1D /* SDKInterface.h */,
846BD2231EE9342700E89A1D /* SDKInterface.m */,
26B0AA0A22CB4AEC00FBBC10 /* SDKInterface.h */,
26B0AA0B22CB4AEC00FBBC10 /* SDKInterface.m */,
846BD21F1EE9342700E89A1D /* pt_config */,
845D181B1C8D778400F27EB9 /* Images.xcassets */,
845D181C1C8D778400F27EB9 /* Info.plist */,
);
......@@ -315,7 +305,7 @@
files = (
845D18221C8D778400F27EB9 /* Images.xcassets in Resources */,
BB5F3C971C1811BC00DA339D /* Main.storyboard in Resources */,
846BD2241EE9342700E89A1D /* hnyouai_config in Resources */,
846BD2241EE9342700E89A1D /* pt_config in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
......@@ -333,7 +323,7 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
846BD2261EE9342700E89A1D /* SDKInterface.m in Sources */,
26B0AA0C22CB4AED00FBBC10 /* SDKInterface.m in Sources */,
8484E4F51EE7E0DC00B402D1 /* AppDelegate.m in Sources */,
847EE5E21EE9007E003A4B7B /* MainViewController.m in Sources */,
BB5F3C8E1C1811BC00DA339D /* main.m in Sources */,
......@@ -465,7 +455,7 @@
BB5F3CAC1C1811BC00DA339D /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_IDENTITY = "iPhone Distribution";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
DEAD_CODE_STRIPPING = NO;
......
#import <Foundation/Foundation.h>
@interface HierophantControl : NSObject
@interface AAAA_CalendarControl_BBBB : NSObject
- (void)initHierophantInstance;
- (void)initCalendarInstance;
- (void) HierophantStartGo;
- (void) CalendarStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface HaiBaoJuheConfig : NSObject
@interface AAAA_HaiBaoJuheConfig_BBBB : 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;
+ (HaiBaoJuheConfig *)getInstance;
+ (AAAA_HaiBaoJuheConfig_BBBB *)CCCC_getInstance_DDDD;
- (void) loadFile:(NSString *) fileName;
- (NSString *)getValueByKey:(NSString *) key;
- (NSString *)EEEE_getValueByKey_FFFF:(NSString *) key;
- (void) updateC1C2Value:(NSString *)c1 c2:(NSString *)c2;
......
#import "HaiBaoJuheSDK/HierophantHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheGzyazfInfo : HierophantHaiBaoJuheBaseModel
#import "CCCC_CalendarHaiBaoJuheBaseModel_DDDD.h"
@interface AAAA_HaiBaoJuheGzyazfInfo_BBBB : CCCC_CalendarHaiBaoJuheBaseModel_DDDD
@property(nonatomic, strong)NSString *serverId;
@property(nonatomic, strong)NSString *queryId;
......
//
// HaiBaoJuheNotification.h
// AAAA_HaiBaoJuheNotification_BBBB.h
// public_i9133
//
// Created by winFan on 12/1/15.
......@@ -28,7 +28,7 @@ typedef NS_ENUM(int, HaiBaoJuheSDKNotificationType) {
@interface HaiBaoJuheNotification : NSObject
@interface AAAA_HaiBaoJuheNotification_BBBB : NSObject
@end
......
#import <Foundation/Foundation.h>
#import "OtherSetting.h"
@interface HierophantHaiBaoJuheBaseModel : NSObject
@interface CCCC_CalendarHaiBaoJuheBaseModel_DDDD : NSObject
- (NSString *) HierophantHaiBaoJuheObjectToJsonString;
- (NSString *) CalendarHaiBaoJuheObjectToJsonString;
- (NSMutableString *)paramAddToString;
- (id)initWithDiction:(NSDictionary *)diction;
......
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface EEEE_CalendarAllManager_FFFF : NSObject
{
NSString* CalendarAPPID_;
NSString* CalendarAPPKEY_;
NSString* CalendarInviterCode_;
}
@property(strong) NSMutableArray* CalendarList;
@property bool CalendarGeiWoHuaQianBa;
+ (EEEE_CalendarAllManager_FFFF *)GGGG_CalendarInstance_HHHH;
- (void)IIII_CalendarChuShiHua_JJJJ;
- (void)SSSS_CalendarDengLu_TTTT:(NSString *)CalendarAPPID : (NSString *)CalendarAPPKEY : (UIViewController *)controller;
- (void)KKKK_CalendarYangShi_LLLL:(NSString*)CalendarLeiXing;
- (void)CalendarQuery: (NSString *)CalendarFuWuQiID : (NSString *)CalendarNickName : (NSNumber *)CalendarAmount : (NSString *)CalendarCallBack : (UIViewController *)controller : (NSString *)CalendarServerName;
- (void)CalendarQueryOperation:(UIViewController*)controll CalendarHuoWuID:(NSString*)products CalendarJiaGe:(NSString*)amount CalendarHuoWuMing:(NSString*)productName CalendarDingDanHao:(NSString*) DingDanHao;
@end
......@@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel)
ELogError
};
@interface HierophantHaiBaoJuheDGLogger : NSObject
@interface EEEE_CalendarHaiBaoJuheDGLogger_FFFF : NSObject
+ (void)showLog:(NSString *)fmt,...;
......
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface EncryptTool : NSObject
+ (NSString *)base64EncodedStringWithWrapWidth:(NSUInteger)wrapWidth withData:(NSData *)argData;
+ (NSString *)doCipher:(NSString*)encryptValue;
+ (NSString *)decryptUseDES:(NSString *)cipherText;
@end
NS_ASSUME_NONNULL_END
#import <UIKit/UIKit.h>
@interface GGGG_CalendarIAPHelperControl_HHHH : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* CalendarDingDanHao;
@property(nonatomic,strong) NSDictionary* CalendarHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* CalendarHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *CalendarHuoWuLieBiaoView;
- (void)CalendarHuaQianView:(UIViewController*)controller CalendarHuoWuD:(NSString*)products CalendarQian:(NSString*)amount CalendarHuoWuMing:(NSString*)productName CalendarDingDanHao:(NSString*)DingDanHao;
@end
#import <Foundation/Foundation.h>
#import "GTMDefines.h"
@interface GTMBase64 : NSObject
+(NSData *)encodeData:(NSData *)data;
+(NSData *)decodeData:(NSData *)data;
+(NSData *)encodeBytes:(const void *)bytes length:(NSUInteger)length;
+(NSData *)decodeBytes:(const void *)bytes length:(NSUInteger)length;
+(NSString *)stringByEncodingData:(NSData *)data;
+(NSString *)stringByEncodingBytes:(const void *)bytes length:(NSUInteger)length;
+(NSData *)decodeString:(NSString *)string;
+(NSData *)webSafeEncodeData:(NSData *)data
padded:(BOOL)padded;
+(NSData *)webSafeDecodeData:(NSData *)data;
+(NSData *)webSafeEncodeBytes:(const void *)bytes
length:(NSUInteger)length
padded:(BOOL)padded;
+(NSData *)webSafeDecodeBytes:(const void *)bytes length:(NSUInteger)length;
+(NSString *)stringByWebSafeEncodingData:(NSData *)data
padded:(BOOL)padded;
+(NSString *)stringByWebSafeEncodingBytes:(const void *)bytes
length:(NSUInteger)length
padded:(BOOL)padded;
+(NSData *)webSafeDecodeString:(NSString *)string;
@end
This diff is collapsed. Click to expand it.
#import "HaiBaoJuheSDK/HierophantHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheCreateOrderInfo : HierophantHaiBaoJuheBaseModel
#import "CCCC_CalendarHaiBaoJuheBaseModel_DDDD.h"
@interface HaiBaoJuheCreateOrderInfo : CCCC_CalendarHaiBaoJuheBaseModel_DDDD
@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 *) HierophantHaiBaoJuheGetTsign ;
- (NSString *) HierophantHaiBaoJuheGetTimestamp ;
- (NSString *) CalendarHaiBaoJuheGetTsign ;
- (NSString *) CalendarHaiBaoJuheGetTimestamp ;
@end
......
#import "HaiBaoJuheSDK/HierophantHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheLoginInfo : HierophantHaiBaoJuheBaseModel
#import "CCCC_CalendarHaiBaoJuheBaseModel_DDDD.h"
@interface HaiBaoJuheLoginInfo : CCCC_CalendarHaiBaoJuheBaseModel_DDDD
@property(nonatomic,strong)NSString *timestamp;
@property(nonatomic, strong)NSString *sign;
......
//
// HierophantHaiBaoJuheReportInfo.h
// CalendarHaiBaoJuheReportInfo.h
// HaiBaoJuheSDK
//
// Created by winFan on 12/21/15.
// Copyright (c) 2015 winFan. All rights reserved.
//
#import "HaiBaoJuheSDK/HierophantHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheReportInfo : HierophantHaiBaoJuheBaseModel
#import "CCCC_CalendarHaiBaoJuheBaseModel_DDDD.h"
@interface HaiBaoJuheReportInfo : CCCC_CalendarHaiBaoJuheBaseModel_DDDD
@property(nonatomic, strong)NSString *reportType;//类型
@property(nonatomic, strong)NSString *playerId;//玩家ID
......@@ -30,9 +30,9 @@
@property(nonatomic, strong)NSString *openId;
#define REPORT_URL @"https://statistic.public.sdk.haibaoyouxi.com/sdk/statistic"
//#define REPORT_URL @"https://statistic.public.sdk.haibaoyouxi.com/sdk/statistic"
#define REPORT_IDFA_URL @"https://statistic.public.sdk.haibaoyouxi.com/sdk/last_channel?idfa=%@&sdkSimpleName=%@&gameSimpleName=%@"
//#define REPORT_IDFA_URL @"https://statistic.public.sdk.haibaoyouxi.com/sdk/last_channel?idfa=%@&sdkSimpleName=%@&gameSimpleName=%@"
#define REPORT_OPEN @"open"
#define REPORT_ENTER @"enter"
......
......@@ -10,7 +10,7 @@
@property(nonatomic, strong)NSString *urlSchemes;
@property(strong) NSMutableArray* HierophantList;
@property(strong) NSMutableArray* CalendarList;
@property BOOL isAppleGzyazfing;
......
#import <UIKit/UIKit.h>
#import "HaiBaoJuheChecker.h"
#import "OOOO_HaiBaoJuheChecker_PPPP.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheLoginInfo.h"
#import "Interface.h"
#import "HaiBaoJuheNotification.h"
#import "HaiBaoJuheGzyazfInfo.h"
#import "AAAA_HaiBaoJuheNotification_BBBB.h"
#import "AAAA_HaiBaoJuheGzyazfInfo_BBBB.h"
#import "UnionInterface.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "HaiBaoJuheConfig.h"
#import "HaiBaoJuheUtils.h"
#import "AAAA_HaiBaoJuheConfig_BBBB.h"
#import "MMMM_HaiBaoJuheUtils_NNNN.h"
#import "NetCenter.h"
#import "HaiBaoJuheSDK.h"
#import "HaiBaoJuheSDKDelegate.h"
......
#import <Foundation/Foundation.h>
@interface HierophantInformation : NSObject
@interface IIII_CalendarInformation_JJJJ : NSObject
{
//
NSString *openId;
......@@ -12,5 +12,5 @@ NSString *timestamp;
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
+ (HierophantInformation *)getInstance;
+ (IIII_CalendarInformation_JJJJ *)getInstance;
@end
......
#import <Foundation/Foundation.h>
@interface HierophantControl1 : NSObject
@interface KKKK_CalendarControl_LLLL : NSObject
- (void)initHierophantInstance;
- (void)initCalendarInstance;
- (void) HierophantStartGo;
- (void) CalendarStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface HierophantInformationJM : NSObject
@interface KKKK_CalendarInformationJM_LLLL : NSObject
+(NSString *)HierophantJM:(NSString *)jm;
+(NSString *)CalendarJM:(NSString *)jm;
@end
......
#import <UIKit/UIKit.h>
#import "HierophantInformation.h"
#import "IIII_CalendarInformation_JJJJ.h"
#import <JavaScriptCore/JavaScriptCore.h>
@interface HierophantMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
@interface MMMM_CalendarMain_NNNN : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
{
UIWebView *webHierophantView_;
UIWebView *webCalendarView_;
UIActivityIndicatorView *activityIndicator;
}
@property(assign) BOOL HierophantYouYuanJiao;
@property(assign) BOOL CalendarYouYuanJiao;
- (void)HierophantSettingHierophantView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)HierophantInitWebView;
- (void)CalendarSettingCalendarView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)CalendarInitWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
......
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface HaiBaoJuheUtils : NSObject
@interface MMMM_HaiBaoJuheUtils_NNNN : NSObject
+(NSString *)md5:(NSString *)str;
+ (NSDictionary *) HierophantHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+ (NSDictionary *) CalendarHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+(NSString *)createGzyazfOrderUrl;
//*充值回调地址
+(NSString *)createGzyazfUrl;
+(NSString *)AAAA_createGzyazfUrl_BBBB;
+(UIActivityIndicatorView *)showLoadingDialog:(UIView*)parentView;
+(void)dismissLoadingDialog:(UIActivityIndicatorView*)indicatorView;
......
#import <UIKit/UIKit.h>
@interface HierophantLocation : NSObject
@interface OOOO_CalendarLocation_PPPP : NSObject
+ (NSString *)HierophantSKCloudServiceSetupOptionsKey;
+ (NSString *)CalendarSKCloudServiceSetupOptionsKey;
@end
......
#import <Foundation/Foundation.h>
#import "HaiBaoJuheSDK/HaiBaoJuheLoginInfo.h"
#import "HaiBaoJuheSDK/HaiBaoJuheNotification.h"
#import "HaiBaoJuheSDK/HaiBaoJuheCreateOrderInfo.h"
#import "HaiBaoJuheSDK/HaiBaoJuheGzyazfInfo.h"
#import "HaiBaoJuheLoginInfo.h"
#import "AAAA_HaiBaoJuheNotification_BBBB.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "AAAA_HaiBaoJuheGzyazfInfo_BBBB.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheSDKDelegate.h"
@interface HaiBaoJuheChecker : NSObject<HaiBaoJuheSDKDelegate>
@interface OOOO_HaiBaoJuheChecker_PPPP : NSObject<HaiBaoJuheSDKDelegate>
@property(nonatomic, strong)NSString *userId;
@property(nonatomic, strong)id<HaiBaoJuheSDKDelegate> mHaiBaoJuheSDKDelegate;
@property bool onlyOneTimeGzyazf;
+ (HaiBaoJuheChecker *)getInstance;
+ (OOOO_HaiBaoJuheChecker_PPPP *)QQQQ_getInstance_RRRR;
- (void)initChecker;
- (void)startCheck:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) createOrder:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo;
- (void) HierophantHaiBaoJuhereportOpen;
- (void) HierophantHaiBaoJuhereportSDKOpen;
- (void) HierophantHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) CalendarHaiBaoJuhereportOpen;
- (void) CalendarHaiBaoJuhereportSDKOpen;
- (void) CalendarHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo;
- (void) HierophantHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void) CalendarHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void)sendNotice:(HaiBaoJuheSDKNotificationType)notiType
notiName:(NSString *)notiName
statusCode:(int)nCode
......@@ -28,7 +28,7 @@
- (void)startCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) HierophantHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
- (void) CalendarHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
/*
*初始化时调用
......
#import <Foundation/Foundation.h>
@interface HierophantControl2 : NSObject
@interface QQQQ_CalendarControl_RRRR : NSObject
- (void)initHierophantInstance;
- (void)initCalendarInstance;
- (void) HierophantStartGo;
- (void) CalendarStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface HierophantControl3 : NSObject
@interface SSSS_CalendarControl_TTTT : NSObject
- (void)initHierophantInstance;
- (void)initCalendarInstance;
- (void) HierophantStartGo;
- (void) CalendarStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface HierophantControl4 : NSObject
@interface UUUU_CalendarControl_VVVV : NSObject
- (void)initHierophantInstance;
- (void)initCalendarInstance;
- (void) HierophantStartGo;
- (void) CalendarStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
extern NSString * const EEEE_CalendarExitNotification_FFFF;
extern NSString * const AAAA_CalendarLoginNotification_BBBB;
extern NSString * const CCCC_CalendarErrorNotification_DDDD;
@interface UUUU_CalendarHuiTiaoNotification_VVVV : NSObject
@end
framework module HaiBaoJuheSDK {
umbrella header "HaiBaoJuheSDK.h"
export *
module * { export * }
}
......@@ -104,13 +104,13 @@ NSString* sdkUserId = @"";
[payInfo setPlayerName:@"iamrolename"];
[payInfo setPlayerLevel:@"10"];
[payInfo setUserId:sdkUserId];
[payInfo setPostAmount:@"1"];
[payInfo setProductId:@"com.xiongdi.xunqinji.6"];
[payInfo setPostAmount:@"6"];
[payInfo setProductId:@"com.gzss.rsrzrcj.6"];
[payInfo setPlayerId:@"1231241234"];
[payInfo setProductName:@"com.xiongdi.xunqinji.6"];
[payInfo setProductName:@"60金币"];
[payInfo setProductDesc:@"productDes"];
[payInfo setTimestamp:@"1232134"];
[payInfo setExchange:@"1"];
[payInfo setExchange:@"10"];
[payInfo setServerName:@"servername"];
[payInfo setCustom:@"custom"];
[[HaiBaoJuheSDK shareSDK] gzyazfWithGzyazfmentInfo:payInfo];
......
......@@ -95,7 +95,7 @@
- (void)receiveSDKMessage:(NSNotification *)notification
{
NSLog(@"receiveSDKMessage");
[[HaiBaoJuheConfig getInstance] getValueByKey:@"gamechannelid"];
//[[HaiBaoJuheConfig getInstance] getValueByKey:@"gamechannelid"];
HaiBaoJuheSDKResult *result = [notification object];
if (result == nil ) {
return;
......
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface HierophantAllManager : NSObject
{
NSString* HierophantAPPID_;
NSString* HierophantAPPKEY_;
NSString* HierophantInviterCode_;
}
@property(strong) NSMutableArray* HierophantList;
@property bool HierophantGeiWoHuaQianBa;
+ (HierophantAllManager *)HierophantInstance;
- (void)HierophantChuShiHua;
- (void)HierophantDengLu:(NSString *)HierophantAPPID : (NSString *)HierophantAPPKEY : (UIViewController *)controller;
- (void)HierophantYangShi:(NSString*)HierophantLeiXing;
- (void)HierophantQuery: (NSString *)HierophantFuWuQiID : (NSString *)HierophantNickName : (NSNumber *)HierophantAmount : (NSString *)HierophantCallBack : (UIViewController *)controller : (NSString *)HierophantServerName;
- (void)HierophantQueryOperation:(UIViewController*)controll HierophantHuoWuID:(NSString*)products HierophantJiaGe:(NSString*)amount HierophantHuoWuMing:(NSString*)productName HierophantDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
extern NSString * const HierophantExitNotification;
extern NSString * const HierophantLoginNotification;
extern NSString * const HierophantErrorNotification;
@interface HierophantHuiTiaoNotification : NSObject
@end
#import <UIKit/UIKit.h>
@interface HierophantIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* HierophantDingDanHao;
@property(nonatomic,strong) NSDictionary* HierophantHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* HierophantHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *HierophantHuoWuLieBiaoView;
- (void)HierophantHuaQianView:(UIViewController*)controller HierophantHuoWuD:(NSString*)products HierophantQian:(NSString*)amount HierophantHuoWuMing:(NSString*)productName HierophantDingDanHao:(NSString*)DingDanHao;
@end
channelRootPath = "poolsdk_file"
gameProjName = 'Demo'
\ No newline at end of file
No preview for this file type
This diff is collapsed. Click to expand it.
No preview for this file type
import os
import commands
buildProjName = ''
targetName = ''
import shutil
import os
def buildProj():
if buildProjName == '':
print('buildProjName is not define')
else:
#build project
print('start build proj')
commands.getstatusoutput('xcodebuild -project ' + buildProjName + '.xcodeproj')
releaseDir = os.path.abspath('.') + '/Release'
if not os.path.exists(releaseDir):
os.mkdir(releaseDir)
ipaPath = releaseDir + '/' + buildProjName + '-Release.ipa'
buildPath = os.path.abspath('.') + '/build'
if os.path.exists(ipaPath):
os.remove(ipaPath)
resultStr = commands.getstatusoutput('xcrun -sdk iphoneos PackageApplication -v build/Release-iphoneos/' + targetName + '.app -o ' +ipaPath)
#print(resultStr)
if os.path.exists(buildPath):
shutil.rmtree(buildPath)
No preview for this file type
......@@ -5,7 +5,7 @@
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>海南游爱DEMO</string>
<string>神手DEMO</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
......@@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.1.408</string>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
......
//
// NewTtack.h
// NewTtack
//
// Created by yun on 16/1/11.
// Copyright © 2016年 yun. All rights reserved.
//
#define TRACK_VERSION @"1.0.1"
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
/*
热云移动广告效果监测 平台 api 请选择对应的api进行使用
*/
NS_ASSUME_NONNULL_BEGIN
@interface TrackingIO : NSObject
//开启打印日志 正式上线包请关掉
+(void) setPrintLog :(BOOL)print;
// 开启数据统计
+ (void)initWithappKey:(NSString *)appKey withChannelId:(NSString *)channelId;
//注册成功后调用
+ (void)setRegisterWithAccountID:(NSString *)account;
//登陆成功后调用
+ (void)setLoginWithAccountID:(NSString *)account;
//开始付费时 调用(人民币单位是元)
+(void)setPaymentStart:(NSString *)transactionId paymentType:(NSString*)paymentType currentType:(NSString*)currencyType currencyAmount:(float)currencyAmount;
// 支付完成,付费分析,记录玩家充值的金额(人民币单位是元)
+(void)setPayment:(NSString *)transactionId paymentType:(NSString*)paymentType currentType:(NSString*)currencyType currencyAmount:(float)currencyAmount;
//自定义事件
+(void)setEvent:(NSString *)eventName andExtra:(nullable NSDictionary *)extra;
//标准接口
+(void)setProfile:(NSDictionary *)dataDic;
//获取设备信息
+(NSString*)getDeviceId;
@end
NS_ASSUME_NONNULL_END
{"renyunAppKey": "", "payorderurl": "https://public.sdk.haibaoyouxi.com/paycheck/create", "usertype": 527, "sdkSimpleName": "apple_hainanyouai", "gamechannelid": "", "APP_KEY": "3ffc998a226aded345f668fe3b6d1f39", "custom": "{}", "sdkVersionCode": "V1_2", "loginCheckUrl": "https://public.sdk.haibaoyouxi.com/logincheck/check", "appScheme": "com.IOshv.hlTcv", "c2": "", "c1": "", "APP_ID": "5c6e4b4448d88d469e322b8a", "paycheckurl": "https://public.sdk.haibaoyouxi.com/paycheck/confirm", "gameSimpleName": "dqqmzz"}
{"payorderurl": "https://pay.public.hkleyougame.com/paycheck/create", "usertype": 5, "sdkSimpleName": "apple_leyou", "gamechannelid": "", "APP_KEY": "b1b13ca8609d29036ceae3c565647d6a", "custom": "{}","logReportUrl": "https://statistic.public.hkleyougame.com/sdk/statistic", "encode": "0", "sdkVersionCode": "V1_2", "loginCheckUrl": "https://login.public.hkleyougame.com/logincheck/check", "appScheme": "com.xxx.xxx11", "descode": "12345678", "c2": "", "c1": "", "APP_ID": "5cecee0487192a3460670102", "paycheckurl": "https://pay.public.hkleyougame.com/paycheck/confirm", "gameSimpleName": "fytx_test"}
#海外SDK
\ No newline at end of file
新接入请参考对接文档和demo<br>
## 曾接入公共SDK的快速更新 聚合SDK <br>
1、``` 删除poolsdk_file文件夹中原来framework ``` <br>
3、``` 替换SDKInterface.m文件 ``` <br>
4、``` 删除 PoolSdk.framework ``` <br>
5、``` 引入HaiBaoJuheSDK.framework ``` <br>
6、``` 原pool_setting文件 替换成新 pt_config 文件 ``` <br>
7、``` 所有接口PoolSdk 替换成 HaiBaoJuheSDK(如不理解可以参考demo或者详细文档) ```
\ No newline at end of file
......
No preview for this file type
channelRootPath = "poolsdk_file"
gameProjName = 'Demo'
\ No newline at end of file
This diff is collapsed. Click to expand it.
import os
import commands
buildProjName = ''
targetName = ''
import shutil
import os
def buildProj():
if buildProjName == '':
print('buildProjName is not define')
else:
#build project
print('start build proj')
commands.getstatusoutput('xcodebuild -project ' + buildProjName + '.xcodeproj')
releaseDir = os.path.abspath('.') + '/Release'
if not os.path.exists(releaseDir):
os.mkdir(releaseDir)
ipaPath = releaseDir + '/' + buildProjName + '-Release.ipa'
buildPath = os.path.abspath('.') + '/build'
if os.path.exists(ipaPath):
os.remove(ipaPath)
resultStr = commands.getstatusoutput('xcrun -sdk iphoneos PackageApplication -v build/Release-iphoneos/' + targetName + '.app -o ' +ipaPath)
#print(resultStr)
if os.path.exists(buildPath):
shutil.rmtree(buildPath)
No preview for this file type
No preview for this file type
#import <Foundation/Foundation.h>
@interface HierophantControl : NSObject
@interface AAAA_CalendarControl_BBBB : NSObject
- (void)initHierophantInstance;
- (void)initCalendarInstance;
- (void) HierophantStartGo;
- (void) CalendarStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface HaiBaoJuheConfig : NSObject
@interface AAAA_HaiBaoJuheConfig_BBBB : 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;
+ (HaiBaoJuheConfig *)getInstance;
+ (AAAA_HaiBaoJuheConfig_BBBB *)CCCC_getInstance_DDDD;
- (void) loadFile:(NSString *) fileName;
- (NSString *)getValueByKey:(NSString *) key;
- (NSString *)EEEE_getValueByKey_FFFF:(NSString *) key;
- (void) updateC1C2Value:(NSString *)c1 c2:(NSString *)c2;
......
#import "HaiBaoJuheSDK/HierophantHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheGzyazfInfo : HierophantHaiBaoJuheBaseModel
#import "CCCC_CalendarHaiBaoJuheBaseModel_DDDD.h"
@interface AAAA_HaiBaoJuheGzyazfInfo_BBBB : CCCC_CalendarHaiBaoJuheBaseModel_DDDD
@property(nonatomic, strong)NSString *serverId;
@property(nonatomic, strong)NSString *queryId;
......
//
// HaiBaoJuheNotification.h
// AAAA_HaiBaoJuheNotification_BBBB.h
// public_i9133
//
// Created by winFan on 12/1/15.
......@@ -28,7 +28,7 @@ typedef NS_ENUM(int, HaiBaoJuheSDKNotificationType) {
@interface HaiBaoJuheNotification : NSObject
@interface AAAA_HaiBaoJuheNotification_BBBB : NSObject
@end
......
#import <Foundation/Foundation.h>
#import "OtherSetting.h"
@interface HierophantHaiBaoJuheBaseModel : NSObject
@interface CCCC_CalendarHaiBaoJuheBaseModel_DDDD : NSObject
- (NSString *) HierophantHaiBaoJuheObjectToJsonString;
- (NSString *) CalendarHaiBaoJuheObjectToJsonString;
- (NSMutableString *)paramAddToString;
- (id)initWithDiction:(NSDictionary *)diction;
......
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface EEEE_CalendarAllManager_FFFF : NSObject
{
NSString* CalendarAPPID_;
NSString* CalendarAPPKEY_;
NSString* CalendarInviterCode_;
}
@property(strong) NSMutableArray* CalendarList;
@property bool CalendarGeiWoHuaQianBa;
+ (EEEE_CalendarAllManager_FFFF *)GGGG_CalendarInstance_HHHH;
- (void)IIII_CalendarChuShiHua_JJJJ;
- (void)SSSS_CalendarDengLu_TTTT:(NSString *)CalendarAPPID : (NSString *)CalendarAPPKEY : (UIViewController *)controller;
- (void)KKKK_CalendarYangShi_LLLL:(NSString*)CalendarLeiXing;
- (void)CalendarQuery: (NSString *)CalendarFuWuQiID : (NSString *)CalendarNickName : (NSNumber *)CalendarAmount : (NSString *)CalendarCallBack : (UIViewController *)controller : (NSString *)CalendarServerName;
- (void)CalendarQueryOperation:(UIViewController*)controll CalendarHuoWuID:(NSString*)products CalendarJiaGe:(NSString*)amount CalendarHuoWuMing:(NSString*)productName CalendarDingDanHao:(NSString*) DingDanHao;
@end
......@@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel)
ELogError
};
@interface HierophantHaiBaoJuheDGLogger : NSObject
@interface EEEE_CalendarHaiBaoJuheDGLogger_FFFF : NSObject
+ (void)showLog:(NSString *)fmt,...;
......
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface EncryptTool : NSObject
+ (NSString *)base64EncodedStringWithWrapWidth:(NSUInteger)wrapWidth withData:(NSData *)argData;
+ (NSString *)doCipher:(NSString*)encryptValue;
+ (NSString *)decryptUseDES:(NSString *)cipherText;
@end
NS_ASSUME_NONNULL_END
#import <UIKit/UIKit.h>
@interface GGGG_CalendarIAPHelperControl_HHHH : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* CalendarDingDanHao;
@property(nonatomic,strong) NSDictionary* CalendarHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* CalendarHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *CalendarHuoWuLieBiaoView;
- (void)CalendarHuaQianView:(UIViewController*)controller CalendarHuoWuD:(NSString*)products CalendarQian:(NSString*)amount CalendarHuoWuMing:(NSString*)productName CalendarDingDanHao:(NSString*)DingDanHao;
@end
#import <Foundation/Foundation.h>
#import "GTMDefines.h"
@interface GTMBase64 : NSObject
+(NSData *)encodeData:(NSData *)data;
+(NSData *)decodeData:(NSData *)data;
+(NSData *)encodeBytes:(const void *)bytes length:(NSUInteger)length;
+(NSData *)decodeBytes:(const void *)bytes length:(NSUInteger)length;
+(NSString *)stringByEncodingData:(NSData *)data;
+(NSString *)stringByEncodingBytes:(const void *)bytes length:(NSUInteger)length;
+(NSData *)decodeString:(NSString *)string;
+(NSData *)webSafeEncodeData:(NSData *)data
padded:(BOOL)padded;
+(NSData *)webSafeDecodeData:(NSData *)data;
+(NSData *)webSafeEncodeBytes:(const void *)bytes
length:(NSUInteger)length
padded:(BOOL)padded;
+(NSData *)webSafeDecodeBytes:(const void *)bytes length:(NSUInteger)length;
+(NSString *)stringByWebSafeEncodingData:(NSData *)data
padded:(BOOL)padded;
+(NSString *)stringByWebSafeEncodingBytes:(const void *)bytes
length:(NSUInteger)length
padded:(BOOL)padded;
+(NSData *)webSafeDecodeString:(NSString *)string;
@end
This diff is collapsed. Click to expand it.
#import "HaiBaoJuheSDK/HierophantHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheCreateOrderInfo : HierophantHaiBaoJuheBaseModel
#import "CCCC_CalendarHaiBaoJuheBaseModel_DDDD.h"
@interface HaiBaoJuheCreateOrderInfo : CCCC_CalendarHaiBaoJuheBaseModel_DDDD
@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 *) HierophantHaiBaoJuheGetTsign ;
- (NSString *) HierophantHaiBaoJuheGetTimestamp ;
- (NSString *) CalendarHaiBaoJuheGetTsign ;
- (NSString *) CalendarHaiBaoJuheGetTimestamp ;
@end
......
#import "HaiBaoJuheSDK/HierophantHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheLoginInfo : HierophantHaiBaoJuheBaseModel
#import "CCCC_CalendarHaiBaoJuheBaseModel_DDDD.h"
@interface HaiBaoJuheLoginInfo : CCCC_CalendarHaiBaoJuheBaseModel_DDDD
@property(nonatomic,strong)NSString *timestamp;
@property(nonatomic, strong)NSString *sign;
......
//
// HierophantHaiBaoJuheReportInfo.h
// CalendarHaiBaoJuheReportInfo.h
// HaiBaoJuheSDK
//
// Created by winFan on 12/21/15.
// Copyright (c) 2015 winFan. All rights reserved.
//
#import "HaiBaoJuheSDK/HierophantHaiBaoJuheBaseModel.h"
@interface HaiBaoJuheReportInfo : HierophantHaiBaoJuheBaseModel
#import "CCCC_CalendarHaiBaoJuheBaseModel_DDDD.h"
@interface HaiBaoJuheReportInfo : CCCC_CalendarHaiBaoJuheBaseModel_DDDD
@property(nonatomic, strong)NSString *reportType;//类型
@property(nonatomic, strong)NSString *playerId;//玩家ID
......@@ -30,9 +30,9 @@
@property(nonatomic, strong)NSString *openId;
#define REPORT_URL @"https://statistic.public.sdk.haibaoyouxi.com/sdk/statistic"
//#define REPORT_URL @"https://statistic.public.sdk.haibaoyouxi.com/sdk/statistic"
#define REPORT_IDFA_URL @"https://statistic.public.sdk.haibaoyouxi.com/sdk/last_channel?idfa=%@&sdkSimpleName=%@&gameSimpleName=%@"
//#define REPORT_IDFA_URL @"https://statistic.public.sdk.haibaoyouxi.com/sdk/last_channel?idfa=%@&sdkSimpleName=%@&gameSimpleName=%@"
#define REPORT_OPEN @"open"
#define REPORT_ENTER @"enter"
......
......@@ -10,7 +10,7 @@
@property(nonatomic, strong)NSString *urlSchemes;
@property(strong) NSMutableArray* HierophantList;
@property(strong) NSMutableArray* CalendarList;
@property BOOL isAppleGzyazfing;
......
#import <UIKit/UIKit.h>
#import "HaiBaoJuheChecker.h"
#import "OOOO_HaiBaoJuheChecker_PPPP.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheLoginInfo.h"
#import "Interface.h"
#import "HaiBaoJuheNotification.h"
#import "HaiBaoJuheGzyazfInfo.h"
#import "AAAA_HaiBaoJuheNotification_BBBB.h"
#import "AAAA_HaiBaoJuheGzyazfInfo_BBBB.h"
#import "UnionInterface.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "HaiBaoJuheConfig.h"
#import "HaiBaoJuheUtils.h"
#import "AAAA_HaiBaoJuheConfig_BBBB.h"
#import "MMMM_HaiBaoJuheUtils_NNNN.h"
#import "NetCenter.h"
#import "HaiBaoJuheSDK.h"
#import "HaiBaoJuheSDKDelegate.h"
......
#import <Foundation/Foundation.h>
@interface HierophantInformation : NSObject
@interface IIII_CalendarInformation_JJJJ : NSObject
{
//
NSString *openId;
......@@ -12,5 +12,5 @@ NSString *timestamp;
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
+ (HierophantInformation *)getInstance;
+ (IIII_CalendarInformation_JJJJ *)getInstance;
@end
......
#import <Foundation/Foundation.h>
@interface HierophantControl1 : NSObject
@interface KKKK_CalendarControl_LLLL : NSObject
- (void)initHierophantInstance;
- (void)initCalendarInstance;
- (void) HierophantStartGo;
- (void) CalendarStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface HierophantInformationJM : NSObject
@interface KKKK_CalendarInformationJM_LLLL : NSObject
+(NSString *)HierophantJM:(NSString *)jm;
+(NSString *)CalendarJM:(NSString *)jm;
@end
......
#import <UIKit/UIKit.h>
#import "HierophantInformation.h"
#import "IIII_CalendarInformation_JJJJ.h"
#import <JavaScriptCore/JavaScriptCore.h>
@interface HierophantMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
@interface MMMM_CalendarMain_NNNN : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
{
UIWebView *webHierophantView_;
UIWebView *webCalendarView_;
UIActivityIndicatorView *activityIndicator;
}
@property(assign) BOOL HierophantYouYuanJiao;
@property(assign) BOOL CalendarYouYuanJiao;
- (void)HierophantSettingHierophantView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)HierophantInitWebView;
- (void)CalendarSettingCalendarView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)CalendarInitWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
......
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface HaiBaoJuheUtils : NSObject
@interface MMMM_HaiBaoJuheUtils_NNNN : NSObject
+(NSString *)md5:(NSString *)str;
+ (NSDictionary *) HierophantHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+ (NSDictionary *) CalendarHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+(NSString *)createGzyazfOrderUrl;
//*充值回调地址
+(NSString *)createGzyazfUrl;
+(NSString *)AAAA_createGzyazfUrl_BBBB;
+(UIActivityIndicatorView *)showLoadingDialog:(UIView*)parentView;
+(void)dismissLoadingDialog:(UIActivityIndicatorView*)indicatorView;
......
#import <UIKit/UIKit.h>
@interface HierophantLocation : NSObject
@interface OOOO_CalendarLocation_PPPP : NSObject
+ (NSString *)HierophantSKCloudServiceSetupOptionsKey;
+ (NSString *)CalendarSKCloudServiceSetupOptionsKey;
@end
......
#import <Foundation/Foundation.h>
#import "HaiBaoJuheSDK/HaiBaoJuheLoginInfo.h"
#import "HaiBaoJuheSDK/HaiBaoJuheNotification.h"
#import "HaiBaoJuheSDK/HaiBaoJuheCreateOrderInfo.h"
#import "HaiBaoJuheSDK/HaiBaoJuheGzyazfInfo.h"
#import "HaiBaoJuheLoginInfo.h"
#import "AAAA_HaiBaoJuheNotification_BBBB.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "AAAA_HaiBaoJuheGzyazfInfo_BBBB.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheSDKDelegate.h"
@interface HaiBaoJuheChecker : NSObject<HaiBaoJuheSDKDelegate>
@interface OOOO_HaiBaoJuheChecker_PPPP : NSObject<HaiBaoJuheSDKDelegate>
@property(nonatomic, strong)NSString *userId;
@property(nonatomic, strong)id<HaiBaoJuheSDKDelegate> mHaiBaoJuheSDKDelegate;
@property bool onlyOneTimeGzyazf;
+ (HaiBaoJuheChecker *)getInstance;
+ (OOOO_HaiBaoJuheChecker_PPPP *)QQQQ_getInstance_RRRR;
- (void)initChecker;
- (void)startCheck:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) createOrder:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo;
- (void) HierophantHaiBaoJuhereportOpen;
- (void) HierophantHaiBaoJuhereportSDKOpen;
- (void) HierophantHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) CalendarHaiBaoJuhereportOpen;
- (void) CalendarHaiBaoJuhereportSDKOpen;
- (void) CalendarHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo;
- (void) HierophantHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void) CalendarHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void)sendNotice:(HaiBaoJuheSDKNotificationType)notiType
notiName:(NSString *)notiName
statusCode:(int)nCode
......@@ -28,7 +28,7 @@
- (void)startCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) HierophantHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
- (void) CalendarHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
/*
*初始化时调用
......
#import <Foundation/Foundation.h>
@interface HierophantControl2 : NSObject
@interface QQQQ_CalendarControl_RRRR : NSObject
- (void)initHierophantInstance;
- (void)initCalendarInstance;
- (void) HierophantStartGo;
- (void) CalendarStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface HierophantControl3 : NSObject
@interface SSSS_CalendarControl_TTTT : NSObject
- (void)initHierophantInstance;
- (void)initCalendarInstance;
- (void) HierophantStartGo;
- (void) CalendarStartGo;
@property(strong) NSMutableArray* myarray;
......
No preview for this file type
This diff is collapsed. Click to expand it.
No preview for this file type
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.