commit | author | age
|
6e1425
|
1 |
// |
H |
2 |
// GHWConstants.h |
|
3 |
// WASDK |
|
4 |
// |
|
5 |
// Created by GHW-T-01 on 15/5/21. |
|
6 |
// Copyright (c) 2015年 Wuyx. All rights reserved. |
|
7 |
// |
|
8 |
|
|
9 |
#import <Foundation/Foundation.h> |
|
10 |
|
|
11 |
#ifndef WASDK_GHWConstants_h |
|
12 |
#define WASDK_GHWConstants_h |
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
extern NSString *const WASDK_FLOW_TYPE_DEFAULT; |
|
18 |
extern NSString *const WASDK_FLOW_TYPE_REBIND; |
|
19 |
|
|
20 |
extern NSString *const WASDK_PARAM_KEY_SDK_VER; |
ab47ec
|
21 |
extern NSString *const WASDK_PARAM_KEY_SDK_TYPE; |
H |
22 |
extern NSString *const WASDK_PARAM_KEY_RUN_PLATFORM; |
633752
|
23 |
extern NSString *const WASDK_PARAM_KEY_GAME_PLATFORM; |
L |
24 |
extern NSString *const WASDK_PARAM_KEY_REQUEST_FROM; |
6e1425
|
25 |
extern NSString *const WASDK_PARAM_KEY_SDK_ID; |
H |
26 |
extern NSString *const WASDK_PARAM_KEY_PATCH_ID; |
|
27 |
extern NSString *const WASDK_PARAM_KEY_PATCH_VER; |
|
28 |
extern NSString *const WASDK_PARAM_KEY_USER_ID; |
|
29 |
extern NSString *const WASDK_PARAM_KEY_PUSER_ID; |
|
30 |
extern NSString *const WASDK_PARAM_KEY_PUSER_ID_LOWER; |
|
31 |
extern NSString *const WASDK_PARAM_KEY_PUSER_IDS; |
|
32 |
extern NSString *const WASDK_PARAM_KEY_GAMEUSER_ID; |
ab47ec
|
33 |
extern NSString *const WASDK_PARAM_KEY_NICK_NAME; |
H |
34 |
extern NSString *const WASDK_PARAM_KEY_PUSER_NAME; |
|
35 |
extern NSString *const WASDK_PARAM_KEY_USER_FLAG; |
6e1425
|
36 |
extern NSString *const WASDK_PARAM_KEY_SERVER_ID; |
H |
37 |
extern NSString *const WASDK_PARAM_KEY_OS; |
|
38 |
extern NSString *const WASDK_PARAM_KEY_OS_VERSION; |
|
39 |
extern NSString *const WASDK_PARAM_KEY_MOBILE_MODEL; |
|
40 |
extern NSString *const WASDK_PARAM_KEY_MODEL; |
|
41 |
extern NSString *const WASDK_PARAM_KEY_LANGUAGE; |
|
42 |
extern NSString *const WASDK_PARAM_KEY_CARRIER; |
|
43 |
extern NSString *const WASDK_PARAM_KEY_WIFI; |
|
44 |
extern NSString *const WASDK_PARAM_KEY_MAC; |
|
45 |
extern NSString *const WASDK_PARAM_KEY_PACKAGE_ID; |
|
46 |
extern NSString *const WASDK_PARAM_KEY_PACKAGE_VER_NAME; |
|
47 |
extern NSString *const WASDK_PARAM_KEY_PACKAGE_VER_CODE; |
|
48 |
extern NSString *const WASDK_PARAM_KEY_CRASH_TIME_STAMP; |
|
49 |
extern NSString *const WASDK_PARAM_KEY_EXCEPTION_INFO; |
|
50 |
extern NSString *const WASDK_PARAM_KEY_PLATFORM; |
|
51 |
extern NSString *const WASDK_PARAM_KEY_ACCESSTOKEN; |
|
52 |
extern NSString *const WASDK_PARAM_KEY_WASDK_TOKEN; |
|
53 |
extern NSString *const WASDK_PARAM_KEY_OTS; |
|
54 |
extern NSString *const WASDK_PARAM_KEY_IDFA; |
|
55 |
extern NSString *const WASDK_PARAM_KEY_IDFV; |
|
56 |
extern NSString *const WASDK_PARAM_KEY_CLIENT_ID; |
|
57 |
extern NSString *const WASDK_PARAM_KEY_APP_ID; |
|
58 |
extern NSString *const WASDK_PARAM_KEY_APP_KEY; |
|
59 |
extern NSString *const WASDK_PARAM_KEY_APP_VER; |
|
60 |
extern NSString *const WASDK_PARAM_KEY_PUBLISH_CHANNEL; |
|
61 |
extern NSString *const WASDK_PARAM_KEY_DEVICE_TYPE; |
|
62 |
extern NSString *const WASDK_PARAM_KEY_DEVICE_BRAND; |
|
63 |
extern NSString *const WASDK_PARAM_KEY_DEVICE_NAME; |
|
64 |
extern NSString *const WASDK_PARAM_KEY_PAGE_NO; |
633752
|
65 |
extern NSString *const WASDK_PARAM_KEY_PAGE; |
6e1425
|
66 |
extern NSString *const WASDK_PARAM_KEY_PAGE_SIZE; |
H |
67 |
extern NSString *const WASDK_PARAM_KEY_CHANNEL; |
|
68 |
extern NSString *const WASDK_PARAM_KEY_BIND_TYPE; |
|
69 |
extern NSString *const WASDK_PARAM_KEY_TRX_ID; |
|
70 |
extern NSString *const WASDK_PARAM_KEY_ORDER_ID; |
|
71 |
extern NSString *const WASDK_PARAM_KEY_ORDER_IDS; |
|
72 |
extern NSString *const WASDK_PARAM_KEY_ORDER_ID_LIST; |
|
73 |
extern NSString *const WASDK_PARAM_KEY_ORDER_DICTIONARY; |
|
74 |
extern NSString *const WASDK_PARAM_KEY_TRX_TOKEN; |
|
75 |
extern NSString *const WASDK_PARAM_KEY_STATUS; |
|
76 |
extern NSString *const WASDK_PARAM_KEY_PAY_AMOUNT_MICROS; |
|
77 |
extern NSString *const WASDK_PARAM_KEY_OSIGN; |
|
78 |
extern NSString *const WASDK_PARAM_KEY_CURRENCY_CODE; |
|
79 |
extern NSString *const WASDK_PARAM_KEY_EXT_INFO; |
d08f6f
|
80 |
extern NSString *const WASDK_PARAM_KEY_EXTRA; |
6e1425
|
81 |
extern NSString *const WASDK_PARAM_KEY_COLLECTION_INFO; |
d08f6f
|
82 |
extern NSString *const WASDK_PARAM_KEY_SDKEXTINFO; |
6e1425
|
83 |
extern NSString *const WASDK_PARAM_KEY_ORDER_AMOUNT_MICROS; |
H |
84 |
extern NSString *const WASDK_PARAM_KEY_PRODUCT_ID; |
|
85 |
extern NSString *const WASDK_PARAM_KEY_PRODUCT_NAME; |
e395b5
|
86 |
extern NSString *const WASDK_PARAM_KEY_PRODUCT_DESC; |
6e1425
|
87 |
extern NSString *const WASDK_PARAM_KEY_IAP_URL_PRO_LIST; |
H |
88 |
extern NSString *const WASDK_PARAM_KEY_IAP_URL_CREATE_ORDER; |
|
89 |
extern NSString *const WASDK_PARAM_KEY_IAP_URL_NOTIFY_SERVER; |
|
90 |
extern NSString *const WASDK_PARAM_KEY_SEND_SEQ; |
|
91 |
|
|
92 |
extern NSString *const WASDK_PARAM_KEY_QUERY_TYPE; |
|
93 |
extern NSString *const WASDK_PARAM_KEY_IS_REPORTDATA; |
e395b5
|
94 |
|
H |
95 |
extern NSString *const WASDK_PARAM_KEY_REAL_NAME; |
|
96 |
extern NSString *const WASDK_PARAM_KEY_ID_CARD; |
6e1425
|
97 |
|
H |
98 |
extern NSString *const WASDK_PARAM_KEY_PRODUCT_LIST; |
|
99 |
extern NSString *const WASDK_PARAM_KEY_GAME_CURRENCY_AMOUNT; |
|
100 |
extern NSString *const WASDK_PARAM_KEY_PAY_CHANNEL; |
|
101 |
extern NSString *const WASDK_PARAM_KEY_CHANNEL_PRODUCT_ID; |
|
102 |
extern NSString *const WASDK_PARAM_KEY_ID; |
|
103 |
extern NSString *const WASDK_PARAM_KEY_NAME; |
|
104 |
extern NSString *const WASDK_PARAM_KEY_METHOD; |
|
105 |
extern NSString *const WASDK_PARAM_KEY_LOGO_URL; |
|
106 |
|
|
107 |
//关于Facebook邀请 |
|
108 |
extern NSString *const WASDK_PARAM_KEY_INVITER; |
|
109 |
extern NSString *const WASDK_PARAM_KEY_INVITER_SERVERID; |
|
110 |
extern NSString *const WASDK_PARAM_KEY_INVITEE; |
|
111 |
extern NSString *const WASDK_PARAM_KEY_INVITEE_SERVERID; |
|
112 |
extern NSString *const WASDK_PARAM_KEY_INVITEE_GAMEUSERID; |
|
113 |
extern NSString *const WASDK_PARAM_KEY_INVITEE_USERID; |
|
114 |
extern NSString *const WASDK_PARAM_KEY_INVITE_IDS; |
|
115 |
extern NSString *const WASDK_PARAM_KEY_FB_INVITE_REWARD_EVENTNAME; |
|
116 |
extern NSString *const WASDK_PARAM_KEY_FB_INVITE_REQUESTID; |
|
117 |
extern NSString *const WASDK_PARAM_KEY_FB_INVITE_INVITEEIDS; |
|
118 |
|
|
119 |
extern NSString *const WASDK_PARAM_KEY_INSTALL_APP_ID; |
|
120 |
extern NSString *const WASDK_PARAM_KEY_DEEP_LINK_TYPE; |
|
121 |
extern NSString *const WASDK_PARAM_KEY_FB_DEEPLINK; |
|
122 |
|
|
123 |
extern NSString *const WASDK_RESULT_KEY_IAP_PRODUCT_IDS; |
|
124 |
extern NSString *const WASDK_RESULT_KEY_IAP_ORDER_ID; |
|
125 |
extern NSString *const WASDK_RESULT_KEY_IAP_CODE; |
|
126 |
extern NSString *const WASDK_RESULT_KEY_IAP_DEF_AMT_MCR; |
|
127 |
extern NSString *const WASDK_RESULT_KEY_IAP_DEF_CCY; |
|
128 |
extern NSString *const WASDK_RESULT_KEY_IAP_VCA; |
|
129 |
extern NSString *const WASDK_RESULT_KEY_IAP_VCCY; |
|
130 |
|
|
131 |
//热更新 |
64e824
|
132 |
extern NSString *const WASDK_HUP_KEY_PATCH_VERSION; |
H |
133 |
extern NSString *const WASDK_HUP_KEY_SDK_ID; |
|
134 |
extern NSString *const WASDK_HUP_KEY_SDK_VERSION; |
|
135 |
extern NSString *const WASDK_HUP_KEY_APP_ID; |
|
136 |
extern NSString *const WASDK_HUP_KEY_PUBLIST_APP_ID; |
|
137 |
extern NSString *const WASDK_HUP_KEY_PUBLIST_APP_VER; |
|
138 |
extern NSString *const WASDK_HUP_KEY_PLATFORM_ID; |
|
139 |
extern NSString *const WASDK_HUP_KEY_CLIENT_OS; |
|
140 |
extern NSString *const WASDK_HUP_KEY_CLIENT_OS_VERSION; |
|
141 |
extern NSString *const WASDK_HUP_KEY_CLIENT_MODEL; |
|
142 |
extern NSString *const WASDK_HUP_KEY_DEVICE_ID; |
|
143 |
extern NSString *const WASDK_HUP_KEY_CLIENT_ID; |
|
144 |
extern NSString *const WASDK_HUP_KEY_OTS; |
|
145 |
extern NSString *const WASDK_HUP_KEY_USER_ID; |
|
146 |
extern NSString *const WASDK_HUP_KEY_PATCH_ID; |
|
147 |
extern NSString *const WASDK_HUP_KEY_PROGRESS; |
|
148 |
extern NSString *const WASDK_HUP_KEY_STATUS; |
6e1425
|
149 |
|
H |
150 |
|
|
151 |
|
|
152 |
//匿名登录时 从sdk后台获取的token 和 userid |
|
153 |
extern NSString *const WASDK_GUEST_LOGIN_TOKEN; |
|
154 |
extern NSString *const WASDK_GUEST_LOGIN_USERID; |
|
155 |
extern NSString *const WASDK_GUEST_LOGIN_TOKEN_CACHE; |
|
156 |
extern NSString *const WASDK_GUEST_LOGIN_USERID_CACHE; |
|
157 |
|
|
158 |
//绑定账号 preUserId prePlatform |
|
159 |
extern NSString *const WASDK_ACOUNT_BINDING_PREUSERID; |
|
160 |
extern NSString *const WASDK_ACOUNT_BINDING_PREPLATFORM; |
|
161 |
|
ab47ec
|
162 |
//绑定账号 支付订单购买日志 |
H |
163 |
extern NSString *const WASDK_TIME_STAMP; |
|
164 |
extern NSString *const WASDK_LOG_INFO; |
|
165 |
|
e395b5
|
166 |
// 消息推送 |
H |
167 |
extern NSString *const WASDK_ACCESS_TOKEN; |
|
168 |
extern NSString *const WASDK_MSG_ID; |
ab47ec
|
169 |
extern NSString *const WASDK_ACTION_TYPE; |
6e1425
|
170 |
|
ab47ec
|
171 |
//extern NSString *const WASDK_IAP_URL_PROLIST; |
1b47a0
|
172 |
//Apple商品消耗 |
H |
173 |
extern NSString *const WASDK_IAP_URL_FINISH_TRANSACTION; |
6e1425
|
174 |
extern NSString *const WASDK_IAP_URL_NOTIFY_SERVER; |
H |
175 |
extern NSString *const WASDK_IAP_URL_CREATE_ORDER; |
|
176 |
extern NSString *const WASDK_REFRESH_TOKEN; |
|
177 |
extern NSString *const WASDK_LOGIN_WAY; |
|
178 |
extern NSString *const WASDK_ONE_CLICK_SIGIN; |
|
179 |
extern NSString *const WASDK_ACCOUNT_BINDING; |
|
180 |
extern NSString *const WASDK_ACCOUNT_CREATE; |
|
181 |
extern NSString *const WASDK_BINDING_LIST; |
|
182 |
extern NSString *const WASDK_BINDING_DISBIND; |
|
183 |
extern NSString *const WASDK_PLATFORM_CONFIG; |
|
184 |
extern NSString *const WASDK_FB_INVITE_CREATE; |
|
185 |
extern NSString *const WASDK_FB_INVITE_REWARD; |
|
186 |
extern NSString *const WASDK_FB_INVITE_INSTALL; |
|
187 |
//获取补丁更新信息接口 |
|
188 |
extern NSString *const WASDK_PATCH_UPDATE_CHECK; |
|
189 |
//补丁下载接口 |
|
190 |
extern NSString *const WASDK_PATCH_DOWNLOAD; |
|
191 |
//更新补丁回调接口 |
|
192 |
extern NSString *const WASDK_PATCH_UPDATE_CALLBACK; |
64e824
|
193 |
extern NSString *const WASDK_APW; |
6e1425
|
194 |
|
H |
195 |
//闪退日志收集接口 |
|
196 |
extern NSString *const WASDK_CRASH_REPORT; |
|
197 |
|
|
198 |
//数据收集接口 |
|
199 |
extern NSString *const WASDK_DATA_COLLECTION_URL; |
|
200 |
|
64e824
|
201 |
extern NSString *const WASDK_APW_TRACKING; |
H |
202 |
extern NSString *const WASDK_FIRST_LAUNCH; |
6e1425
|
203 |
|
H |
204 |
extern NSString *const WASDK_USER_LIST; |
|
205 |
|
|
206 |
// 获取客户端未统计上报的订单列表 |
|
207 |
extern NSString *const WASDK_ORDER_LIST; |
ab47ec
|
208 |
// 客户端订单购买日志收集 |
H |
209 |
extern NSString *const WASDK_CLIENT_PURCHASE_LOG; |
6e1425
|
210 |
// 更新订单的客户端统计上报状态 |
H |
211 |
extern NSString *const WASDK_CLT_STATUS_DONE; |
|
212 |
|
|
213 |
// 获取产品及支付方式列表 |
|
214 |
extern NSString *const WASDK_PAY_URL_PRODUCTS; |
|
215 |
// 提交web支付 |
|
216 |
extern NSString *const WASDK_PAY_URL_DO_PAY; |
|
217 |
// web支付成功 |
|
218 |
extern NSString *const WASDK_PAY_URL_SUCCESS; |
|
219 |
// web支付失败 |
|
220 |
extern NSString *const WASDK_PAY_URL_FAILURE; |
|
221 |
// web支付取消 |
|
222 |
extern NSString *const WASDK_PAY_URL_CANCEL; |
|
223 |
|
|
224 |
// 手机号/帐号登录接口 |
|
225 |
extern NSString *const WASDK_LOGIN_URL_SIGN_IN; |
|
226 |
// 手机号注册接口 |
|
227 |
extern NSString *const WASDK_LOGIN_URL_SIGN_UP; |
|
228 |
// 发送验证码接口 |
|
229 |
extern NSString *const WASDK_LOGIN_URL_SEND_VALIDATE_CODE; |
|
230 |
// 验证验证码接口 |
|
231 |
extern NSString *const WASDK_LOGIN_URL_VALIDATE_CODE; |
|
232 |
// 更新密码接口 |
|
233 |
extern NSString *const WASDK_LOGIN_URL_UPDATE_PWD; |
|
234 |
// 游客/帐号绑定手机 |
|
235 |
extern NSString *const WASDK_LOGIN_URL_BIND_MOBILE; |
|
236 |
// 免密码登录接口 |
|
237 |
extern NSString *const WASDK_LOGIN_URL_FAST_LOGIN; |
e395b5
|
238 |
// 使用TOKEN实名验证 |
H |
239 |
extern NSString *const WASDK_REAL_NAME_AUTHENTICATION; |
|
240 |
|
|
241 |
// 消息推送 |
|
242 |
// 更新第三方消息服务的accessToken |
|
243 |
extern NSString *const WASDK_LOGIN_URL_MESSAGE_REFRESH_TOKEN; |
|
244 |
// 客户端拉取消息 |
|
245 |
extern NSString *const WASDK_LOGIN_URL_MESSAGE_CLIENT_PULL; |
|
246 |
// 消息推送回执 |
|
247 |
extern NSString *const WASDK_LOGIN_URL_MESSAGE_SEND_RECEIPT; |
|
248 |
// 消息打开确认 |
|
249 |
extern NSString *const WASDK_LOGIN_URL_MESSAGE_OPEN_MESSAGE_CONFIRM; |
6e1425
|
250 |
|
ab47ec
|
251 |
// 获取视频广告列表 |
H |
252 |
extern NSString *const WASDK_AD_URL_GET_AD_LIST; |
|
253 |
// 提交广告展示事件 |
|
254 |
extern NSString *const WASDK_AD_URL_SUBMIT_SHOW_EVENT; |
|
255 |
// 更新展示广告状态 |
|
256 |
extern NSString *const WASDK_AD_URL_UPDATE_STATUS; |
633752
|
257 |
// 充值中心-账号生成 |
L |
258 |
extern NSString *const WASDK_AD_URL_GAME_CREATE_WINGA_ACCOUNT; |
ab47ec
|
259 |
|
6e1425
|
260 |
extern NSString *const WASDK_FB_INVITE_FROM_USERID; |
H |
261 |
extern NSString *const WASDK_FB_INVITE_TO_USERID; |
|
262 |
extern NSString *const WASDK_FB_INVITE_SERVERID; |
|
263 |
extern NSString *const WASDK_FB_INVITE_ACTIONTYPE; |
|
264 |
extern NSString *const WASDK_FB_INVITE_GS_INVITE; |
|
265 |
extern NSString *const WASDK_FB_INVITE_APPID; |
|
266 |
|
|
267 |
extern const int WASDK_VALUE_KEY_STATUS_SUCCESS;//回传给客户端的代码值,表示支付成功 |
|
268 |
extern const int WASDK_VALUE_KEY_STATUS_FAILED;//回传给客户端的代码值,表示支付失败 |
|
269 |
extern const int WASDK_VALUE_KEY_STATUS_PURCHASE_CANCELED;//回传给客户端的代码值,表示支付取消 |
|
270 |
extern const int WASDK_VALUE_KEY_STATUS_PURCHASE_SUCCESS_WITHOUT_REPORT;//回传给客户端的代码值 表示支付成功但是没有上报或者上报失败了 |
|
271 |
extern const int WASDK_VALUE_KEY_STATUS_PURCHASE_UNCONSUME;//商品未消耗 |
|
272 |
extern const int WASDK_VALUE_KEY_STATUS_CREATE_ORDER_FAILED;//创建订单失败 |
|
273 |
|
|
274 |
extern const int WASDK_VALUE_KEY_STATUS_VAILD_FAIL;//后台验证失败表示验证失败 |
|
275 |
extern NSString *const WASDK_VALUE_KEY_STATUS_NOTIFY_FAIL; |
|
276 |
|
|
277 |
|
|
278 |
extern NSString *const WASDK_STATUS_UNKNOWN; |
|
279 |
extern NSString *const WASDK_STATUS_UNKNOWN_1; |
|
280 |
|
|
281 |
extern NSString *const WASDK_CACHE_KEY_FB_APP_SECRET; |
|
282 |
|
|
283 |
@interface WACommConstants : NSObject { |
|
284 |
|
|
285 |
} |
|
286 |
#endif |
|
287 |
@end |