@axiapps/axilog 1.8.3 → 1.10.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.
Files changed (3) hide show
  1. package/index.js +27 -27
  2. package/package.json +6 -6
  3. package/types.d.ts +61 -0
package/index.js CHANGED
@@ -78,7 +78,7 @@ function requireNative() {
78
78
  const binding = require('@axiapps/axilog-android-arm64')
79
79
  const bindingPackageVersion = require('@axiapps/axilog-android-arm64/package.json').version
80
80
  if (bindingPackageVersion !== '1.8.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
81
- throw new Error(`Native binding package version mismatch, expected 1.8.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
81
+ throw new Error(`Native binding package version mismatch, expected 1.10.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
82
82
  }
83
83
  return binding
84
84
  } catch (e) {
@@ -94,7 +94,7 @@ function requireNative() {
94
94
  const binding = require('@axiapps/axilog-android-arm-eabi')
95
95
  const bindingPackageVersion = require('@axiapps/axilog-android-arm-eabi/package.json').version
96
96
  if (bindingPackageVersion !== '1.8.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
97
- throw new Error(`Native binding package version mismatch, expected 1.8.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
97
+ throw new Error(`Native binding package version mismatch, expected 1.10.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
98
98
  }
99
99
  return binding
100
100
  } catch (e) {
@@ -115,7 +115,7 @@ function requireNative() {
115
115
  const binding = require('@axiapps/axilog-win32-x64-gnu')
116
116
  const bindingPackageVersion = require('@axiapps/axilog-win32-x64-gnu/package.json').version
117
117
  if (bindingPackageVersion !== '1.8.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
118
- throw new Error(`Native binding package version mismatch, expected 1.8.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
118
+ throw new Error(`Native binding package version mismatch, expected 1.10.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
119
119
  }
120
120
  return binding
121
121
  } catch (e) {
@@ -131,7 +131,7 @@ function requireNative() {
131
131
  const binding = require('@axiapps/axilog-win32-x64-msvc')
132
132
  const bindingPackageVersion = require('@axiapps/axilog-win32-x64-msvc/package.json').version
133
133
  if (bindingPackageVersion !== '1.8.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
134
- throw new Error(`Native binding package version mismatch, expected 1.8.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
134
+ throw new Error(`Native binding package version mismatch, expected 1.10.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
135
135
  }
136
136
  return binding
137
137
  } catch (e) {
@@ -148,7 +148,7 @@ function requireNative() {
148
148
  const binding = require('@axiapps/axilog-win32-ia32-msvc')
149
149
  const bindingPackageVersion = require('@axiapps/axilog-win32-ia32-msvc/package.json').version
150
150
  if (bindingPackageVersion !== '1.8.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
151
- throw new Error(`Native binding package version mismatch, expected 1.8.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
151
+ throw new Error(`Native binding package version mismatch, expected 1.10.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
152
152
  }
153
153
  return binding
154
154
  } catch (e) {
@@ -164,7 +164,7 @@ function requireNative() {
164
164
  const binding = require('@axiapps/axilog-win32-arm64-msvc')
165
165
  const bindingPackageVersion = require('@axiapps/axilog-win32-arm64-msvc/package.json').version
166
166
  if (bindingPackageVersion !== '1.8.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
167
- throw new Error(`Native binding package version mismatch, expected 1.8.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
167
+ throw new Error(`Native binding package version mismatch, expected 1.10.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
168
168
  }
169
169
  return binding
170
170
  } catch (e) {
@@ -183,7 +183,7 @@ function requireNative() {
183
183
  const binding = require('@axiapps/axilog-darwin-universal')
184
184
  const bindingPackageVersion = require('@axiapps/axilog-darwin-universal/package.json').version
185
185
  if (bindingPackageVersion !== '1.8.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
186
- throw new Error(`Native binding package version mismatch, expected 1.8.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
186
+ throw new Error(`Native binding package version mismatch, expected 1.10.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
187
187
  }
188
188
  return binding
189
189
  } catch (e) {
@@ -199,7 +199,7 @@ function requireNative() {
199
199
  const binding = require('@axiapps/axilog-darwin-x64')
200
200
  const bindingPackageVersion = require('@axiapps/axilog-darwin-x64/package.json').version
201
201
  if (bindingPackageVersion !== '1.8.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
202
- throw new Error(`Native binding package version mismatch, expected 1.8.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
202
+ throw new Error(`Native binding package version mismatch, expected 1.10.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
203
203
  }
204
204
  return binding
205
205
  } catch (e) {
@@ -215,7 +215,7 @@ function requireNative() {
215
215
  const binding = require('@axiapps/axilog-darwin-arm64')
216
216
  const bindingPackageVersion = require('@axiapps/axilog-darwin-arm64/package.json').version
217
217
  if (bindingPackageVersion !== '1.8.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
218
- throw new Error(`Native binding package version mismatch, expected 1.8.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
218
+ throw new Error(`Native binding package version mismatch, expected 1.10.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
219
219
  }
220
220
  return binding
221
221
  } catch (e) {
@@ -235,7 +235,7 @@ function requireNative() {
235
235
  const binding = require('@axiapps/axilog-freebsd-x64')
236
236
  const bindingPackageVersion = require('@axiapps/axilog-freebsd-x64/package.json').version
237
237
  if (bindingPackageVersion !== '1.8.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
238
- throw new Error(`Native binding package version mismatch, expected 1.8.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
238
+ throw new Error(`Native binding package version mismatch, expected 1.10.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
239
239
  }
240
240
  return binding
241
241
  } catch (e) {
@@ -251,7 +251,7 @@ function requireNative() {
251
251
  const binding = require('@axiapps/axilog-freebsd-arm64')
252
252
  const bindingPackageVersion = require('@axiapps/axilog-freebsd-arm64/package.json').version
253
253
  if (bindingPackageVersion !== '1.8.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
254
- throw new Error(`Native binding package version mismatch, expected 1.8.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
254
+ throw new Error(`Native binding package version mismatch, expected 1.10.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
255
255
  }
256
256
  return binding
257
257
  } catch (e) {
@@ -272,7 +272,7 @@ function requireNative() {
272
272
  const binding = require('@axiapps/axilog-linux-x64-musl')
273
273
  const bindingPackageVersion = require('@axiapps/axilog-linux-x64-musl/package.json').version
274
274
  if (bindingPackageVersion !== '1.8.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
275
- throw new Error(`Native binding package version mismatch, expected 1.8.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
275
+ throw new Error(`Native binding package version mismatch, expected 1.10.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
276
276
  }
277
277
  return binding
278
278
  } catch (e) {
@@ -288,7 +288,7 @@ function requireNative() {
288
288
  const binding = require('@axiapps/axilog-linux-x64-gnu')
289
289
  const bindingPackageVersion = require('@axiapps/axilog-linux-x64-gnu/package.json').version
290
290
  if (bindingPackageVersion !== '1.8.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
291
- throw new Error(`Native binding package version mismatch, expected 1.8.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
291
+ throw new Error(`Native binding package version mismatch, expected 1.10.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
292
292
  }
293
293
  return binding
294
294
  } catch (e) {
@@ -306,7 +306,7 @@ function requireNative() {
306
306
  const binding = require('@axiapps/axilog-linux-arm64-musl')
307
307
  const bindingPackageVersion = require('@axiapps/axilog-linux-arm64-musl/package.json').version
308
308
  if (bindingPackageVersion !== '1.8.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
309
- throw new Error(`Native binding package version mismatch, expected 1.8.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
309
+ throw new Error(`Native binding package version mismatch, expected 1.10.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
310
310
  }
311
311
  return binding
312
312
  } catch (e) {
@@ -322,7 +322,7 @@ function requireNative() {
322
322
  const binding = require('@axiapps/axilog-linux-arm64-gnu')
323
323
  const bindingPackageVersion = require('@axiapps/axilog-linux-arm64-gnu/package.json').version
324
324
  if (bindingPackageVersion !== '1.8.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
325
- throw new Error(`Native binding package version mismatch, expected 1.8.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
325
+ throw new Error(`Native binding package version mismatch, expected 1.10.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
326
326
  }
327
327
  return binding
328
328
  } catch (e) {
@@ -340,7 +340,7 @@ function requireNative() {
340
340
  const binding = require('@axiapps/axilog-linux-arm-musleabihf')
341
341
  const bindingPackageVersion = require('@axiapps/axilog-linux-arm-musleabihf/package.json').version
342
342
  if (bindingPackageVersion !== '1.8.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
343
- throw new Error(`Native binding package version mismatch, expected 1.8.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
343
+ throw new Error(`Native binding package version mismatch, expected 1.10.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
344
344
  }
345
345
  return binding
346
346
  } catch (e) {
@@ -356,7 +356,7 @@ function requireNative() {
356
356
  const binding = require('@axiapps/axilog-linux-arm-gnueabihf')
357
357
  const bindingPackageVersion = require('@axiapps/axilog-linux-arm-gnueabihf/package.json').version
358
358
  if (bindingPackageVersion !== '1.8.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
359
- throw new Error(`Native binding package version mismatch, expected 1.8.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
359
+ throw new Error(`Native binding package version mismatch, expected 1.10.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
360
360
  }
361
361
  return binding
362
362
  } catch (e) {
@@ -374,7 +374,7 @@ function requireNative() {
374
374
  const binding = require('@axiapps/axilog-linux-loong64-musl')
375
375
  const bindingPackageVersion = require('@axiapps/axilog-linux-loong64-musl/package.json').version
376
376
  if (bindingPackageVersion !== '1.8.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
377
- throw new Error(`Native binding package version mismatch, expected 1.8.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
377
+ throw new Error(`Native binding package version mismatch, expected 1.10.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
378
378
  }
379
379
  return binding
380
380
  } catch (e) {
@@ -390,7 +390,7 @@ function requireNative() {
390
390
  const binding = require('@axiapps/axilog-linux-loong64-gnu')
391
391
  const bindingPackageVersion = require('@axiapps/axilog-linux-loong64-gnu/package.json').version
392
392
  if (bindingPackageVersion !== '1.8.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
393
- throw new Error(`Native binding package version mismatch, expected 1.8.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
393
+ throw new Error(`Native binding package version mismatch, expected 1.10.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
394
394
  }
395
395
  return binding
396
396
  } catch (e) {
@@ -408,7 +408,7 @@ function requireNative() {
408
408
  const binding = require('@axiapps/axilog-linux-riscv64-musl')
409
409
  const bindingPackageVersion = require('@axiapps/axilog-linux-riscv64-musl/package.json').version
410
410
  if (bindingPackageVersion !== '1.8.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
411
- throw new Error(`Native binding package version mismatch, expected 1.8.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
411
+ throw new Error(`Native binding package version mismatch, expected 1.10.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
412
412
  }
413
413
  return binding
414
414
  } catch (e) {
@@ -424,7 +424,7 @@ function requireNative() {
424
424
  const binding = require('@axiapps/axilog-linux-riscv64-gnu')
425
425
  const bindingPackageVersion = require('@axiapps/axilog-linux-riscv64-gnu/package.json').version
426
426
  if (bindingPackageVersion !== '1.8.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
427
- throw new Error(`Native binding package version mismatch, expected 1.8.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
427
+ throw new Error(`Native binding package version mismatch, expected 1.10.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
428
428
  }
429
429
  return binding
430
430
  } catch (e) {
@@ -441,7 +441,7 @@ function requireNative() {
441
441
  const binding = require('@axiapps/axilog-linux-ppc64-gnu')
442
442
  const bindingPackageVersion = require('@axiapps/axilog-linux-ppc64-gnu/package.json').version
443
443
  if (bindingPackageVersion !== '1.8.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
444
- throw new Error(`Native binding package version mismatch, expected 1.8.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
444
+ throw new Error(`Native binding package version mismatch, expected 1.10.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
445
445
  }
446
446
  return binding
447
447
  } catch (e) {
@@ -457,7 +457,7 @@ function requireNative() {
457
457
  const binding = require('@axiapps/axilog-linux-s390x-gnu')
458
458
  const bindingPackageVersion = require('@axiapps/axilog-linux-s390x-gnu/package.json').version
459
459
  if (bindingPackageVersion !== '1.8.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
460
- throw new Error(`Native binding package version mismatch, expected 1.8.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
460
+ throw new Error(`Native binding package version mismatch, expected 1.10.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
461
461
  }
462
462
  return binding
463
463
  } catch (e) {
@@ -477,7 +477,7 @@ function requireNative() {
477
477
  const binding = require('@axiapps/axilog-openharmony-arm64')
478
478
  const bindingPackageVersion = require('@axiapps/axilog-openharmony-arm64/package.json').version
479
479
  if (bindingPackageVersion !== '1.8.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
480
- throw new Error(`Native binding package version mismatch, expected 1.8.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
480
+ throw new Error(`Native binding package version mismatch, expected 1.10.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
481
481
  }
482
482
  return binding
483
483
  } catch (e) {
@@ -493,7 +493,7 @@ function requireNative() {
493
493
  const binding = require('@axiapps/axilog-openharmony-x64')
494
494
  const bindingPackageVersion = require('@axiapps/axilog-openharmony-x64/package.json').version
495
495
  if (bindingPackageVersion !== '1.8.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
496
- throw new Error(`Native binding package version mismatch, expected 1.8.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
496
+ throw new Error(`Native binding package version mismatch, expected 1.10.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
497
497
  }
498
498
  return binding
499
499
  } catch (e) {
@@ -509,7 +509,7 @@ function requireNative() {
509
509
  const binding = require('@axiapps/axilog-openharmony-arm')
510
510
  const bindingPackageVersion = require('@axiapps/axilog-openharmony-arm/package.json').version
511
511
  if (bindingPackageVersion !== '1.8.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
512
- throw new Error(`Native binding package version mismatch, expected 1.8.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
512
+ throw new Error(`Native binding package version mismatch, expected 1.10.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
513
513
  }
514
514
  return binding
515
515
  } catch (e) {
@@ -649,7 +649,7 @@ if (!nativeBinding || forceWasi) {
649
649
  if (process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
650
650
  const bindingPackageVersion = require('@axiapps/axilog-wasm32-wasi/package.json').version
651
651
  if (bindingPackageVersion !== '1.8.1') {
652
- throw new Error(`WASI binding package version mismatch, expected 1.8.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
652
+ throw new Error(`WASI binding package version mismatch, expected 1.10.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
653
653
  }
654
654
  }
655
655
  wasiBinding = require('@axiapps/axilog-wasm32-wasi')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axiapps/axilog",
3
- "version": "1.8.3",
3
+ "version": "1.10.0",
4
4
  "description": "Node bindings (napi-rs) for axilog's Rust GW2 arcdps WvW parsing core",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -28,11 +28,11 @@
28
28
  "node": ">= 18"
29
29
  },
30
30
  "optionalDependencies": {
31
- "@axiapps/axilog-linux-x64-gnu": "1.8.3",
32
- "@axiapps/axilog-linux-arm64-gnu": "1.8.3",
33
- "@axiapps/axilog-win32-x64-msvc": "1.8.3",
34
- "@axiapps/axilog-darwin-x64": "1.8.3",
35
- "@axiapps/axilog-darwin-arm64": "1.8.3"
31
+ "@axiapps/axilog-linux-x64-gnu": "1.10.0",
32
+ "@axiapps/axilog-linux-arm64-gnu": "1.10.0",
33
+ "@axiapps/axilog-win32-x64-msvc": "1.10.0",
34
+ "@axiapps/axilog-darwin-x64": "1.10.0",
35
+ "@axiapps/axilog-darwin-arm64": "1.10.0"
36
36
  },
37
37
  "scripts": {
38
38
  "build": "napi build --platform --release && node scripts/patch-dts.mjs",
package/types.d.ts CHANGED
@@ -1125,6 +1125,18 @@ export interface SkillEntry {
1125
1125
  is_swap: boolean
1126
1126
  can_crit: boolean
1127
1127
  auto_attack?: boolean
1128
+ /**
1129
+ * Which crowd-control effect this id stands for, for arcdps' generic
1130
+ * control ids -- `"knockdown" | "knockback_or_pull" | "launch" | "float"
1131
+ * | "sink" | "float_or_sink" | "fear" | "stagger" | "stun_or_daze"`.
1132
+ * Omitted for every other skill, which is nearly all of them.
1133
+ *
1134
+ * Knockback and pull share ONE arcdps id and genuinely cannot be told
1135
+ * apart from the log; `"knockback_or_pull"` says so rather than picking.
1136
+ * Separating them means measuring the victim's displacement against the
1137
+ * caster, which this format does not do for you.
1138
+ */
1139
+ control_kind?: string
1128
1140
  /**
1129
1141
  * MPROC. All five are OMITTED when false -- a proc flag is rare, and
1130
1142
  * emitting ~370 x 5 literal `false`s cost 16% of the report. Absence
@@ -1505,9 +1517,45 @@ export interface CcEntity {
1505
1517
  removed_stun_duration_ms: number
1506
1518
  }
1507
1519
 
1520
+ /**
1521
+ * One incoming crowd-control application, kept attributed -- the detail
1522
+ * behind `DefensesEntity.received_cc_count` and the `series.cc_taken` lane,
1523
+ * both of which count exactly these rows and then keep only the tally.
1524
+ */
1525
+ export interface CcTakenRow {
1526
+ /** Milliseconds from fight start, on the same footing as the series buckets. */
1527
+ time_ms: number
1528
+ /**
1529
+ * Entity id of whoever applied it. Omitted when the caster is not in the
1530
+ * roster at all (a gadget, an environmental source) -- the row is still
1531
+ * kept, because it happened to a real player.
1532
+ */
1533
+ src?: number
1534
+ /**
1535
+ * ALMOST NEVER the skill that was cast. arcdps substitutes one of its own
1536
+ * generic control ids, so this names the EFFECT and the cause is lost.
1537
+ * Resolve it through `catalogs.skills[skill_id].control_kind` rather than
1538
+ * hardcoding ids. Measured on real 40-player WvW fights: every incoming-CC
1539
+ * row carried a generic id, none carried a real skill.
1540
+ */
1541
+ skill_id: number
1542
+ duration_ms: number
1543
+ }
1544
+
1508
1545
  export interface CcBlock {
1509
1546
  squad: CcSquad
1510
1547
  by_entity: ByEntity<CcEntity>
1548
+ /**
1549
+ * Every incoming CC application, keyed by the entity that TOOK it.
1550
+ *
1551
+ * Gated on `timeseries`, like the `cc_taken` lane it decomposes, while
1552
+ * the rest of this block is always computed -- so `coverage.cc` does NOT
1553
+ * speak for it and this field's own absence is the gate signal:
1554
+ * `undefined` means the pass never ran, an empty object means it ran and
1555
+ * the squad took no CC. Rows are chronological within each entity, and
1556
+ * each entity's row count equals its `received_cc_count`.
1557
+ */
1558
+ taken_events?: ByEntity<CcTakenRow[]>
1511
1559
  }
1512
1560
 
1513
1561
  /* --- boons / support / contribution / healing blocks --------------------- */
@@ -2374,6 +2422,19 @@ export interface EntitySeries {
2374
2422
  * PER-BUCKET, not cumulative -- unlike the three healing lanes above.
2375
2423
  */
2376
2424
  cc_applied?: SeriesOut
2425
+ /**
2426
+ * Crowd control landed ON this entity, per second. Present only with
2427
+ * `timeseries: true`. Sums to
2428
+ * `blocks.defenses.by_entity[id].received_cc_count` WITHIN THE ENCOUNTER
2429
+ * WINDOW -- see `cc_applied` for the same out-of-window caveat.
2430
+ *
2431
+ * NOT the mirror image of `cc_applied`: the incoming scalar applies no
2432
+ * source filter and no pet/minion fold, so friendly-sourced CC on a squad
2433
+ * player counts here while `cc_applied` counts only CC onto enemies and
2434
+ * folds in the actor's minions. Summing this lane across the squad does
2435
+ * not equal summing `cc_applied` across it.
2436
+ */
2437
+ cc_taken?: SeriesOut
2377
2438
  /**
2378
2439
  * Boons this entity removed from enemies, per second. Present only with
2379
2440
  * `timeseries: true`. Sums to `blocks.support.by_entity[id].strips` WITHIN