From be2ada40e61b26b4546ba90207dfd7b2479d422c Mon Sep 17 00:00:00 2001
From: lpw
Date: Thu, 16 May 2024 09:00:09 +0800
Subject: [PATCH] 3.18.1

---
 frameworks/WASdkIntf.framework/Headers/WACore.h |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/frameworks/WASdkIntf.framework/Headers/WACore.h b/frameworks/WASdkIntf.framework/Headers/WACore.h
index 9671bce..d1e4fe1 100644
--- a/frameworks/WASdkIntf.framework/Headers/WACore.h
+++ b/frameworks/WASdkIntf.framework/Headers/WACore.h
@@ -8,9 +8,12 @@
 
 #import <Foundation/Foundation.h>
 #import <UIKit/UIKit.h>
+NS_ASSUME_NONNULL_BEGIN
+
 @class WAParamConfigObj;
 @interface WACore : NSObject
 -(void)initialize;
+-(void)initWithCompletionHandler:(void (^_Nullable)())completionHandler;
 -(void)initAppEventTracker;
 -(void)setSDKType:(NSInteger)sdkType;
 -(NSInteger)getSDKType;
@@ -25,6 +28,12 @@
 -(void)setLevel:(int)level;
 -(int)getLevel;
 -(void)setGameUserId:(NSString*)gameUserId;
+-(void)setNickName:(NSString*)nikeName;
+-(void)setPuserName:(NSString *)puserName;
+-(void)setUserFlag:(NSString*)userFlag;
+-(NSString*)getPuserName;
+-(NSString*)getNickName;
+-(NSString*)getUserFlag;
 -(void)addLogWithString:(NSString*)string;
 -(void)addLogWithoutBtn:(NSString*)string;
 -(NSString*)getSdkVersion;
@@ -37,9 +46,19 @@
 -(NSString*)getSdkVer;
 -(NSString*)getSdkId;
 -(NSString*)getSessionId;
+-(NSString *)getPrivacyUrl;
+-(NSString *)getPrivacyUpdateTime;
+-(void)showPrivacyUI:(void(^)(BOOL isClose))handler;
+-(void)showPrivacyUITitle:(NSString*)title url:(NSString*)url handle:(void(^)(BOOL isClose))handler;
+
 -(NSString*)getDeepLinkWithUrl:(NSURL*)url;
 -(WAParamConfigObj*)getParamConfig;
 -(void)fetchDeferredAppLink:(void(^)(NSURL *url, NSError *error))handler;
 -(void)addEventContentWithString:(NSString*)string;
 -(void)eventLogWithPlatform:(NSString*)platform eventName:(NSString*)eventName parameters:(NSDictionary*)parameters color:(UIColor*)color;
+/** 检测设备是否越狱 */
+- (BOOL)isJailBreak;
+
+NS_ASSUME_NONNULL_END
+
 @end

--
Gitblit v1.8.0