From bbf4d57fc99d4452ac7ab8c6a264bec6979c5035 Mon Sep 17 00:00:00 2001 From: lpw <812862340@qq.com> Date: Tue, 22 Jul 2025 15:27:30 +0800 Subject: [PATCH] 提交版本 4.6.0 --- frameworks/WASdkIntf.framework/Headers/WAUserProxy.h | 63 +++++++++++++++++++++++++++++-- 1 files changed, 58 insertions(+), 5 deletions(-) diff --git a/frameworks/WASdkIntf.framework/Headers/WAUserProxy.h b/frameworks/WASdkIntf.framework/Headers/WAUserProxy.h index 2149703..0e73235 100644 --- a/frameworks/WASdkIntf.framework/Headers/WAUserProxy.h +++ b/frameworks/WASdkIntf.framework/Headers/WAUserProxy.h @@ -16,6 +16,7 @@ #import <WASdkIntf/WACertificationInfo.h> #import <WASdkIntf/WADeleteRequestModel.h> #import <WASdkIntf/WADeleteResult.h> +#import <WASdkIntf/WACustomerResult.h> typedef NS_ENUM(NSInteger, OpenGameReviewState) { OpenGameReviewStateReject=0, //游戏评价结果:不,谢谢! @@ -255,11 +256,11 @@ +(void)openAccountManager:(id<WAAcctManagerDelegate>)delegate; -/*! -@abstract 调用此方法打开账户管理界面 -@param delegate 委托 -*/ -+(void)openAccountCenter:(id<WAAcctManagerDelegate>)delegate; +///*! +//@abstract 调用此方法打开账户管理界面 +//@param delegate 委托 +//*/ +//+(void)openAccountCenter:(id<WAAcctManagerDelegate>)delegate; @@ -272,6 +273,11 @@ +(WAAppUser*)getAccountInfoWithPlatform:(NSString *const)platform; //+(NSString*)transferWithPlatform:(NSString *const)platform; + +/*! + @abstract 是否可以打开用户中心 + */ ++ (BOOL)isOpenUserCenter; + (void)getUserCenterNotice:(id<WAUserCenterNoticeDelegate>)delegate; @@ -429,6 +435,13 @@ + (void)deleteAccounAuthorizationWithPlatform:(NSString*)platform completeBlock:(void(^)(NSError* error,WADeleteRequestModel*deleteResult))block; + + +/*! +@discussion 是否可以删除账号 + */ ++ (BOOL)isOpenDeleteAccount; + /*! @discussion 账号删除接口 */ @@ -457,5 +470,45 @@ + (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; @end -- Gitblit v1.8.0