From 45ad02909f31e1a2ec3889bfc2ff6961317c721c Mon Sep 17 00:00:00 2001
From: lpw
Date: Wed, 26 Jun 2024 17:07:04 +0800
Subject: [PATCH] 提交2.9.1

---
 frameworks/WASdkIntf.framework/Headers/WAUserProxy.h |  113 +++++++++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 107 insertions(+), 6 deletions(-)

diff --git a/frameworks/WASdkIntf.framework/Headers/WAUserProxy.h b/frameworks/WASdkIntf.framework/Headers/WAUserProxy.h
index 3b6c9f8..d2b5a56 100644
--- a/frameworks/WASdkIntf.framework/Headers/WAUserProxy.h
+++ b/frameworks/WASdkIntf.framework/Headers/WAUserProxy.h
@@ -8,12 +8,22 @@
 
 #import <Foundation/Foundation.h>
 #import <UIKit/UIKit.h>
-#import "WALoginResult.h"
-#import "WABindingResult.h"
-#import "WAAccount.h"
-#import "WAUserCenterResult.h"
-#import "WAAppUser.h"
-#import "WACertificationInfo.h"
+#import <WASdkIntf/WALoginResult.h>
+#import <WASdkIntf/WABindingResult.h>
+#import <WASdkIntf/WAAccount.h>
+#import <WASdkIntf/WAUserCenterResult.h>
+#import <WASdkIntf/WAAppUser.h>
+#import <WASdkIntf/WACertificationInfo.h>
+#import <WASdkIntf/WADeleteRequestModel.h>
+#import <WASdkIntf/WADeleteResult.h>
+
+typedef NS_ENUM(NSInteger, OpenGameReviewState) {
+    OpenGameReviewStateReject=0,           //游戏评价结果:不,谢谢!
+    OpenGameReviewStateOpenAiHelp,       //游戏评价结果:我要提意见
+    OpenGameReviewStateOpentReview,       //游戏评价结果:提交好评(无法获取用户是否点击评分以及具体的评分分数)
+    OpenGameReviewStateError            //打开游戏评价失败,后台没有开启游戏评价开关
+
+};
 /*!
  @discussion 登录协议
  - - -
@@ -298,6 +308,27 @@
  sourceApplication:(NSString *)sourceApplication
         annotation:(id)annotation;
 
+
+
+//当一个新的场景被创建时调用,可以在这个方法中配置场景。
+- (void)scene:(UIScene *)scene willConnectToSession:(UISceneSession *)session options:(UISceneConnectionOptions *)connectionOptions API_AVAILABLE(ios(13.0));
+// 当场景被销毁时调用。
+- (void)sceneDidDisconnect:(UIScene *)scene  API_AVAILABLE(ios(13.0));
+//当场景变成活跃状态时调用。
+- (void)sceneDidBecomeActive:(UIScene *)scene API_AVAILABLE(ios(13.0));
+//当场景将要变成非活跃状态时调用。
+- (void)sceneWillResignActive:(UIScene *)scene API_AVAILABLE(ios(13.0));
+//当应用程序即将进入前台时调用。
+- (void)sceneWillEnterForeground:(UIScene *)scene  API_AVAILABLE(ios(13.0));
+//当应用程序进入后台时调用。
+- (void)sceneDidEnterBackground:(UIScene *)scene API_AVAILABLE(ios(13.0));
+//当别的APP通过URL地址,打开我们的app时调用
+- (void)scene:(UIScene *)scene openURLContexts:(NSSet<UIOpenURLContext *> *)URLContexts API_AVAILABLE(ios(13.0));
+- (void)scene:(UIScene *)scene continueUserActivity:(NSUserActivity *)userActivity API_AVAILABLE(ios(13.0));
+
+
+
+
 /*!
  @discussion (tip:CP无需关注)此方法为成功登录第三方平台之后调用。根据第三方平台的pUserId,pToken,platform构建一个WALoginResult实例作为参数调用此方法。此方法将会调用WindAnalytics的登录接口。
  @param result 登录结果
@@ -361,4 +392,74 @@
 
 
 
+/*!
+@discussion 打开idfa弹框授权
+ */
++ (void)openTTAAuthorizationWithCompletionHandler:(void(^)(NSError* error,NSUInteger status))block;
+
+/*!
+@discussion 隐私协议弹框
+ error 不为空时
+    status  -1  弹出了协议框,用户点击了拒绝
+            
+ error 为空
+    status 1 弹出了协议框,用户点击了同意
+    status 2 没有弹出协议框,用户之前点击过同意,无需再弹
+ */
++ (void)openPrivacyAgreementWindow:(void(^)(NSError* error,NSUInteger status))bloc;
+
+
+
+//**************************************删除账号有关start************************************************************
+
+/*!
+@discussion 检测是否可调用玩家身份确认接口
+ */
++ (BOOL)canCheckIdentity;
+
+/*!
+ @discussion 注销账号时,验证当前用户的身份证、id是否匹配,确认是本人操作
+ @param realName 姓名
+ @param idCard     身份证号码
+ */
++ (void)identityCheck:(NSString*)realName idCard:(NSString*)idCard completeBlock:(void(^)(NSError* error))block;
+
+
+//删除账号授权,拿到第三方的token信息,如 signinwithapple拿到authorizationCode
++ (void)deleteAccounAuthorizationWithPlatform:(NSString*)platform completeBlock:(void(^)(NSError* error,WADeleteRequestModel*deleteResult))block;
+
+
+/*!
+@discussion 账号删除接口
+ */
++ (void)requestDeleteAccout:(WADeleteRequestModel*)deleteResult completeBlock:(void(^)(NSError* error,WADeleteResult*result))completeBlock;
+
+/*!
+@discussion 取消删除账号接口
+ */
+
++ (void)cancelRequestDeleteAccoutWithUserid:(NSString*)userid callback:(void (^)(NSError *))completeBlock;
+
+
+// status==1,提交删除账号申请成功
+// status==2,用户取消
++ (void)requestDeleteAccoutUI:(void(^)(NSError *error, NSUInteger status))completeBlock;
+
+
+
+//**************************************删除账号有关end************************************************************
+
+
+
+/*!
+@discussion 打开游戏评分功能
+ */
++ (void)openGameReview:(void(^)(OpenGameReviewState status))block;
+
+
+/*!
+@discussion 弹出cmp修改同意内容弹框
+ */
++ (void)showConsentPreferences;;
+
 @end

--
Gitblit v1.8.0