overlay-toolkit 0.11.3 → 0.12.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/dist/file_system.d.ts +40 -0
- package/dist/otk.d.ts +21 -0
- package/dist/overlay-toolkit.js +422 -188
- package/dist/overlay-toolkit.umd.cjs +1 -1
- package/dist/overlay.d.ts +1 -0
- package/package.json +1 -1
package/dist/overlay-toolkit.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var t = (r, s, e) =>
|
|
4
|
-
function
|
|
5
|
-
return new
|
|
1
|
+
var w = Object.defineProperty;
|
|
2
|
+
var y = (r, s, e) => s in r ? w(r, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[s] = e;
|
|
3
|
+
var t = (r, s, e) => y(r, typeof s != "symbol" ? s + "" : s, e);
|
|
4
|
+
function f(r) {
|
|
5
|
+
return new v(r);
|
|
6
6
|
}
|
|
7
|
-
class
|
|
7
|
+
class v extends EventTarget {
|
|
8
8
|
//#endregion
|
|
9
9
|
constructor(e) {
|
|
10
10
|
super();
|
|
@@ -24,7 +24,7 @@ class y extends EventTarget {
|
|
|
24
24
|
if (this.devices.has(i.instanceId))
|
|
25
25
|
a.push(this.devices.get(i.instanceId));
|
|
26
26
|
else {
|
|
27
|
-
const c = new
|
|
27
|
+
const c = new d(this.api, i);
|
|
28
28
|
this.devices.set(i.instanceId, c), a.push(c);
|
|
29
29
|
}
|
|
30
30
|
}), a;
|
|
@@ -33,22 +33,22 @@ class y extends EventTarget {
|
|
|
33
33
|
return e && console.log("Requesting device with options:", e), this.getDevices();
|
|
34
34
|
}
|
|
35
35
|
async requestGetDevices() {
|
|
36
|
-
return (await
|
|
36
|
+
return (await m(this.api, "getDevices", {})).devices;
|
|
37
37
|
}
|
|
38
38
|
addListener() {
|
|
39
39
|
this.api.addOverlayListener("otk::hid::inputreport", (e) => this.callbackInputReport(e)), this.api.addOverlayListener("otk::hid::devicechanged", (e) => this.callbackDeviceChanged(e));
|
|
40
40
|
}
|
|
41
41
|
callbackInputReport(e) {
|
|
42
|
-
const a = e.instanceId, i =
|
|
43
|
-
c ? c.dispatchEvent(new
|
|
42
|
+
const a = e.instanceId, i = l(e.data), c = this.devices.get(a);
|
|
43
|
+
c ? c.dispatchEvent(new k("inputreport", c, i[0], new DataView(i.buffer, 1))) : console.warn("Device not found:", a);
|
|
44
44
|
}
|
|
45
45
|
callbackDeviceChanged(e) {
|
|
46
46
|
var a = e.add;
|
|
47
|
-
const i = new
|
|
47
|
+
const i = new d(this.api, e.device), c = new x(a ? "connect" : "disconnect", i);
|
|
48
48
|
this.dispatchEvent(c);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
async function
|
|
51
|
+
async function m(r, s, e) {
|
|
52
52
|
const a = {
|
|
53
53
|
call: "otk::hid",
|
|
54
54
|
type: s,
|
|
@@ -56,7 +56,7 @@ async function d(r, s, e) {
|
|
|
56
56
|
}, i = await r.callOverlayHandler(a);
|
|
57
57
|
return i.error && console.log("callOverlayHID error:", s, e, i), i;
|
|
58
58
|
}
|
|
59
|
-
class
|
|
59
|
+
class d extends EventTarget {
|
|
60
60
|
//#endregion
|
|
61
61
|
// Simulate a device with some properties
|
|
62
62
|
constructor(e, a) {
|
|
@@ -103,24 +103,24 @@ class p extends EventTarget {
|
|
|
103
103
|
throw new Error("Device is not opened.");
|
|
104
104
|
const a = await this.request("recvFeature", {
|
|
105
105
|
reportId: e
|
|
106
|
-
}), i =
|
|
106
|
+
}), i = l(a.data);
|
|
107
107
|
return new DataView(i.buffer);
|
|
108
108
|
}
|
|
109
109
|
async request(e, a) {
|
|
110
|
-
return
|
|
110
|
+
return m(this.api, e, {
|
|
111
111
|
instanceId: this.instanceId,
|
|
112
112
|
...a
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
|
-
class
|
|
116
|
+
class x extends Event {
|
|
117
117
|
constructor(e, a) {
|
|
118
118
|
super(e);
|
|
119
119
|
t(this, "device");
|
|
120
120
|
this.device = a;
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
|
-
class
|
|
123
|
+
class k extends Event {
|
|
124
124
|
constructor(e, a, i, c) {
|
|
125
125
|
super(e);
|
|
126
126
|
t(this, "device");
|
|
@@ -133,13 +133,13 @@ function u(r) {
|
|
|
133
133
|
let s = null;
|
|
134
134
|
return r instanceof ArrayBuffer ? s = new Uint8Array(r) : s = new Uint8Array(r.buffer, r.byteOffset, r.byteLength), [...s].map((e) => e.toString(16).padStart(2, "0")).join("");
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function l(r) {
|
|
137
137
|
const s = new Uint8Array(Math.ceil(r.length / 2));
|
|
138
138
|
for (let e = 0; e < r.length; )
|
|
139
139
|
s[e / 2] = Number.parseInt(r.slice(e, e += 2), 16);
|
|
140
140
|
return s;
|
|
141
141
|
}
|
|
142
|
-
class
|
|
142
|
+
class D {
|
|
143
143
|
constructor(s = null) {
|
|
144
144
|
t(this, "subscribers", /* @__PURE__ */ new Map());
|
|
145
145
|
t(this, "queue", []);
|
|
@@ -199,8 +199,12 @@ class x {
|
|
|
199
199
|
for (let [e, a] of s)
|
|
200
200
|
this.transport.sendMessage(e).then(a);
|
|
201
201
|
}
|
|
202
|
+
get isConnected() {
|
|
203
|
+
var s;
|
|
204
|
+
return ((s = this.transport) == null ? void 0 : s.connected) ?? !1;
|
|
205
|
+
}
|
|
202
206
|
}
|
|
203
|
-
class
|
|
207
|
+
class P extends EventTarget {
|
|
204
208
|
constructor() {
|
|
205
209
|
super(...arguments);
|
|
206
210
|
t(this, "connected", !1);
|
|
@@ -224,7 +228,7 @@ class D extends EventTarget {
|
|
|
224
228
|
window.__OverlayCallback = this.evtHandlerWrapper, this.connected = !0, this.dispatchEvent(new Event("connected"));
|
|
225
229
|
}
|
|
226
230
|
}
|
|
227
|
-
class
|
|
231
|
+
class b extends EventTarget {
|
|
228
232
|
constructor(e) {
|
|
229
233
|
super();
|
|
230
234
|
t(this, "ws");
|
|
@@ -274,21 +278,217 @@ class P extends EventTarget {
|
|
|
274
278
|
this.evtHandler = e;
|
|
275
279
|
}
|
|
276
280
|
}
|
|
277
|
-
|
|
281
|
+
const N = (r) => ({
|
|
282
|
+
call: "otk::filesystem",
|
|
283
|
+
action: "show_save_file_picker",
|
|
284
|
+
options: r
|
|
285
|
+
}), F = (r) => ({
|
|
286
|
+
call: "otk::filesystem",
|
|
287
|
+
action: "show_open_file_picker",
|
|
288
|
+
options: r
|
|
289
|
+
}), C = (r) => ({
|
|
290
|
+
call: "otk::filesystem",
|
|
291
|
+
action: "file_info",
|
|
292
|
+
handle: r
|
|
293
|
+
}), I = (r, s) => ({
|
|
294
|
+
call: "otk::filesystem",
|
|
295
|
+
action: "read_file",
|
|
296
|
+
handle: r,
|
|
297
|
+
binary: s
|
|
298
|
+
}), E = (r, s) => ({
|
|
299
|
+
call: "otk::filesystem",
|
|
300
|
+
action: "open_write",
|
|
301
|
+
handle: r,
|
|
302
|
+
truncate: s
|
|
303
|
+
}), M = (r, s) => ({
|
|
304
|
+
call: "otk::filesystem",
|
|
305
|
+
action: "write_file",
|
|
306
|
+
handle: r,
|
|
307
|
+
data: typeof s == "string" ? s : btoa(String.fromCharCode(...new Uint8Array(s))),
|
|
308
|
+
binary: typeof s != "string"
|
|
309
|
+
}), o = (r, s, e) => ({
|
|
310
|
+
call: "otk::filesystem",
|
|
311
|
+
action: "file_op",
|
|
312
|
+
handle: r,
|
|
313
|
+
operation: s,
|
|
314
|
+
param: e
|
|
315
|
+
});
|
|
316
|
+
class H {
|
|
317
|
+
constructor(s) {
|
|
318
|
+
t(this, "api");
|
|
319
|
+
this.api = s;
|
|
320
|
+
}
|
|
321
|
+
/**
|
|
322
|
+
* Show the save file picker dialog.
|
|
323
|
+
* @param options SaveFilePickerOptions to configure the file picker
|
|
324
|
+
* @returns A promise that resolves to a FileSystemFileHandle for the selected file
|
|
325
|
+
*/
|
|
326
|
+
async showSaveFilePicker(s) {
|
|
327
|
+
const e = await this.api.callOverlayHandler(N(s));
|
|
328
|
+
if (e.aborted)
|
|
329
|
+
throw DOMException.ABORT_ERR;
|
|
330
|
+
if (e && e.handle && e.name)
|
|
331
|
+
return new p(this.api, e.handle, e.name);
|
|
332
|
+
throw new Error(e.Error ?? "Failed to get file handle");
|
|
333
|
+
}
|
|
334
|
+
/**
|
|
335
|
+
* Show the open file picker dialog.
|
|
336
|
+
* @param options OpenFilePickerOptions to configure the file picker
|
|
337
|
+
* @returns A promise that resolves to an array of FileSystemFileHandle for the selected files
|
|
338
|
+
*/
|
|
339
|
+
async showOpenFilePicker(s) {
|
|
340
|
+
const e = await this.api.callOverlayHandler(F(s));
|
|
341
|
+
if (e.aborted)
|
|
342
|
+
throw DOMException.ABORT_ERR;
|
|
343
|
+
if (e && e.files && Array.isArray(e.files))
|
|
344
|
+
return e.files.map((a) => new p(this.api, a.handle, a.name));
|
|
345
|
+
throw new Error(e.Error ?? "Failed to get file handles");
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
class p {
|
|
349
|
+
constructor(s, e, a) {
|
|
350
|
+
t(this, "kind", "file");
|
|
351
|
+
t(this, "name");
|
|
352
|
+
t(this, "handle");
|
|
353
|
+
t(this, "api");
|
|
354
|
+
this.api = s, this.handle = e, this.name = a;
|
|
355
|
+
}
|
|
356
|
+
async createWritable(s) {
|
|
357
|
+
const e = await this.api.callOverlayHandler(E(this.handle, s == null ? void 0 : s.keepExistingData));
|
|
358
|
+
if (e && e.handle)
|
|
359
|
+
return new T(this.api, e.handle);
|
|
360
|
+
throw new Error(e.Error ?? "Failed to create writable stream");
|
|
361
|
+
}
|
|
362
|
+
async getFile() {
|
|
363
|
+
const s = await this.api.callOverlayHandler(C(this.handle));
|
|
364
|
+
if (s && s.handle && s.name)
|
|
365
|
+
return new O(this.api, s);
|
|
366
|
+
throw new Error(s.Error ?? "Failed to get file");
|
|
367
|
+
}
|
|
368
|
+
isSameEntry(s) {
|
|
369
|
+
return s instanceof p ? Promise.resolve(this.handle === s.handle) : Promise.resolve(!1);
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
class O {
|
|
373
|
+
constructor(s, e) {
|
|
374
|
+
t(this, "handle");
|
|
375
|
+
t(this, "api");
|
|
376
|
+
t(this, "lastModified");
|
|
377
|
+
t(this, "name");
|
|
378
|
+
t(this, "webkitRelativePath");
|
|
379
|
+
t(this, "size");
|
|
380
|
+
t(this, "type");
|
|
381
|
+
this.api = s, this.handle = e.handle, this.name = e.name, this.size = e.size, this.type = e.type, this.lastModified = e.lastModified, this.webkitRelativePath = e.webkitRelativePath || "";
|
|
382
|
+
}
|
|
383
|
+
arrayBuffer() {
|
|
384
|
+
return this.bytes().then((s) => s.buffer);
|
|
385
|
+
}
|
|
386
|
+
async bytes() {
|
|
387
|
+
const s = await this.api.callOverlayHandler(I(this.handle, !0));
|
|
388
|
+
if (s && s.data)
|
|
389
|
+
return Uint8Array.from(atob(s.data), (e) => e.charCodeAt(0));
|
|
390
|
+
throw new Error(s.Error ?? "Failed to read file");
|
|
391
|
+
}
|
|
392
|
+
async text() {
|
|
393
|
+
const s = await this.api.callOverlayHandler(I(this.handle, !1));
|
|
394
|
+
if (s && s.text)
|
|
395
|
+
return s.text;
|
|
396
|
+
throw new Error(s.Error ?? "Failed to read file");
|
|
397
|
+
}
|
|
398
|
+
slice(s, e, a) {
|
|
399
|
+
throw new Error("Method not implemented.");
|
|
400
|
+
}
|
|
401
|
+
stream() {
|
|
402
|
+
throw new Error("Method not implemented.");
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
class T {
|
|
406
|
+
constructor(s, e) {
|
|
407
|
+
t(this, "locked", !1);
|
|
408
|
+
t(this, "handle");
|
|
409
|
+
t(this, "api");
|
|
410
|
+
this.api = s, this.handle = e;
|
|
411
|
+
}
|
|
412
|
+
seek(s) {
|
|
413
|
+
return this.api.callOverlayHandler(o(this.handle, "seek", s));
|
|
414
|
+
}
|
|
415
|
+
truncate(s) {
|
|
416
|
+
return this.api.callOverlayHandler(o(this.handle, "truncate", s));
|
|
417
|
+
}
|
|
418
|
+
writeData(s) {
|
|
419
|
+
return this.api.callOverlayHandler(M(this.handle, s));
|
|
420
|
+
}
|
|
421
|
+
write(s) {
|
|
422
|
+
return typeof s == "string" || s instanceof ArrayBuffer ? this.writeData(s) : s instanceof Uint8Array ? this.writeData(s.buffer) : s instanceof Blob ? s.arrayBuffer().then((e) => this.writeData(e)) : Promise.reject(new Error("Unsupported data type for writing"));
|
|
423
|
+
}
|
|
424
|
+
close() {
|
|
425
|
+
return this.api.callOverlayHandler(o(this.handle, "close"));
|
|
426
|
+
}
|
|
427
|
+
abort(s) {
|
|
428
|
+
throw new Error("Method not implemented.");
|
|
429
|
+
}
|
|
430
|
+
getWriter() {
|
|
431
|
+
throw new Error("Method not implemented.");
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
class S {
|
|
435
|
+
constructor(s) {
|
|
436
|
+
t(this, "headers");
|
|
437
|
+
t(this, "ok");
|
|
438
|
+
t(this, "status");
|
|
439
|
+
t(this, "statusText");
|
|
440
|
+
t(this, "type");
|
|
441
|
+
t(this, "url");
|
|
442
|
+
t(this, "redirected", !1);
|
|
443
|
+
t(this, "body", null);
|
|
444
|
+
t(this, "bodyUsed", !1);
|
|
445
|
+
t(this, "_bodyContent");
|
|
446
|
+
this.headers = new Headers();
|
|
447
|
+
for (const e in s.headers)
|
|
448
|
+
this.headers.append(e, s.headers[e]);
|
|
449
|
+
this.ok = s.ok, this.status = s.status, this.statusText = s.statusText, this.type = s.type, this.url = s.url, this._bodyContent = s.body;
|
|
450
|
+
}
|
|
451
|
+
clone() {
|
|
452
|
+
throw new Error("Method not implemented.");
|
|
453
|
+
}
|
|
454
|
+
text() {
|
|
455
|
+
return Promise.resolve(this._bodyContent);
|
|
456
|
+
}
|
|
457
|
+
json() {
|
|
458
|
+
return Promise.resolve(JSON.parse(this._bodyContent));
|
|
459
|
+
}
|
|
460
|
+
arrayBuffer() {
|
|
461
|
+
return this.bytes().then((s) => s.buffer);
|
|
462
|
+
}
|
|
463
|
+
formData() {
|
|
464
|
+
throw new Error("Method not implemented.");
|
|
465
|
+
}
|
|
466
|
+
blob() {
|
|
467
|
+
throw new Error("Method not implemented.");
|
|
468
|
+
}
|
|
469
|
+
bytes() {
|
|
470
|
+
return Promise.resolve(Uint8Array.from(this._bodyContent, (s) => s.charCodeAt(0)));
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
class A {
|
|
278
474
|
constructor() {
|
|
279
475
|
/**
|
|
280
476
|
* HID interface
|
|
281
477
|
*/
|
|
282
478
|
t(this, "hid");
|
|
283
|
-
t(this, "
|
|
479
|
+
t(this, "fs");
|
|
480
|
+
t(this, "api", new D());
|
|
284
481
|
t(this, "handlerMap", /* @__PURE__ */ new Map());
|
|
285
|
-
this.hid =
|
|
482
|
+
this.hid = f(this.api), this.fs = new H(this.api);
|
|
286
483
|
}
|
|
287
484
|
/**
|
|
288
485
|
* Fetch acts like window.fetch but without CORS restrictions
|
|
486
|
+
*
|
|
487
|
+
* This is old behavior for backward compatibility, new code should use fetch() instead which returns a valid Response object
|
|
289
488
|
* @param url target URL
|
|
290
489
|
* @param options options
|
|
291
490
|
* @returns response
|
|
491
|
+
* @deprecated use fetch() instead which returns a valid Response object
|
|
292
492
|
*/
|
|
293
493
|
Fetch(s, e = {}) {
|
|
294
494
|
const a = {
|
|
@@ -298,6 +498,22 @@ class k {
|
|
|
298
498
|
};
|
|
299
499
|
return this.api.callOverlayHandler(a);
|
|
300
500
|
}
|
|
501
|
+
/**
|
|
502
|
+
* fetch acts like window.fetch but without CORS restrictions, returns response body as text.
|
|
503
|
+
* @param url
|
|
504
|
+
* @param options
|
|
505
|
+
* @returns
|
|
506
|
+
*/
|
|
507
|
+
async fetch(s, e = {}) {
|
|
508
|
+
const a = {
|
|
509
|
+
call: "otk::fetch",
|
|
510
|
+
resource: s,
|
|
511
|
+
options: e
|
|
512
|
+
}, i = await this.api.callOverlayHandler(a);
|
|
513
|
+
if (!i)
|
|
514
|
+
throw new Error("method not found");
|
|
515
|
+
return new S(i);
|
|
516
|
+
}
|
|
301
517
|
/**
|
|
302
518
|
* Subscribe to game packets
|
|
303
519
|
* @param name subscription name
|
|
@@ -368,6 +584,18 @@ class k {
|
|
|
368
584
|
};
|
|
369
585
|
return (await this.api.callOverlayHandler(s)).version;
|
|
370
586
|
}
|
|
587
|
+
/**
|
|
588
|
+
* Open URL in default browser
|
|
589
|
+
* @param url URL to open
|
|
590
|
+
*/
|
|
591
|
+
async OpenBrowser(s) {
|
|
592
|
+
const e = {
|
|
593
|
+
call: "otk::open_browser",
|
|
594
|
+
url: s
|
|
595
|
+
}, a = await this.api.callOverlayHandler(e);
|
|
596
|
+
if (a != null && a.Error)
|
|
597
|
+
throw new Error(a.Error);
|
|
598
|
+
}
|
|
371
599
|
/**
|
|
372
600
|
* Call start overlay events
|
|
373
601
|
*
|
|
@@ -421,7 +649,7 @@ class k {
|
|
|
421
649
|
setTimeout(() => this.tryConnectToCEF(), 300);
|
|
422
650
|
return;
|
|
423
651
|
}
|
|
424
|
-
const s = new
|
|
652
|
+
const s = new P();
|
|
425
653
|
this.api.setTransport(s), s.waitForApi();
|
|
426
654
|
}
|
|
427
655
|
/**
|
|
@@ -435,10 +663,16 @@ class k {
|
|
|
435
663
|
console.warn("OverlayToolkit: Connect wsUrl ignored in OverlayPlugin CEF environment");
|
|
436
664
|
return;
|
|
437
665
|
}
|
|
438
|
-
const e = new
|
|
666
|
+
const e = new b(s);
|
|
439
667
|
this.api.setTransport(e);
|
|
440
668
|
}
|
|
441
669
|
}
|
|
670
|
+
/**
|
|
671
|
+
* Check if connected to OverlayPlugin
|
|
672
|
+
*/
|
|
673
|
+
get isConnected() {
|
|
674
|
+
return this.api.isConnected;
|
|
675
|
+
}
|
|
442
676
|
}
|
|
443
677
|
class n {
|
|
444
678
|
constructor(s, e) {
|
|
@@ -451,7 +685,7 @@ class n {
|
|
|
451
685
|
return new Date(this.time);
|
|
452
686
|
}
|
|
453
687
|
}
|
|
454
|
-
class
|
|
688
|
+
class L extends n {
|
|
455
689
|
constructor(e) {
|
|
456
690
|
super("LogLine", e);
|
|
457
691
|
t(this, "code");
|
|
@@ -460,7 +694,7 @@ class N extends n {
|
|
|
460
694
|
this.code = e[2], this.name = e[3], this.line = e[4];
|
|
461
695
|
}
|
|
462
696
|
}
|
|
463
|
-
class
|
|
697
|
+
class R extends n {
|
|
464
698
|
constructor(e) {
|
|
465
699
|
super("ChangeZone", e);
|
|
466
700
|
/**
|
|
@@ -474,7 +708,7 @@ class l extends n {
|
|
|
474
708
|
this.zoneID = parseInt(e[2], 16), this.zoneName = e[3];
|
|
475
709
|
}
|
|
476
710
|
}
|
|
477
|
-
class
|
|
711
|
+
class z extends n {
|
|
478
712
|
constructor(e) {
|
|
479
713
|
super("ChangePrimaryPlayer", e);
|
|
480
714
|
/**
|
|
@@ -491,7 +725,7 @@ class C extends n {
|
|
|
491
725
|
return this.charID.toString(16).toUpperCase();
|
|
492
726
|
}
|
|
493
727
|
}
|
|
494
|
-
class
|
|
728
|
+
class q extends n {
|
|
495
729
|
constructor(e) {
|
|
496
730
|
super("AddCombatant", e);
|
|
497
731
|
/**
|
|
@@ -520,7 +754,7 @@ class b extends n {
|
|
|
520
754
|
this.id = parseInt(e[2], 16), this.name = e[3], this.job = parseInt(e[4], 16), this.level = parseInt(e[5], 16), this.ownerID = parseInt(e[6], 16), this.worldID = parseInt(e[7], 16), this.worldName = e[8], this.npcNameID = parseInt(e[9]), this.npcBaseID = parseInt(e[10]), this.currentHP = parseInt(e[11]), this.hp = parseInt(e[12]), this.currentMP = parseInt(e[13]), this.mp = parseInt(e[14]), this.x = parseFloat(e[17]), this.y = parseFloat(e[18]), this.z = parseFloat(e[19]), this.heading = parseFloat(e[20]);
|
|
521
755
|
}
|
|
522
756
|
}
|
|
523
|
-
class
|
|
757
|
+
class _ extends n {
|
|
524
758
|
constructor(e) {
|
|
525
759
|
super("RemoveCombatant", e);
|
|
526
760
|
/**
|
|
@@ -545,7 +779,7 @@ class F extends n {
|
|
|
545
779
|
this.id = parseInt(e[2], 16), this.name = e[3], this.job = parseInt(e[4], 16), this.level = parseInt(e[5], 16), this.ownerID = parseInt(e[6], 16), this.world = e[8], this.npcNameID = parseInt(e[9]), this.npcBaseID = parseInt(e[10]), this.currentHP = parseInt(e[11]), this.hp = parseInt(e[12]), this.currentMP = parseInt(e[13]), this.mp = parseInt(e[14]), this.x = parseFloat(e[17]), this.y = parseFloat(e[18]), this.z = parseFloat(e[19]), this.heading = parseFloat(e[20]);
|
|
546
780
|
}
|
|
547
781
|
}
|
|
548
|
-
class
|
|
782
|
+
class B extends n {
|
|
549
783
|
constructor(e) {
|
|
550
784
|
super("PartyChanged", e);
|
|
551
785
|
/**
|
|
@@ -558,7 +792,7 @@ class M extends n {
|
|
|
558
792
|
this.party.push(parseInt(e[3 + i], 16));
|
|
559
793
|
}
|
|
560
794
|
}
|
|
561
|
-
class
|
|
795
|
+
class U extends n {
|
|
562
796
|
constructor(e) {
|
|
563
797
|
super("PlayerStats", e);
|
|
564
798
|
t(this, "job");
|
|
@@ -581,7 +815,7 @@ class E extends n {
|
|
|
581
815
|
this.job = parseInt(e[2], 16), this.strength = parseInt(e[3]), this.dexterity = parseInt(e[4]), this.vitality = parseInt(e[5]), this.intelligence = parseInt(e[6]), this.mind = parseInt(e[7]), this.piety = parseInt(e[8]), this.attackPower = parseInt(e[9]), this.directHit = parseInt(e[10]), this.criticalHit = parseInt(e[11]), this.attakcMagicPotency = parseInt(e[12]), this.healingMagicPotency = parseInt(e[13]), this.determination = parseInt(e[14]), this.skillSpeed = parseInt(e[15]), this.spellSpeed = parseInt(e[16]), this.tenacity = parseInt(e[18]), this.localContentID = parseInt(e[19], 16);
|
|
582
816
|
}
|
|
583
817
|
}
|
|
584
|
-
class
|
|
818
|
+
class W extends n {
|
|
585
819
|
constructor(e) {
|
|
586
820
|
super("NetworkStartsCasting", e);
|
|
587
821
|
t(this, "sourceID");
|
|
@@ -598,7 +832,7 @@ class H extends n {
|
|
|
598
832
|
this.sourceID = parseInt(e[2], 16), this.sourceName = e[3], this.id = parseInt(e[4], 16), this.ability = e[5], this.targetID = parseInt(e[6], 16), this.targetName = e[7], this.castTime = parseFloat(e[8]), this.x = parseFloat(e[9]), this.y = parseFloat(e[10]), this.z = parseFloat(e[11]), this.heading = parseFloat(e[12]);
|
|
599
833
|
}
|
|
600
834
|
}
|
|
601
|
-
class
|
|
835
|
+
class j extends n {
|
|
602
836
|
constructor(e) {
|
|
603
837
|
super(e[0] == "22" ? "NetworkAOEAbility" : "NetworkAbility", e);
|
|
604
838
|
t(this, "sourceID");
|
|
@@ -643,7 +877,7 @@ class T extends n {
|
|
|
643
877
|
this.targetCurrentHP = parseInt(e[24]), this.targetMaxHP = parseInt(e[25]), this.targetCurrentMP = parseInt(e[26]), this.targetMaxMP = parseInt(e[27]), this.targetX = parseFloat(e[30]), this.targetY = parseFloat(e[31]), this.targetZ = parseFloat(e[32]), this.targetHeading = parseFloat(e[33]), this.currentHP = parseInt(e[34]), this.maxHP = parseInt(e[35]), this.currentMP = parseInt(e[36]), this.maxMP = parseInt(e[37]), this.x = parseFloat(e[40]), this.y = parseFloat(e[41]), this.z = parseFloat(e[42]), this.heading = parseFloat(e[43]), this.sequence = parseInt(e[44], 16), this.targetIndex = parseInt(e[45]), this.targetCount = parseInt(e[46]), this.ownerID = parseInt(e[47], 16), this.ownerName = e[48], this.effectDisplayType = parseInt(e[49]), this.actionID = parseInt(e[50], 16), this.actionAnimationID = parseInt(e[51], 16), this.animationLockTime = parseFloat(e[52]), this.rotationHex = parseInt(e[53], 16);
|
|
644
878
|
}
|
|
645
879
|
}
|
|
646
|
-
class
|
|
880
|
+
class G extends n {
|
|
647
881
|
constructor(e) {
|
|
648
882
|
super("NetworkCancelAbility", e);
|
|
649
883
|
t(this, "sourceID");
|
|
@@ -654,7 +888,7 @@ class O extends n {
|
|
|
654
888
|
this.sourceID = parseInt(e[2], 16), this.source = e[3], this.id = parseInt(e[4], 16), this.name = e[5], this.reason = e[6];
|
|
655
889
|
}
|
|
656
890
|
}
|
|
657
|
-
class
|
|
891
|
+
class V extends n {
|
|
658
892
|
constructor(e) {
|
|
659
893
|
super("NetworkDoT", e);
|
|
660
894
|
t(this, "id");
|
|
@@ -688,7 +922,7 @@ class S extends n {
|
|
|
688
922
|
this.id = parseInt(e[2], 16), this.name = e[3], this.which = e[4], this.effectID = parseInt(e[5], 16), this.damage = parseInt(e[6]), this.currentHP = parseInt(e[7]), this.maxHP = parseInt(e[8]), this.currentMP = parseInt(e[9]), this.maxMP = parseInt(e[10]), this.x = parseFloat(e[13]), this.y = parseFloat(e[14]), this.z = parseFloat(e[15]), this.heading = parseFloat(e[16]), this.sourceID = parseInt(e[17], 16), this.sourceName = e[18], this.damageType = parseInt(e[19], 16), this.sourceCurrentHP = parseInt(e[20]), this.sourceMaxHP = parseInt(e[21]), this.sourceCurrentMP = parseInt(e[22]), this.sourceMaxMP = parseInt(e[23]), this.sourceX = parseFloat(e[26]), this.sourceY = parseFloat(e[27]), this.sourceZ = parseFloat(e[28]), this.sourceHeading = parseFloat(e[29]);
|
|
689
923
|
}
|
|
690
924
|
}
|
|
691
|
-
class
|
|
925
|
+
class Y extends n {
|
|
692
926
|
constructor(e) {
|
|
693
927
|
super("NetworkDeath", e);
|
|
694
928
|
t(this, "targetID");
|
|
@@ -698,7 +932,7 @@ class L extends n {
|
|
|
698
932
|
this.targetID = parseInt(e[2], 16), this.targetName = e[3], this.sourceID = parseInt(e[4], 16), this.sourceName = e[5];
|
|
699
933
|
}
|
|
700
934
|
}
|
|
701
|
-
class
|
|
935
|
+
class Z extends n {
|
|
702
936
|
constructor(e) {
|
|
703
937
|
super("NetworkBuff", e);
|
|
704
938
|
t(this, "effectID");
|
|
@@ -714,7 +948,7 @@ class A extends n {
|
|
|
714
948
|
this.effectID = parseInt(e[2], 16), this.effectName = e[3], this.duration = parseFloat(e[4]), this.sourceID = parseInt(e[5], 16), this.sourceName = e[6], this.targetID = parseInt(e[7], 16), this.targetName = e[8], this.count = parseInt(e[9]), this.targetMaxHP = parseInt(e[10] == "" ? "-1" : e[10]), this.sourceMaxHP = parseInt(e[11] == "" ? "-1" : e[11]);
|
|
715
949
|
}
|
|
716
950
|
}
|
|
717
|
-
class
|
|
951
|
+
class J extends n {
|
|
718
952
|
constructor(e) {
|
|
719
953
|
super("NetworkTargetIcon", e);
|
|
720
954
|
t(this, "targetID");
|
|
@@ -724,7 +958,7 @@ class q extends n {
|
|
|
724
958
|
this.targetID = parseInt(e[2], 16), this.targetName = e[3], this.id = parseInt(e[6], 16), this.data0 = parseInt(e[7], 16);
|
|
725
959
|
}
|
|
726
960
|
}
|
|
727
|
-
class
|
|
961
|
+
class X extends n {
|
|
728
962
|
constructor(e) {
|
|
729
963
|
super("NetworkRaidMarker", e);
|
|
730
964
|
t(this, "operation");
|
|
@@ -737,7 +971,7 @@ class z extends n {
|
|
|
737
971
|
this.operation = e[2], this.waymark = parseInt(e[3]), this.id = parseInt(e[4], 16), this.name = e[5], this.x = parseFloat(e[6]), this.y = parseFloat(e[7]), this.z = parseFloat(e[8]);
|
|
738
972
|
}
|
|
739
973
|
}
|
|
740
|
-
class
|
|
974
|
+
class K extends n {
|
|
741
975
|
constructor(e) {
|
|
742
976
|
super("NetworkTargetMarker", e);
|
|
743
977
|
t(this, "operation");
|
|
@@ -749,7 +983,7 @@ class R extends n {
|
|
|
749
983
|
this.operation = e[2], this.waymark = parseInt(e[3]), this.id = parseInt(e[4], 16), this.name = e[5], this.targetID = parseInt(e[6], 16), this.targetName = e[7];
|
|
750
984
|
}
|
|
751
985
|
}
|
|
752
|
-
class
|
|
986
|
+
class $ extends n {
|
|
753
987
|
constructor(e) {
|
|
754
988
|
super("NetworkBuffRemove", e);
|
|
755
989
|
t(this, "effectID");
|
|
@@ -762,7 +996,7 @@ class B extends n {
|
|
|
762
996
|
this.effectID = parseInt(e[2], 16), this.effectName = e[3], this.sourceID = parseInt(e[5], 16), this.sourceName = e[6], this.targetID = parseInt(e[7], 16), this.targetName = e[8], this.count = parseInt(e[9], 16);
|
|
763
997
|
}
|
|
764
998
|
}
|
|
765
|
-
class
|
|
999
|
+
class Q extends n {
|
|
766
1000
|
constructor(e) {
|
|
767
1001
|
super("NetworkGauge", e);
|
|
768
1002
|
t(this, "id");
|
|
@@ -780,7 +1014,7 @@ class U extends n {
|
|
|
780
1014
|
}
|
|
781
1015
|
}
|
|
782
1016
|
}
|
|
783
|
-
class
|
|
1017
|
+
class g extends n {
|
|
784
1018
|
constructor(e) {
|
|
785
1019
|
super("NetworkActorControl", e);
|
|
786
1020
|
t(this, "instance");
|
|
@@ -791,7 +1025,7 @@ class _ extends n {
|
|
|
791
1025
|
this.data.push(parseInt(e[4 + a], 16));
|
|
792
1026
|
}
|
|
793
1027
|
}
|
|
794
|
-
class
|
|
1028
|
+
class ee extends n {
|
|
795
1029
|
constructor(e) {
|
|
796
1030
|
super("NetworkNameToggle", e);
|
|
797
1031
|
t(this, "id");
|
|
@@ -805,7 +1039,7 @@ class j extends n {
|
|
|
805
1039
|
this.id = parseInt(e[2], 16), this.name = e[3], this.targetID = parseInt(e[4], 16), this.targetName = e[5], this.toggle = parseInt(e[6]) === 1;
|
|
806
1040
|
}
|
|
807
1041
|
}
|
|
808
|
-
class
|
|
1042
|
+
class te extends n {
|
|
809
1043
|
constructor(e) {
|
|
810
1044
|
super("NetworkTether", e);
|
|
811
1045
|
t(this, "sourceID");
|
|
@@ -816,7 +1050,7 @@ class G extends n {
|
|
|
816
1050
|
this.sourceID = parseInt(e[2], 16), this.sourceName = e[3], this.targetID = parseInt(e[4], 16), this.targetName = e[5], this.id = parseInt(e[8], 16);
|
|
817
1051
|
}
|
|
818
1052
|
}
|
|
819
|
-
class
|
|
1053
|
+
class se extends n {
|
|
820
1054
|
constructor(e) {
|
|
821
1055
|
super("LimitBreak", e);
|
|
822
1056
|
/**
|
|
@@ -827,7 +1061,7 @@ class V extends n {
|
|
|
827
1061
|
this.value = parseInt(e[2], 16), this.bars = parseInt(e[3]);
|
|
828
1062
|
}
|
|
829
1063
|
}
|
|
830
|
-
class
|
|
1064
|
+
class re extends n {
|
|
831
1065
|
constructor(e) {
|
|
832
1066
|
super("NetworkActionSync", e);
|
|
833
1067
|
t(this, "id");
|
|
@@ -845,7 +1079,7 @@ class W extends n {
|
|
|
845
1079
|
this.id = parseInt(e[2], 16), this.name = e[3], this.sequenceID = parseInt(e[4], 16), this.currentHP = e[5] ? parseInt(e[5]) : -1, this.maxHP = e[6] ? parseInt(e[6]) : -1, this.currentMP = e[7] ? parseInt(e[7]) : -1, this.maxMP = e[8] ? parseInt(e[8]) : -1, this.currentShield = e[9] ? parseInt(e[9]) : -1, this.x = parseFloat(e[11]), this.y = parseFloat(e[12]), this.z = parseFloat(e[13]), this.heading = parseFloat(e[14]);
|
|
846
1080
|
}
|
|
847
1081
|
}
|
|
848
|
-
class
|
|
1082
|
+
class ae extends n {
|
|
849
1083
|
constructor(e) {
|
|
850
1084
|
super("NetworkStatusEffects", e);
|
|
851
1085
|
t(this, "targetID");
|
|
@@ -867,7 +1101,7 @@ class Y extends n {
|
|
|
867
1101
|
this.data.push(parseInt(e[15 + a], 16));
|
|
868
1102
|
}
|
|
869
1103
|
}
|
|
870
|
-
class
|
|
1104
|
+
class ne extends n {
|
|
871
1105
|
constructor(e) {
|
|
872
1106
|
super("NetworkUpdateHP", e);
|
|
873
1107
|
t(this, "id");
|
|
@@ -885,7 +1119,7 @@ class Z extends n {
|
|
|
885
1119
|
this.id = parseInt(e[2], 16), this.name = e[3], this.currentHP = parseInt(e[4]), this.maxHP = parseInt(e[5]), this.currentMP = parseInt(e[6]), this.maxMP = parseInt(e[7]), this.x = parseFloat(e[10]), this.y = parseFloat(e[11]), this.z = parseFloat(e[12]), this.heading = parseFloat(e[13]);
|
|
886
1120
|
}
|
|
887
1121
|
}
|
|
888
|
-
class
|
|
1122
|
+
class ie extends n {
|
|
889
1123
|
constructor(e) {
|
|
890
1124
|
super("Map", e);
|
|
891
1125
|
t(this, "id");
|
|
@@ -895,7 +1129,7 @@ class J extends n {
|
|
|
895
1129
|
this.id = parseInt(e[2], 16), this.regionName = e[3], this.placeName = e[4], this.placeNameSub = e[5];
|
|
896
1130
|
}
|
|
897
1131
|
}
|
|
898
|
-
class
|
|
1132
|
+
class ce extends n {
|
|
899
1133
|
constructor(e) {
|
|
900
1134
|
super("SystemLogMessage", e);
|
|
901
1135
|
t(this, "instance");
|
|
@@ -906,7 +1140,7 @@ class X extends n {
|
|
|
906
1140
|
this.params.push(parseInt(e[4 + a], 16));
|
|
907
1141
|
}
|
|
908
1142
|
}
|
|
909
|
-
class
|
|
1143
|
+
class he extends n {
|
|
910
1144
|
constructor(e) {
|
|
911
1145
|
super("StatusList3", e);
|
|
912
1146
|
t(this, "id");
|
|
@@ -917,14 +1151,14 @@ class K extends n {
|
|
|
917
1151
|
this.statusList.push(parseInt(e[4 + a], 16));
|
|
918
1152
|
}
|
|
919
1153
|
}
|
|
920
|
-
class
|
|
1154
|
+
class pe extends n {
|
|
921
1155
|
constructor(e) {
|
|
922
1156
|
super("Debug", e);
|
|
923
1157
|
t(this, "message");
|
|
924
1158
|
this.message = e[2];
|
|
925
1159
|
}
|
|
926
1160
|
}
|
|
927
|
-
class
|
|
1161
|
+
class oe extends n {
|
|
928
1162
|
constructor(e) {
|
|
929
1163
|
super("PacketDump", e);
|
|
930
1164
|
t(this, "len");
|
|
@@ -940,21 +1174,21 @@ class Q extends n {
|
|
|
940
1174
|
}
|
|
941
1175
|
}
|
|
942
1176
|
}
|
|
943
|
-
class
|
|
1177
|
+
class de extends n {
|
|
944
1178
|
constructor(e) {
|
|
945
1179
|
super("Version", e);
|
|
946
1180
|
t(this, "message");
|
|
947
1181
|
this.message = e[2];
|
|
948
1182
|
}
|
|
949
1183
|
}
|
|
950
|
-
let
|
|
1184
|
+
let ue = class extends n {
|
|
951
1185
|
constructor(e) {
|
|
952
1186
|
super("Error", e);
|
|
953
1187
|
t(this, "message");
|
|
954
1188
|
this.message = e[2];
|
|
955
1189
|
}
|
|
956
1190
|
};
|
|
957
|
-
class
|
|
1191
|
+
class Ie extends n {
|
|
958
1192
|
constructor(e) {
|
|
959
1193
|
super("LineRegistration", e);
|
|
960
1194
|
t(this, "id");
|
|
@@ -964,7 +1198,7 @@ class te extends n {
|
|
|
964
1198
|
this.id = parseInt(e[2]), this.source = e[3], this.name = e[4], this.version = e[5];
|
|
965
1199
|
}
|
|
966
1200
|
}
|
|
967
|
-
class
|
|
1201
|
+
class me extends n {
|
|
968
1202
|
constructor(e) {
|
|
969
1203
|
super("MapEffect", e);
|
|
970
1204
|
t(this, "instance");
|
|
@@ -975,7 +1209,7 @@ class se extends n {
|
|
|
975
1209
|
this.instance = parseInt(e[2], 16), this.flags = parseInt(e[3], 16), this.location = parseInt(e[4], 16), this.data0 = parseInt(e[5], 16), this.data1 = parseInt(e[6], 16);
|
|
976
1210
|
}
|
|
977
1211
|
}
|
|
978
|
-
class
|
|
1212
|
+
class le extends n {
|
|
979
1213
|
constructor(e) {
|
|
980
1214
|
super("FateDirector", e);
|
|
981
1215
|
t(this, "category");
|
|
@@ -985,7 +1219,7 @@ class re extends n {
|
|
|
985
1219
|
this.category = e[2], this.unknown = parseInt(e[3], 16), this.id = parseInt(e[4], 16), this.progress = parseInt(e[5], 16);
|
|
986
1220
|
}
|
|
987
1221
|
}
|
|
988
|
-
class
|
|
1222
|
+
class we extends n {
|
|
989
1223
|
constructor(e) {
|
|
990
1224
|
super("CEDirector", e);
|
|
991
1225
|
t(this, "popTime");
|
|
@@ -1000,7 +1234,7 @@ class ae extends n {
|
|
|
1000
1234
|
this.popTime = parseInt(e[2], 16), this.timeRemaining = parseInt(e[3], 16), this.unknown = parseInt(e[4], 16), this.ceKey = parseInt(e[5], 16), this.numPlayers = parseInt(e[6], 16), this.status = parseInt(e[7], 16), this.unknown2 = parseInt(e[8], 16), this.progress = parseInt(e[9], 16);
|
|
1001
1235
|
}
|
|
1002
1236
|
}
|
|
1003
|
-
class
|
|
1237
|
+
class ye extends n {
|
|
1004
1238
|
constructor(e) {
|
|
1005
1239
|
super("InCombat", e);
|
|
1006
1240
|
t(this, "inACTCombat");
|
|
@@ -1010,7 +1244,7 @@ class ne extends n {
|
|
|
1010
1244
|
this.inACTCombat = parseInt(e[2]) === 1, this.inGameCombat = parseInt(e[3]) === 1, this.isACTChanged = parseInt(e[4]) === 1, this.isGameChanged = parseInt(e[5]) === 1;
|
|
1011
1245
|
}
|
|
1012
1246
|
}
|
|
1013
|
-
class
|
|
1247
|
+
class fe extends n {
|
|
1014
1248
|
constructor(e) {
|
|
1015
1249
|
super("CombatantMemory", e);
|
|
1016
1250
|
t(this, "change");
|
|
@@ -1021,7 +1255,7 @@ class ie extends n {
|
|
|
1021
1255
|
this.data.set(e[a], e[a + 1]);
|
|
1022
1256
|
}
|
|
1023
1257
|
}
|
|
1024
|
-
class
|
|
1258
|
+
class ve extends n {
|
|
1025
1259
|
constructor(e) {
|
|
1026
1260
|
super("RSVData", e);
|
|
1027
1261
|
t(this, "locale");
|
|
@@ -1031,7 +1265,7 @@ class ce extends n {
|
|
|
1031
1265
|
this.locale = e[2], this.unknown = parseInt(e[3], 16), this.key = e[4], this.value = e[5];
|
|
1032
1266
|
}
|
|
1033
1267
|
}
|
|
1034
|
-
class
|
|
1268
|
+
class xe extends n {
|
|
1035
1269
|
constructor(e) {
|
|
1036
1270
|
super("StartsUsingExtra", e);
|
|
1037
1271
|
t(this, "sourceID");
|
|
@@ -1043,7 +1277,7 @@ class he extends n {
|
|
|
1043
1277
|
this.sourceID = parseInt(e[2], 16), this.id = parseInt(e[3], 16), this.x = parseFloat(e[4]), this.y = parseFloat(e[5]), this.z = parseFloat(e[6]), this.heading = parseFloat(e[7]);
|
|
1044
1278
|
}
|
|
1045
1279
|
}
|
|
1046
|
-
class
|
|
1280
|
+
class ke extends n {
|
|
1047
1281
|
constructor(e) {
|
|
1048
1282
|
super("AbilityExtra", e);
|
|
1049
1283
|
t(this, "sourceID");
|
|
@@ -1058,7 +1292,7 @@ class pe extends n {
|
|
|
1058
1292
|
this.sourceID = parseInt(e[2], 16), this.id = parseInt(e[3], 16), this.globalEffectCounter = parseInt(e[4], 16), this.dataFlag = parseInt(e[5], 16), this.x = parseFloat(e[6]), this.y = parseFloat(e[7]), this.z = parseFloat(e[8]), this.heading = parseFloat(e[9]), this.animationTargetId = parseInt(e[10], 16);
|
|
1059
1293
|
}
|
|
1060
1294
|
}
|
|
1061
|
-
class
|
|
1295
|
+
class De extends n {
|
|
1062
1296
|
constructor(e) {
|
|
1063
1297
|
super("ContentFinderSettings", e);
|
|
1064
1298
|
t(this, "zoneID");
|
|
@@ -1072,7 +1306,7 @@ class ue extends n {
|
|
|
1072
1306
|
this.zoneID = parseInt(e[2], 16), this.zoneName = e[3], this.inContentFinderContent = parseInt(e[4]) === 1, this.unrestrictedParty = parseInt(e[5]) === 1, this.minimalItemLevel = parseInt(e[6]) === 1, this.silenceEcho = parseInt(e[7]) === 1, this.explorerMode = parseInt(e[8]) === 1, this.levelSync = parseInt(e[9]) === 1;
|
|
1073
1307
|
}
|
|
1074
1308
|
}
|
|
1075
|
-
class
|
|
1309
|
+
class Pe extends n {
|
|
1076
1310
|
constructor(e) {
|
|
1077
1311
|
super("NpcYell", e);
|
|
1078
1312
|
t(this, "npcId");
|
|
@@ -1081,7 +1315,7 @@ class de extends n {
|
|
|
1081
1315
|
this.npcId = parseInt(e[2], 16), this.npcNameId = parseInt(e[3], 16), this.npcYellId = parseInt(e[4], 16);
|
|
1082
1316
|
}
|
|
1083
1317
|
}
|
|
1084
|
-
class
|
|
1318
|
+
class be extends n {
|
|
1085
1319
|
constructor(e) {
|
|
1086
1320
|
super("BattleTalk2", e);
|
|
1087
1321
|
t(this, "npcId");
|
|
@@ -1092,7 +1326,7 @@ class oe extends n {
|
|
|
1092
1326
|
this.npcId = parseInt(e[2], 16), this.instance = parseInt(e[3], 16), this.npcNameId = parseInt(e[4], 16), this.instanceContentTextId = parseInt(e[5], 16), this.displayMs = parseInt(e[6]);
|
|
1093
1327
|
}
|
|
1094
1328
|
}
|
|
1095
|
-
class
|
|
1329
|
+
class Ne extends n {
|
|
1096
1330
|
constructor(e) {
|
|
1097
1331
|
super("Countdown", e);
|
|
1098
1332
|
t(this, "id");
|
|
@@ -1103,7 +1337,7 @@ class Ie extends n {
|
|
|
1103
1337
|
this.id = parseInt(e[2], 16), this.worldID = parseInt(e[3], 16), this.countdownTime = parseInt(e[4]), this.result = parseInt(e[5], 16), this.name = e[6];
|
|
1104
1338
|
}
|
|
1105
1339
|
}
|
|
1106
|
-
class
|
|
1340
|
+
class Fe extends n {
|
|
1107
1341
|
constructor(e) {
|
|
1108
1342
|
super("CountdownCancel", e);
|
|
1109
1343
|
t(this, "id");
|
|
@@ -1112,7 +1346,7 @@ class me extends n {
|
|
|
1112
1346
|
this.id = parseInt(e[2], 16), this.worldID = parseInt(e[3], 16), this.name = e[4];
|
|
1113
1347
|
}
|
|
1114
1348
|
}
|
|
1115
|
-
class
|
|
1349
|
+
class Ce extends n {
|
|
1116
1350
|
constructor(e) {
|
|
1117
1351
|
super("ActorMove", e);
|
|
1118
1352
|
t(this, "id");
|
|
@@ -1125,7 +1359,7 @@ class we extends n {
|
|
|
1125
1359
|
this.id = parseInt(e[2], 16), this.heading = parseFloat(e[3]), this.unk1 = parseInt(e[4], 16), this.unk2 = parseInt(e[5], 16), this.x = parseFloat(e[6]), this.y = parseFloat(e[7]), this.z = parseFloat(e[8]);
|
|
1126
1360
|
}
|
|
1127
1361
|
}
|
|
1128
|
-
class
|
|
1362
|
+
class Ee extends n {
|
|
1129
1363
|
constructor(e) {
|
|
1130
1364
|
super("ActorSetPos", e);
|
|
1131
1365
|
t(this, "id");
|
|
@@ -1138,7 +1372,7 @@ class ye extends n {
|
|
|
1138
1372
|
this.id = parseInt(e[2], 16), this.heading = parseFloat(e[3]), this.unk1 = parseInt(e[4], 16), this.unk2 = parseInt(e[5], 16), this.x = parseFloat(e[6]), this.y = parseFloat(e[7]), this.z = parseFloat(e[8]);
|
|
1139
1373
|
}
|
|
1140
1374
|
}
|
|
1141
|
-
class
|
|
1375
|
+
class Me extends n {
|
|
1142
1376
|
constructor(e) {
|
|
1143
1377
|
super("SpawnNpcExtra", e);
|
|
1144
1378
|
t(this, "id");
|
|
@@ -1148,7 +1382,7 @@ class ve extends n {
|
|
|
1148
1382
|
this.id = parseInt(e[2], 16), this.parentID = parseInt(e[3], 16), this.tetherID = parseInt(e[4], 16), this.animationState = parseInt(e[5], 16);
|
|
1149
1383
|
}
|
|
1150
1384
|
}
|
|
1151
|
-
class
|
|
1385
|
+
class He extends n {
|
|
1152
1386
|
constructor(e) {
|
|
1153
1387
|
super("ActorControlExtra", e);
|
|
1154
1388
|
t(this, "id");
|
|
@@ -1160,7 +1394,7 @@ class fe extends n {
|
|
|
1160
1394
|
this.id = parseInt(e[2], 16), this.category = parseInt(e[3], 16), this.param1 = parseInt(e[4], 16), this.param2 = parseInt(e[5], 16), this.param3 = parseInt(e[6], 16), this.param4 = parseInt(e[7], 16);
|
|
1161
1395
|
}
|
|
1162
1396
|
}
|
|
1163
|
-
class
|
|
1397
|
+
class Oe extends n {
|
|
1164
1398
|
constructor(e) {
|
|
1165
1399
|
super("ActorControlSelfExtra", e);
|
|
1166
1400
|
t(this, "id");
|
|
@@ -1174,181 +1408,181 @@ class xe extends n {
|
|
|
1174
1408
|
this.id = parseInt(e[2], 16), this.category = parseInt(e[3], 16), this.param1 = parseInt(e[4], 16), this.param2 = parseInt(e[5], 16), this.param3 = parseInt(e[6], 16), this.param4 = parseInt(e[7], 16), this.param5 = parseInt(e[8], 16), this.param6 = parseInt(e[9], 16);
|
|
1175
1409
|
}
|
|
1176
1410
|
}
|
|
1177
|
-
class
|
|
1411
|
+
class Te extends n {
|
|
1178
1412
|
constructor(e) {
|
|
1179
1413
|
super("Unknown", e);
|
|
1180
1414
|
t(this, "rawLines");
|
|
1181
1415
|
this.rawLines = e;
|
|
1182
1416
|
}
|
|
1183
1417
|
}
|
|
1184
|
-
function
|
|
1418
|
+
function Re(r) {
|
|
1185
1419
|
switch (parseInt(r[0])) {
|
|
1186
1420
|
case 0:
|
|
1187
|
-
return new
|
|
1421
|
+
return new L(r);
|
|
1188
1422
|
case 1:
|
|
1189
|
-
return new
|
|
1423
|
+
return new R(r);
|
|
1190
1424
|
case 2:
|
|
1191
|
-
return new
|
|
1425
|
+
return new z(r);
|
|
1192
1426
|
case 3:
|
|
1193
|
-
return new
|
|
1427
|
+
return new q(r);
|
|
1194
1428
|
case 4:
|
|
1195
|
-
return new
|
|
1429
|
+
return new _(r);
|
|
1196
1430
|
case 11:
|
|
1197
|
-
return new
|
|
1431
|
+
return new B(r);
|
|
1198
1432
|
case 12:
|
|
1199
|
-
return new
|
|
1433
|
+
return new U(r);
|
|
1200
1434
|
case 20:
|
|
1201
|
-
return new
|
|
1435
|
+
return new W(r);
|
|
1202
1436
|
case 21:
|
|
1203
1437
|
case 22:
|
|
1204
|
-
return new
|
|
1438
|
+
return new j(r);
|
|
1205
1439
|
case 23:
|
|
1206
|
-
return new
|
|
1440
|
+
return new G(r);
|
|
1207
1441
|
case 24:
|
|
1208
|
-
return new
|
|
1442
|
+
return new V(r);
|
|
1209
1443
|
case 25:
|
|
1210
|
-
return new
|
|
1444
|
+
return new Y(r);
|
|
1211
1445
|
case 26:
|
|
1212
|
-
return new
|
|
1446
|
+
return new Z(r);
|
|
1213
1447
|
case 27:
|
|
1214
|
-
return new
|
|
1448
|
+
return new J(r);
|
|
1215
1449
|
case 28:
|
|
1216
|
-
return new
|
|
1450
|
+
return new X(r);
|
|
1217
1451
|
case 29:
|
|
1218
|
-
return new
|
|
1452
|
+
return new K(r);
|
|
1219
1453
|
case 30:
|
|
1220
|
-
return new
|
|
1454
|
+
return new $(r);
|
|
1221
1455
|
case 31:
|
|
1222
|
-
return new
|
|
1456
|
+
return new Q(r);
|
|
1223
1457
|
case 33:
|
|
1224
|
-
return new
|
|
1458
|
+
return new g(r);
|
|
1225
1459
|
case 34:
|
|
1226
|
-
return new
|
|
1460
|
+
return new ee(r);
|
|
1227
1461
|
case 35:
|
|
1228
|
-
return new
|
|
1462
|
+
return new te(r);
|
|
1229
1463
|
case 36:
|
|
1230
|
-
return new
|
|
1464
|
+
return new se(r);
|
|
1231
1465
|
case 37:
|
|
1232
|
-
return new
|
|
1466
|
+
return new re(r);
|
|
1233
1467
|
case 38:
|
|
1234
|
-
return new
|
|
1468
|
+
return new ae(r);
|
|
1235
1469
|
case 39:
|
|
1236
|
-
return new
|
|
1470
|
+
return new ne(r);
|
|
1237
1471
|
case 40:
|
|
1238
|
-
return new
|
|
1472
|
+
return new ie(r);
|
|
1239
1473
|
case 41:
|
|
1240
|
-
return new
|
|
1474
|
+
return new ce(r);
|
|
1241
1475
|
case 42:
|
|
1242
|
-
return new
|
|
1476
|
+
return new he(r);
|
|
1243
1477
|
case 251:
|
|
1244
|
-
return new
|
|
1478
|
+
return new pe(r);
|
|
1245
1479
|
case 252:
|
|
1246
|
-
return new
|
|
1480
|
+
return new oe(r);
|
|
1247
1481
|
case 253:
|
|
1248
|
-
return new
|
|
1482
|
+
return new de(r);
|
|
1249
1483
|
case 254:
|
|
1250
|
-
return new
|
|
1484
|
+
return new ue(r);
|
|
1251
1485
|
case 256:
|
|
1252
|
-
return new
|
|
1486
|
+
return new Ie(r);
|
|
1253
1487
|
case 257:
|
|
1254
|
-
return new
|
|
1488
|
+
return new me(r);
|
|
1255
1489
|
case 258:
|
|
1256
|
-
return new
|
|
1490
|
+
return new le(r);
|
|
1257
1491
|
case 259:
|
|
1258
|
-
return new
|
|
1492
|
+
return new we(r);
|
|
1259
1493
|
case 260:
|
|
1260
|
-
return new
|
|
1494
|
+
return new ye(r);
|
|
1261
1495
|
case 261:
|
|
1262
|
-
return new
|
|
1496
|
+
return new fe(r);
|
|
1263
1497
|
case 262:
|
|
1264
|
-
return new
|
|
1498
|
+
return new ve(r);
|
|
1265
1499
|
case 263:
|
|
1266
|
-
return new
|
|
1500
|
+
return new xe(r);
|
|
1267
1501
|
case 264:
|
|
1268
|
-
return new
|
|
1502
|
+
return new ke(r);
|
|
1269
1503
|
case 265:
|
|
1270
|
-
return new
|
|
1504
|
+
return new De(r);
|
|
1271
1505
|
case 266:
|
|
1272
|
-
return new
|
|
1506
|
+
return new Pe(r);
|
|
1273
1507
|
case 267:
|
|
1274
|
-
return new
|
|
1508
|
+
return new be(r);
|
|
1275
1509
|
case 268:
|
|
1276
|
-
return new
|
|
1510
|
+
return new Ne(r);
|
|
1277
1511
|
case 269:
|
|
1278
|
-
return new
|
|
1512
|
+
return new Fe(r);
|
|
1279
1513
|
case 270:
|
|
1280
|
-
return new
|
|
1514
|
+
return new Ce(r);
|
|
1281
1515
|
case 271:
|
|
1282
|
-
return new
|
|
1516
|
+
return new Ee(r);
|
|
1283
1517
|
case 272:
|
|
1284
|
-
return new
|
|
1518
|
+
return new Me(r);
|
|
1285
1519
|
case 273:
|
|
1286
|
-
return new
|
|
1520
|
+
return new He(r);
|
|
1287
1521
|
case 274:
|
|
1288
|
-
return new
|
|
1522
|
+
return new Oe(r);
|
|
1289
1523
|
default:
|
|
1290
|
-
return new
|
|
1524
|
+
return new Te(r);
|
|
1291
1525
|
}
|
|
1292
1526
|
}
|
|
1293
|
-
let
|
|
1527
|
+
let Se = new A();
|
|
1294
1528
|
(function() {
|
|
1295
|
-
|
|
1529
|
+
Se.Connect();
|
|
1296
1530
|
})();
|
|
1297
1531
|
export {
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1532
|
+
ke as AbilityExtra,
|
|
1533
|
+
He as ActorControlExtra,
|
|
1534
|
+
Oe as ActorControlSelfExtra,
|
|
1535
|
+
Ce as ActorMove,
|
|
1536
|
+
Ee as ActorSetPos,
|
|
1537
|
+
q as AddCombatant,
|
|
1538
|
+
be as BattleTalk2,
|
|
1539
|
+
we as CEDirector,
|
|
1540
|
+
z as ChangePrimaryPlayer,
|
|
1541
|
+
R as ChangeZone,
|
|
1542
|
+
fe as CombatantMemory,
|
|
1543
|
+
De as ContentFinderSettings,
|
|
1544
|
+
Ne as Countdown,
|
|
1545
|
+
Fe as CountdownCancel,
|
|
1546
|
+
pe as Debug,
|
|
1547
|
+
ue as Error,
|
|
1548
|
+
le as FateDirector,
|
|
1549
|
+
L as GameLogLine,
|
|
1550
|
+
ye as InCombat,
|
|
1551
|
+
se as LimitBreak,
|
|
1552
|
+
Ie as LineRegistration,
|
|
1319
1553
|
n as LogLineBase,
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1554
|
+
me as MapEffect,
|
|
1555
|
+
ie as MapLog,
|
|
1556
|
+
W as NetowrkStartsCasting,
|
|
1557
|
+
j as NetworkAbility,
|
|
1558
|
+
re as NetworkActionSync,
|
|
1559
|
+
g as NetworkActorControl,
|
|
1560
|
+
Z as NetworkBuff,
|
|
1561
|
+
$ as NetworkBuffRemove,
|
|
1562
|
+
G as NetworkCancelAbility,
|
|
1563
|
+
Y as NetworkDeath,
|
|
1564
|
+
V as NetworkDoT,
|
|
1565
|
+
Q as NetworkGauge,
|
|
1566
|
+
ee as NetworkNameToggle,
|
|
1567
|
+
X as NetworkRaidMarker,
|
|
1568
|
+
ae as NetworkStatusEffects,
|
|
1569
|
+
J as NetworkTargetIcon,
|
|
1570
|
+
K as NetworkTargetMarker,
|
|
1571
|
+
te as NetworkTether,
|
|
1572
|
+
ne as NetworkUpdateHP,
|
|
1573
|
+
Pe as NpcYell,
|
|
1574
|
+
A as OverlayToolkit,
|
|
1575
|
+
oe as PacketDump,
|
|
1576
|
+
Re as ParseLogLine,
|
|
1577
|
+
B as PartyList,
|
|
1578
|
+
U as PlayerStats,
|
|
1579
|
+
ve as RSVData,
|
|
1580
|
+
_ as RemoveCombatant,
|
|
1581
|
+
Me as SpawnNpcExtra,
|
|
1582
|
+
xe as StartsUsingExtra,
|
|
1583
|
+
he as StatusList3,
|
|
1584
|
+
ce as SystemLogMessage,
|
|
1585
|
+
Te as UnknownLogLine,
|
|
1586
|
+
de as Version,
|
|
1587
|
+
Se as default
|
|
1354
1588
|
};
|