finej3 1.0.14 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +137 -104
- package/dist/cjs/clients/client.d.ts +94 -0
- package/dist/cjs/clients/client.js +52 -51
- package/dist/cjs/clients/client.js.map +1 -1
- package/dist/cjs/clients/main.d.ts +410 -0
- package/dist/cjs/clients/main.js +249 -326
- package/dist/cjs/clients/main.js.map +1 -1
- package/dist/cjs/clients/search.d.ts +101 -0
- package/dist/cjs/clients/search.js +39 -48
- package/dist/cjs/clients/search.js.map +1 -1
- package/dist/cjs/core/http.d.ts +41 -0
- package/dist/cjs/core/http.js +33 -21
- package/dist/cjs/core/http.js.map +1 -1
- package/dist/cjs/index.d.ts +48 -0
- package/dist/cjs/index.js +4 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/client.d.ts +239 -0
- package/dist/cjs/types/main.d.ts +1174 -0
- package/dist/cjs/types/search.d.ts +331 -0
- package/dist/esm/clients/client.d.ts +76 -60
- package/dist/esm/clients/client.d.ts.map +1 -1
- package/dist/esm/clients/client.js +52 -51
- package/dist/esm/clients/client.js.map +1 -1
- package/dist/esm/clients/main.d.ts +332 -461
- package/dist/esm/clients/main.d.ts.map +1 -1
- package/dist/esm/clients/main.js +249 -326
- package/dist/esm/clients/main.js.map +1 -1
- package/dist/esm/clients/search.d.ts +81 -66
- package/dist/esm/clients/search.d.ts.map +1 -1
- package/dist/esm/clients/search.js +39 -48
- package/dist/esm/clients/search.js.map +1 -1
- package/dist/esm/core/http.d.ts +22 -42
- package/dist/esm/core/http.d.ts.map +1 -1
- package/dist/esm/core/http.js +32 -21
- package/dist/esm/core/http.js.map +1 -1
- package/dist/esm/index.d.ts +11 -10
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/client.d.ts +217 -117
- package/dist/esm/types/client.d.ts.map +1 -1
- package/dist/esm/types/main.d.ts +826 -1009
- package/dist/esm/types/main.d.ts.map +1 -1
- package/dist/esm/types/search.d.ts +287 -236
- package/dist/esm/types/search.d.ts.map +1 -1
- package/package.json +48 -43
package/dist/esm/types/main.d.ts
CHANGED
|
@@ -1,1061 +1,906 @@
|
|
|
1
|
-
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* 标注「未实测」的类型来自文档描述,字段可能不完整,均带 index signature 以便访问额外字段。
|
|
5
|
-
*/
|
|
6
|
-
export interface ActiveCalendarParams {
|
|
7
|
-
/** 天数偏移(单日)或区间半径(list),0-15,默认 0 */
|
|
8
|
-
num?: number;
|
|
9
|
-
/** 'day' 单日 / 'list' 前后区间,默认 'day' */
|
|
10
|
-
mode?: 'day' | 'list';
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* 单日日常活动的公共字段。
|
|
14
|
-
*
|
|
15
|
-
* `draw` / `leader` 是**按星期出现的可选字段**(实测两周数据,与 num 大小无关,只取决于该日星期):
|
|
16
|
-
* - `draw`:周三 / 周五 / 周六 / 周日 出现
|
|
17
|
-
* - `leader`:周三 / 周五 出现
|
|
18
|
-
*
|
|
19
|
-
* 访问前务必判空,例如 `data.draw?.length`。
|
|
20
|
-
*/
|
|
21
|
-
export interface ActiveCalendarEntry {
|
|
22
|
-
/** 日期,如 "2026-07-21" */
|
|
23
|
-
date: string;
|
|
24
|
-
/** 星期中文单字,如 "二" */
|
|
25
|
-
week: string;
|
|
26
|
-
/** 大战。注意 mode=day 带 "大战!" 前缀(如 "大战!英雄不染窟"),mode=list 不带(如 "英雄风砂旧垒") */
|
|
27
|
-
war: string;
|
|
28
|
-
/** 战场 */
|
|
1
|
+
/** 新版 HTTP 接口响应类型:依据官方 schema 及 2026-11-13 多角色、多参数实测;保留原始字段名。 */
|
|
2
|
+
/** 单日日常;可选字段由一周内不同日期的响应确认。 */
|
|
3
|
+
export interface ActiveCalendarDay {
|
|
29
4
|
battle: string;
|
|
30
|
-
|
|
5
|
+
card: Array<string>;
|
|
6
|
+
date: string;
|
|
7
|
+
draw?: Array<string>;
|
|
8
|
+
leader?: Array<string>;
|
|
9
|
+
lucky: Array<string>;
|
|
31
10
|
orecar: string;
|
|
32
|
-
/** 驰援 */
|
|
33
11
|
rescue: string;
|
|
34
|
-
/** 帮会跑商 */
|
|
35
|
-
card: string[];
|
|
36
|
-
/** 门派日常 */
|
|
37
12
|
school: string;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
/** 美人图,仅周三 / 五 / 六 / 日 返回 */
|
|
41
|
-
draw?: string[];
|
|
42
|
-
/** 阵营首领,仅周三 / 五 返回 */
|
|
43
|
-
leader?: string[];
|
|
44
|
-
}
|
|
45
|
-
/** mode=day 的单日日常活动,比 mode=list 的条目多一个 weekly 字段 */
|
|
46
|
-
export interface ActiveCalendarDay extends ActiveCalendarEntry {
|
|
47
|
-
/** 每周秘境 / 团本(仅 mode=day 返回) */
|
|
13
|
+
war: string;
|
|
14
|
+
week: string;
|
|
48
15
|
weekly: {
|
|
49
|
-
conn: string
|
|
50
|
-
raid: string
|
|
16
|
+
conn: Array<string>;
|
|
17
|
+
raid: Array<string>;
|
|
51
18
|
};
|
|
52
19
|
}
|
|
53
|
-
/**
|
|
20
|
+
/** 多日日常。 */
|
|
54
21
|
export interface ActiveCalendarList {
|
|
55
22
|
today: {
|
|
56
23
|
date: string;
|
|
24
|
+
day: string;
|
|
25
|
+
month: string;
|
|
57
26
|
week: string;
|
|
58
27
|
year: string;
|
|
59
|
-
month: string;
|
|
60
|
-
day: string;
|
|
61
28
|
};
|
|
62
|
-
|
|
63
|
-
|
|
29
|
+
total: Array<{
|
|
30
|
+
battle: string;
|
|
31
|
+
card: Array<string>;
|
|
32
|
+
date: string;
|
|
33
|
+
draw?: Array<string>;
|
|
34
|
+
leader?: Array<string>;
|
|
35
|
+
lucky: Array<string>;
|
|
36
|
+
orecar: string;
|
|
37
|
+
rescue: string;
|
|
38
|
+
school: string;
|
|
39
|
+
war: string;
|
|
40
|
+
week: string;
|
|
41
|
+
}>;
|
|
64
42
|
}
|
|
65
|
-
/**
|
|
43
|
+
/** 地图活动;依据新版接口实测响应。 */
|
|
66
44
|
export interface CelebActivity {
|
|
67
|
-
map: string;
|
|
68
|
-
stage: string;
|
|
69
|
-
site: string;
|
|
70
45
|
desc: string;
|
|
71
46
|
icon: string;
|
|
47
|
+
map: string;
|
|
48
|
+
site: string;
|
|
49
|
+
stage: string;
|
|
72
50
|
time: string;
|
|
73
51
|
}
|
|
52
|
+
/** 名剑排行;依据新版接口实测响应。 */
|
|
74
53
|
export interface ArenaAwesomeItem {
|
|
75
|
-
roleName: string;
|
|
76
|
-
forceName: string;
|
|
77
54
|
avatarUrl: string;
|
|
78
|
-
|
|
55
|
+
forceName: string;
|
|
56
|
+
matchScore: string;
|
|
79
57
|
rankNum: string;
|
|
80
|
-
|
|
58
|
+
roleName: string;
|
|
81
59
|
upNum: number;
|
|
82
|
-
/** 胜率百分比整数 */
|
|
83
|
-
winRate: number;
|
|
84
|
-
/** 积分,字符串形式 */
|
|
85
|
-
matchScore: string;
|
|
86
|
-
}
|
|
87
|
-
/** 某比赛模式下的战绩表现;该模式无记录时服务端返回空数组 */
|
|
88
|
-
export interface ArenaPerformance {
|
|
89
|
-
mmr: number;
|
|
90
|
-
grade: number;
|
|
91
|
-
ranking: string;
|
|
92
|
-
winCount: number;
|
|
93
|
-
totalCount: number;
|
|
94
|
-
mvpCount: number;
|
|
95
|
-
pvpType: string;
|
|
96
|
-
winRate: number;
|
|
97
|
-
}
|
|
98
|
-
export interface ArenaHistoryItem {
|
|
99
|
-
avgGrade: number;
|
|
100
|
-
totalMmr: number;
|
|
101
|
-
mmr: number;
|
|
102
|
-
kungfu: string;
|
|
103
|
-
pvpType: number;
|
|
104
|
-
won: boolean;
|
|
105
|
-
mvp: boolean;
|
|
106
|
-
startTime: number;
|
|
107
|
-
endTime: number;
|
|
108
|
-
}
|
|
109
|
-
export interface ArenaTrendItem {
|
|
110
|
-
matchDate: number;
|
|
111
|
-
mmr: number;
|
|
112
60
|
winRate: number;
|
|
113
61
|
}
|
|
62
|
+
/** 名剑战绩;依据新版接口实测响应。 */
|
|
114
63
|
export interface ArenaRecentData {
|
|
115
|
-
zoneName: string;
|
|
116
|
-
serverName: string;
|
|
117
|
-
roleName: string;
|
|
118
|
-
roleId: string;
|
|
119
|
-
globalId: string;
|
|
120
|
-
forceName: string;
|
|
121
|
-
forceId: number;
|
|
122
|
-
bodyName: string;
|
|
123
64
|
bodyId: number;
|
|
124
|
-
|
|
125
|
-
tongId: number;
|
|
126
|
-
campName: string;
|
|
65
|
+
bodyName: string;
|
|
127
66
|
campId: number;
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
67
|
+
campName: string;
|
|
68
|
+
forceId: number;
|
|
69
|
+
forceName: string;
|
|
70
|
+
globalId: string;
|
|
71
|
+
history: Array<{
|
|
72
|
+
avgGrade: number;
|
|
73
|
+
endTime: number;
|
|
74
|
+
kungfu: string;
|
|
75
|
+
mmr: number;
|
|
76
|
+
mvp: boolean;
|
|
77
|
+
pvpType: number;
|
|
78
|
+
startTime: number;
|
|
79
|
+
totalMmr: number;
|
|
80
|
+
won: boolean;
|
|
81
|
+
}>;
|
|
82
|
+
performance: Record<string, [] | {
|
|
83
|
+
grade: number;
|
|
84
|
+
mmr: number;
|
|
85
|
+
mvpCount: number;
|
|
86
|
+
pvpType: string;
|
|
87
|
+
ranking: string;
|
|
88
|
+
totalCount: number;
|
|
89
|
+
winCount: number;
|
|
90
|
+
winRate: number;
|
|
91
|
+
}>;
|
|
92
|
+
roleId: string;
|
|
93
|
+
roleName: string;
|
|
94
|
+
serverName: string;
|
|
95
|
+
tongId: number;
|
|
96
|
+
tongName: string;
|
|
97
|
+
trend?: Array<{
|
|
98
|
+
matchDate: number;
|
|
99
|
+
mmr: number;
|
|
100
|
+
winRate: number;
|
|
101
|
+
}>;
|
|
102
|
+
zoneName: string;
|
|
103
|
+
}
|
|
104
|
+
/** 名剑统计;依据新版接口实测响应。 */
|
|
140
105
|
export interface ArenaSchoolItem {
|
|
141
106
|
forceName: string;
|
|
142
|
-
thisWeek: number;
|
|
143
107
|
lastWeek: number;
|
|
108
|
+
thisWeek: number;
|
|
144
109
|
}
|
|
110
|
+
/** 阵营拍卖;依据新版接口实测响应。 */
|
|
145
111
|
export interface AuctionRecord {
|
|
146
|
-
zone: string;
|
|
147
|
-
server: string;
|
|
148
|
-
roleName: string;
|
|
149
112
|
campName: string;
|
|
150
|
-
itemName: string;
|
|
151
113
|
itemAmount: string;
|
|
114
|
+
itemName: string;
|
|
115
|
+
roleName: string;
|
|
116
|
+
server: string;
|
|
152
117
|
time: number;
|
|
118
|
+
zone: string;
|
|
153
119
|
}
|
|
120
|
+
/** 帮战记录;依据新版接口实测响应。 */
|
|
154
121
|
export interface BattleRecord {
|
|
155
|
-
type: string;
|
|
156
|
-
declaringName: string;
|
|
157
122
|
acceptingName: string;
|
|
158
|
-
|
|
123
|
+
declaringName: string;
|
|
159
124
|
durationSeconds: number;
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
125
|
+
endTime: null | number;
|
|
126
|
+
startTime: number;
|
|
127
|
+
type: string;
|
|
128
|
+
winnerName?: null | string;
|
|
129
|
+
winnerScore?: null | string;
|
|
165
130
|
}
|
|
131
|
+
/** 角色名片。 */
|
|
166
132
|
export interface CardRecord {
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
roleName: string;
|
|
170
|
-
roleId: string;
|
|
133
|
+
cacheTime: number;
|
|
134
|
+
fileName: string;
|
|
171
135
|
globalRoleId: string;
|
|
172
|
-
|
|
136
|
+
roleId: string;
|
|
137
|
+
roleName: string;
|
|
138
|
+
serverName: string;
|
|
139
|
+
showActive: boolean;
|
|
140
|
+
showAvatar: string;
|
|
173
141
|
showHash: string;
|
|
174
|
-
showActive?: boolean;
|
|
175
142
|
showIndex: number;
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
cacheTime: number;
|
|
143
|
+
showLike: number;
|
|
144
|
+
zoneName: string;
|
|
179
145
|
}
|
|
146
|
+
/** 名片详情;依据新版接口实测响应。 */
|
|
180
147
|
export interface CardPreset {
|
|
181
148
|
praiseTotalCount: number;
|
|
182
149
|
showCardPresetUrl: string;
|
|
183
150
|
}
|
|
184
|
-
|
|
185
|
-
zoneName: string;
|
|
186
|
-
serverName: string;
|
|
187
|
-
roleName: string;
|
|
188
|
-
roleId: string;
|
|
189
|
-
globalRoleId: string;
|
|
190
|
-
showHash: string;
|
|
191
|
-
showAvatar: string;
|
|
192
|
-
fileName: string;
|
|
193
|
-
}
|
|
151
|
+
/** 名片历史;依据新版接口实测响应。 */
|
|
194
152
|
export interface CardHistoryItem {
|
|
195
|
-
|
|
196
|
-
|
|
153
|
+
cacheTime: number;
|
|
154
|
+
fileName: string;
|
|
197
155
|
globalRoleId: string;
|
|
156
|
+
roleId: string;
|
|
198
157
|
roleName: string;
|
|
199
|
-
|
|
200
|
-
showHash: string;
|
|
158
|
+
serverName: string;
|
|
201
159
|
showActive: boolean;
|
|
202
|
-
showIndex: number;
|
|
203
160
|
showAvatar: string;
|
|
204
|
-
|
|
161
|
+
showHash: string;
|
|
162
|
+
showIndex: number;
|
|
163
|
+
showLike: number;
|
|
164
|
+
zoneName: string;
|
|
205
165
|
}
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
166
|
+
/** 角色聊天;依据新版接口实测响应。 */
|
|
167
|
+
export interface ChatRecordsData {
|
|
168
|
+
list: Array<{
|
|
169
|
+
channel: string;
|
|
170
|
+
globalId: string;
|
|
171
|
+
message: string;
|
|
172
|
+
roleId: string;
|
|
173
|
+
roleName: string;
|
|
210
174
|
server: string;
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
castle: string;
|
|
214
|
-
status: number;
|
|
215
|
-
statusText: string;
|
|
216
|
-
startTime: number;
|
|
217
|
-
endTime: number;
|
|
175
|
+
time: number;
|
|
176
|
+
zone: string;
|
|
218
177
|
}>;
|
|
178
|
+
total: number;
|
|
219
179
|
}
|
|
220
|
-
/**
|
|
221
|
-
export interface ChituRecord extends ChituWeekRecord {
|
|
222
|
-
}
|
|
223
|
-
/** 本周赤兔记录 */
|
|
180
|
+
/** 本周赤兔;time 和 window 的可空性依据官方响应 schema。 */
|
|
224
181
|
export interface ChituWeekRecord {
|
|
225
|
-
server: string;
|
|
226
|
-
mapName: string;
|
|
227
|
-
horse: string;
|
|
228
|
-
/** 日期,格式 YYYY-MM-DD */
|
|
229
182
|
date: string;
|
|
230
|
-
|
|
231
|
-
|
|
183
|
+
horse: string;
|
|
184
|
+
mapName: string;
|
|
185
|
+
server: string;
|
|
232
186
|
status: string;
|
|
233
|
-
|
|
187
|
+
time: number | null;
|
|
234
188
|
window: string | null;
|
|
189
|
+
}
|
|
190
|
+
/** 今日赤兔:用户确认业务数据结构沿用旧版,仅外层响应信封变更。 */
|
|
191
|
+
export interface ChituRecord extends ChituWeekRecord {
|
|
235
192
|
note: string | null;
|
|
236
193
|
}
|
|
237
|
-
/** 本周赤兔记录列表 */
|
|
238
194
|
export type ChituWeekRecords = ChituWeekRecord[];
|
|
239
|
-
/**
|
|
240
|
-
export interface
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
source?: string;
|
|
252
|
-
}
|
|
253
|
-
export interface DuowanStatisticsGroup {
|
|
254
|
-
server: string;
|
|
195
|
+
/** 答案之书;依据新版接口实测响应。 */
|
|
196
|
+
export interface ChoiceAnswerData {
|
|
197
|
+
answer: string;
|
|
198
|
+
hearten: string;
|
|
199
|
+
}
|
|
200
|
+
/** 喝什么;依据新版接口实测响应。 */
|
|
201
|
+
export type ChoiceDrinkData = Array<string>;
|
|
202
|
+
/** 吃什么;依据新版接口实测响应。 */
|
|
203
|
+
export type ChoiceFoodData = Array<string>;
|
|
204
|
+
/** 编辑器;依据新版接口实测响应。 */
|
|
205
|
+
export interface EditorSearchData {
|
|
206
|
+
code: number;
|
|
255
207
|
data: Array<{
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
208
|
+
aliases_json: string;
|
|
209
|
+
bodies_json: string;
|
|
210
|
+
category: string;
|
|
211
|
+
code_key: string;
|
|
212
|
+
code_raw: string;
|
|
213
|
+
confidence: number;
|
|
214
|
+
display_name: string;
|
|
215
|
+
form_id: string;
|
|
216
|
+
id: number;
|
|
217
|
+
img: string;
|
|
218
|
+
item_image: string;
|
|
219
|
+
matched_beichen_ids_json: string;
|
|
220
|
+
name: string;
|
|
221
|
+
part: string;
|
|
222
|
+
primary_name: string;
|
|
223
|
+
raw_source: string;
|
|
224
|
+
review_status: string;
|
|
225
|
+
side: string;
|
|
226
|
+
source_raw_id: string;
|
|
227
|
+
type: string;
|
|
228
|
+
type_image: string;
|
|
265
229
|
}>;
|
|
230
|
+
pagination: {
|
|
231
|
+
current_page: number;
|
|
232
|
+
page_size: number;
|
|
233
|
+
total: number;
|
|
234
|
+
total_pages: number;
|
|
235
|
+
};
|
|
236
|
+
source: string;
|
|
237
|
+
source_priority: string;
|
|
266
238
|
}
|
|
239
|
+
/** 奇遇汇总;依据新版接口实测响应。 */
|
|
267
240
|
export interface EventCollectItem {
|
|
268
|
-
zone: string;
|
|
269
|
-
server: string;
|
|
270
|
-
event: string;
|
|
271
241
|
count: number;
|
|
242
|
+
event: string;
|
|
272
243
|
last: {
|
|
273
244
|
name: string;
|
|
274
245
|
time: number;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
name: string;
|
|
279
|
-
type: string;
|
|
280
|
-
level: number;
|
|
246
|
+
};
|
|
247
|
+
server: string;
|
|
248
|
+
zone: string;
|
|
281
249
|
}
|
|
250
|
+
/** 近期奇遇;依据新版接口实测响应。 */
|
|
282
251
|
export interface EventRecentItem {
|
|
283
|
-
zone: string;
|
|
284
|
-
server: string;
|
|
285
252
|
event: string;
|
|
286
253
|
name: string;
|
|
254
|
+
server: string;
|
|
287
255
|
source: number;
|
|
288
256
|
status: number;
|
|
289
257
|
time: number;
|
|
258
|
+
zone: string;
|
|
290
259
|
}
|
|
260
|
+
/** 奇遇记录;source、status 和 time 的可空性依据官方响应 schema。 */
|
|
291
261
|
export interface EventRecordItem {
|
|
292
|
-
zone: string;
|
|
293
|
-
server: string;
|
|
294
|
-
name: string;
|
|
295
262
|
event: string;
|
|
296
263
|
level: number;
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
264
|
+
name: string;
|
|
265
|
+
server: string;
|
|
266
|
+
source: number | null;
|
|
267
|
+
status: number | null;
|
|
268
|
+
time: number | null;
|
|
269
|
+
zone: string;
|
|
300
270
|
}
|
|
271
|
+
/** 奇遇统计;依据新版接口实测响应。 */
|
|
301
272
|
export interface EventStatisticsItem {
|
|
302
|
-
zone: string;
|
|
303
|
-
server: string;
|
|
304
273
|
event: string;
|
|
305
274
|
name: string;
|
|
275
|
+
server: string;
|
|
306
276
|
source: number;
|
|
307
277
|
status: number;
|
|
308
278
|
time: number;
|
|
279
|
+
zone: string;
|
|
309
280
|
}
|
|
281
|
+
/** 奇遇攻略;依据新版接口实测响应。 */
|
|
310
282
|
export interface EventStrategy {
|
|
311
283
|
box: number;
|
|
312
|
-
type: string;
|
|
313
|
-
name: string;
|
|
314
284
|
level: number;
|
|
315
|
-
|
|
285
|
+
name: string;
|
|
286
|
+
type: string;
|
|
316
287
|
}
|
|
288
|
+
/** 科举答案;依据新版接口实测响应。 */
|
|
317
289
|
export interface ExamAnswer {
|
|
318
|
-
question: string;
|
|
319
290
|
answer: string;
|
|
320
|
-
correctness: number;
|
|
291
|
+
correctness: null | number;
|
|
321
292
|
index: number;
|
|
293
|
+
question: string;
|
|
322
294
|
}
|
|
323
|
-
|
|
324
|
-
fenxianName: string;
|
|
325
|
-
seizeTime: number;
|
|
326
|
-
campName: string;
|
|
327
|
-
friendName: string;
|
|
328
|
-
roleName: string;
|
|
329
|
-
}
|
|
330
|
-
/** 烟花记录 */
|
|
295
|
+
/** 烟花记录;依据新版接口实测响应。 */
|
|
331
296
|
export interface FireworkRecord {
|
|
332
|
-
zone: string;
|
|
333
|
-
server: string;
|
|
334
|
-
mapName: string;
|
|
335
|
-
sender: string;
|
|
336
|
-
receiver: string;
|
|
337
297
|
firework: string;
|
|
298
|
+
mapName: string;
|
|
338
299
|
matched: number;
|
|
300
|
+
receiver: string;
|
|
301
|
+
sender: string;
|
|
302
|
+
server: string;
|
|
339
303
|
status: number;
|
|
340
|
-
/** 秒级时间戳 */
|
|
341
304
|
time: number;
|
|
305
|
+
zone: string;
|
|
342
306
|
}
|
|
307
|
+
/** 小吃小药;依据新版接口实测响应。 */
|
|
343
308
|
export interface FoodItem {
|
|
344
|
-
|
|
345
|
-
kungfu: string;
|
|
346
|
-
color: string;
|
|
309
|
+
boost: string;
|
|
347
310
|
class: string;
|
|
311
|
+
color: string;
|
|
312
|
+
kungfu: string;
|
|
348
313
|
name: string;
|
|
349
|
-
|
|
314
|
+
school: string;
|
|
350
315
|
}
|
|
351
|
-
/**
|
|
316
|
+
/** 骗子查询;依据新版接口实测响应。 */
|
|
352
317
|
export interface FraudRecord {
|
|
353
|
-
tid: number;
|
|
354
318
|
author: string;
|
|
355
319
|
commented: boolean;
|
|
356
320
|
content: string;
|
|
357
321
|
created: number;
|
|
358
322
|
pid: number;
|
|
359
323
|
status: number;
|
|
324
|
+
tid: number;
|
|
360
325
|
tieba: string;
|
|
361
326
|
title: string;
|
|
362
|
-
uid: number;
|
|
327
|
+
uid: number | string;
|
|
363
328
|
}
|
|
364
|
-
|
|
329
|
+
/** 家园鲜花;依据新版接口实测响应。 */
|
|
330
|
+
export type HomeFlowerData = Record<string, Array<{
|
|
331
|
+
color: null | string;
|
|
332
|
+
line: Array<string>;
|
|
365
333
|
name: string;
|
|
366
|
-
color: string;
|
|
367
334
|
price: number;
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
/** 键为地图名(如「枫叶泊·天苑」) */
|
|
371
|
-
export type HomeFlowerData = Record<string, FlowerPrice[]>;
|
|
372
|
-
/**
|
|
373
|
-
* 家园装饰 / 器物条目。`/home/furniture` 与 `/home/travel` 返回结构完全一致。
|
|
374
|
-
*
|
|
375
|
-
* 注意:数值型字段服务端一律返回**字符串**(如 `"1000"`),需要计算时自行 `Number()` 转换。
|
|
376
|
-
* 两个接口都要求完整精确的名称,模糊名会返回 `code: 400 参数不正确`。
|
|
377
|
-
*/
|
|
378
|
-
export interface HomeFurniture {
|
|
379
|
-
/** 装饰名称 */
|
|
380
|
-
name: string;
|
|
381
|
-
/** 装饰类型 ID,数字字符串 */
|
|
382
|
-
type: string;
|
|
383
|
-
/** 颜色 ID,数字字符串 */
|
|
384
|
-
color: string;
|
|
385
|
-
/** 获取来源,如 "大水南方令" */
|
|
386
|
-
source: string;
|
|
387
|
-
/** 是否为建筑,数字字符串("0" / "1") */
|
|
388
|
-
architecture: string;
|
|
389
|
-
/** 可摆放上限,数字字符串 */
|
|
390
|
-
limit: string;
|
|
391
|
-
/** 装饰度,数字字符串 */
|
|
392
|
-
quality: string;
|
|
393
|
-
/** 观赏值,数字字符串 */
|
|
394
|
-
view: string;
|
|
395
|
-
/** 实用值,数字字符串 */
|
|
396
|
-
practical: string;
|
|
397
|
-
/** 坚固值,数字字符串 */
|
|
398
|
-
hard: string;
|
|
399
|
-
/** 风水值,数字字符串 */
|
|
400
|
-
geomantic: string;
|
|
401
|
-
/** 趣味值,数字字符串 */
|
|
402
|
-
interesting: string;
|
|
403
|
-
/**
|
|
404
|
-
* 产出来源,如 `"万花"`(宠物游历产出的器物);无产出时为 null(多数家园装饰)。
|
|
405
|
-
*/
|
|
406
|
-
produce: string | null;
|
|
407
|
-
/** 图标图片 URL */
|
|
408
|
-
image: string;
|
|
409
|
-
/** 描述文案。装饰多为诗句,器物多为 "产出地图:xxx" */
|
|
410
|
-
tip: string;
|
|
411
|
-
}
|
|
412
|
-
/** 器物图谱条目,与 {@link HomeFurniture} 结构完全一致 */
|
|
413
|
-
export type HomeTravelItem = HomeFurniture;
|
|
335
|
+
}>>;
|
|
336
|
+
/** 秘境方位;依据新版接口实测响应。 */
|
|
414
337
|
export interface MechDecrypt {
|
|
415
|
-
|
|
416
|
-
nowNode: string;
|
|
417
|
-
nowResult: string;
|
|
338
|
+
intervalTime: string;
|
|
418
339
|
nextNode: string;
|
|
419
340
|
nextResult: string;
|
|
420
|
-
|
|
341
|
+
nowNode: string;
|
|
342
|
+
nowResult: string;
|
|
343
|
+
nowTime: string;
|
|
421
344
|
}
|
|
345
|
+
/** 师徒列表;依据新版接口实测响应。 */
|
|
422
346
|
export interface MentorItem {
|
|
347
|
+
bodyId: number;
|
|
348
|
+
bodyName: string;
|
|
349
|
+
campId: number;
|
|
350
|
+
campName: string;
|
|
351
|
+
commentText: string;
|
|
423
352
|
forceId: number;
|
|
353
|
+
forceName: string;
|
|
424
354
|
mapId: number;
|
|
425
355
|
miniAvatorId: number;
|
|
426
356
|
roleId: number;
|
|
427
|
-
roleType: number;
|
|
428
|
-
tongId: number;
|
|
429
|
-
campId: number;
|
|
430
357
|
roleLevel: number;
|
|
431
|
-
tongMemberCount: number;
|
|
432
|
-
commentText: string;
|
|
433
358
|
roleName: string;
|
|
359
|
+
tongId: number;
|
|
434
360
|
tongMasterName: string;
|
|
361
|
+
tongMemberCount: number;
|
|
435
362
|
tongName: string;
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
/** 百战单条技能(客户端原始字段) */
|
|
439
|
-
export interface MonsterSkill {
|
|
440
|
-
/** 是否已废弃 */
|
|
441
|
-
bDeprecated: boolean;
|
|
442
|
-
/** 内部技能 ID */
|
|
443
|
-
dwInSkillID: number;
|
|
444
|
-
/** 外部技能 ID */
|
|
445
|
-
dwOutSkillID: number;
|
|
446
|
-
/** 品质颜色档(0~7) */
|
|
447
|
-
nColor: number;
|
|
448
|
-
/** 消耗(精力/体力点数) */
|
|
449
|
-
nCost: number;
|
|
450
|
-
/** 技能等级。部分技能无此字段(实测 156 条中 130 条有) */
|
|
451
|
-
nLevel?: number;
|
|
452
|
-
/** 性别限制:0=通用 / 1=男 / 2=女 */
|
|
453
|
-
nSex: number;
|
|
454
|
-
/** 首领编号,数字字符串;部分技能为空串(如恶战/通用技能) */
|
|
455
|
-
szBoss: string;
|
|
456
|
-
/** 首领名称,多首领用「、」或「;」分隔(如 "钱宗龙、杜姬欣"、"恶战;上衫勇刀") */
|
|
457
|
-
szBossName: string;
|
|
458
|
-
/** 技能名称 */
|
|
459
|
-
szSkillName: string;
|
|
460
|
-
/** 技能类型标签,分号分隔的数字串(如 "1;3;10") */
|
|
461
|
-
szType: string;
|
|
462
|
-
}
|
|
463
|
-
/** 角色百战技能配装 */
|
|
363
|
+
}
|
|
364
|
+
/** 角色百战;依据新版接口实测响应。 */
|
|
464
365
|
export interface MonsterRecords {
|
|
465
|
-
zone: string;
|
|
466
|
-
server: string;
|
|
467
|
-
roleName: string;
|
|
468
|
-
roleId: string;
|
|
469
366
|
globalId: string;
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
list: string[];
|
|
498
|
-
/** 效果描述;无效果时为 "无" */
|
|
499
|
-
desc: string;
|
|
500
|
-
};
|
|
367
|
+
roleId: string;
|
|
368
|
+
roleName: string;
|
|
369
|
+
server: string;
|
|
370
|
+
skillCount: number;
|
|
371
|
+
skillEnergy: number;
|
|
372
|
+
skillList: Array<{
|
|
373
|
+
bDeprecated?: boolean;
|
|
374
|
+
dwInSkillID?: number;
|
|
375
|
+
dwOutSkillID?: number;
|
|
376
|
+
is_deprecated?: boolean;
|
|
377
|
+
leader_name?: string;
|
|
378
|
+
nColor?: number;
|
|
379
|
+
nCost?: number;
|
|
380
|
+
nLevel?: number;
|
|
381
|
+
nSex?: number;
|
|
382
|
+
skill_color?: number;
|
|
383
|
+
skill_cost?: number;
|
|
384
|
+
skill_level?: number;
|
|
385
|
+
skill_name?: string;
|
|
386
|
+
szBoss?: string;
|
|
387
|
+
szBossName?: string;
|
|
388
|
+
szSkillName?: string;
|
|
389
|
+
szType?: string;
|
|
390
|
+
}>;
|
|
391
|
+
skillStamina: number;
|
|
392
|
+
updateTime: number;
|
|
393
|
+
zone: string;
|
|
501
394
|
}
|
|
502
|
-
/**
|
|
395
|
+
/** 百战首领;依据新版接口实测响应。 */
|
|
503
396
|
export interface MonsterWeekly {
|
|
504
|
-
/** 游戏周序号,数字字符串,如 "30" */
|
|
505
|
-
week: string;
|
|
506
|
-
/** 本周开始时间戳(秒) */
|
|
507
|
-
start: number;
|
|
508
|
-
/** 本周结束时间戳(秒) */
|
|
509
|
-
end: number;
|
|
510
|
-
/** 本周首领名称 */
|
|
511
397
|
boss: string;
|
|
512
|
-
|
|
513
|
-
list:
|
|
398
|
+
end: number;
|
|
399
|
+
list: Array<{
|
|
400
|
+
data: {
|
|
401
|
+
desc: string;
|
|
402
|
+
list: Array<string>;
|
|
403
|
+
name: string;
|
|
404
|
+
};
|
|
405
|
+
index: number;
|
|
406
|
+
name: string;
|
|
407
|
+
skill: Array<string>;
|
|
408
|
+
}>;
|
|
409
|
+
start: number;
|
|
410
|
+
week: string;
|
|
514
411
|
}
|
|
412
|
+
/** 官方资讯;新闻与维护公告保留原始 desc 字段。 */
|
|
515
413
|
export interface NewsItem {
|
|
516
414
|
catid: string;
|
|
517
415
|
date: string;
|
|
416
|
+
desc: {
|
|
417
|
+
app_allow_comment?: string;
|
|
418
|
+
app_is_recommended?: string;
|
|
419
|
+
asktime?: string;
|
|
420
|
+
author_live?: string;
|
|
421
|
+
author_live_icon?: string;
|
|
422
|
+
catid?: string;
|
|
423
|
+
check_is_live?: string;
|
|
424
|
+
content: string;
|
|
425
|
+
description?: string;
|
|
426
|
+
ext_data?: null;
|
|
427
|
+
id?: string;
|
|
428
|
+
inputtime: number | string;
|
|
429
|
+
islink?: string;
|
|
430
|
+
keywords?: string;
|
|
431
|
+
listorder?: string;
|
|
432
|
+
live_author?: string;
|
|
433
|
+
live_author_icon?: string;
|
|
434
|
+
live_status?: string;
|
|
435
|
+
oid?: string;
|
|
436
|
+
style?: string;
|
|
437
|
+
thumb?: string;
|
|
438
|
+
title: string;
|
|
439
|
+
top?: string;
|
|
440
|
+
updatetime?: string;
|
|
441
|
+
url?: string;
|
|
442
|
+
};
|
|
518
443
|
title: string;
|
|
519
444
|
type: string;
|
|
520
445
|
url: string;
|
|
521
446
|
}
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
bossCount: number;
|
|
526
|
-
bossFinished: number;
|
|
527
|
-
bossProgress: Array<{
|
|
528
|
-
name: string;
|
|
529
|
-
index: number;
|
|
530
|
-
progressId: number;
|
|
531
|
-
finished: boolean;
|
|
532
|
-
}>;
|
|
533
|
-
}
|
|
534
|
-
/** 键为地图名,值为「下一匹 X 出世还有 N 分钟」推算出的预计时刻列表 */
|
|
535
|
-
export type RanchChatData = Record<string, string[]>;
|
|
536
|
-
/** 马场事件响应数据,位于主站响应信封的 `data` 字段 */
|
|
447
|
+
/** 马场预告;官方响应 schema 允许返回空数组。 */
|
|
448
|
+
export type RanchChatData = Record<string, Array<string>> | [];
|
|
449
|
+
/** 马场事件;依据新版接口实测响应。 */
|
|
537
450
|
export interface RanchRecordsData {
|
|
538
|
-
|
|
539
|
-
zone: string;
|
|
540
|
-
/** 服务器名称,如 "破阵子" */
|
|
541
|
-
server: string;
|
|
542
|
-
/**
|
|
543
|
-
* 键为地图名,可能包含进图时间,如 "龙泉府 / 进图(21:10)"。
|
|
544
|
-
* 值为预告文本列表,如 ["的卢(10/16 21:15)"] 或 ["时间尚久,无法预知。"]。
|
|
545
|
-
*/
|
|
546
|
-
data: Record<string, string[]>;
|
|
547
|
-
/** 出世记录及提示文本,保留原始换行,如 "赤兔已出世·鲲鹏岛(10/07 21:52)\n\n数据仅供参考,请以游戏内为准。" */
|
|
451
|
+
data: Record<string, Array<string>>;
|
|
548
452
|
note: string;
|
|
549
|
-
}
|
|
550
|
-
export interface RankArenaGroup {
|
|
551
|
-
mode: number;
|
|
552
|
-
name: string;
|
|
553
453
|
server: string;
|
|
554
|
-
data: Array<{
|
|
555
|
-
centerId: number;
|
|
556
|
-
corpsId: number;
|
|
557
|
-
corpsName: string;
|
|
558
|
-
corpsLevel: number;
|
|
559
|
-
seasonWinCount: number;
|
|
560
|
-
seasonLoseCount: number;
|
|
561
|
-
seasonTotalCount: number;
|
|
562
|
-
}>;
|
|
563
|
-
time: number;
|
|
564
|
-
}
|
|
565
|
-
export interface RankChampionshipGroup {
|
|
566
|
-
mode: number;
|
|
567
|
-
name: string;
|
|
568
|
-
server: string;
|
|
569
|
-
data: Array<{
|
|
570
|
-
centerId: number;
|
|
571
|
-
tongId: number;
|
|
572
|
-
tongName: string;
|
|
573
|
-
masterName: string;
|
|
574
|
-
campName: number;
|
|
575
|
-
winCount: number;
|
|
576
|
-
loseCount: number;
|
|
577
|
-
totalScore: number;
|
|
578
|
-
lastMatchTime: number;
|
|
579
|
-
}>;
|
|
580
|
-
time: number;
|
|
581
|
-
}
|
|
582
|
-
export interface RankBountyItem {
|
|
583
|
-
name: string;
|
|
584
|
-
tongName: string;
|
|
585
|
-
playerId: number;
|
|
586
|
-
forceId: number;
|
|
587
|
-
camp: number;
|
|
588
|
-
roleType: number;
|
|
589
|
-
score: number;
|
|
590
|
-
customValue0: number;
|
|
591
|
-
customValue1: number;
|
|
592
|
-
customValue2: number;
|
|
593
|
-
customValue3: number;
|
|
594
|
-
customValue4: number;
|
|
595
|
-
customValue5: number;
|
|
596
|
-
[key: string]: unknown;
|
|
597
|
-
}
|
|
598
|
-
/** 江湖浪客 / 捕快荣誉榜(bounty 合集,字段一致) */
|
|
599
|
-
export interface RankBountyGroup {
|
|
600
|
-
mode: number;
|
|
601
|
-
name: string;
|
|
602
|
-
server: string;
|
|
603
|
-
data: RankBountyItem[];
|
|
604
|
-
time: number;
|
|
605
|
-
}
|
|
606
|
-
export interface RankStatisticsGroup {
|
|
607
454
|
zone: string;
|
|
608
|
-
server: string;
|
|
609
|
-
name: string;
|
|
610
|
-
data: Array<{
|
|
611
|
-
name: string;
|
|
612
|
-
level: number;
|
|
613
|
-
campName: string;
|
|
614
|
-
tongName: string;
|
|
615
|
-
forceName: string;
|
|
616
|
-
totalScore: number;
|
|
617
|
-
}>;
|
|
618
|
-
time: number;
|
|
619
455
|
}
|
|
620
|
-
/**
|
|
621
|
-
export interface
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
456
|
+
/** /rank/battle 榜单原始条目。 */
|
|
457
|
+
export interface RankBattleItem {
|
|
458
|
+
ASSIST_KILL_COUNT: number;
|
|
459
|
+
AVRG_EQUIP_SCORE: number;
|
|
460
|
+
AVRG_LIVE_TIME: number;
|
|
461
|
+
BATTLE_ROUNDS: number;
|
|
462
|
+
BEST_ASSIST_KILL_COUNT: number;
|
|
463
|
+
BEST_EQUIP_SCORE: number;
|
|
464
|
+
COMBAT_KILL_COUNT: number;
|
|
465
|
+
CUSTOM_VALUE1: number;
|
|
466
|
+
CUSTOM_VALUE2: number;
|
|
467
|
+
CUSTOM_VALUE3: number;
|
|
468
|
+
INJURY: number;
|
|
469
|
+
KILL_COUNT: number;
|
|
470
|
+
LAST_ROUND_EQUIP_SCORE: number;
|
|
471
|
+
LAST_ROUND_LIVE_TIME: number;
|
|
472
|
+
MATCH_LEVEL: number;
|
|
473
|
+
SUM_ASSIST_KILL_COUNT: number;
|
|
474
|
+
SUM_KILL_COUNT: number;
|
|
475
|
+
SUM_LIVE_COUNT: number;
|
|
476
|
+
THERAPY: number;
|
|
477
|
+
TOP_COUNT: number;
|
|
478
|
+
TOTAL_DAMAGE: number;
|
|
479
|
+
byForceID: number;
|
|
480
|
+
byType: number;
|
|
481
|
+
dwMiniAvatarID: number;
|
|
482
|
+
nCenterID: number;
|
|
483
|
+
nRank: number;
|
|
484
|
+
szName: string;
|
|
485
|
+
szTongName: string;
|
|
486
|
+
uGlobalRoleID: string;
|
|
487
|
+
}
|
|
488
|
+
/** 指定服务器的榜单;未指定服务器时接口返回分组数组。 */
|
|
489
|
+
export interface RankGroup<T> {
|
|
639
490
|
zone: string;
|
|
640
|
-
data: RankTrialsItem[];
|
|
641
|
-
/** 榜单数据的采集时间 */
|
|
642
|
-
time: number;
|
|
643
|
-
}
|
|
644
|
-
export interface RankWantedGroup {
|
|
645
491
|
server: string;
|
|
646
|
-
|
|
647
|
-
name: string;
|
|
648
|
-
data: Array<{
|
|
649
|
-
name: string;
|
|
650
|
-
payerName: string;
|
|
651
|
-
money: number;
|
|
652
|
-
timeOut: number;
|
|
653
|
-
forceId: number;
|
|
654
|
-
forceName: string;
|
|
655
|
-
campId: number | null;
|
|
656
|
-
campName: string | null;
|
|
657
|
-
mapId: number;
|
|
658
|
-
tongId: number;
|
|
659
|
-
tongName: string;
|
|
660
|
-
roleType: number;
|
|
661
|
-
}>;
|
|
492
|
+
label: string;
|
|
662
493
|
time: number;
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
494
|
+
data: T[];
|
|
495
|
+
}
|
|
496
|
+
/** /rank/battle 的服务器分组。 */
|
|
497
|
+
export type RankBattleGroup = RankGroup<RankBattleItem>;
|
|
498
|
+
/** /rank/castle 榜单原始条目。 */
|
|
499
|
+
export interface RankCastleItem {
|
|
500
|
+
byForceID: number;
|
|
501
|
+
byLevel: number;
|
|
502
|
+
dwMiniAvatarID: number;
|
|
503
|
+
nContribution: number;
|
|
504
|
+
szName: string;
|
|
505
|
+
szTongName: string;
|
|
506
|
+
}
|
|
507
|
+
/** /rank/castle 的服务器分组。 */
|
|
508
|
+
export type RankCastleGroup = RankGroup<RankCastleItem>;
|
|
509
|
+
/** /rank/contest 榜单原始条目。 */
|
|
510
|
+
export interface RankContestItem {
|
|
511
|
+
dwCenterID: number;
|
|
512
|
+
dwTongID: number;
|
|
513
|
+
eCamp: number;
|
|
514
|
+
nLastMatchTime: number;
|
|
515
|
+
nLose: number;
|
|
516
|
+
nRank: number;
|
|
517
|
+
nScore: number;
|
|
518
|
+
nWin: number;
|
|
519
|
+
szMasterName: string;
|
|
520
|
+
szTongName: string;
|
|
521
|
+
}
|
|
522
|
+
/** /rank/contest 的服务器分组。 */
|
|
523
|
+
export type RankContestGroup = RankGroup<RankContestItem>;
|
|
524
|
+
/** /rank/guild 榜单原始条目。 */
|
|
525
|
+
export interface RankGuildItem {
|
|
526
|
+
dwID?: number;
|
|
527
|
+
dwTongID?: number;
|
|
528
|
+
nForceID?: number;
|
|
529
|
+
nKey?: number;
|
|
530
|
+
nMaxLimit?: number;
|
|
531
|
+
nMaxMemberCount?: number;
|
|
532
|
+
nMemberCount?: number;
|
|
533
|
+
nRoleType?: number;
|
|
534
|
+
nScore?: number;
|
|
535
|
+
nSupplyPoint?: number;
|
|
536
|
+
nTitlePoint?: number;
|
|
537
|
+
nTotalPoint?: number;
|
|
538
|
+
szCampName?: string;
|
|
539
|
+
szCastleName?: string;
|
|
540
|
+
szMasterName: string;
|
|
541
|
+
szTongName: string;
|
|
542
|
+
}
|
|
543
|
+
/** /rank/guild 的服务器分组。 */
|
|
544
|
+
export type RankGuildGroup = RankGroup<RankGuildItem>;
|
|
545
|
+
/** /rank/jianghu 榜单原始条目。 */
|
|
546
|
+
export interface RankJianghuItem {
|
|
547
|
+
dwCustomValue0: number;
|
|
548
|
+
dwCustomValue1: number;
|
|
549
|
+
dwCustomValue2: number;
|
|
550
|
+
dwCustomValue3: number;
|
|
551
|
+
dwCustomValue4: number;
|
|
552
|
+
dwCustomValue5: number;
|
|
553
|
+
dwForceID: number;
|
|
554
|
+
dwPlayerID: number;
|
|
555
|
+
eCamp: number;
|
|
556
|
+
nRank: number;
|
|
557
|
+
nRoleType: number;
|
|
558
|
+
nScore: number;
|
|
559
|
+
szName: string;
|
|
560
|
+
szTongName: string;
|
|
561
|
+
}
|
|
562
|
+
/** /rank/jianghu 的服务器分组。 */
|
|
563
|
+
export type RankJianghuGroup = RankGroup<RankJianghuItem>;
|
|
564
|
+
/** /rank/ladder 榜单原始条目。 */
|
|
565
|
+
export interface RankLadderItem {
|
|
566
|
+
dwCenterID: number;
|
|
567
|
+
dwCorpsID: number;
|
|
568
|
+
dwMobileSeasonTotalCount: number;
|
|
569
|
+
dwMobileSeasonWinCount: number;
|
|
570
|
+
dwSeasonLoseCount: number;
|
|
571
|
+
dwSeasonTotalCount: number;
|
|
572
|
+
dwSeasonWinCount: number;
|
|
573
|
+
nCorpsLevel: number;
|
|
574
|
+
nRank: number;
|
|
575
|
+
szCorpsName: string;
|
|
576
|
+
}
|
|
577
|
+
/** /rank/ladder 的服务器分组。 */
|
|
578
|
+
export type RankLadderGroup = RankGroup<RankLadderItem>;
|
|
579
|
+
/** /rank/records 榜单原始条目。 */
|
|
580
|
+
export interface RankRecordsItem {
|
|
581
|
+
dwID?: number;
|
|
582
|
+
dwMiniAvatarID?: number;
|
|
583
|
+
nKey?: number;
|
|
584
|
+
nLevel: number;
|
|
585
|
+
nRank?: number;
|
|
586
|
+
nRoleType?: number;
|
|
587
|
+
nScore: number;
|
|
588
|
+
szCampName?: string;
|
|
589
|
+
szForceName: string;
|
|
590
|
+
szName: string;
|
|
591
|
+
szTongName: string;
|
|
592
|
+
}
|
|
593
|
+
/** /rank/records 的服务器分组。 */
|
|
594
|
+
export type RankRecordsGroup = RankGroup<RankRecordsItem>;
|
|
595
|
+
/** /rank/trials 榜单原始条目。 */
|
|
596
|
+
export interface RankTrialsItem {
|
|
597
|
+
"1": string;
|
|
598
|
+
"2": number;
|
|
599
|
+
"3": number;
|
|
600
|
+
"4": number;
|
|
601
|
+
dwID: number;
|
|
602
|
+
nKey: number;
|
|
603
|
+
}
|
|
604
|
+
/** /rank/trials 的服务器分组。 */
|
|
605
|
+
export type RankTrialsGroup = RankGroup<RankTrialsItem>;
|
|
606
|
+
/** /rank/wanted 榜单原始条目。 */
|
|
607
|
+
export interface RankWantedItem {
|
|
608
|
+
dwForceID: number;
|
|
609
|
+
dwMapID: number;
|
|
610
|
+
dwTongID: number;
|
|
611
|
+
nMoney: number;
|
|
612
|
+
nRank: number;
|
|
613
|
+
nRoleType: number;
|
|
614
|
+
nTimeOut: number;
|
|
615
|
+
szName: string;
|
|
616
|
+
szPayerName: string;
|
|
617
|
+
szTongName: string;
|
|
618
|
+
}
|
|
619
|
+
/** /rank/wanted 的服务器分组。 */
|
|
620
|
+
export type RankWantedGroup = RankGroup<RankWantedItem>;
|
|
621
|
+
/** 团队招募;依据新版接口实测响应。 */
|
|
696
622
|
export interface RecruitItem {
|
|
697
623
|
activityId: string;
|
|
698
624
|
activityName: string;
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
625
|
+
campId: number;
|
|
626
|
+
campName: string;
|
|
627
|
+
commentText: string;
|
|
702
628
|
createTime: number;
|
|
703
629
|
currentMemberCount: number;
|
|
630
|
+
flagBits: number;
|
|
704
631
|
forceId: number;
|
|
632
|
+
kungfuId: number;
|
|
633
|
+
labelIdComment: string;
|
|
634
|
+
labelIdTable: Array<number>;
|
|
705
635
|
lastModifyTime: number;
|
|
636
|
+
maxMemberCount: number;
|
|
637
|
+
miniAvatarId: number;
|
|
638
|
+
roleLevel: number;
|
|
706
639
|
roleName: string;
|
|
707
640
|
roleType: number;
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
campId: number;
|
|
711
|
-
flagBits: number;
|
|
712
|
-
commentText: string;
|
|
713
|
-
labelIdTable: number[];
|
|
714
|
-
labelIdComment: string;
|
|
641
|
+
subTypeName: string;
|
|
642
|
+
typeName: string;
|
|
715
643
|
variantInfo: {
|
|
716
644
|
isSwitchServer: boolean;
|
|
717
645
|
publisherId: number;
|
|
718
646
|
pushId: number;
|
|
719
647
|
roleId: number;
|
|
720
648
|
};
|
|
721
|
-
[key: string]: unknown;
|
|
722
649
|
}
|
|
650
|
+
/** 掉落统计;依据新版接口实测响应。 */
|
|
723
651
|
export interface RewardRecord {
|
|
724
|
-
zone: string;
|
|
725
|
-
server: string;
|
|
726
|
-
roleName: string;
|
|
727
|
-
mapName: string;
|
|
728
|
-
itemName: string;
|
|
729
652
|
itemAmount: number;
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
/** 成就关联的地图 */
|
|
733
|
-
export interface AchievementMap {
|
|
734
|
-
icon: string;
|
|
735
|
-
id: number;
|
|
736
|
-
name: string;
|
|
737
|
-
type: string;
|
|
738
|
-
}
|
|
739
|
-
/** 成就奖励物品(无奖励时成就的 rewardItem 为 null) */
|
|
740
|
-
export interface AchievementRewardItem {
|
|
741
|
-
icon: string;
|
|
742
|
-
/** 物品 ID,字符串(注意与成就自身的数字 id 不同) */
|
|
743
|
-
id: string;
|
|
744
|
-
name: string;
|
|
745
|
-
}
|
|
746
|
-
/** 子成就(成套成就的子项) */
|
|
747
|
-
export interface AchievementSubItem {
|
|
748
|
-
icon: string;
|
|
749
|
-
id: number;
|
|
750
|
-
isFinished: boolean;
|
|
751
|
-
name: string;
|
|
752
|
-
}
|
|
753
|
-
/** 单条成就 */
|
|
754
|
-
export interface Achievement {
|
|
755
|
-
/** 大类,如 "江湖行" */
|
|
756
|
-
class: string;
|
|
757
|
-
/** 子类,如 "秘境" */
|
|
758
|
-
subClass: string;
|
|
759
|
-
/** 当前进度值 */
|
|
760
|
-
currentValue: number;
|
|
761
|
-
/** 达成所需的目标值 */
|
|
762
|
-
triggerValue: number;
|
|
763
|
-
/** 成就描述 */
|
|
764
|
-
desc: string;
|
|
765
|
-
/** 出处说明,如 "安史之乱·团队传说" */
|
|
766
|
-
detail: string;
|
|
767
|
-
/** 图标 URL */
|
|
768
|
-
icon: string;
|
|
769
|
-
/** 成就 ID */
|
|
770
|
-
id: number;
|
|
771
|
-
/** 该角色是否已完成 */
|
|
772
|
-
isFinished: boolean;
|
|
773
|
-
/** 是否已收藏 */
|
|
774
|
-
isFav: boolean;
|
|
775
|
-
/** 点赞数 */
|
|
776
|
-
likes: number;
|
|
777
|
-
/** 关联地图,无则为空数组 */
|
|
778
|
-
maps: AchievementMap[];
|
|
779
|
-
/** 成就名称 */
|
|
780
|
-
name: string;
|
|
781
|
-
/** 奖励物品,无奖励时为 null */
|
|
782
|
-
rewardItem: AchievementRewardItem | null;
|
|
783
|
-
/** 奖励成就点 */
|
|
784
|
-
rewardPoint: number;
|
|
785
|
-
/** 奖励前缀称号 */
|
|
786
|
-
rewardPrefix: string;
|
|
787
|
-
/** 奖励后缀称号 */
|
|
788
|
-
rewardSuffix: string;
|
|
789
|
-
/** 子成就列表,无则为空数组 */
|
|
790
|
-
subset: AchievementSubItem[];
|
|
791
|
-
/** 成就类型,如 "simple" */
|
|
792
|
-
type: string;
|
|
793
|
-
}
|
|
794
|
-
/** 成就查询:角色名片 + 匹配到的成就列表(标记该角色完成情况) */
|
|
795
|
-
export interface RoleAchievementData {
|
|
796
|
-
zoneName: string;
|
|
797
|
-
serverName: string;
|
|
653
|
+
itemName: string;
|
|
654
|
+
mapName: string;
|
|
798
655
|
roleName: string;
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
forceId: number;
|
|
803
|
-
bodyName: string;
|
|
804
|
-
bodyId: number;
|
|
805
|
-
tongName: string;
|
|
806
|
-
tongId: number;
|
|
807
|
-
campName: string;
|
|
808
|
-
campId: number;
|
|
809
|
-
/** 按名称/分类/子类/详情模糊匹配到的成就 */
|
|
810
|
-
data: Achievement[];
|
|
656
|
+
server: string;
|
|
657
|
+
time: number;
|
|
658
|
+
zone: string;
|
|
811
659
|
}
|
|
660
|
+
/** 角色详情;依据新版接口实测响应。 */
|
|
812
661
|
export interface RoleDetail {
|
|
813
|
-
zoneName: string;
|
|
814
|
-
serverName: string;
|
|
815
|
-
roleName: string;
|
|
816
|
-
roleId: string;
|
|
817
|
-
globalId: string;
|
|
818
|
-
forceName: string;
|
|
819
|
-
forceId: number;
|
|
820
|
-
bodyName: string;
|
|
821
662
|
bodyId: number;
|
|
822
|
-
|
|
823
|
-
tongId: number;
|
|
824
|
-
campName: string;
|
|
663
|
+
bodyName: string;
|
|
825
664
|
campId: number;
|
|
826
|
-
|
|
665
|
+
campName: string;
|
|
666
|
+
forceId: number;
|
|
667
|
+
forceName: string;
|
|
668
|
+
globalId: string;
|
|
827
669
|
roleHistory?: {
|
|
828
|
-
|
|
670
|
+
TongNames: Array<{
|
|
829
671
|
name: string;
|
|
830
672
|
server: string;
|
|
831
673
|
time: number;
|
|
832
674
|
}>;
|
|
833
|
-
|
|
675
|
+
roleNames: Array<{
|
|
834
676
|
name: string;
|
|
835
677
|
server: string;
|
|
836
678
|
time: number;
|
|
837
679
|
}>;
|
|
838
680
|
};
|
|
681
|
+
roleId: string;
|
|
682
|
+
roleName: string;
|
|
683
|
+
serverName: string;
|
|
684
|
+
tongId: number;
|
|
685
|
+
tongName: string;
|
|
686
|
+
zoneName: string;
|
|
839
687
|
}
|
|
840
|
-
|
|
841
|
-
|
|
688
|
+
/** 全服角色;依据新版接口实测响应。 */
|
|
689
|
+
export type RoleDetailsData = Array<{
|
|
690
|
+
_id: {
|
|
691
|
+
$oid: string;
|
|
692
|
+
};
|
|
693
|
+
body_id: number;
|
|
694
|
+
body_name: string;
|
|
695
|
+
camp_id: number;
|
|
696
|
+
camp_name: string;
|
|
697
|
+
created_at: string;
|
|
698
|
+
force_id: number;
|
|
699
|
+
force_name: string;
|
|
700
|
+
global_id: string;
|
|
701
|
+
role_id: string;
|
|
702
|
+
role_name: string;
|
|
842
703
|
server: string;
|
|
843
|
-
|
|
844
|
-
|
|
704
|
+
show_avatar: null | string;
|
|
705
|
+
show_count: null | number;
|
|
706
|
+
show_hash: null | string;
|
|
707
|
+
show_index: null | number;
|
|
708
|
+
tong_id: null | number;
|
|
709
|
+
tong_name: null | string;
|
|
710
|
+
updated_at: string;
|
|
711
|
+
zone: string;
|
|
712
|
+
}>;
|
|
713
|
+
/** 沙盘据点;依据新版接口实测响应。 */
|
|
714
|
+
export interface SandRecordsData {
|
|
845
715
|
data: Array<{
|
|
846
|
-
|
|
847
|
-
|
|
716
|
+
campId: number;
|
|
717
|
+
campName: string;
|
|
848
718
|
castleId: number;
|
|
849
719
|
castleName: string;
|
|
720
|
+
defendCount: number;
|
|
850
721
|
masterId: number;
|
|
851
722
|
masterName: string;
|
|
852
|
-
campId: number;
|
|
853
|
-
campName: string;
|
|
854
723
|
ridePiece: number;
|
|
855
|
-
|
|
724
|
+
tongId: number;
|
|
725
|
+
tongName: string;
|
|
856
726
|
}>;
|
|
727
|
+
reset: number;
|
|
728
|
+
server: string;
|
|
729
|
+
update: number;
|
|
730
|
+
zone: string;
|
|
857
731
|
}
|
|
858
|
-
/**
|
|
732
|
+
/** 随机骚话;依据新版接口实测响应。 */
|
|
733
|
+
export interface SaohuaRandom {
|
|
734
|
+
text: string;
|
|
735
|
+
}
|
|
736
|
+
/** 分类语录;依据新版接口实测响应。 */
|
|
859
737
|
export interface SaohuaContext {
|
|
860
738
|
content: string;
|
|
861
739
|
}
|
|
862
|
-
/**
|
|
863
|
-
export interface
|
|
740
|
+
/** 渣男语录;依据新版接口实测响应。 */
|
|
741
|
+
export interface SaohuaZhananData {
|
|
864
742
|
text: string;
|
|
865
743
|
}
|
|
866
|
-
|
|
867
|
-
name: string;
|
|
868
|
-
skillName: string;
|
|
869
|
-
data: Array<{
|
|
870
|
-
desc: string;
|
|
871
|
-
level: number;
|
|
872
|
-
name: string;
|
|
873
|
-
}>;
|
|
874
|
-
}
|
|
744
|
+
/** 配装搜索;依据新版接口实测响应。 */
|
|
875
745
|
export interface SchoolSearchItem {
|
|
876
|
-
|
|
877
|
-
title: string;
|
|
746
|
+
commentCount: number;
|
|
878
747
|
content: string;
|
|
879
|
-
|
|
880
|
-
|
|
748
|
+
equipShareId: string;
|
|
749
|
+
force: string;
|
|
750
|
+
id: string;
|
|
881
751
|
kungfuId: string;
|
|
882
752
|
kungfuName: string;
|
|
883
|
-
score: number;
|
|
884
|
-
force: string;
|
|
885
|
-
equipShareId: string;
|
|
886
|
-
commentCount: number;
|
|
887
753
|
likeCount: number;
|
|
754
|
+
publishTimeUnix: number;
|
|
755
|
+
replyTimeUnix: number;
|
|
756
|
+
roleInfo: {
|
|
757
|
+
roleName: string;
|
|
758
|
+
schoolName: string;
|
|
759
|
+
serverName: string;
|
|
760
|
+
zoneName: string;
|
|
761
|
+
};
|
|
762
|
+
score: number;
|
|
888
763
|
shareCount: number;
|
|
889
|
-
tags: string
|
|
764
|
+
tags: Array<string>;
|
|
765
|
+
title: string;
|
|
890
766
|
tuilanInfo: {
|
|
767
|
+
avatarUrl: string;
|
|
891
768
|
nickname: string;
|
|
892
769
|
personId: string;
|
|
893
|
-
avatarUrl: string;
|
|
894
770
|
};
|
|
895
|
-
roleInfo: {
|
|
896
|
-
zoneName: string;
|
|
897
|
-
serverName: string;
|
|
898
|
-
roleName: string;
|
|
899
|
-
schoolName: string;
|
|
900
|
-
};
|
|
901
|
-
[key: string]: unknown;
|
|
902
771
|
}
|
|
903
|
-
/**
|
|
772
|
+
/** 资历榜单;依据新版接口实测响应。 */
|
|
904
773
|
export interface SchoolSeniorityItem {
|
|
905
|
-
zoneName: string;
|
|
906
|
-
serverName: string;
|
|
907
|
-
roleName: string;
|
|
908
|
-
roleId: number;
|
|
909
|
-
forceName: string;
|
|
910
|
-
forceId: number;
|
|
911
|
-
forceIcon: string;
|
|
912
774
|
avatarUrl: string;
|
|
775
|
+
forceIcon: string;
|
|
776
|
+
forceId: number;
|
|
777
|
+
forceName: string;
|
|
778
|
+
roleId: number;
|
|
779
|
+
roleName: string;
|
|
913
780
|
seniority: number;
|
|
781
|
+
serverName: string;
|
|
782
|
+
zoneName: string;
|
|
914
783
|
}
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
name: string;
|
|
919
|
-
simpleDesc: string;
|
|
920
|
-
desc: string;
|
|
921
|
-
specialDesc: string;
|
|
922
|
-
interval: string;
|
|
923
|
-
consumption: string;
|
|
924
|
-
distance: string;
|
|
925
|
-
icon: string;
|
|
926
|
-
kind: string;
|
|
927
|
-
subKind: string;
|
|
928
|
-
releaseType: string;
|
|
929
|
-
weapon: string;
|
|
930
|
-
}>;
|
|
931
|
-
}
|
|
932
|
-
export interface SchoolTalentLevel {
|
|
933
|
-
level: number;
|
|
934
|
-
data: Array<{
|
|
935
|
-
name: string;
|
|
936
|
-
/** 1=招式 / 0=奇穴 */
|
|
937
|
-
class: number;
|
|
938
|
-
desc: string;
|
|
939
|
-
icon: string;
|
|
940
|
-
kind: string;
|
|
941
|
-
subKind: string;
|
|
942
|
-
}>;
|
|
784
|
+
/** 别名搜索;依据新版接口实测响应。 */
|
|
785
|
+
export interface ServerSearchData {
|
|
786
|
+
server: string;
|
|
943
787
|
}
|
|
788
|
+
/** 开关服记录(type=1)。 */
|
|
944
789
|
export interface ServerStatus {
|
|
945
|
-
server: string;
|
|
946
|
-
/** 上次开服时间(秒级时间戳) */
|
|
947
790
|
lasttime: number;
|
|
948
|
-
|
|
791
|
+
server: string;
|
|
949
792
|
shuttime: number;
|
|
950
|
-
/** 0=正常 */
|
|
951
793
|
status: number;
|
|
952
794
|
zone: string;
|
|
953
795
|
}
|
|
954
|
-
|
|
955
|
-
|
|
796
|
+
/** 官方在线状态(type 非 1)。 */
|
|
797
|
+
export interface ServerOnlineStatus {
|
|
956
798
|
server: string;
|
|
957
|
-
|
|
799
|
+
status: string;
|
|
800
|
+
zone: string;
|
|
801
|
+
}
|
|
802
|
+
/** 游戏版本;依据新版接口实测响应。 */
|
|
803
|
+
export interface ServerVersionCheckData {
|
|
804
|
+
num: number;
|
|
805
|
+
size: string;
|
|
806
|
+
ver: string;
|
|
807
|
+
}
|
|
808
|
+
/** 蹲宠查询;依据新版接口实测响应。 */
|
|
809
|
+
export interface ShareStayItem {
|
|
958
810
|
data: {
|
|
959
|
-
npc_name: string;
|
|
960
811
|
map_name: string;
|
|
961
|
-
min_time: number;
|
|
962
812
|
max_time: number;
|
|
813
|
+
min_time: number;
|
|
814
|
+
npc_name: string;
|
|
963
815
|
};
|
|
816
|
+
name: string;
|
|
817
|
+
server: string;
|
|
964
818
|
time: number;
|
|
819
|
+
zone: string;
|
|
965
820
|
}
|
|
966
|
-
|
|
967
|
-
title: string;
|
|
968
|
-
version: string;
|
|
969
|
-
time: number;
|
|
970
|
-
}
|
|
821
|
+
/** 急速计算;依据新版接口实测响应。 */
|
|
971
822
|
export interface SkillCalculateItem {
|
|
972
823
|
duration: number;
|
|
973
824
|
hastePercent: number;
|
|
974
825
|
hastePercentLimit: number;
|
|
826
|
+
level: number;
|
|
975
827
|
nowFrame: number;
|
|
976
|
-
uNowFrame: number;
|
|
977
828
|
surplusNowFrame: number;
|
|
978
|
-
|
|
829
|
+
uNowFrame: number;
|
|
979
830
|
}
|
|
980
|
-
/**
|
|
831
|
+
/** 技改记录;依据新版接口实测响应。 */
|
|
981
832
|
export interface SkillReworkItem {
|
|
982
|
-
/** 公告 ID */
|
|
983
833
|
id: number;
|
|
984
|
-
|
|
834
|
+
time: string;
|
|
985
835
|
title: string;
|
|
986
|
-
/** 官网公告链接 */
|
|
987
836
|
url: string;
|
|
988
|
-
/** 发布时间,格式 "YYYY-MM-DD HH:mm:ss" */
|
|
989
|
-
time: string;
|
|
990
837
|
}
|
|
991
|
-
|
|
992
|
-
|
|
838
|
+
/** 扶摇记录;status 和 time 的可空性依据官方响应 schema。 */
|
|
839
|
+
export interface SoarRecord {
|
|
993
840
|
server: string;
|
|
994
|
-
status: number;
|
|
995
|
-
time: number;
|
|
996
|
-
|
|
997
|
-
export interface SoundConverterParams {
|
|
998
|
-
/** 阿里云 appkey */
|
|
999
|
-
appkey: string;
|
|
1000
|
-
/** 阿里云 AccessKeyId */
|
|
1001
|
-
access: string;
|
|
1002
|
-
/** 阿里云 AccessKeySecret */
|
|
1003
|
-
secret: string;
|
|
1004
|
-
/** 发音人,默认 Aitong */
|
|
1005
|
-
voice?: string;
|
|
1006
|
-
/** 音频编码,默认 mp3 */
|
|
1007
|
-
format?: string;
|
|
1008
|
-
/** 采样率,默认 16000 */
|
|
1009
|
-
sample_rate?: number;
|
|
1010
|
-
/** 音量,默认 "50" */
|
|
1011
|
-
volume?: string;
|
|
1012
|
-
/** 语速,默认 "0" */
|
|
1013
|
-
speech_rate?: string;
|
|
1014
|
-
/** 语调,默认 "0" */
|
|
1015
|
-
pitch_rate?: string;
|
|
1016
|
-
/** 语音内容 */
|
|
1017
|
-
text: string;
|
|
1018
|
-
}
|
|
1019
|
-
/** 未实测:语音合成(需要用户自己的阿里云密钥) */
|
|
1020
|
-
export interface SoundConverterData {
|
|
1021
|
-
url?: string;
|
|
1022
|
-
[key: string]: unknown;
|
|
841
|
+
status: number | null;
|
|
842
|
+
time: number | null;
|
|
843
|
+
zone: string;
|
|
1023
844
|
}
|
|
845
|
+
/** 的卢记录;尚未拍卖的记录不含拍卖字段。 */
|
|
1024
846
|
export interface SteedRecord {
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
847
|
+
auctionAmount?: string;
|
|
848
|
+
auctionCampName?: string;
|
|
849
|
+
auctionRoleName?: string;
|
|
850
|
+
auctionTime?: number;
|
|
1029
851
|
captureCampName: string;
|
|
1030
852
|
captureRoleName: string;
|
|
1031
853
|
captureTime: number;
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
auctionTime: number;
|
|
1036
|
-
}
|
|
1037
|
-
export interface TiebaItemRecord {
|
|
854
|
+
mapName: string;
|
|
855
|
+
refreshTime: number;
|
|
856
|
+
server: string;
|
|
1038
857
|
zone: string;
|
|
858
|
+
}
|
|
859
|
+
/** 全服各服务器最新的卢记录,无记录时 data 为 []。 */
|
|
860
|
+
export interface SteedServerRecord {
|
|
861
|
+
data: SteedRecord | [];
|
|
1039
862
|
server: string;
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
863
|
+
}
|
|
864
|
+
/** 外观记录;依据新版接口实测响应。 */
|
|
865
|
+
export interface TiebaItemRecord {
|
|
1043
866
|
context: string;
|
|
1044
|
-
reply: number;
|
|
1045
|
-
token: string;
|
|
1046
867
|
floor: number;
|
|
868
|
+
name: string;
|
|
869
|
+
reply: number;
|
|
870
|
+
server: string;
|
|
1047
871
|
time: number;
|
|
872
|
+
token: string;
|
|
873
|
+
url: number;
|
|
874
|
+
zone: string;
|
|
875
|
+
}
|
|
876
|
+
/** 贴吧物价;依据新版接口实测响应。 */
|
|
877
|
+
export interface TiebaItemSalesData {
|
|
878
|
+
server: Array<{
|
|
879
|
+
date: string;
|
|
880
|
+
sale: number;
|
|
881
|
+
server: string;
|
|
882
|
+
value: number;
|
|
883
|
+
zone: string;
|
|
884
|
+
}>;
|
|
885
|
+
tieba: Array<{
|
|
886
|
+
date: string;
|
|
887
|
+
sale: number;
|
|
888
|
+
server: string;
|
|
889
|
+
value: number;
|
|
890
|
+
zone: string;
|
|
891
|
+
}>;
|
|
1048
892
|
}
|
|
893
|
+
/** 随机帖子;依据新版接口实测响应。 */
|
|
1049
894
|
export interface TiebaRandomItem {
|
|
1050
|
-
zone: string;
|
|
1051
|
-
server: string;
|
|
1052
|
-
name: string;
|
|
1053
|
-
/** 帖子 tid */
|
|
1054
|
-
url: number;
|
|
1055
895
|
date: string;
|
|
896
|
+
name: string;
|
|
897
|
+
server: string;
|
|
1056
898
|
tags: string;
|
|
1057
899
|
title: string;
|
|
900
|
+
url: number;
|
|
901
|
+
zone: string;
|
|
1058
902
|
}
|
|
903
|
+
/** 用户确认沿用原字段类型;新版线上暂未取得成功响应,不声明任意扩展字段。 */
|
|
1059
904
|
export interface TiebaSummary {
|
|
1060
905
|
title: string;
|
|
1061
906
|
category: string;
|
|
@@ -1063,296 +908,268 @@ export interface TiebaSummary {
|
|
|
1063
908
|
characters: string[];
|
|
1064
909
|
tl_dr: string;
|
|
1065
910
|
summary: string;
|
|
1066
|
-
[key: string]: unknown;
|
|
1067
911
|
}
|
|
912
|
+
/** 金价行情;依据新版接口实测响应。 */
|
|
1068
913
|
export interface TradeDemonItem {
|
|
1069
|
-
|
|
914
|
+
"5173": null;
|
|
915
|
+
"7881": string;
|
|
916
|
+
date: string;
|
|
917
|
+
dd373: string;
|
|
1070
918
|
server: string;
|
|
1071
919
|
tieba: string;
|
|
1072
|
-
wanbaolou: string;
|
|
1073
|
-
dd373: string;
|
|
1074
920
|
uu898: string;
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
date: string;
|
|
1078
|
-
[key: string]: unknown;
|
|
921
|
+
wanbaolou: string;
|
|
922
|
+
zone: string;
|
|
1079
923
|
}
|
|
1080
|
-
|
|
924
|
+
/** 物品渠道价格;保留各渠道的可选字段。 */
|
|
925
|
+
export interface TradeItemRecords {
|
|
926
|
+
alias: string;
|
|
1081
927
|
category: string;
|
|
928
|
+
date: string;
|
|
929
|
+
desc: string;
|
|
930
|
+
list: Array<{
|
|
931
|
+
list: Array<{
|
|
932
|
+
date: string;
|
|
933
|
+
id?: string;
|
|
934
|
+
index?: string;
|
|
935
|
+
remainingTime?: number;
|
|
936
|
+
sale: number;
|
|
937
|
+
server: string;
|
|
938
|
+
source?: number;
|
|
939
|
+
status?: number;
|
|
940
|
+
token?: string;
|
|
941
|
+
value: number;
|
|
942
|
+
zone: string;
|
|
943
|
+
}>;
|
|
944
|
+
name: string;
|
|
945
|
+
}>;
|
|
1082
946
|
name: string;
|
|
1083
|
-
alias: string;
|
|
1084
947
|
retail: number;
|
|
1085
|
-
desc: string;
|
|
1086
|
-
date: string;
|
|
1087
948
|
view: string;
|
|
1088
949
|
}
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
950
|
+
/** 外观搜索;依据新版接口实测响应。 */
|
|
951
|
+
export interface TradeItemInfo {
|
|
952
|
+
alias: string;
|
|
953
|
+
category: string;
|
|
1092
954
|
date: string;
|
|
1093
|
-
|
|
1094
|
-
|
|
955
|
+
desc: string;
|
|
956
|
+
name: string;
|
|
957
|
+
retail: number;
|
|
958
|
+
view: string;
|
|
1095
959
|
}
|
|
1096
|
-
/**
|
|
1097
|
-
export interface
|
|
1098
|
-
|
|
960
|
+
/** 成本计算;依据新版接口实测响应。 */
|
|
961
|
+
export interface TradeManufactureData {
|
|
962
|
+
costVigor: number;
|
|
963
|
+
createItemIndex: number;
|
|
964
|
+
createItemMax: number;
|
|
965
|
+
createItemMin: number;
|
|
966
|
+
exp: number;
|
|
967
|
+
iconId: number;
|
|
968
|
+
items: Array<{
|
|
969
|
+
genre: number;
|
|
970
|
+
iconId: number;
|
|
1099
971
|
name: string;
|
|
1100
|
-
|
|
972
|
+
price: number | {
|
|
973
|
+
avgPrice: number;
|
|
974
|
+
highestPrice: number;
|
|
975
|
+
lowestPrice: number;
|
|
976
|
+
sampleSize: number;
|
|
977
|
+
updatedAt: number;
|
|
978
|
+
};
|
|
979
|
+
quality: number;
|
|
980
|
+
quantity: number;
|
|
981
|
+
type: string;
|
|
1101
982
|
}>;
|
|
1102
|
-
}
|
|
1103
|
-
export interface TradeManufactureData {
|
|
1104
|
-
name: string;
|
|
1105
983
|
level: number;
|
|
1106
|
-
|
|
1107
|
-
|
|
984
|
+
name: string;
|
|
985
|
+
price: {
|
|
986
|
+
avgPrice: number;
|
|
987
|
+
highestPrice: number;
|
|
988
|
+
lowestPrice: number;
|
|
989
|
+
sampleSize: number;
|
|
990
|
+
updatedAt: number;
|
|
991
|
+
};
|
|
1108
992
|
quality: number;
|
|
1109
|
-
iconId: number;
|
|
1110
|
-
createItemMin: number;
|
|
1111
|
-
createItemMax: number;
|
|
1112
|
-
createItemIndex: number;
|
|
1113
993
|
tipInfo: Array<{
|
|
1114
|
-
text: string;
|
|
1115
|
-
font: number;
|
|
1116
994
|
color: string;
|
|
995
|
+
font: number;
|
|
996
|
+
text: string;
|
|
1117
997
|
}>;
|
|
1118
|
-
price: TradeManufacturePrice;
|
|
1119
998
|
total: {
|
|
1120
|
-
subtotal: number;
|
|
1121
|
-
lowestTotal: number;
|
|
1122
999
|
avgTotal: number;
|
|
1123
1000
|
highestTotal: number;
|
|
1001
|
+
lowestTotal: number;
|
|
1002
|
+
subtotal: number;
|
|
1124
1003
|
};
|
|
1125
|
-
items: Array<{
|
|
1126
|
-
type: string;
|
|
1127
|
-
name: string;
|
|
1128
|
-
quality: number;
|
|
1129
|
-
genre: number;
|
|
1130
|
-
iconId: number;
|
|
1131
|
-
quantity: number;
|
|
1132
|
-
price: TradeManufacturePrice;
|
|
1133
|
-
}>;
|
|
1134
|
-
}
|
|
1135
|
-
export interface TradeManufacturePrice {
|
|
1136
|
-
lowestPrice: number;
|
|
1137
|
-
avgPrice: number;
|
|
1138
|
-
highestPrice: number;
|
|
1139
|
-
sampleSize: number;
|
|
1140
|
-
updatedAt: number;
|
|
1141
1004
|
}
|
|
1142
|
-
/**
|
|
1005
|
+
/** 编号搜索;依据新版接口实测响应。 */
|
|
1143
1006
|
export interface TradeWanbaolouData {
|
|
1144
|
-
/** 万宝楼编号,保留字符串以避免大整数精度丢失 */
|
|
1145
|
-
id: string;
|
|
1146
|
-
serverName: string;
|
|
1147
|
-
roleName: string;
|
|
1148
|
-
roleLevel: number;
|
|
1149
|
-
followNum: number;
|
|
1150
|
-
forceName: string;
|
|
1151
1007
|
bodyName: string;
|
|
1152
|
-
meetingNum: number;
|
|
1153
1008
|
campName: string;
|
|
1154
|
-
/** 装备评分,接口返回字符串 */
|
|
1155
1009
|
equipScore: string;
|
|
1156
|
-
|
|
1010
|
+
followNum: number;
|
|
1011
|
+
forceName: string;
|
|
1012
|
+
id: string;
|
|
1013
|
+
meetingNum: number;
|
|
1157
1014
|
priceNum: number;
|
|
1158
|
-
|
|
1015
|
+
replyContent: string;
|
|
1016
|
+
replyTime: number;
|
|
1017
|
+
replyTitle: string;
|
|
1018
|
+
roleLevel: number;
|
|
1019
|
+
roleName: string;
|
|
1020
|
+
seniorityNum: number;
|
|
1021
|
+
serverName: string;
|
|
1159
1022
|
tradeStatus: number;
|
|
1160
1023
|
updatePrices: Array<{
|
|
1161
1024
|
accoSeq: string;
|
|
1162
|
-
/** 创建时间戳(毫秒) */
|
|
1163
1025
|
createtime: number;
|
|
1164
1026
|
updatePrice: number;
|
|
1165
|
-
/** 调价时间戳(毫秒) */
|
|
1166
1027
|
updateTime: number;
|
|
1167
1028
|
zhanghaoId: string;
|
|
1168
1029
|
}>;
|
|
1169
|
-
replyTitle: string;
|
|
1170
|
-
/** 交易说明,可能包含 HTML 标签 */
|
|
1171
|
-
replyContent: string;
|
|
1172
|
-
/** 时间戳(秒) */
|
|
1173
|
-
replyTime: number;
|
|
1174
1030
|
}
|
|
1175
|
-
/**
|
|
1176
|
-
export interface
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1031
|
+
/** 秒伤计算;依据新版接口实测响应。 */
|
|
1032
|
+
export interface TrialBosses {
|
|
1033
|
+
bosses: Array<{
|
|
1034
|
+
boss: string;
|
|
1035
|
+
clearDps: null | number;
|
|
1036
|
+
group: string;
|
|
1037
|
+
hp: number;
|
|
1038
|
+
note: null | string;
|
|
1039
|
+
perfectDps: null | number;
|
|
1040
|
+
}>;
|
|
1041
|
+
floor: number;
|
|
1042
|
+
hpGrowth: number;
|
|
1043
|
+
season: string;
|
|
1180
1044
|
}
|
|
1181
|
-
/**
|
|
1182
|
-
export interface
|
|
1183
|
-
|
|
1045
|
+
/** 赛季列表;依据新版接口实测响应。 */
|
|
1046
|
+
export interface TrialSeason {
|
|
1047
|
+
bosses: Array<string>;
|
|
1048
|
+
maxFloor: number;
|
|
1049
|
+
season: string;
|
|
1050
|
+
}
|
|
1051
|
+
/** 角色徽章;依据新版接口实测响应。 */
|
|
1052
|
+
export interface TuilanBadgeData {
|
|
1053
|
+
badge_data: Array<{
|
|
1054
|
+
icon: string;
|
|
1055
|
+
id: string;
|
|
1056
|
+
level: string;
|
|
1057
|
+
name: string;
|
|
1058
|
+
value: string;
|
|
1059
|
+
version: number;
|
|
1060
|
+
}>;
|
|
1061
|
+
}
|
|
1062
|
+
/** 统战语音;依据新版接口实测响应。 */
|
|
1063
|
+
export interface VoiceChannelGroup {
|
|
1064
|
+
data: Array<{
|
|
1065
|
+
asid: number;
|
|
1066
|
+
campName: string;
|
|
1067
|
+
esid?: string;
|
|
1068
|
+
limit: number;
|
|
1069
|
+
logo: number;
|
|
1070
|
+
logoUrl?: string;
|
|
1071
|
+
sid: number;
|
|
1072
|
+
snick?: string;
|
|
1073
|
+
users: number;
|
|
1074
|
+
}>;
|
|
1184
1075
|
server: string;
|
|
1185
|
-
|
|
1076
|
+
}
|
|
1077
|
+
/** 角色信息;依据新版接口实测响应。 */
|
|
1078
|
+
export type WanbaolouRoleData = Array<{
|
|
1079
|
+
bodily: string;
|
|
1186
1080
|
camp: string;
|
|
1187
|
-
tong: string;
|
|
1188
|
-
tongid: string;
|
|
1189
1081
|
force: string;
|
|
1190
|
-
bodily: string;
|
|
1191
1082
|
globalid: string;
|
|
1192
|
-
|
|
1193
|
-
|
|
1083
|
+
guild_membership_observation: {
|
|
1084
|
+
camp: string;
|
|
1085
|
+
observed_at: number;
|
|
1086
|
+
roleid: string;
|
|
1194
1087
|
server: string;
|
|
1088
|
+
tong: string;
|
|
1089
|
+
tongid: string;
|
|
1090
|
+
};
|
|
1091
|
+
name: string;
|
|
1092
|
+
name_history: Array<{
|
|
1195
1093
|
name: string;
|
|
1196
|
-
|
|
1094
|
+
server: string;
|
|
1197
1095
|
time: number;
|
|
1198
1096
|
}>;
|
|
1199
|
-
|
|
1097
|
+
roleid: string;
|
|
1098
|
+
server: string;
|
|
1099
|
+
tong: string;
|
|
1200
1100
|
tong_history: Array<{
|
|
1201
|
-
/** 部分历史记录不返回服务器 */
|
|
1202
1101
|
server?: string;
|
|
1203
|
-
tongid: string;
|
|
1204
|
-
tong: string;
|
|
1205
|
-
/** 秒级时间戳 */
|
|
1206
1102
|
time: number;
|
|
1103
|
+
tong: string;
|
|
1104
|
+
tongid: string;
|
|
1207
1105
|
}>;
|
|
1208
|
-
|
|
1106
|
+
tongid: string;
|
|
1209
1107
|
update_time: number;
|
|
1210
|
-
/** 帮会成员身份观测信息 */
|
|
1211
|
-
guild_membership_observation: {
|
|
1212
|
-
server: string;
|
|
1213
|
-
roleid: string;
|
|
1214
|
-
tongid: string;
|
|
1215
|
-
tong: string;
|
|
1216
|
-
camp: string;
|
|
1217
|
-
/** 秒级时间戳,可能含小数 */
|
|
1218
|
-
observed_at: number;
|
|
1219
|
-
};
|
|
1220
|
-
/** 万宝楼角色匹配信息 */
|
|
1221
1108
|
wbl_match: {
|
|
1222
|
-
|
|
1223
|
-
|
|
1109
|
+
explanation: string;
|
|
1110
|
+
match_percent: number;
|
|
1224
1111
|
official_role_id: number;
|
|
1225
1112
|
official_server: string;
|
|
1226
|
-
match_percent: number;
|
|
1227
1113
|
search_complete: boolean;
|
|
1228
|
-
|
|
1114
|
+
verified_exact: boolean;
|
|
1115
|
+
verified_identity: boolean;
|
|
1229
1116
|
};
|
|
1230
|
-
}
|
|
1231
|
-
/**
|
|
1117
|
+
}>;
|
|
1118
|
+
/** 搜索找人;依据新版接口实测响应。 */
|
|
1232
1119
|
export interface WanbaolouOrderData {
|
|
1233
1120
|
detail: {
|
|
1234
|
-
/** 万宝楼订单编号,保留字符串以避免大整数精度丢失 */
|
|
1235
|
-
order: string;
|
|
1236
|
-
zoneName: string;
|
|
1237
|
-
serverName: string;
|
|
1238
|
-
roleName: string;
|
|
1239
|
-
name: string;
|
|
1240
|
-
forceName: string;
|
|
1241
1121
|
bodyName: string;
|
|
1242
1122
|
campName: string;
|
|
1123
|
+
endTime: number;
|
|
1124
|
+
ene: number;
|
|
1125
|
+
followedNum: number;
|
|
1126
|
+
forceName: string;
|
|
1127
|
+
name: string;
|
|
1128
|
+
order: string;
|
|
1129
|
+
price: number;
|
|
1130
|
+
pveScore: number;
|
|
1131
|
+
pvpScore: number;
|
|
1243
1132
|
roleLevel: number;
|
|
1133
|
+
roleName: string;
|
|
1244
1134
|
score: number;
|
|
1245
|
-
pvpScore: number;
|
|
1246
|
-
pveScore: number;
|
|
1247
1135
|
seniority: number;
|
|
1248
|
-
|
|
1136
|
+
serverName: string;
|
|
1249
1137
|
sta: number;
|
|
1250
|
-
price: number;
|
|
1251
1138
|
state: number;
|
|
1252
|
-
|
|
1253
|
-
/** 结束时间戳(秒) */
|
|
1254
|
-
endTime: number;
|
|
1139
|
+
tags: Array<string>;
|
|
1255
1140
|
thumb: string;
|
|
1256
|
-
|
|
1141
|
+
zoneName: string;
|
|
1257
1142
|
};
|
|
1258
1143
|
result: Array<{
|
|
1259
|
-
zoneName: string;
|
|
1260
|
-
serverName: string;
|
|
1261
|
-
roleName: string;
|
|
1262
|
-
roleId: string;
|
|
1263
|
-
globalId: string;
|
|
1264
|
-
forceName: string;
|
|
1265
|
-
forceId: number;
|
|
1266
|
-
bodyName: string;
|
|
1267
1144
|
bodyId: number;
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
campName: string
|
|
1271
|
-
campId: number | null;
|
|
1272
|
-
ene: number | null;
|
|
1273
|
-
sta: number | null;
|
|
1274
|
-
/** 技能数据时间戳(秒),无数据时为 null */
|
|
1275
|
-
skillTime: number | null;
|
|
1276
|
-
deviation: number | null;
|
|
1277
|
-
skillLearned: number | null;
|
|
1278
|
-
skillSame: number | null;
|
|
1145
|
+
bodyName: string;
|
|
1146
|
+
campId: number;
|
|
1147
|
+
campName: string;
|
|
1279
1148
|
confidence: number;
|
|
1280
|
-
|
|
1281
|
-
|
|
1149
|
+
deviation: number;
|
|
1150
|
+
ene: number;
|
|
1151
|
+
forceId: number;
|
|
1152
|
+
forceName: string;
|
|
1153
|
+
globalId: string;
|
|
1154
|
+
roleId: string;
|
|
1155
|
+
roleName: string;
|
|
1156
|
+
score: null | number;
|
|
1157
|
+
scoreMatched: null | boolean;
|
|
1158
|
+
serverName: string;
|
|
1159
|
+
skillLearned: number;
|
|
1160
|
+
skillSame: number;
|
|
1161
|
+
skillTime: number;
|
|
1162
|
+
sta: number;
|
|
1163
|
+
tongId: number;
|
|
1164
|
+
tongName: null | string;
|
|
1165
|
+
zoneName: string;
|
|
1282
1166
|
}>;
|
|
1283
1167
|
}
|
|
1284
|
-
/**
|
|
1285
|
-
export interface TuilanAchievementProgress {
|
|
1286
|
-
/** 该分组的总量 */
|
|
1287
|
-
total: number;
|
|
1288
|
-
/** 角色已完成 / 已获得的数量 */
|
|
1289
|
-
speed: number;
|
|
1290
|
-
}
|
|
1291
|
-
/** 单个资历分组的成就数量与资历点进度 */
|
|
1292
|
-
export interface TuilanAchievementStat {
|
|
1293
|
-
/** 成就数量 */
|
|
1294
|
-
pieces: TuilanAchievementProgress;
|
|
1295
|
-
/** 资历点 */
|
|
1296
|
-
seniority: TuilanAchievementProgress;
|
|
1297
|
-
}
|
|
1298
|
-
/** 未指定 subclass 时:资历大类 -> 资历子类 -> 进度 */
|
|
1299
|
-
export type TuilanAchievementTotal = Record<string, Record<string, TuilanAchievementStat>>;
|
|
1300
|
-
/** 指定 subclass 时:所选大类下的资历子类 -> 进度 */
|
|
1301
|
-
export type TuilanAchievementFilteredTotal = Record<string, TuilanAchievementStat>;
|
|
1302
|
-
/** 资历分布的分类汇总 */
|
|
1303
|
-
export interface TuilanAchievementSummary<Total extends TuilanAchievementTotal | TuilanAchievementFilteredTotal = TuilanAchievementTotal> {
|
|
1304
|
-
/** 按资历分类汇总;指定 subclass 后会移除最外层大类 */
|
|
1305
|
-
total: Total;
|
|
1306
|
-
/** 副本名 -> 难度 -> 进度 */
|
|
1307
|
-
dungeons: Record<string, Record<string, TuilanAchievementStat>>;
|
|
1308
|
-
/** 地图名 -> 进度 */
|
|
1309
|
-
maps: Record<string, TuilanAchievementStat>;
|
|
1310
|
-
/** 角色当前资历点 */
|
|
1311
|
-
score: number;
|
|
1312
|
-
/** 全部成就的总资历点 */
|
|
1313
|
-
totalScore: number;
|
|
1314
|
-
}
|
|
1315
|
-
/** 资历分布:角色名片 + 分类、副本及地图维度的完成进度 */
|
|
1316
|
-
export interface TuilanAchievementData<Total extends TuilanAchievementTotal | TuilanAchievementFilteredTotal = TuilanAchievementTotal> {
|
|
1317
|
-
zoneName: string;
|
|
1318
|
-
serverName: string;
|
|
1319
|
-
roleName: string;
|
|
1320
|
-
roleId: string;
|
|
1321
|
-
globalId: string;
|
|
1322
|
-
forceName: string;
|
|
1323
|
-
forceId: number;
|
|
1324
|
-
bodyName: string;
|
|
1325
|
-
bodyId: number;
|
|
1326
|
-
tongName: string;
|
|
1327
|
-
tongId: number;
|
|
1328
|
-
campName: string;
|
|
1329
|
-
campId: number;
|
|
1330
|
-
data: TuilanAchievementSummary<Total>;
|
|
1331
|
-
}
|
|
1332
|
-
export interface TuilanBadgeItem {
|
|
1333
|
-
icon: string;
|
|
1334
|
-
id: string;
|
|
1335
|
-
level: string;
|
|
1336
|
-
name: string;
|
|
1337
|
-
/** 展示值,例如装备分 "11551" 或段位 "零段" */
|
|
1338
|
-
value: string;
|
|
1339
|
-
version: number;
|
|
1340
|
-
}
|
|
1341
|
-
export interface TuilanBadgeData {
|
|
1342
|
-
badge_data: TuilanBadgeItem[];
|
|
1343
|
-
}
|
|
1344
|
-
export interface UpdateCalendarParams {
|
|
1345
|
-
/** 大战文本 */
|
|
1346
|
-
szWar?: string;
|
|
1347
|
-
/** 日常秘境(; 分隔) */
|
|
1348
|
-
szCommon?: string;
|
|
1349
|
-
/** 团队副本(; 分隔) */
|
|
1350
|
-
szTeamDungeons?: string;
|
|
1351
|
-
}
|
|
1168
|
+
/** 诛恶事件;依据新版接口实测响应。 */
|
|
1352
1169
|
export interface WickedRecord {
|
|
1353
|
-
zone: string;
|
|
1354
|
-
server: string;
|
|
1355
1170
|
mapName: string;
|
|
1171
|
+
server: string;
|
|
1356
1172
|
time: number;
|
|
1173
|
+
zone: string;
|
|
1357
1174
|
}
|
|
1358
1175
|
//# sourceMappingURL=main.d.ts.map
|