From 319c91dc5faa80969bf4f417e3fc8c7a9095e2c9 Mon Sep 17 00:00:00 2001 From: lpw <pengwei.li@gamehollywood.com> Date: Tue, 02 Feb 2021 09:23:09 +0800 Subject: [PATCH] 2.2.0 --- frameworks/WASdkIntf.framework/Headers/WASocialProxy.h | 17 +++++++++++++---- 1 files changed, 13 insertions(+), 4 deletions(-) diff --git a/frameworks/WASdkIntf.framework/Headers/WASocialProxy.h b/frameworks/WASdkIntf.framework/Headers/WASocialProxy.h index 961b56c..11171a6 100644 --- a/frameworks/WASdkIntf.framework/Headers/WASocialProxy.h +++ b/frameworks/WASdkIntf.framework/Headers/WASocialProxy.h @@ -172,9 +172,8 @@ /*! @abstract 打开group @param platform 平台 - @param groupUri + @param groupUri 组Uri @param extInfo 扩展信息 - @param block 回调 */ +(void)openGroupPageWithPlatform:(NSString *const)platform groupUri:(NSString *const)groupUri extInfo:(NSString*)extInfo; @@ -220,17 +219,27 @@ @param requestType 请求类型 @param title 标题 @param message 信息 - @param objectId + @param objectId 对象id @param receiptIds 接受者id @param delegate 委托 */ +(void)sendRequestWithPlatform:(NSString *const)platform requestType:(NSString *const)requestType title:(NSString*)title message:(NSString*)message objectId:(NSString*)objectId receiptIds:(NSArray*)receiptIds delegate:(NSObject<WAGameRequestDialogDelegate>*)delegate; /*! + @abstract 此方法用来取代gameInviteWithPlatform,fbSendGiftWithContent,fbAskForGiftWithContent + @param platform 平台 + @param requestType 请求类型 + @param title 标题 + @param message 信息 + @param delegate 委托 + */ ++(void)sendRequestWithPlatform:(NSString *const)platform requestType:(NSString *const)requestType title:(NSString*)title message:(NSString*)message delegate:(NSObject<WAGameRequestDialogDelegate>*)delegate; + +/*! @abstract 下面的三个方法是关于奖励机制的,邀请奖励,自定义奖励事件 @discussion 此方法用来提交Facebook邀请信息 @param platform 平台 - @param result 这是发完邀请请求成功在WAGameRequestDialogDelegate的方法:[- (void)gameRequestDialog:(WAGameRequestDialog *)gameRequestDialog platform:(NSString *const)platform didCompleteWithResults:(NSDictionary *)results]的results + @param results 这是发完邀请请求成功在WAGameRequestDialogDelegate的方法:[- (void)gameRequestDialog:(WAGameRequestDialog *)gameRequestDialog platform:(NSString *const)platform didCompleteWithResults:(NSDictionary *)results]的results @param handler 回调block 当code为200时成功 */ +(void)createInviteInfoWithPlatform:(NSString *const)platform results:(NSDictionary*)results handler:(void (^)(NSUInteger code,NSString* msg, NSError* error)) handler; -- Gitblit v1.8.0