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