commit | author | age
|
7321fb
|
1 |
// |
W |
2 |
// WALuaSocialProxy.h |
|
3 |
// WACocos2dxLua |
|
4 |
// |
|
5 |
// Created by wuyx on 16/9/19. |
|
6 |
// |
|
7 |
// |
|
8 |
|
|
9 |
#import <Foundation/Foundation.h> |
|
10 |
#import <WASdkIntf/WASdkIntf.h> |
|
11 |
#import <AssetsLibrary/AssetsLibrary.h> |
|
12 |
@interface WALuaSocialProxy : NSObject<WASharingDelegate,WAAppInviteDialogDelegate,WAGameRequestDialogDelegate> |
|
13 |
/*! |
|
14 |
#分享调用方法 |
|
15 |
*/ |
|
16 |
+(void)share:(NSDictionary*)dict; |
|
17 |
/*! |
|
18 |
@abstract 应用邀请调用方法 |
|
19 |
*/ |
|
20 |
+(void)appInvite:(NSDictionary*)dict; |
|
21 |
/*! |
|
22 |
@abstract Game Service - 获取可邀请好友列表 |
|
23 |
*/ |
|
24 |
+(void)queryInvitableFriends:(NSDictionary*)dict; |
|
25 |
/*! |
|
26 |
@abstract Game Service - 查询赠送/索要礼物的好友列表 |
|
27 |
*/ |
|
28 |
+(void)queryFriends:(NSDictionary*)dict; |
|
29 |
/*! |
|
30 |
@abstract 获取当前App所属的group |
|
31 |
*/ |
|
32 |
+(void)getCurrentAppLinkedGroup:(NSDictionary*)dict; |
|
33 |
/*! |
|
34 |
@abstract 获取当前user所属的group |
|
35 |
*/ |
|
36 |
+(void)getCurrentUserGroup:(NSDictionary*)dict; |
|
37 |
|
|
38 |
/*! |
|
39 |
@abstract 根据groupId查询对应的group |
|
40 |
*/ |
|
41 |
+(void)getGroup:(NSDictionary*)dict; |
|
42 |
|
|
43 |
/*! |
|
44 |
@abstract 返回当前应用推荐的所有group |
|
45 |
*/ |
|
46 |
+(void)getGroups:(NSDictionary*)dict; |
|
47 |
|
|
48 |
/*! |
|
49 |
@abstract 加入group |
|
50 |
*/ |
|
51 |
+(void)joinGroup:(NSDictionary*)dict; |
|
52 |
|
|
53 |
/*! |
|
54 |
@abstract 打开group |
|
55 |
*/ |
|
56 |
+(void)openGroupPage:(NSDictionary*)dict; |
|
57 |
|
|
58 |
/*! |
|
59 |
@abstract Game Service - 查询礼物列表 |
|
60 |
*/ |
|
61 |
+(void)queryFBGraphObjects:(NSDictionary*)dict; |
|
62 |
/*! |
|
63 |
@abstract Game Service - 赠送礼物 |
|
64 |
*/ |
|
65 |
+(void)fbSendGift:(NSDictionary*)dict; |
|
66 |
|
|
67 |
/*! |
|
68 |
@abstract Game Service - 索要礼物 |
|
69 |
*/ |
|
70 |
+(void)fbAskForGift:(NSDictionary*)dict; |
|
71 |
/*! |
|
72 |
@abstract Game Service - 查看收到的礼物 |
|
73 |
*/ |
|
74 |
+(void)fbQueryReceivedGifts:(NSDictionary*)dict; |
|
75 |
/*! |
|
76 |
@abstract Game Service - 查看好友向自己索要礼物请求 |
|
77 |
*/ |
|
78 |
+(void)fbQueryAskForGiftRequests:(NSDictionary*)dict; |
|
79 |
/*! |
|
80 |
@abstract Game Service - 删除请求 |
|
81 |
*/ |
|
82 |
+(void)fbDeleteRequest:(NSDictionary*)dict; |
|
83 |
|
|
84 |
|
|
85 |
/*! |
|
86 |
@abstract 此方法用来取代gameInviteWithPlatform,fbSendGiftWithContent,fbAskForGiftWithContent |
|
87 |
*/ |
|
88 |
+(void)sendRequest:(NSDictionary*)dict; |
|
89 |
|
|
90 |
/*! |
|
91 |
@abstract 下面的三个方法是关于奖励机制的,邀请奖励,自定义奖励事件 |
|
92 |
@discussion 此方法用来提交Facebook邀请信息 |
|
93 |
*/ |
|
94 |
+(void)createInviteRecord:(NSDictionary*)dict; |
|
95 |
/*! |
|
96 |
@discussion 触发Facebook被邀请人安装应用事件接口。在玩家登录facebook或者用facebook账号绑定的时候可以触发安装事件 |
|
97 |
*/ |
|
98 |
+(void)inviteInstallReward:(NSDictionary*)dict; |
|
99 |
/*! |
|
100 |
@discussion 发送Facebook邀请奖励事件统计接口 |
|
101 |
*/ |
|
102 |
+(void)inviteEventReward:(NSDictionary*)dict; |
|
103 |
@end |