From 303b8f43a0f25b1bd791061e0d0ba3d862238386 Mon Sep 17 00:00:00 2001
From: lpw <812862340@qq.com>
Date: Fri, 13 Mar 2026 09:10:43 +0800
Subject: [PATCH] 提交版本 4.11.0
---
frameworks/WASdkIntf.framework/Headers/WAUserProxy.h | 160 ++++++++++++++++++++++++++++++++++++++++++++++++----
1 files changed, 146 insertions(+), 14 deletions(-)
diff --git a/frameworks/WASdkIntf.framework/Headers/WAUserProxy.h b/frameworks/WASdkIntf.framework/Headers/WAUserProxy.h
index 00d420c..4d84f97 100644
--- a/frameworks/WASdkIntf.framework/Headers/WAUserProxy.h
+++ b/frameworks/WASdkIntf.framework/Headers/WAUserProxy.h
@@ -16,7 +16,21 @@
#import <WASdkIntf/WACertificationInfo.h>
#import <WASdkIntf/WADeleteRequestModel.h>
#import <WASdkIntf/WADeleteResult.h>
+#import <WASdkIntf/WACustomerResult.h>
+#import <WASdkIntf/WAPlatformAccountInfo.h>
+#import <WASdkIntf/WAPassPlatformInfo.h>
+#import <WASdkIntf/WACoinsInfo.h>
+
+
+
+typedef NS_ENUM(NSInteger, OpenGameReviewState) {
+ OpenGameReviewStateReject=0, //游戏评价结果:不,谢谢!
+ OpenGameReviewStateOpenAiHelp, //游戏评价结果:我要提意见
+ OpenGameReviewStateOpentReview, //游戏评价结果:提交好评(无法获取用户是否点击评分以及具体的评分分数)
+ OpenGameReviewStateError //打开游戏评价失败,后台没有开启游戏评价开关
+
+};
/*!
@discussion 登录协议
- - -
@@ -248,11 +262,11 @@
+(void)openAccountManager:(id<WAAcctManagerDelegate>)delegate;
-/*!
-@abstract 调用此方法打开账户管理界面
-@param delegate 委托
-*/
-+(void)openAccountCenter:(id<WAAcctManagerDelegate>)delegate;
+///*!
+//@abstract 调用此方法打开账户管理界面
+//@param delegate 委托
+//*/
+//+(void)openAccountCenter:(id<WAAcctManagerDelegate>)delegate;
@@ -265,6 +279,11 @@
+(WAAppUser*)getAccountInfoWithPlatform:(NSString *const)platform;
//+(NSString*)transferWithPlatform:(NSString *const)platform;
+
+/*!
+ @abstract 是否可以打开用户中心
+ */
++ (BOOL)isOpenUserCenter;
+ (void)getUserCenterNotice:(id<WAUserCenterNoticeDelegate>)delegate;
@@ -300,6 +319,27 @@
openURL:(NSURL *)url
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的登录接口。
@@ -382,14 +422,6 @@
-
-
-
-
-
-
-
-
//**************************************删除账号有关start************************************************************
/*!
@@ -409,6 +441,13 @@
+ (void)deleteAccounAuthorizationWithPlatform:(NSString*)platform completeBlock:(void(^)(NSError* error,WADeleteRequestModel*deleteResult))block;
+
+
+/*!
+@discussion 是否可以删除账号
+ */
++ (BOOL)isOpenDeleteAccount;
+
/*!
@discussion 账号删除接口
*/
@@ -427,12 +466,105 @@
-
//**************************************删除账号有关end************************************************************
+/*!
+@discussion 打开游戏评分功能
+ */
++ (void)openGameReview:(void(^)(OpenGameReviewState status))block;
+/*!
+@discussion 弹出cmp修改同意内容弹框
+ */
++ (void)showConsentPreferences;
+
+
+/*!
+@discussion 方法来控制同意设置按钮的显示和隐藏。如果不在生效地区(一般指欧盟),回调结果会返回false,此时应该隐藏按钮,否则返回true则需要显示
+ */
++ (void)checkConsentPreferencesWithCompletion:(void (^)(NSError *error, BOOL isShow))completionBlock;
+
+
+
+
+/*!
+@discussion 客服中心弹窗
+ */
++ (void)showCustomerCenterWithCompletion:(void(^)(WACustomerResult*customerResult))block;
+
+
+
+
+/**
+ * 获取推广任务列表
+ * @param completeBlock 完成回调,返回任务列表数组或错误信息
+ * 数组元素格式为:
+ * @{
+ * @"taskName": @"任务名称",
+ * @"taskStatus": @"0/1" // 0表示未完成,1表示已完成
+ * }
+ */
++(void)fetchPromotionTasksWithCompletion:(void(^_Nullable)(NSArray<NSDictionary *> * _Nullable tasksArray, NSError * _Nullable error))completeBlock;
+
+
+
+
+/*!
+@discussion 查询玩家任务完成情况 4. 6.0增加
+ */
++ (void)checkPlayerTask:(void(^_Nullable)(NSError * _Nullable error, BOOL success))completeBlock;
+
+
+
+/*!
+@discussion获取头像信息接口
+ */
++ (void)getPlatformAccountInfo:(void(^_Nullable)(NSError * _Nullable error, WAPlatformAccountInfo * _Nullable acountInfo))completeBlock;
+
+
+
++ (void)getPassInfo:(void(^_Nullable)(NSError * _Nullable error, WAPassPlatformInfo * _Nullable passPlatfromInfo))completeBlock;
+
+
++ (void)showPassUserGuide:(void(^_Nullable)(NSError * _Nullable error))completeBlock;
+
+
+/*!
+@discussion coins是否开启
+ */
++ (BOOL)isOpenCoins;
+
+/*!
+ @discussion 用户中心,展示coins
+ */
++ (void)showCoins:(void(^_Nullable)(NSError * _Nullable error))completeBlock;
+
+
+
+/*!
+@discussion 展示coins购买引导弹窗
+
+ */
++ (void)showCoinsGuide:(void(^_Nullable)(NSError * _Nullable error))completeBlock;
+
+/*!
+@discussion 获取coins余额和启用状态信息
+ */
++ (void)getCoinsInfo:(void(^_Nullable)(NSError * _Nullable error, WACoinsInfo * _Nullable coinsInfo))completeBlock;
+
+
+
+/*!
+@discussion 监听coins余额和开启状态变更(当余额或开启状态发生变化时才通知CP)
+*/
+
++ (void)listenCoinsChange:(void(^_Nullable)(NSError * _Nullable error, WACoinsInfo * _Nullable coinsInfo))callback;
+
+// 取消监听
++ (void)removeCoinsChangeListener;
+
@end
--
Gitblit v1.8.0