commit | author | age
|
d1f6ab
|
1 |
// |
H |
2 |
// WAITrack.h |
|
3 |
// WASdkIntfUI |
|
4 |
// |
|
5 |
// Created by GHW-T-01 on 16/3/1. |
|
6 |
// Copyright © 2016年 GHW-T-01. All rights reserved. |
|
7 |
// |
|
8 |
|
|
9 |
#import <Foundation/Foundation.h> |
|
10 |
|
|
11 |
@interface WAITrack : NSObject |
|
12 |
@property(strong,nonatomic)NSMutableDictionary *params; |
|
13 |
@property(nonatomic)double value; |
|
14 |
@property(copy,nonatomic)NSString* eventName; |
|
15 |
|
|
16 |
-(void)initTracker; |
|
17 |
-(void)trackWithEventName:(NSString *const)eventName valueToSum:(double)value params:(NSDictionary*)params; |
|
18 |
-(void)autoTriggerAfterPayment:(BOOL)isAuto; |
|
19 |
-(BOOL)getAutoTriggerAfterPayment; |
|
20 |
-(NSString*)getCollectionInfo; |
|
21 |
|
|
22 |
|
|
23 |
-(void)eventNameTransfer:(NSString *)eventName; |
|
24 |
/** |
|
25 |
* 安装游戏 |
|
26 |
*/ |
|
27 |
-(void)launch; |
|
28 |
/** |
|
29 |
* 打开游戏 |
|
30 |
*/ |
|
31 |
-(void)startUp; |
|
32 |
/** |
|
33 |
* 注册账号 |
|
34 |
*/ |
|
35 |
-(void)register_; |
|
36 |
/** |
|
37 |
* 登录游戏 |
|
38 |
*/ |
|
39 |
-(void)login; |
|
40 |
/** |
|
41 |
* 点击充值 |
|
42 |
*/ |
|
43 |
-(void)initiatedPayment; |
|
44 |
/** |
|
45 |
* 充值完成 |
|
46 |
*/ |
|
47 |
-(void)payment; |
|
48 |
/** |
|
49 |
* 点击购买 |
|
50 |
*/ |
|
51 |
-(void)initiatedPurchase; |
|
52 |
/** |
|
53 |
* 购买完成 |
|
54 |
*/ |
|
55 |
-(void)purchase; |
|
56 |
/** |
|
57 |
* 在线时长 |
|
58 |
*/ |
|
59 |
-(void)heartbeat; |
|
60 |
/** |
|
61 |
* 等级或分数 |
|
62 |
*/ |
|
63 |
-(void)levelAchieve; |
|
64 |
/** |
|
65 |
* 加入购物车 |
|
66 |
*/ |
|
67 |
-(void)addToCart; |
|
68 |
/** |
|
69 |
* 兴趣标记/愿望 |
|
70 |
*/ |
|
71 |
-(void)addToWishlist; |
|
72 |
/** |
|
73 |
* 搜索内容 |
|
74 |
*/ |
|
75 |
-(void)search; |
|
76 |
/** |
|
77 |
* 使用信用点消费 |
|
78 |
*/ |
|
79 |
-(void)spentCredits; |
|
80 |
/** |
|
81 |
* 完成解锁事件 |
|
82 |
*/ |
|
83 |
-(void)achievementUnlocked; |
|
84 |
/** |
|
85 |
* 追踪内容查看事件 |
|
86 |
*/ |
|
87 |
-(void)contentView; |
|
88 |
/** |
|
89 |
* 分享事件 |
|
90 |
*/ |
|
91 |
-(void)share; |
|
92 |
/** |
|
93 |
* 邀请事件 |
|
94 |
*/ |
|
95 |
-(void)invite; |
|
96 |
/** |
|
97 |
* 重新连接到游戏 |
|
98 |
*/ |
|
99 |
-(void)reEngage; |
|
100 |
/** |
|
101 |
* 更新游戏 |
|
102 |
*/ |
|
103 |
-(void)update; |
|
104 |
/** |
|
105 |
* 打开推送通知 |
|
106 |
*/ |
|
107 |
-(void)openedFromPushNotification; |
|
108 |
/** |
|
109 |
* 创建角色 |
|
110 |
*/ |
|
111 |
-(void)userCreate; |
|
112 |
/** |
|
113 |
* 用户资料更新 |
|
114 |
*/ |
|
115 |
-(void)userInfoUpdate; |
|
116 |
/** |
|
117 |
* 玩家任务统计 |
|
118 |
*/ |
|
119 |
-(void)taskUpdate; |
|
120 |
/** |
|
121 |
* 货币状况变更 |
|
122 |
*/ |
|
123 |
-(void)goldUpdate; |
|
124 |
/** |
|
125 |
* 用户资料初始化 |
|
126 |
*/ |
|
127 |
-(void)userInfoInit; |
|
128 |
/** |
|
129 |
* 导入用户事件 |
|
130 |
*/ |
|
131 |
-(void)userImport; |
|
132 |
/** |
|
133 |
* 自定义事件 |
|
134 |
*/ |
|
135 |
-(void)custom; |
|
136 |
|
|
137 |
@end |