ygopro-msg-encode 1.1.9 → 1.1.10
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/index.cjs +1094 -752
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +549 -36
- package/dist/index.mjs.map +2 -2
- package/dist/src/protos/msg/proto/missed-effect.d.ts +8 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4,6 +4,7 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __getProtoOf = Object.getPrototypeOf;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
8
|
var __export = (target, all) => {
|
|
8
9
|
for (var name in all)
|
|
9
10
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -240,7 +241,7 @@ var Metadata = new import_typed_reflector.MetadataSetter();
|
|
|
240
241
|
var reflector = new import_typed_reflector.Reflector();
|
|
241
242
|
|
|
242
243
|
// src/binary/binary-meta.ts
|
|
243
|
-
var BinaryField = (type, offset, length) => {
|
|
244
|
+
var BinaryField = /* @__PURE__ */ __name((type, offset, length) => {
|
|
244
245
|
if ((type === "utf8" || type === "utf16") && length == null) {
|
|
245
246
|
throw new Error(`String type ${type} requires length parameter`);
|
|
246
247
|
}
|
|
@@ -249,14 +250,14 @@ var BinaryField = (type, offset, length) => {
|
|
|
249
250
|
{ type, offset, length },
|
|
250
251
|
"binaryFieldKeys"
|
|
251
252
|
);
|
|
252
|
-
};
|
|
253
|
+
}, "BinaryField");
|
|
253
254
|
|
|
254
255
|
// src/binary/fill-binary-fields.ts
|
|
255
|
-
var isStaticInfo = (info) => typeof info.offset === "number" && (info.length == null || typeof info.length === "number");
|
|
256
|
-
var resolveLength = (obj, length, key) => {
|
|
256
|
+
var isStaticInfo = /* @__PURE__ */ __name((info) => typeof info.offset === "number" && (info.length == null || typeof info.length === "number"), "isStaticInfo");
|
|
257
|
+
var resolveLength = /* @__PURE__ */ __name((obj, length, key) => {
|
|
257
258
|
return typeof length === "number" ? length : length(obj, key);
|
|
258
|
-
};
|
|
259
|
-
var getTypeSize = (type) => {
|
|
259
|
+
}, "resolveLength");
|
|
260
|
+
var getTypeSize = /* @__PURE__ */ __name((type) => {
|
|
260
261
|
switch (type) {
|
|
261
262
|
case "i8":
|
|
262
263
|
case "u8":
|
|
@@ -270,8 +271,8 @@ var getTypeSize = (type) => {
|
|
|
270
271
|
default:
|
|
271
272
|
return 0;
|
|
272
273
|
}
|
|
273
|
-
};
|
|
274
|
-
var getFieldInfos = (objOrClass) => {
|
|
274
|
+
}, "getTypeSize");
|
|
275
|
+
var getFieldInfos = /* @__PURE__ */ __name((objOrClass) => {
|
|
275
276
|
const fields = reflector.getArray("binaryFieldKeys", objOrClass).map((key) => ({
|
|
276
277
|
key,
|
|
277
278
|
info: reflector.get("binaryField", objOrClass, key)
|
|
@@ -279,14 +280,14 @@ var getFieldInfos = (objOrClass) => {
|
|
|
279
280
|
const staticInfos = fields.filter((s) => isStaticInfo(s.info));
|
|
280
281
|
const dynamicInfos = fields.filter((s) => !isStaticInfo(s.info));
|
|
281
282
|
return { fields, staticInfos, dynamicInfos };
|
|
282
|
-
};
|
|
283
|
-
var fillBinaryFields = (obj, data, useClass) => {
|
|
283
|
+
}, "getFieldInfos");
|
|
284
|
+
var fillBinaryFields = /* @__PURE__ */ __name((obj, data, useClass) => {
|
|
284
285
|
const { staticInfos, dynamicInfos } = getFieldInfos(useClass || obj);
|
|
285
286
|
const view = new DataView(data.buffer, data.byteOffset, data.byteLength);
|
|
286
287
|
const utf8Decoder = new TextDecoder("utf-8");
|
|
287
288
|
const utf16Decoder = new TextDecoder("utf-16le");
|
|
288
289
|
let totalSize = 0;
|
|
289
|
-
const readValue = (type, offset) => {
|
|
290
|
+
const readValue = /* @__PURE__ */ __name((type, offset) => {
|
|
290
291
|
const typeSize = getTypeSize(type);
|
|
291
292
|
if (offset + typeSize > data.length) {
|
|
292
293
|
throw new Error(
|
|
@@ -309,8 +310,8 @@ var fillBinaryFields = (obj, data, useClass) => {
|
|
|
309
310
|
default:
|
|
310
311
|
throw new Error(`Unknown type: ${type}`);
|
|
311
312
|
}
|
|
312
|
-
};
|
|
313
|
-
const readString = (type, offset, byteLength) => {
|
|
313
|
+
}, "readValue");
|
|
314
|
+
const readString = /* @__PURE__ */ __name((type, offset, byteLength) => {
|
|
314
315
|
if (offset + byteLength > data.length) {
|
|
315
316
|
throw new Error(
|
|
316
317
|
`Data too short: need ${offset + byteLength} bytes, got ${data.length} bytes`
|
|
@@ -335,8 +336,8 @@ var fillBinaryFields = (obj, data, useClass) => {
|
|
|
335
336
|
return utf16Decoder.decode(actualBytes);
|
|
336
337
|
}
|
|
337
338
|
throw new Error(`Unknown string type: ${type}`);
|
|
338
|
-
};
|
|
339
|
-
const parseField = (key, info) => {
|
|
339
|
+
}, "readString");
|
|
340
|
+
const parseField = /* @__PURE__ */ __name((key, info) => {
|
|
340
341
|
const offset = resolveLength(obj, info.offset, key);
|
|
341
342
|
const type = info.type;
|
|
342
343
|
if (typeof type === "function") {
|
|
@@ -394,7 +395,7 @@ var fillBinaryFields = (obj, data, useClass) => {
|
|
|
394
395
|
obj[key] = readValue(typeStr, offset);
|
|
395
396
|
totalSize = Math.max(totalSize, offset + typeSize);
|
|
396
397
|
}
|
|
397
|
-
};
|
|
398
|
+
}, "parseField");
|
|
398
399
|
for (const { key, info } of staticInfos) {
|
|
399
400
|
parseField(key, info);
|
|
400
401
|
}
|
|
@@ -402,8 +403,8 @@ var fillBinaryFields = (obj, data, useClass) => {
|
|
|
402
403
|
parseField(key, info);
|
|
403
404
|
}
|
|
404
405
|
return totalSize;
|
|
405
|
-
};
|
|
406
|
-
var toBinaryFields = (obj, useClass) => {
|
|
406
|
+
}, "fillBinaryFields");
|
|
407
|
+
var toBinaryFields = /* @__PURE__ */ __name((obj, useClass) => {
|
|
407
408
|
const { staticInfos, dynamicInfos } = getFieldInfos(useClass || obj);
|
|
408
409
|
if (staticInfos.length === 0 && dynamicInfos.length === 0) {
|
|
409
410
|
return new Uint8Array(0);
|
|
@@ -448,7 +449,7 @@ var toBinaryFields = (obj, useClass) => {
|
|
|
448
449
|
const data = new Uint8Array(totalSize);
|
|
449
450
|
const view = new DataView(data.buffer);
|
|
450
451
|
const utf8Encoder = new TextEncoder();
|
|
451
|
-
const writeValue = (type, offset, value) => {
|
|
452
|
+
const writeValue = /* @__PURE__ */ __name((type, offset, value) => {
|
|
452
453
|
switch (type) {
|
|
453
454
|
case "i8":
|
|
454
455
|
view.setInt8(offset, value);
|
|
@@ -469,8 +470,8 @@ var toBinaryFields = (obj, useClass) => {
|
|
|
469
470
|
view.setUint32(offset, value, true);
|
|
470
471
|
break;
|
|
471
472
|
}
|
|
472
|
-
};
|
|
473
|
-
const writeString = (type, offset, byteLength, value) => {
|
|
473
|
+
}, "writeValue");
|
|
474
|
+
const writeString = /* @__PURE__ */ __name((type, offset, byteLength, value) => {
|
|
474
475
|
if (type === "utf8") {
|
|
475
476
|
const encoded = utf8Encoder.encode(value);
|
|
476
477
|
const len = Math.min(encoded.length, byteLength);
|
|
@@ -480,8 +481,8 @@ var toBinaryFields = (obj, useClass) => {
|
|
|
480
481
|
view.setUint16(offset + i * 2, value.charCodeAt(i), true);
|
|
481
482
|
}
|
|
482
483
|
}
|
|
483
|
-
};
|
|
484
|
-
const writeField = (key, info) => {
|
|
484
|
+
}, "writeString");
|
|
485
|
+
const writeField = /* @__PURE__ */ __name((key, info) => {
|
|
485
486
|
const offset = resolveLength(obj, info.offset, key);
|
|
486
487
|
const type = info.type;
|
|
487
488
|
const value = obj[key];
|
|
@@ -528,7 +529,7 @@ var toBinaryFields = (obj, useClass) => {
|
|
|
528
529
|
} else {
|
|
529
530
|
writeValue(typeStr, offset, value);
|
|
530
531
|
}
|
|
531
|
-
};
|
|
532
|
+
}, "writeField");
|
|
532
533
|
for (const { key, info } of staticInfos) {
|
|
533
534
|
writeField(key, info);
|
|
534
535
|
}
|
|
@@ -536,44 +537,46 @@ var toBinaryFields = (obj, useClass) => {
|
|
|
536
537
|
writeField(key, info);
|
|
537
538
|
}
|
|
538
539
|
return data;
|
|
539
|
-
};
|
|
540
|
+
}, "toBinaryFields");
|
|
540
541
|
|
|
541
542
|
// src/protos/common/host-info.ts
|
|
542
|
-
var
|
|
543
|
+
var _HostInfo = class _HostInfo {
|
|
543
544
|
};
|
|
545
|
+
__name(_HostInfo, "HostInfo");
|
|
544
546
|
__decorateClass([
|
|
545
547
|
BinaryField("u32", 0)
|
|
546
|
-
],
|
|
548
|
+
], _HostInfo.prototype, "lflist", 2);
|
|
547
549
|
__decorateClass([
|
|
548
550
|
BinaryField("u8", 4)
|
|
549
|
-
],
|
|
551
|
+
], _HostInfo.prototype, "rule", 2);
|
|
550
552
|
__decorateClass([
|
|
551
553
|
BinaryField("u8", 5)
|
|
552
|
-
],
|
|
554
|
+
], _HostInfo.prototype, "mode", 2);
|
|
553
555
|
__decorateClass([
|
|
554
556
|
BinaryField("u8", 6)
|
|
555
|
-
],
|
|
557
|
+
], _HostInfo.prototype, "duel_rule", 2);
|
|
556
558
|
__decorateClass([
|
|
557
559
|
BinaryField("u8", 7)
|
|
558
|
-
],
|
|
560
|
+
], _HostInfo.prototype, "no_check_deck", 2);
|
|
559
561
|
__decorateClass([
|
|
560
562
|
BinaryField("u8", 8)
|
|
561
|
-
],
|
|
563
|
+
], _HostInfo.prototype, "no_shuffle_deck", 2);
|
|
562
564
|
__decorateClass([
|
|
563
565
|
BinaryField("i32", 12)
|
|
564
|
-
],
|
|
566
|
+
], _HostInfo.prototype, "start_lp", 2);
|
|
565
567
|
__decorateClass([
|
|
566
568
|
BinaryField("u8", 16)
|
|
567
|
-
],
|
|
569
|
+
], _HostInfo.prototype, "start_hand", 2);
|
|
568
570
|
__decorateClass([
|
|
569
571
|
BinaryField("u8", 17)
|
|
570
|
-
],
|
|
572
|
+
], _HostInfo.prototype, "draw_count", 2);
|
|
571
573
|
__decorateClass([
|
|
572
574
|
BinaryField("u16", 18)
|
|
573
|
-
],
|
|
575
|
+
], _HostInfo.prototype, "time_limit", 2);
|
|
576
|
+
var HostInfo = _HostInfo;
|
|
574
577
|
|
|
575
578
|
// src/proto-base/payload-base.ts
|
|
576
|
-
var
|
|
579
|
+
var _PayloadBase = class _PayloadBase {
|
|
577
580
|
get identifier() {
|
|
578
581
|
return this.constructor.identifier;
|
|
579
582
|
}
|
|
@@ -593,7 +596,9 @@ var PayloadBase = class {
|
|
|
593
596
|
return this.fromPartial(this);
|
|
594
597
|
}
|
|
595
598
|
};
|
|
596
|
-
PayloadBase
|
|
599
|
+
__name(_PayloadBase, "PayloadBase");
|
|
600
|
+
_PayloadBase.identifier = 0;
|
|
601
|
+
var PayloadBase = _PayloadBase;
|
|
597
602
|
|
|
598
603
|
// src/vendor/ocgcore-constants.ts
|
|
599
604
|
var OcgcoreCommonConstants = {
|
|
@@ -967,13 +972,15 @@ function checkSetcode(setcode, value) {
|
|
|
967
972
|
const setsubtype = value & 61440;
|
|
968
973
|
return setcode && (setcode & 4095) === settype && (setcode & setsubtype) === setsubtype;
|
|
969
974
|
}
|
|
975
|
+
__name(checkSetcode, "checkSetcode");
|
|
970
976
|
function isAlternative(code, alias) {
|
|
971
977
|
if (code === CARD_BLACK_LUSTER_SOLDIER2) {
|
|
972
978
|
return false;
|
|
973
979
|
}
|
|
974
980
|
return alias && alias < code + CARD_ARTWORK_VERSIONS_OFFSET && code < alias + CARD_ARTWORK_VERSIONS_OFFSET;
|
|
975
981
|
}
|
|
976
|
-
|
|
982
|
+
__name(isAlternative, "isAlternative");
|
|
983
|
+
var _CardData = class _CardData extends PayloadBase {
|
|
977
984
|
/**
|
|
978
985
|
* Check if this card belongs to a specific setcode
|
|
979
986
|
* @param value The setcode value to check against
|
|
@@ -1116,49 +1123,55 @@ var CardData = class extends PayloadBase {
|
|
|
1116
1123
|
return this.code === CARD_MARINE_DOLPHIN || this.code === CARD_TWINKLE_MOSS || !this.alias && (this.type & (OcgcoreCommonConstants.TYPE_MONSTER | OcgcoreCommonConstants.TYPE_TOKEN)) !== (OcgcoreCommonConstants.TYPE_MONSTER | OcgcoreCommonConstants.TYPE_TOKEN);
|
|
1117
1124
|
}
|
|
1118
1125
|
};
|
|
1126
|
+
__name(_CardData, "CardData");
|
|
1119
1127
|
__decorateClass([
|
|
1120
1128
|
BinaryField("u32", 0)
|
|
1121
|
-
],
|
|
1129
|
+
], _CardData.prototype, "code", 2);
|
|
1122
1130
|
__decorateClass([
|
|
1123
1131
|
BinaryField("u32", 4)
|
|
1124
|
-
],
|
|
1132
|
+
], _CardData.prototype, "alias", 2);
|
|
1125
1133
|
__decorateClass([
|
|
1126
1134
|
BinaryField("u16", 8, 16)
|
|
1127
|
-
],
|
|
1135
|
+
], _CardData.prototype, "setcode", 2);
|
|
1128
1136
|
__decorateClass([
|
|
1129
1137
|
BinaryField("u32", 40)
|
|
1130
|
-
],
|
|
1138
|
+
], _CardData.prototype, "type", 2);
|
|
1131
1139
|
__decorateClass([
|
|
1132
1140
|
BinaryField("u32", 44)
|
|
1133
|
-
],
|
|
1141
|
+
], _CardData.prototype, "level", 2);
|
|
1134
1142
|
__decorateClass([
|
|
1135
1143
|
BinaryField("u32", 48)
|
|
1136
|
-
],
|
|
1144
|
+
], _CardData.prototype, "attribute", 2);
|
|
1137
1145
|
__decorateClass([
|
|
1138
1146
|
BinaryField("u32", 52)
|
|
1139
|
-
],
|
|
1147
|
+
], _CardData.prototype, "race", 2);
|
|
1140
1148
|
__decorateClass([
|
|
1141
1149
|
BinaryField("i32", 56)
|
|
1142
|
-
],
|
|
1150
|
+
], _CardData.prototype, "attack", 2);
|
|
1143
1151
|
__decorateClass([
|
|
1144
1152
|
BinaryField("i32", 60)
|
|
1145
|
-
],
|
|
1153
|
+
], _CardData.prototype, "defense", 2);
|
|
1146
1154
|
__decorateClass([
|
|
1147
1155
|
BinaryField("u32", 64)
|
|
1148
|
-
],
|
|
1156
|
+
], _CardData.prototype, "lscale", 2);
|
|
1149
1157
|
__decorateClass([
|
|
1150
1158
|
BinaryField("u32", 68)
|
|
1151
|
-
],
|
|
1159
|
+
], _CardData.prototype, "rscale", 2);
|
|
1152
1160
|
__decorateClass([
|
|
1153
1161
|
BinaryField("u32", 72)
|
|
1154
|
-
],
|
|
1162
|
+
], _CardData.prototype, "linkMarker", 2);
|
|
1163
|
+
var CardData = _CardData;
|
|
1155
1164
|
|
|
1156
1165
|
// src/protos/common/card-query.ts
|
|
1157
|
-
var
|
|
1166
|
+
var _CardQuery_CardLocation = class _CardQuery_CardLocation {
|
|
1158
1167
|
};
|
|
1159
|
-
|
|
1168
|
+
__name(_CardQuery_CardLocation, "CardQuery_CardLocation");
|
|
1169
|
+
var CardQuery_CardLocation = _CardQuery_CardLocation;
|
|
1170
|
+
var _CardQuery_Counter = class _CardQuery_Counter {
|
|
1160
1171
|
};
|
|
1161
|
-
|
|
1172
|
+
__name(_CardQuery_Counter, "CardQuery_Counter");
|
|
1173
|
+
var CardQuery_Counter = _CardQuery_Counter;
|
|
1174
|
+
var _CardQuery = class _CardQuery {
|
|
1162
1175
|
constructor() {
|
|
1163
1176
|
this.flags = 0;
|
|
1164
1177
|
}
|
|
@@ -1459,9 +1472,11 @@ var CardQuery = class {
|
|
|
1459
1472
|
return new Uint8Array(view.buffer, view.byteOffset, offset);
|
|
1460
1473
|
}
|
|
1461
1474
|
};
|
|
1475
|
+
__name(_CardQuery, "CardQuery");
|
|
1476
|
+
var CardQuery = _CardQuery;
|
|
1462
1477
|
|
|
1463
1478
|
// src/proto-base/ygopro-proto-base.ts
|
|
1464
|
-
var
|
|
1479
|
+
var _YGOProProtoBase = class _YGOProProtoBase extends PayloadBase {
|
|
1465
1480
|
get messageDirection() {
|
|
1466
1481
|
return this.constructor.messageDirection;
|
|
1467
1482
|
}
|
|
@@ -1510,15 +1525,19 @@ var YGOProProtoBase = class extends PayloadBase {
|
|
|
1510
1525
|
return this.fromPayload(bodyData);
|
|
1511
1526
|
}
|
|
1512
1527
|
};
|
|
1513
|
-
|
|
1528
|
+
__name(_YGOProProtoBase, "YGOProProtoBase");
|
|
1529
|
+
_YGOProProtoBase.messageDirection = "";
|
|
1530
|
+
var YGOProProtoBase = _YGOProProtoBase;
|
|
1514
1531
|
|
|
1515
1532
|
// src/protos/ctos/base.ts
|
|
1516
|
-
var
|
|
1533
|
+
var _YGOProCtosBase = class _YGOProCtosBase extends YGOProProtoBase {
|
|
1517
1534
|
};
|
|
1518
|
-
|
|
1535
|
+
__name(_YGOProCtosBase, "YGOProCtosBase");
|
|
1536
|
+
_YGOProCtosBase.messageDirection = "CTOS";
|
|
1537
|
+
var YGOProCtosBase = _YGOProCtosBase;
|
|
1519
1538
|
|
|
1520
1539
|
// src/proto-base/registry-base.ts
|
|
1521
|
-
var
|
|
1540
|
+
var _RegistryBase = class _RegistryBase {
|
|
1522
1541
|
constructor(payloadClass, options = {}) {
|
|
1523
1542
|
this.payloadClass = payloadClass;
|
|
1524
1543
|
this.options = options;
|
|
@@ -1542,9 +1561,11 @@ var RegistryBase = class {
|
|
|
1542
1561
|
);
|
|
1543
1562
|
}
|
|
1544
1563
|
};
|
|
1564
|
+
__name(_RegistryBase, "RegistryBase");
|
|
1565
|
+
var RegistryBase = _RegistryBase;
|
|
1545
1566
|
|
|
1546
1567
|
// src/protos/ctos/proto/response.ts
|
|
1547
|
-
var
|
|
1568
|
+
var _YGOProCtosResponse = class _YGOProCtosResponse extends YGOProCtosBase {
|
|
1548
1569
|
fromPayload(data) {
|
|
1549
1570
|
this.response = data;
|
|
1550
1571
|
return this;
|
|
@@ -1553,11 +1574,13 @@ var YGOProCtosResponse = class extends YGOProCtosBase {
|
|
|
1553
1574
|
return this.response || new Uint8Array(0);
|
|
1554
1575
|
}
|
|
1555
1576
|
};
|
|
1556
|
-
YGOProCtosResponse
|
|
1577
|
+
__name(_YGOProCtosResponse, "YGOProCtosResponse");
|
|
1578
|
+
_YGOProCtosResponse.identifier = 1;
|
|
1579
|
+
var YGOProCtosResponse = _YGOProCtosResponse;
|
|
1557
1580
|
|
|
1558
1581
|
// src/protos/ctos/proto/update-deck.ts
|
|
1559
1582
|
var import_ygopro_deck_encode = __toESM(require("ygopro-deck-encode"));
|
|
1560
|
-
var
|
|
1583
|
+
var _YGOProCtosUpdateDeck = class _YGOProCtosUpdateDeck extends YGOProCtosBase {
|
|
1561
1584
|
constructor() {
|
|
1562
1585
|
super();
|
|
1563
1586
|
this.deck = new import_ygopro_deck_encode.default();
|
|
@@ -1581,78 +1604,96 @@ var YGOProCtosUpdateDeck = class extends YGOProCtosBase {
|
|
|
1581
1604
|
return copied;
|
|
1582
1605
|
}
|
|
1583
1606
|
};
|
|
1584
|
-
YGOProCtosUpdateDeck
|
|
1607
|
+
__name(_YGOProCtosUpdateDeck, "YGOProCtosUpdateDeck");
|
|
1608
|
+
_YGOProCtosUpdateDeck.identifier = 2;
|
|
1609
|
+
var YGOProCtosUpdateDeck = _YGOProCtosUpdateDeck;
|
|
1585
1610
|
|
|
1586
1611
|
// src/protos/ctos/proto/hand-result.ts
|
|
1587
|
-
var
|
|
1612
|
+
var _YGOProCtosHandResult = class _YGOProCtosHandResult extends YGOProCtosBase {
|
|
1588
1613
|
};
|
|
1589
|
-
YGOProCtosHandResult
|
|
1614
|
+
__name(_YGOProCtosHandResult, "YGOProCtosHandResult");
|
|
1615
|
+
_YGOProCtosHandResult.identifier = 3;
|
|
1590
1616
|
__decorateClass([
|
|
1591
1617
|
BinaryField("u8", 0)
|
|
1592
|
-
],
|
|
1618
|
+
], _YGOProCtosHandResult.prototype, "res", 2);
|
|
1619
|
+
var YGOProCtosHandResult = _YGOProCtosHandResult;
|
|
1593
1620
|
|
|
1594
1621
|
// src/protos/ctos/proto/tp-result.ts
|
|
1595
|
-
var
|
|
1622
|
+
var _YGOProCtosTpResult = class _YGOProCtosTpResult extends YGOProCtosBase {
|
|
1596
1623
|
};
|
|
1597
|
-
YGOProCtosTpResult
|
|
1624
|
+
__name(_YGOProCtosTpResult, "YGOProCtosTpResult");
|
|
1625
|
+
_YGOProCtosTpResult.identifier = 4;
|
|
1598
1626
|
__decorateClass([
|
|
1599
1627
|
BinaryField("u8", 0)
|
|
1600
|
-
],
|
|
1628
|
+
], _YGOProCtosTpResult.prototype, "res", 2);
|
|
1629
|
+
var YGOProCtosTpResult = _YGOProCtosTpResult;
|
|
1601
1630
|
|
|
1602
1631
|
// src/protos/ctos/proto/player-info.ts
|
|
1603
|
-
var
|
|
1632
|
+
var _YGOProCtosPlayerInfo = class _YGOProCtosPlayerInfo extends YGOProCtosBase {
|
|
1604
1633
|
};
|
|
1605
|
-
YGOProCtosPlayerInfo
|
|
1634
|
+
__name(_YGOProCtosPlayerInfo, "YGOProCtosPlayerInfo");
|
|
1635
|
+
_YGOProCtosPlayerInfo.identifier = 16;
|
|
1606
1636
|
__decorateClass([
|
|
1607
1637
|
BinaryField("utf16", 0, 20)
|
|
1608
|
-
],
|
|
1638
|
+
], _YGOProCtosPlayerInfo.prototype, "name", 2);
|
|
1639
|
+
var YGOProCtosPlayerInfo = _YGOProCtosPlayerInfo;
|
|
1609
1640
|
|
|
1610
1641
|
// src/protos/ctos/proto/create-game.ts
|
|
1611
|
-
var
|
|
1642
|
+
var _YGOProCtosCreateGame = class _YGOProCtosCreateGame extends YGOProCtosBase {
|
|
1612
1643
|
};
|
|
1613
|
-
YGOProCtosCreateGame
|
|
1644
|
+
__name(_YGOProCtosCreateGame, "YGOProCtosCreateGame");
|
|
1645
|
+
_YGOProCtosCreateGame.identifier = 17;
|
|
1614
1646
|
__decorateClass([
|
|
1615
1647
|
BinaryField(() => HostInfo, 0)
|
|
1616
|
-
],
|
|
1648
|
+
], _YGOProCtosCreateGame.prototype, "info", 2);
|
|
1617
1649
|
__decorateClass([
|
|
1618
1650
|
BinaryField("utf16", 20, 20)
|
|
1619
|
-
],
|
|
1651
|
+
], _YGOProCtosCreateGame.prototype, "name", 2);
|
|
1620
1652
|
__decorateClass([
|
|
1621
1653
|
BinaryField("utf16", 60, 20)
|
|
1622
|
-
],
|
|
1654
|
+
], _YGOProCtosCreateGame.prototype, "pass", 2);
|
|
1655
|
+
var YGOProCtosCreateGame = _YGOProCtosCreateGame;
|
|
1623
1656
|
|
|
1624
1657
|
// src/protos/ctos/proto/join-game.ts
|
|
1625
|
-
var
|
|
1658
|
+
var _YGOProCtosJoinGame = class _YGOProCtosJoinGame extends YGOProCtosBase {
|
|
1626
1659
|
};
|
|
1627
|
-
YGOProCtosJoinGame
|
|
1660
|
+
__name(_YGOProCtosJoinGame, "YGOProCtosJoinGame");
|
|
1661
|
+
_YGOProCtosJoinGame.identifier = 18;
|
|
1628
1662
|
__decorateClass([
|
|
1629
1663
|
BinaryField("u16", 0)
|
|
1630
|
-
],
|
|
1664
|
+
], _YGOProCtosJoinGame.prototype, "version", 2);
|
|
1631
1665
|
__decorateClass([
|
|
1632
1666
|
BinaryField("u32", 4)
|
|
1633
|
-
],
|
|
1667
|
+
], _YGOProCtosJoinGame.prototype, "gameid", 2);
|
|
1634
1668
|
__decorateClass([
|
|
1635
1669
|
BinaryField("utf16", 8, 20)
|
|
1636
|
-
],
|
|
1670
|
+
], _YGOProCtosJoinGame.prototype, "pass", 2);
|
|
1671
|
+
var YGOProCtosJoinGame = _YGOProCtosJoinGame;
|
|
1637
1672
|
|
|
1638
1673
|
// src/protos/ctos/proto/leave-game.ts
|
|
1639
|
-
var
|
|
1674
|
+
var _YGOProCtosLeaveGame = class _YGOProCtosLeaveGame extends YGOProCtosBase {
|
|
1640
1675
|
};
|
|
1641
|
-
YGOProCtosLeaveGame
|
|
1676
|
+
__name(_YGOProCtosLeaveGame, "YGOProCtosLeaveGame");
|
|
1677
|
+
_YGOProCtosLeaveGame.identifier = 19;
|
|
1678
|
+
var YGOProCtosLeaveGame = _YGOProCtosLeaveGame;
|
|
1642
1679
|
|
|
1643
1680
|
// src/protos/ctos/proto/surrender.ts
|
|
1644
|
-
var
|
|
1681
|
+
var _YGOProCtosSurrender = class _YGOProCtosSurrender extends YGOProCtosBase {
|
|
1645
1682
|
};
|
|
1646
|
-
YGOProCtosSurrender
|
|
1683
|
+
__name(_YGOProCtosSurrender, "YGOProCtosSurrender");
|
|
1684
|
+
_YGOProCtosSurrender.identifier = 20;
|
|
1685
|
+
var YGOProCtosSurrender = _YGOProCtosSurrender;
|
|
1647
1686
|
|
|
1648
1687
|
// src/protos/ctos/proto/time-confirm.ts
|
|
1649
|
-
var
|
|
1688
|
+
var _YGOProCtosTimeConfirm = class _YGOProCtosTimeConfirm extends YGOProCtosBase {
|
|
1650
1689
|
};
|
|
1651
|
-
YGOProCtosTimeConfirm
|
|
1690
|
+
__name(_YGOProCtosTimeConfirm, "YGOProCtosTimeConfirm");
|
|
1691
|
+
_YGOProCtosTimeConfirm.identifier = 21;
|
|
1692
|
+
var YGOProCtosTimeConfirm = _YGOProCtosTimeConfirm;
|
|
1652
1693
|
|
|
1653
1694
|
// src/protos/ctos/proto/chat.ts
|
|
1654
1695
|
var CTOS_CHAT_MAX_LENGTH = 256;
|
|
1655
|
-
var
|
|
1696
|
+
var _YGOProCtosChat = class _YGOProCtosChat extends YGOProCtosBase {
|
|
1656
1697
|
constructor() {
|
|
1657
1698
|
super();
|
|
1658
1699
|
this.msg = "";
|
|
@@ -1679,12 +1720,14 @@ var YGOProCtosChat = class extends YGOProCtosBase {
|
|
|
1679
1720
|
return this;
|
|
1680
1721
|
}
|
|
1681
1722
|
};
|
|
1682
|
-
YGOProCtosChat
|
|
1683
|
-
|
|
1723
|
+
__name(_YGOProCtosChat, "YGOProCtosChat");
|
|
1724
|
+
_YGOProCtosChat.identifier = 22;
|
|
1725
|
+
_YGOProCtosChat.MAX_LENGTH = CTOS_CHAT_MAX_LENGTH;
|
|
1726
|
+
var YGOProCtosChat = _YGOProCtosChat;
|
|
1684
1727
|
|
|
1685
1728
|
// src/protos/ctos/proto/external-address.ts
|
|
1686
1729
|
var CTOS_EXTERNAL_ADDRESS_MAX_HOSTNAME_LENGTH = 256;
|
|
1687
|
-
var
|
|
1730
|
+
var _YGOProCtosExternalAddress = class _YGOProCtosExternalAddress extends YGOProCtosBase {
|
|
1688
1731
|
constructor() {
|
|
1689
1732
|
super();
|
|
1690
1733
|
this.real_ip = "0.0.0.0";
|
|
@@ -1757,47 +1800,63 @@ var YGOProCtosExternalAddress = class extends YGOProCtosBase {
|
|
|
1757
1800
|
return this;
|
|
1758
1801
|
}
|
|
1759
1802
|
};
|
|
1760
|
-
YGOProCtosExternalAddress
|
|
1761
|
-
|
|
1762
|
-
|
|
1803
|
+
__name(_YGOProCtosExternalAddress, "YGOProCtosExternalAddress");
|
|
1804
|
+
_YGOProCtosExternalAddress.identifier = 23;
|
|
1805
|
+
_YGOProCtosExternalAddress.MAX_LENGTH = CTOS_EXTERNAL_ADDRESS_MAX_HOSTNAME_LENGTH;
|
|
1806
|
+
_YGOProCtosExternalAddress.MAX_HOSTNAME_LENGTH = CTOS_EXTERNAL_ADDRESS_MAX_HOSTNAME_LENGTH;
|
|
1807
|
+
var YGOProCtosExternalAddress = _YGOProCtosExternalAddress;
|
|
1763
1808
|
|
|
1764
1809
|
// src/protos/ctos/proto/hs-toduelist.ts
|
|
1765
|
-
var
|
|
1810
|
+
var _YGOProCtosHsToDuelist = class _YGOProCtosHsToDuelist extends YGOProCtosBase {
|
|
1766
1811
|
};
|
|
1767
|
-
YGOProCtosHsToDuelist
|
|
1812
|
+
__name(_YGOProCtosHsToDuelist, "YGOProCtosHsToDuelist");
|
|
1813
|
+
_YGOProCtosHsToDuelist.identifier = 32;
|
|
1814
|
+
var YGOProCtosHsToDuelist = _YGOProCtosHsToDuelist;
|
|
1768
1815
|
|
|
1769
1816
|
// src/protos/ctos/proto/hs-toobserver.ts
|
|
1770
|
-
var
|
|
1817
|
+
var _YGOProCtosHsToObserver = class _YGOProCtosHsToObserver extends YGOProCtosBase {
|
|
1771
1818
|
};
|
|
1772
|
-
YGOProCtosHsToObserver
|
|
1819
|
+
__name(_YGOProCtosHsToObserver, "YGOProCtosHsToObserver");
|
|
1820
|
+
_YGOProCtosHsToObserver.identifier = 33;
|
|
1821
|
+
var YGOProCtosHsToObserver = _YGOProCtosHsToObserver;
|
|
1773
1822
|
|
|
1774
1823
|
// src/protos/ctos/proto/hs-ready.ts
|
|
1775
|
-
var
|
|
1824
|
+
var _YGOProCtosHsReady = class _YGOProCtosHsReady extends YGOProCtosBase {
|
|
1776
1825
|
};
|
|
1777
|
-
YGOProCtosHsReady
|
|
1826
|
+
__name(_YGOProCtosHsReady, "YGOProCtosHsReady");
|
|
1827
|
+
_YGOProCtosHsReady.identifier = 34;
|
|
1828
|
+
var YGOProCtosHsReady = _YGOProCtosHsReady;
|
|
1778
1829
|
|
|
1779
1830
|
// src/protos/ctos/proto/hs-notready.ts
|
|
1780
|
-
var
|
|
1831
|
+
var _YGOProCtosHsNotReady = class _YGOProCtosHsNotReady extends YGOProCtosBase {
|
|
1781
1832
|
};
|
|
1782
|
-
YGOProCtosHsNotReady
|
|
1833
|
+
__name(_YGOProCtosHsNotReady, "YGOProCtosHsNotReady");
|
|
1834
|
+
_YGOProCtosHsNotReady.identifier = 35;
|
|
1835
|
+
var YGOProCtosHsNotReady = _YGOProCtosHsNotReady;
|
|
1783
1836
|
|
|
1784
1837
|
// src/protos/ctos/proto/kick.ts
|
|
1785
|
-
var
|
|
1838
|
+
var _YGOProCtosKick = class _YGOProCtosKick extends YGOProCtosBase {
|
|
1786
1839
|
};
|
|
1787
|
-
YGOProCtosKick
|
|
1840
|
+
__name(_YGOProCtosKick, "YGOProCtosKick");
|
|
1841
|
+
_YGOProCtosKick.identifier = 36;
|
|
1788
1842
|
__decorateClass([
|
|
1789
1843
|
BinaryField("u8", 0)
|
|
1790
|
-
],
|
|
1844
|
+
], _YGOProCtosKick.prototype, "pos", 2);
|
|
1845
|
+
var YGOProCtosKick = _YGOProCtosKick;
|
|
1791
1846
|
|
|
1792
1847
|
// src/protos/ctos/proto/hs-start.ts
|
|
1793
|
-
var
|
|
1848
|
+
var _YGOProCtosHsStart = class _YGOProCtosHsStart extends YGOProCtosBase {
|
|
1794
1849
|
};
|
|
1795
|
-
YGOProCtosHsStart
|
|
1850
|
+
__name(_YGOProCtosHsStart, "YGOProCtosHsStart");
|
|
1851
|
+
_YGOProCtosHsStart.identifier = 37;
|
|
1852
|
+
var YGOProCtosHsStart = _YGOProCtosHsStart;
|
|
1796
1853
|
|
|
1797
1854
|
// src/protos/ctos/proto/request-field.ts
|
|
1798
|
-
var
|
|
1855
|
+
var _YGOProCtosRequestField = class _YGOProCtosRequestField extends YGOProCtosBase {
|
|
1799
1856
|
};
|
|
1800
|
-
YGOProCtosRequestField
|
|
1857
|
+
__name(_YGOProCtosRequestField, "YGOProCtosRequestField");
|
|
1858
|
+
_YGOProCtosRequestField.identifier = 48;
|
|
1859
|
+
var YGOProCtosRequestField = _YGOProCtosRequestField;
|
|
1801
1860
|
|
|
1802
1861
|
// src/protos/ctos/registry.ts
|
|
1803
1862
|
var YGOProCtos = new RegistryBase(YGOProCtosBase, {
|
|
@@ -1825,9 +1884,11 @@ YGOProCtos.register(YGOProCtosHsStart);
|
|
|
1825
1884
|
YGOProCtos.register(YGOProCtosRequestField);
|
|
1826
1885
|
|
|
1827
1886
|
// src/protos/stoc/base.ts
|
|
1828
|
-
var
|
|
1887
|
+
var _YGOProStocBase = class _YGOProStocBase extends YGOProProtoBase {
|
|
1829
1888
|
};
|
|
1830
|
-
|
|
1889
|
+
__name(_YGOProStocBase, "YGOProStocBase");
|
|
1890
|
+
_YGOProStocBase.messageDirection = "STOC";
|
|
1891
|
+
var YGOProStocBase = _YGOProStocBase;
|
|
1831
1892
|
|
|
1832
1893
|
// src/protos/network-enums.ts
|
|
1833
1894
|
var HandResult = /* @__PURE__ */ ((HandResult2) => {
|
|
@@ -1906,7 +1967,7 @@ var RoomStatus = /* @__PURE__ */ ((RoomStatus2) => {
|
|
|
1906
1967
|
// src/protos/msg/base.ts
|
|
1907
1968
|
var SEND_TO_PLAYERS = [0, 1];
|
|
1908
1969
|
var SEND_TO_ALL = [0, 1, 7 /* OBSERVER */];
|
|
1909
|
-
var
|
|
1970
|
+
var _YGOProMsgBase = class _YGOProMsgBase extends PayloadBase {
|
|
1910
1971
|
fromPayload(data) {
|
|
1911
1972
|
if (data.length < 1) {
|
|
1912
1973
|
throw new Error("MSG data too short");
|
|
@@ -1952,29 +2013,33 @@ var YGOProMsgBase = class extends PayloadBase {
|
|
|
1952
2013
|
return SEND_TO_ALL;
|
|
1953
2014
|
}
|
|
1954
2015
|
};
|
|
2016
|
+
__name(_YGOProMsgBase, "YGOProMsgBase");
|
|
2017
|
+
var YGOProMsgBase = _YGOProMsgBase;
|
|
1955
2018
|
|
|
1956
2019
|
// src/protos/msg/proto/add-counter.ts
|
|
1957
|
-
var
|
|
2020
|
+
var _YGOProMsgAddCounter = class _YGOProMsgAddCounter extends YGOProMsgBase {
|
|
1958
2021
|
};
|
|
1959
|
-
YGOProMsgAddCounter
|
|
2022
|
+
__name(_YGOProMsgAddCounter, "YGOProMsgAddCounter");
|
|
2023
|
+
_YGOProMsgAddCounter.identifier = OcgcoreCommonConstants.MSG_ADD_COUNTER;
|
|
1960
2024
|
__decorateClass([
|
|
1961
2025
|
BinaryField("u16", 0)
|
|
1962
|
-
],
|
|
2026
|
+
], _YGOProMsgAddCounter.prototype, "counterType", 2);
|
|
1963
2027
|
__decorateClass([
|
|
1964
2028
|
BinaryField("u8", 2)
|
|
1965
|
-
],
|
|
2029
|
+
], _YGOProMsgAddCounter.prototype, "controller", 2);
|
|
1966
2030
|
__decorateClass([
|
|
1967
2031
|
BinaryField("u8", 3)
|
|
1968
|
-
],
|
|
2032
|
+
], _YGOProMsgAddCounter.prototype, "location", 2);
|
|
1969
2033
|
__decorateClass([
|
|
1970
2034
|
BinaryField("u8", 4)
|
|
1971
|
-
],
|
|
2035
|
+
], _YGOProMsgAddCounter.prototype, "sequence", 2);
|
|
1972
2036
|
__decorateClass([
|
|
1973
2037
|
BinaryField("u16", 5)
|
|
1974
|
-
],
|
|
2038
|
+
], _YGOProMsgAddCounter.prototype, "count", 2);
|
|
2039
|
+
var YGOProMsgAddCounter = _YGOProMsgAddCounter;
|
|
1975
2040
|
|
|
1976
2041
|
// src/protos/msg/with-response-base.ts
|
|
1977
|
-
var
|
|
2042
|
+
var _YGOProMsgResponseBase = class _YGOProMsgResponseBase extends YGOProMsgBase {
|
|
1978
2043
|
defaultResponse() {
|
|
1979
2044
|
return void 0;
|
|
1980
2045
|
}
|
|
@@ -1982,9 +2047,11 @@ var YGOProMsgResponseBase = class extends YGOProMsgBase {
|
|
|
1982
2047
|
return [this.responsePlayer()];
|
|
1983
2048
|
}
|
|
1984
2049
|
};
|
|
2050
|
+
__name(_YGOProMsgResponseBase, "YGOProMsgResponseBase");
|
|
2051
|
+
var YGOProMsgResponseBase = _YGOProMsgResponseBase;
|
|
1985
2052
|
|
|
1986
2053
|
// src/protos/msg/proto/announce-attrib.ts
|
|
1987
|
-
var
|
|
2054
|
+
var _YGOProMsgAnnounceAttrib = class _YGOProMsgAnnounceAttrib extends YGOProMsgResponseBase {
|
|
1988
2055
|
responsePlayer() {
|
|
1989
2056
|
return this.player;
|
|
1990
2057
|
}
|
|
@@ -1995,19 +2062,21 @@ var YGOProMsgAnnounceAttrib = class extends YGOProMsgResponseBase {
|
|
|
1995
2062
|
return buffer;
|
|
1996
2063
|
}
|
|
1997
2064
|
};
|
|
1998
|
-
YGOProMsgAnnounceAttrib
|
|
2065
|
+
__name(_YGOProMsgAnnounceAttrib, "YGOProMsgAnnounceAttrib");
|
|
2066
|
+
_YGOProMsgAnnounceAttrib.identifier = OcgcoreCommonConstants.MSG_ANNOUNCE_ATTRIB;
|
|
1999
2067
|
__decorateClass([
|
|
2000
2068
|
BinaryField("u8", 0)
|
|
2001
|
-
],
|
|
2069
|
+
], _YGOProMsgAnnounceAttrib.prototype, "player", 2);
|
|
2002
2070
|
__decorateClass([
|
|
2003
2071
|
BinaryField("u8", 1)
|
|
2004
|
-
],
|
|
2072
|
+
], _YGOProMsgAnnounceAttrib.prototype, "count", 2);
|
|
2005
2073
|
__decorateClass([
|
|
2006
2074
|
BinaryField("u32", 2)
|
|
2007
|
-
],
|
|
2075
|
+
], _YGOProMsgAnnounceAttrib.prototype, "availableAttributes", 2);
|
|
2076
|
+
var YGOProMsgAnnounceAttrib = _YGOProMsgAnnounceAttrib;
|
|
2008
2077
|
|
|
2009
2078
|
// src/protos/msg/proto/announce-card.ts
|
|
2010
|
-
var
|
|
2079
|
+
var _YGOProMsgAnnounceCard = class _YGOProMsgAnnounceCard extends YGOProMsgResponseBase {
|
|
2011
2080
|
responsePlayer() {
|
|
2012
2081
|
return this.player;
|
|
2013
2082
|
}
|
|
@@ -2018,29 +2087,31 @@ var YGOProMsgAnnounceCard = class extends YGOProMsgResponseBase {
|
|
|
2018
2087
|
return buffer;
|
|
2019
2088
|
}
|
|
2020
2089
|
};
|
|
2021
|
-
YGOProMsgAnnounceCard
|
|
2090
|
+
__name(_YGOProMsgAnnounceCard, "YGOProMsgAnnounceCard");
|
|
2091
|
+
_YGOProMsgAnnounceCard.identifier = OcgcoreCommonConstants.MSG_ANNOUNCE_CARD;
|
|
2022
2092
|
__decorateClass([
|
|
2023
2093
|
BinaryField("u8", 0)
|
|
2024
|
-
],
|
|
2094
|
+
], _YGOProMsgAnnounceCard.prototype, "player", 2);
|
|
2025
2095
|
__decorateClass([
|
|
2026
2096
|
BinaryField("u8", 1)
|
|
2027
|
-
],
|
|
2097
|
+
], _YGOProMsgAnnounceCard.prototype, "count", 2);
|
|
2028
2098
|
__decorateClass([
|
|
2029
2099
|
BinaryField("i32", 2, (obj) => obj.count)
|
|
2030
|
-
],
|
|
2100
|
+
], _YGOProMsgAnnounceCard.prototype, "opcodes", 2);
|
|
2101
|
+
var YGOProMsgAnnounceCard = _YGOProMsgAnnounceCard;
|
|
2031
2102
|
|
|
2032
2103
|
// src/protos/msg/index-response.ts
|
|
2033
2104
|
var INDEX_RESPONSE_SYMBOL = /* @__PURE__ */ Symbol("IndexResponse");
|
|
2034
|
-
var IndexResponse = (index) => ({
|
|
2105
|
+
var IndexResponse = /* @__PURE__ */ __name((index) => ({
|
|
2035
2106
|
[INDEX_RESPONSE_SYMBOL]: true,
|
|
2036
2107
|
index
|
|
2037
|
-
});
|
|
2038
|
-
var isIndexResponse = (obj) => {
|
|
2108
|
+
}), "IndexResponse");
|
|
2109
|
+
var isIndexResponse = /* @__PURE__ */ __name((obj) => {
|
|
2039
2110
|
return obj != null && obj[INDEX_RESPONSE_SYMBOL] === true;
|
|
2040
|
-
};
|
|
2111
|
+
}, "isIndexResponse");
|
|
2041
2112
|
|
|
2042
2113
|
// src/protos/msg/proto/announce-number.ts
|
|
2043
|
-
var
|
|
2114
|
+
var _YGOProMsgAnnounceNumber = class _YGOProMsgAnnounceNumber extends YGOProMsgResponseBase {
|
|
2044
2115
|
responsePlayer() {
|
|
2045
2116
|
return this.player;
|
|
2046
2117
|
}
|
|
@@ -2063,19 +2134,21 @@ var YGOProMsgAnnounceNumber = class extends YGOProMsgResponseBase {
|
|
|
2063
2134
|
return buffer;
|
|
2064
2135
|
}
|
|
2065
2136
|
};
|
|
2066
|
-
YGOProMsgAnnounceNumber
|
|
2137
|
+
__name(_YGOProMsgAnnounceNumber, "YGOProMsgAnnounceNumber");
|
|
2138
|
+
_YGOProMsgAnnounceNumber.identifier = OcgcoreCommonConstants.MSG_ANNOUNCE_NUMBER;
|
|
2067
2139
|
__decorateClass([
|
|
2068
2140
|
BinaryField("u8", 0)
|
|
2069
|
-
],
|
|
2141
|
+
], _YGOProMsgAnnounceNumber.prototype, "player", 2);
|
|
2070
2142
|
__decorateClass([
|
|
2071
2143
|
BinaryField("u8", 1)
|
|
2072
|
-
],
|
|
2144
|
+
], _YGOProMsgAnnounceNumber.prototype, "count", 2);
|
|
2073
2145
|
__decorateClass([
|
|
2074
2146
|
BinaryField("i32", 2, (obj) => obj.count)
|
|
2075
|
-
],
|
|
2147
|
+
], _YGOProMsgAnnounceNumber.prototype, "numbers", 2);
|
|
2148
|
+
var YGOProMsgAnnounceNumber = _YGOProMsgAnnounceNumber;
|
|
2076
2149
|
|
|
2077
2150
|
// src/protos/msg/proto/announce-race.ts
|
|
2078
|
-
var
|
|
2151
|
+
var _YGOProMsgAnnounceRace = class _YGOProMsgAnnounceRace extends YGOProMsgResponseBase {
|
|
2079
2152
|
responsePlayer() {
|
|
2080
2153
|
return this.player;
|
|
2081
2154
|
}
|
|
@@ -2086,254 +2159,296 @@ var YGOProMsgAnnounceRace = class extends YGOProMsgResponseBase {
|
|
|
2086
2159
|
return buffer;
|
|
2087
2160
|
}
|
|
2088
2161
|
};
|
|
2089
|
-
YGOProMsgAnnounceRace
|
|
2162
|
+
__name(_YGOProMsgAnnounceRace, "YGOProMsgAnnounceRace");
|
|
2163
|
+
_YGOProMsgAnnounceRace.identifier = OcgcoreCommonConstants.MSG_ANNOUNCE_RACE;
|
|
2090
2164
|
__decorateClass([
|
|
2091
2165
|
BinaryField("u8", 0)
|
|
2092
|
-
],
|
|
2166
|
+
], _YGOProMsgAnnounceRace.prototype, "player", 2);
|
|
2093
2167
|
__decorateClass([
|
|
2094
2168
|
BinaryField("u8", 1)
|
|
2095
|
-
],
|
|
2169
|
+
], _YGOProMsgAnnounceRace.prototype, "count", 2);
|
|
2096
2170
|
__decorateClass([
|
|
2097
2171
|
BinaryField("u32", 2)
|
|
2098
|
-
],
|
|
2172
|
+
], _YGOProMsgAnnounceRace.prototype, "availableRaces", 2);
|
|
2173
|
+
var YGOProMsgAnnounceRace = _YGOProMsgAnnounceRace;
|
|
2099
2174
|
|
|
2100
2175
|
// src/protos/msg/proto/attack.ts
|
|
2101
|
-
var
|
|
2176
|
+
var _YGOProMsgAttack_CardLocation = class _YGOProMsgAttack_CardLocation {
|
|
2102
2177
|
};
|
|
2178
|
+
__name(_YGOProMsgAttack_CardLocation, "YGOProMsgAttack_CardLocation");
|
|
2103
2179
|
__decorateClass([
|
|
2104
2180
|
BinaryField("u8", 0)
|
|
2105
|
-
],
|
|
2181
|
+
], _YGOProMsgAttack_CardLocation.prototype, "controller", 2);
|
|
2106
2182
|
__decorateClass([
|
|
2107
2183
|
BinaryField("u8", 1)
|
|
2108
|
-
],
|
|
2184
|
+
], _YGOProMsgAttack_CardLocation.prototype, "location", 2);
|
|
2109
2185
|
__decorateClass([
|
|
2110
2186
|
BinaryField("u8", 2)
|
|
2111
|
-
],
|
|
2187
|
+
], _YGOProMsgAttack_CardLocation.prototype, "sequence", 2);
|
|
2112
2188
|
__decorateClass([
|
|
2113
2189
|
BinaryField("u8", 3)
|
|
2114
|
-
],
|
|
2115
|
-
var
|
|
2190
|
+
], _YGOProMsgAttack_CardLocation.prototype, "position", 2);
|
|
2191
|
+
var YGOProMsgAttack_CardLocation = _YGOProMsgAttack_CardLocation;
|
|
2192
|
+
var _YGOProMsgAttack = class _YGOProMsgAttack extends YGOProMsgBase {
|
|
2116
2193
|
};
|
|
2117
|
-
YGOProMsgAttack
|
|
2194
|
+
__name(_YGOProMsgAttack, "YGOProMsgAttack");
|
|
2195
|
+
_YGOProMsgAttack.identifier = OcgcoreCommonConstants.MSG_ATTACK;
|
|
2118
2196
|
__decorateClass([
|
|
2119
2197
|
BinaryField(() => YGOProMsgAttack_CardLocation, 0)
|
|
2120
|
-
],
|
|
2198
|
+
], _YGOProMsgAttack.prototype, "attacker", 2);
|
|
2121
2199
|
__decorateClass([
|
|
2122
2200
|
BinaryField(() => YGOProMsgAttack_CardLocation, 4)
|
|
2123
|
-
],
|
|
2201
|
+
], _YGOProMsgAttack.prototype, "defender", 2);
|
|
2202
|
+
var YGOProMsgAttack = _YGOProMsgAttack;
|
|
2124
2203
|
|
|
2125
2204
|
// src/protos/msg/proto/attack-disabled.ts
|
|
2126
|
-
var
|
|
2205
|
+
var _YGOProMsgAttackDisabled = class _YGOProMsgAttackDisabled extends YGOProMsgBase {
|
|
2127
2206
|
};
|
|
2128
|
-
YGOProMsgAttackDisabled
|
|
2207
|
+
__name(_YGOProMsgAttackDisabled, "YGOProMsgAttackDisabled");
|
|
2208
|
+
_YGOProMsgAttackDisabled.identifier = OcgcoreCommonConstants.MSG_ATTACK_DISABLED;
|
|
2209
|
+
var YGOProMsgAttackDisabled = _YGOProMsgAttackDisabled;
|
|
2129
2210
|
|
|
2130
2211
|
// src/protos/msg/proto/battle.ts
|
|
2131
|
-
var
|
|
2212
|
+
var _YGOProMsgBattle_CardLocation = class _YGOProMsgBattle_CardLocation {
|
|
2132
2213
|
};
|
|
2214
|
+
__name(_YGOProMsgBattle_CardLocation, "YGOProMsgBattle_CardLocation");
|
|
2133
2215
|
__decorateClass([
|
|
2134
2216
|
BinaryField("u8", 0)
|
|
2135
|
-
],
|
|
2217
|
+
], _YGOProMsgBattle_CardLocation.prototype, "controller", 2);
|
|
2136
2218
|
__decorateClass([
|
|
2137
2219
|
BinaryField("u8", 1)
|
|
2138
|
-
],
|
|
2220
|
+
], _YGOProMsgBattle_CardLocation.prototype, "location", 2);
|
|
2139
2221
|
__decorateClass([
|
|
2140
2222
|
BinaryField("u8", 2)
|
|
2141
|
-
],
|
|
2223
|
+
], _YGOProMsgBattle_CardLocation.prototype, "sequence", 2);
|
|
2142
2224
|
__decorateClass([
|
|
2143
2225
|
BinaryField("u8", 3)
|
|
2144
|
-
],
|
|
2145
|
-
var
|
|
2226
|
+
], _YGOProMsgBattle_CardLocation.prototype, "position", 2);
|
|
2227
|
+
var YGOProMsgBattle_CardLocation = _YGOProMsgBattle_CardLocation;
|
|
2228
|
+
var _YGOProMsgBattle_CardStats = class _YGOProMsgBattle_CardStats {
|
|
2146
2229
|
};
|
|
2230
|
+
__name(_YGOProMsgBattle_CardStats, "YGOProMsgBattle_CardStats");
|
|
2147
2231
|
__decorateClass([
|
|
2148
2232
|
BinaryField(() => YGOProMsgBattle_CardLocation, 0)
|
|
2149
|
-
],
|
|
2233
|
+
], _YGOProMsgBattle_CardStats.prototype, "location", 2);
|
|
2150
2234
|
__decorateClass([
|
|
2151
2235
|
BinaryField("i32", 4)
|
|
2152
|
-
],
|
|
2236
|
+
], _YGOProMsgBattle_CardStats.prototype, "atk", 2);
|
|
2153
2237
|
__decorateClass([
|
|
2154
2238
|
BinaryField("i32", 8)
|
|
2155
|
-
],
|
|
2156
|
-
var
|
|
2239
|
+
], _YGOProMsgBattle_CardStats.prototype, "def", 2);
|
|
2240
|
+
var YGOProMsgBattle_CardStats = _YGOProMsgBattle_CardStats;
|
|
2241
|
+
var _YGOProMsgBattle = class _YGOProMsgBattle extends YGOProMsgBase {
|
|
2157
2242
|
};
|
|
2158
|
-
YGOProMsgBattle
|
|
2243
|
+
__name(_YGOProMsgBattle, "YGOProMsgBattle");
|
|
2244
|
+
_YGOProMsgBattle.identifier = OcgcoreCommonConstants.MSG_BATTLE;
|
|
2159
2245
|
__decorateClass([
|
|
2160
2246
|
BinaryField(() => YGOProMsgBattle_CardStats, 0)
|
|
2161
|
-
],
|
|
2247
|
+
], _YGOProMsgBattle.prototype, "attacker", 2);
|
|
2162
2248
|
__decorateClass([
|
|
2163
2249
|
BinaryField(() => YGOProMsgBattle_CardStats, 12)
|
|
2164
|
-
],
|
|
2250
|
+
], _YGOProMsgBattle.prototype, "defender", 2);
|
|
2165
2251
|
__decorateClass([
|
|
2166
2252
|
BinaryField("u8", 24)
|
|
2167
|
-
],
|
|
2253
|
+
], _YGOProMsgBattle.prototype, "battleDamageCalc", 2);
|
|
2254
|
+
var YGOProMsgBattle = _YGOProMsgBattle;
|
|
2168
2255
|
|
|
2169
2256
|
// src/protos/msg/proto/become-target.ts
|
|
2170
|
-
var
|
|
2257
|
+
var _YGOProMsgBecomeTarget = class _YGOProMsgBecomeTarget extends YGOProMsgBase {
|
|
2171
2258
|
};
|
|
2172
|
-
YGOProMsgBecomeTarget
|
|
2259
|
+
__name(_YGOProMsgBecomeTarget, "YGOProMsgBecomeTarget");
|
|
2260
|
+
_YGOProMsgBecomeTarget.identifier = OcgcoreCommonConstants.MSG_BECOME_TARGET;
|
|
2173
2261
|
__decorateClass([
|
|
2174
2262
|
BinaryField("u8", 0)
|
|
2175
|
-
],
|
|
2263
|
+
], _YGOProMsgBecomeTarget.prototype, "count", 2);
|
|
2176
2264
|
__decorateClass([
|
|
2177
2265
|
BinaryField("i32", 1, (obj) => obj.count)
|
|
2178
|
-
],
|
|
2266
|
+
], _YGOProMsgBecomeTarget.prototype, "targets", 2);
|
|
2267
|
+
var YGOProMsgBecomeTarget = _YGOProMsgBecomeTarget;
|
|
2179
2268
|
|
|
2180
2269
|
// src/protos/msg/proto/cancel-target.ts
|
|
2181
|
-
var
|
|
2270
|
+
var _YGOProMsgCancelTarget_CardLocation = class _YGOProMsgCancelTarget_CardLocation {
|
|
2182
2271
|
};
|
|
2272
|
+
__name(_YGOProMsgCancelTarget_CardLocation, "YGOProMsgCancelTarget_CardLocation");
|
|
2183
2273
|
__decorateClass([
|
|
2184
2274
|
BinaryField("u8", 0)
|
|
2185
|
-
],
|
|
2275
|
+
], _YGOProMsgCancelTarget_CardLocation.prototype, "controller", 2);
|
|
2186
2276
|
__decorateClass([
|
|
2187
2277
|
BinaryField("u8", 1)
|
|
2188
|
-
],
|
|
2278
|
+
], _YGOProMsgCancelTarget_CardLocation.prototype, "location", 2);
|
|
2189
2279
|
__decorateClass([
|
|
2190
2280
|
BinaryField("u8", 2)
|
|
2191
|
-
],
|
|
2192
|
-
var
|
|
2281
|
+
], _YGOProMsgCancelTarget_CardLocation.prototype, "sequence", 2);
|
|
2282
|
+
var YGOProMsgCancelTarget_CardLocation = _YGOProMsgCancelTarget_CardLocation;
|
|
2283
|
+
var _YGOProMsgCancelTarget = class _YGOProMsgCancelTarget extends YGOProMsgBase {
|
|
2193
2284
|
};
|
|
2194
|
-
YGOProMsgCancelTarget
|
|
2285
|
+
__name(_YGOProMsgCancelTarget, "YGOProMsgCancelTarget");
|
|
2286
|
+
_YGOProMsgCancelTarget.identifier = OcgcoreCommonConstants.MSG_CANCEL_TARGET;
|
|
2195
2287
|
__decorateClass([
|
|
2196
2288
|
BinaryField(() => YGOProMsgCancelTarget_CardLocation, 0)
|
|
2197
|
-
],
|
|
2289
|
+
], _YGOProMsgCancelTarget.prototype, "card1", 2);
|
|
2198
2290
|
__decorateClass([
|
|
2199
2291
|
BinaryField(() => YGOProMsgCancelTarget_CardLocation, 3)
|
|
2200
|
-
],
|
|
2292
|
+
], _YGOProMsgCancelTarget.prototype, "card2", 2);
|
|
2293
|
+
var YGOProMsgCancelTarget = _YGOProMsgCancelTarget;
|
|
2201
2294
|
|
|
2202
2295
|
// src/protos/msg/proto/card-hint.ts
|
|
2203
|
-
var
|
|
2296
|
+
var _YGOProMsgCardHint = class _YGOProMsgCardHint extends YGOProMsgBase {
|
|
2204
2297
|
};
|
|
2205
|
-
YGOProMsgCardHint
|
|
2298
|
+
__name(_YGOProMsgCardHint, "YGOProMsgCardHint");
|
|
2299
|
+
_YGOProMsgCardHint.identifier = OcgcoreCommonConstants.MSG_CARD_HINT;
|
|
2206
2300
|
__decorateClass([
|
|
2207
2301
|
BinaryField("u8", 0)
|
|
2208
|
-
],
|
|
2302
|
+
], _YGOProMsgCardHint.prototype, "controller", 2);
|
|
2209
2303
|
__decorateClass([
|
|
2210
2304
|
BinaryField("u8", 1)
|
|
2211
|
-
],
|
|
2305
|
+
], _YGOProMsgCardHint.prototype, "location", 2);
|
|
2212
2306
|
__decorateClass([
|
|
2213
2307
|
BinaryField("u8", 2)
|
|
2214
|
-
],
|
|
2308
|
+
], _YGOProMsgCardHint.prototype, "sequence", 2);
|
|
2215
2309
|
__decorateClass([
|
|
2216
2310
|
BinaryField("u8", 3)
|
|
2217
|
-
],
|
|
2311
|
+
], _YGOProMsgCardHint.prototype, "subsequence", 2);
|
|
2218
2312
|
__decorateClass([
|
|
2219
2313
|
BinaryField("u8", 4)
|
|
2220
|
-
],
|
|
2314
|
+
], _YGOProMsgCardHint.prototype, "type", 2);
|
|
2221
2315
|
__decorateClass([
|
|
2222
2316
|
BinaryField("i32", 5)
|
|
2223
|
-
],
|
|
2317
|
+
], _YGOProMsgCardHint.prototype, "value", 2);
|
|
2318
|
+
var YGOProMsgCardHint = _YGOProMsgCardHint;
|
|
2224
2319
|
|
|
2225
2320
|
// src/protos/msg/proto/card-target.ts
|
|
2226
|
-
var
|
|
2321
|
+
var _YGOProMsgCardTarget_CardLocation = class _YGOProMsgCardTarget_CardLocation {
|
|
2227
2322
|
};
|
|
2323
|
+
__name(_YGOProMsgCardTarget_CardLocation, "YGOProMsgCardTarget_CardLocation");
|
|
2228
2324
|
__decorateClass([
|
|
2229
2325
|
BinaryField("u8", 0)
|
|
2230
|
-
],
|
|
2326
|
+
], _YGOProMsgCardTarget_CardLocation.prototype, "controller", 2);
|
|
2231
2327
|
__decorateClass([
|
|
2232
2328
|
BinaryField("u8", 1)
|
|
2233
|
-
],
|
|
2329
|
+
], _YGOProMsgCardTarget_CardLocation.prototype, "location", 2);
|
|
2234
2330
|
__decorateClass([
|
|
2235
2331
|
BinaryField("u8", 2)
|
|
2236
|
-
],
|
|
2237
|
-
var
|
|
2332
|
+
], _YGOProMsgCardTarget_CardLocation.prototype, "sequence", 2);
|
|
2333
|
+
var YGOProMsgCardTarget_CardLocation = _YGOProMsgCardTarget_CardLocation;
|
|
2334
|
+
var _YGOProMsgCardTarget = class _YGOProMsgCardTarget extends YGOProMsgBase {
|
|
2238
2335
|
};
|
|
2239
|
-
YGOProMsgCardTarget
|
|
2336
|
+
__name(_YGOProMsgCardTarget, "YGOProMsgCardTarget");
|
|
2337
|
+
_YGOProMsgCardTarget.identifier = OcgcoreCommonConstants.MSG_CARD_TARGET;
|
|
2240
2338
|
__decorateClass([
|
|
2241
2339
|
BinaryField(() => YGOProMsgCardTarget_CardLocation, 0)
|
|
2242
|
-
],
|
|
2340
|
+
], _YGOProMsgCardTarget.prototype, "card1", 2);
|
|
2243
2341
|
__decorateClass([
|
|
2244
2342
|
BinaryField(() => YGOProMsgCardTarget_CardLocation, 3)
|
|
2245
|
-
],
|
|
2343
|
+
], _YGOProMsgCardTarget.prototype, "card2", 2);
|
|
2344
|
+
var YGOProMsgCardTarget = _YGOProMsgCardTarget;
|
|
2246
2345
|
|
|
2247
2346
|
// src/protos/msg/proto/chain-disabled.ts
|
|
2248
|
-
var
|
|
2347
|
+
var _YGOProMsgChainDisabled = class _YGOProMsgChainDisabled extends YGOProMsgBase {
|
|
2249
2348
|
};
|
|
2250
|
-
YGOProMsgChainDisabled
|
|
2349
|
+
__name(_YGOProMsgChainDisabled, "YGOProMsgChainDisabled");
|
|
2350
|
+
_YGOProMsgChainDisabled.identifier = OcgcoreCommonConstants.MSG_CHAIN_DISABLED;
|
|
2251
2351
|
__decorateClass([
|
|
2252
2352
|
BinaryField("u8", 0)
|
|
2253
|
-
],
|
|
2353
|
+
], _YGOProMsgChainDisabled.prototype, "chainCount", 2);
|
|
2354
|
+
var YGOProMsgChainDisabled = _YGOProMsgChainDisabled;
|
|
2254
2355
|
|
|
2255
2356
|
// src/protos/msg/proto/chain-end.ts
|
|
2256
|
-
var
|
|
2357
|
+
var _YGOProMsgChainEnd = class _YGOProMsgChainEnd extends YGOProMsgBase {
|
|
2257
2358
|
};
|
|
2258
|
-
YGOProMsgChainEnd
|
|
2359
|
+
__name(_YGOProMsgChainEnd, "YGOProMsgChainEnd");
|
|
2360
|
+
_YGOProMsgChainEnd.identifier = OcgcoreCommonConstants.MSG_CHAIN_END;
|
|
2361
|
+
var YGOProMsgChainEnd = _YGOProMsgChainEnd;
|
|
2259
2362
|
|
|
2260
2363
|
// src/protos/msg/proto/chain-negated.ts
|
|
2261
|
-
var
|
|
2364
|
+
var _YGOProMsgChainNegated = class _YGOProMsgChainNegated extends YGOProMsgBase {
|
|
2262
2365
|
};
|
|
2263
|
-
YGOProMsgChainNegated
|
|
2366
|
+
__name(_YGOProMsgChainNegated, "YGOProMsgChainNegated");
|
|
2367
|
+
_YGOProMsgChainNegated.identifier = OcgcoreCommonConstants.MSG_CHAIN_NEGATED;
|
|
2264
2368
|
__decorateClass([
|
|
2265
2369
|
BinaryField("u8", 0)
|
|
2266
|
-
],
|
|
2370
|
+
], _YGOProMsgChainNegated.prototype, "chainCount", 2);
|
|
2371
|
+
var YGOProMsgChainNegated = _YGOProMsgChainNegated;
|
|
2267
2372
|
|
|
2268
2373
|
// src/protos/msg/proto/chain-solved.ts
|
|
2269
|
-
var
|
|
2374
|
+
var _YGOProMsgChainSolved = class _YGOProMsgChainSolved extends YGOProMsgBase {
|
|
2270
2375
|
};
|
|
2271
|
-
YGOProMsgChainSolved
|
|
2376
|
+
__name(_YGOProMsgChainSolved, "YGOProMsgChainSolved");
|
|
2377
|
+
_YGOProMsgChainSolved.identifier = OcgcoreCommonConstants.MSG_CHAIN_SOLVED;
|
|
2272
2378
|
__decorateClass([
|
|
2273
2379
|
BinaryField("u8", 0)
|
|
2274
|
-
],
|
|
2380
|
+
], _YGOProMsgChainSolved.prototype, "chainCount", 2);
|
|
2381
|
+
var YGOProMsgChainSolved = _YGOProMsgChainSolved;
|
|
2275
2382
|
|
|
2276
2383
|
// src/protos/msg/proto/chain-solving.ts
|
|
2277
|
-
var
|
|
2384
|
+
var _YGOProMsgChainSolving = class _YGOProMsgChainSolving extends YGOProMsgBase {
|
|
2278
2385
|
};
|
|
2279
|
-
YGOProMsgChainSolving
|
|
2386
|
+
__name(_YGOProMsgChainSolving, "YGOProMsgChainSolving");
|
|
2387
|
+
_YGOProMsgChainSolving.identifier = OcgcoreCommonConstants.MSG_CHAIN_SOLVING;
|
|
2280
2388
|
__decorateClass([
|
|
2281
2389
|
BinaryField("u8", 0)
|
|
2282
|
-
],
|
|
2390
|
+
], _YGOProMsgChainSolving.prototype, "chainCount", 2);
|
|
2391
|
+
var YGOProMsgChainSolving = _YGOProMsgChainSolving;
|
|
2283
2392
|
|
|
2284
2393
|
// src/protos/msg/proto/chained.ts
|
|
2285
|
-
var
|
|
2394
|
+
var _YGOProMsgChained = class _YGOProMsgChained extends YGOProMsgBase {
|
|
2286
2395
|
};
|
|
2287
|
-
YGOProMsgChained
|
|
2396
|
+
__name(_YGOProMsgChained, "YGOProMsgChained");
|
|
2397
|
+
_YGOProMsgChained.identifier = OcgcoreCommonConstants.MSG_CHAINED;
|
|
2288
2398
|
__decorateClass([
|
|
2289
2399
|
BinaryField("u8", 0)
|
|
2290
|
-
],
|
|
2400
|
+
], _YGOProMsgChained.prototype, "chainCount", 2);
|
|
2401
|
+
var YGOProMsgChained = _YGOProMsgChained;
|
|
2291
2402
|
|
|
2292
2403
|
// src/protos/msg/proto/chaining.ts
|
|
2293
|
-
var
|
|
2404
|
+
var _YGOProMsgChaining = class _YGOProMsgChaining extends YGOProMsgBase {
|
|
2294
2405
|
};
|
|
2295
|
-
YGOProMsgChaining
|
|
2406
|
+
__name(_YGOProMsgChaining, "YGOProMsgChaining");
|
|
2407
|
+
_YGOProMsgChaining.identifier = OcgcoreCommonConstants.MSG_CHAINING;
|
|
2296
2408
|
__decorateClass([
|
|
2297
2409
|
BinaryField("i32", 0)
|
|
2298
|
-
],
|
|
2410
|
+
], _YGOProMsgChaining.prototype, "code", 2);
|
|
2299
2411
|
__decorateClass([
|
|
2300
2412
|
BinaryField("u8", 4)
|
|
2301
|
-
],
|
|
2413
|
+
], _YGOProMsgChaining.prototype, "controller", 2);
|
|
2302
2414
|
__decorateClass([
|
|
2303
2415
|
BinaryField("u8", 5)
|
|
2304
|
-
],
|
|
2416
|
+
], _YGOProMsgChaining.prototype, "location", 2);
|
|
2305
2417
|
__decorateClass([
|
|
2306
2418
|
BinaryField("u8", 6)
|
|
2307
|
-
],
|
|
2419
|
+
], _YGOProMsgChaining.prototype, "sequence", 2);
|
|
2308
2420
|
__decorateClass([
|
|
2309
2421
|
BinaryField("u8", 7)
|
|
2310
|
-
],
|
|
2422
|
+
], _YGOProMsgChaining.prototype, "subsequence", 2);
|
|
2311
2423
|
__decorateClass([
|
|
2312
2424
|
BinaryField("u8", 8)
|
|
2313
|
-
],
|
|
2425
|
+
], _YGOProMsgChaining.prototype, "chainCount", 2);
|
|
2314
2426
|
__decorateClass([
|
|
2315
2427
|
BinaryField("i32", 9)
|
|
2316
|
-
],
|
|
2428
|
+
], _YGOProMsgChaining.prototype, "desc", 2);
|
|
2317
2429
|
__decorateClass([
|
|
2318
2430
|
BinaryField("u8", 13)
|
|
2319
|
-
],
|
|
2431
|
+
], _YGOProMsgChaining.prototype, "chainPlayer", 2);
|
|
2432
|
+
var YGOProMsgChaining = _YGOProMsgChaining;
|
|
2320
2433
|
|
|
2321
2434
|
// src/protos/msg/proto/confirm-cards.ts
|
|
2322
|
-
var
|
|
2435
|
+
var _YGOProMsgConfirmCards_CardInfo = class _YGOProMsgConfirmCards_CardInfo {
|
|
2323
2436
|
};
|
|
2437
|
+
__name(_YGOProMsgConfirmCards_CardInfo, "YGOProMsgConfirmCards_CardInfo");
|
|
2324
2438
|
__decorateClass([
|
|
2325
2439
|
BinaryField("i32", 0)
|
|
2326
|
-
],
|
|
2440
|
+
], _YGOProMsgConfirmCards_CardInfo.prototype, "code", 2);
|
|
2327
2441
|
__decorateClass([
|
|
2328
2442
|
BinaryField("u8", 4)
|
|
2329
|
-
],
|
|
2443
|
+
], _YGOProMsgConfirmCards_CardInfo.prototype, "controller", 2);
|
|
2330
2444
|
__decorateClass([
|
|
2331
2445
|
BinaryField("u8", 5)
|
|
2332
|
-
],
|
|
2446
|
+
], _YGOProMsgConfirmCards_CardInfo.prototype, "location", 2);
|
|
2333
2447
|
__decorateClass([
|
|
2334
2448
|
BinaryField("u8", 6)
|
|
2335
|
-
],
|
|
2336
|
-
var
|
|
2449
|
+
], _YGOProMsgConfirmCards_CardInfo.prototype, "sequence", 2);
|
|
2450
|
+
var YGOProMsgConfirmCards_CardInfo = _YGOProMsgConfirmCards_CardInfo;
|
|
2451
|
+
var _YGOProMsgConfirmCards = class _YGOProMsgConfirmCards extends YGOProMsgBase {
|
|
2337
2452
|
// 对方视角可能需要隐藏卡片信息
|
|
2338
2453
|
opponentView() {
|
|
2339
2454
|
const view = this.copy();
|
|
@@ -2353,36 +2468,40 @@ var YGOProMsgConfirmCards = class extends YGOProMsgBase {
|
|
|
2353
2468
|
return SEND_TO_ALL;
|
|
2354
2469
|
}
|
|
2355
2470
|
};
|
|
2356
|
-
YGOProMsgConfirmCards
|
|
2471
|
+
__name(_YGOProMsgConfirmCards, "YGOProMsgConfirmCards");
|
|
2472
|
+
_YGOProMsgConfirmCards.identifier = OcgcoreCommonConstants.MSG_CONFIRM_CARDS;
|
|
2357
2473
|
__decorateClass([
|
|
2358
2474
|
BinaryField("u8", 0)
|
|
2359
|
-
],
|
|
2475
|
+
], _YGOProMsgConfirmCards.prototype, "player", 2);
|
|
2360
2476
|
__decorateClass([
|
|
2361
2477
|
BinaryField("u8", 1)
|
|
2362
|
-
],
|
|
2478
|
+
], _YGOProMsgConfirmCards.prototype, "skipPanel", 2);
|
|
2363
2479
|
__decorateClass([
|
|
2364
2480
|
BinaryField("u8", 2)
|
|
2365
|
-
],
|
|
2481
|
+
], _YGOProMsgConfirmCards.prototype, "count", 2);
|
|
2366
2482
|
__decorateClass([
|
|
2367
2483
|
BinaryField(() => YGOProMsgConfirmCards_CardInfo, 3, (obj) => obj.count)
|
|
2368
|
-
],
|
|
2484
|
+
], _YGOProMsgConfirmCards.prototype, "cards", 2);
|
|
2485
|
+
var YGOProMsgConfirmCards = _YGOProMsgConfirmCards;
|
|
2369
2486
|
|
|
2370
2487
|
// src/protos/msg/proto/confirm-decktop.ts
|
|
2371
|
-
var
|
|
2488
|
+
var _YGOProMsgConfirmDeckTop_CardInfo = class _YGOProMsgConfirmDeckTop_CardInfo {
|
|
2372
2489
|
};
|
|
2490
|
+
__name(_YGOProMsgConfirmDeckTop_CardInfo, "YGOProMsgConfirmDeckTop_CardInfo");
|
|
2373
2491
|
__decorateClass([
|
|
2374
2492
|
BinaryField("i32", 0)
|
|
2375
|
-
],
|
|
2493
|
+
], _YGOProMsgConfirmDeckTop_CardInfo.prototype, "code", 2);
|
|
2376
2494
|
__decorateClass([
|
|
2377
2495
|
BinaryField("u8", 4)
|
|
2378
|
-
],
|
|
2496
|
+
], _YGOProMsgConfirmDeckTop_CardInfo.prototype, "controller", 2);
|
|
2379
2497
|
__decorateClass([
|
|
2380
2498
|
BinaryField("u8", 5)
|
|
2381
|
-
],
|
|
2499
|
+
], _YGOProMsgConfirmDeckTop_CardInfo.prototype, "location", 2);
|
|
2382
2500
|
__decorateClass([
|
|
2383
2501
|
BinaryField("u8", 6)
|
|
2384
|
-
],
|
|
2385
|
-
var
|
|
2502
|
+
], _YGOProMsgConfirmDeckTop_CardInfo.prototype, "sequence", 2);
|
|
2503
|
+
var YGOProMsgConfirmDeckTop_CardInfo = _YGOProMsgConfirmDeckTop_CardInfo;
|
|
2504
|
+
var _YGOProMsgConfirmDeckTop = class _YGOProMsgConfirmDeckTop extends YGOProMsgBase {
|
|
2386
2505
|
// 对方视角可能需要隐藏卡片信息
|
|
2387
2506
|
opponentView() {
|
|
2388
2507
|
const view = this.copy();
|
|
@@ -2397,33 +2516,37 @@ var YGOProMsgConfirmDeckTop = class extends YGOProMsgBase {
|
|
|
2397
2516
|
}
|
|
2398
2517
|
// confirm-decktop 使用基类的 playerView (基于 player 字段)
|
|
2399
2518
|
};
|
|
2400
|
-
YGOProMsgConfirmDeckTop
|
|
2519
|
+
__name(_YGOProMsgConfirmDeckTop, "YGOProMsgConfirmDeckTop");
|
|
2520
|
+
_YGOProMsgConfirmDeckTop.identifier = OcgcoreCommonConstants.MSG_CONFIRM_DECKTOP;
|
|
2401
2521
|
__decorateClass([
|
|
2402
2522
|
BinaryField("u8", 0)
|
|
2403
|
-
],
|
|
2523
|
+
], _YGOProMsgConfirmDeckTop.prototype, "player", 2);
|
|
2404
2524
|
__decorateClass([
|
|
2405
2525
|
BinaryField("u8", 1)
|
|
2406
|
-
],
|
|
2526
|
+
], _YGOProMsgConfirmDeckTop.prototype, "count", 2);
|
|
2407
2527
|
__decorateClass([
|
|
2408
2528
|
BinaryField(() => YGOProMsgConfirmDeckTop_CardInfo, 2, (obj) => obj.count)
|
|
2409
|
-
],
|
|
2529
|
+
], _YGOProMsgConfirmDeckTop.prototype, "cards", 2);
|
|
2530
|
+
var YGOProMsgConfirmDeckTop = _YGOProMsgConfirmDeckTop;
|
|
2410
2531
|
|
|
2411
2532
|
// src/protos/msg/proto/confirm-extratop.ts
|
|
2412
|
-
var
|
|
2533
|
+
var _YGOProMsgConfirmExtraTop_CardInfo = class _YGOProMsgConfirmExtraTop_CardInfo {
|
|
2413
2534
|
};
|
|
2535
|
+
__name(_YGOProMsgConfirmExtraTop_CardInfo, "YGOProMsgConfirmExtraTop_CardInfo");
|
|
2414
2536
|
__decorateClass([
|
|
2415
2537
|
BinaryField("i32", 0)
|
|
2416
|
-
],
|
|
2538
|
+
], _YGOProMsgConfirmExtraTop_CardInfo.prototype, "code", 2);
|
|
2417
2539
|
__decorateClass([
|
|
2418
2540
|
BinaryField("u8", 4)
|
|
2419
|
-
],
|
|
2541
|
+
], _YGOProMsgConfirmExtraTop_CardInfo.prototype, "controller", 2);
|
|
2420
2542
|
__decorateClass([
|
|
2421
2543
|
BinaryField("u8", 5)
|
|
2422
|
-
],
|
|
2544
|
+
], _YGOProMsgConfirmExtraTop_CardInfo.prototype, "location", 2);
|
|
2423
2545
|
__decorateClass([
|
|
2424
2546
|
BinaryField("u8", 6)
|
|
2425
|
-
],
|
|
2426
|
-
var
|
|
2547
|
+
], _YGOProMsgConfirmExtraTop_CardInfo.prototype, "sequence", 2);
|
|
2548
|
+
var YGOProMsgConfirmExtraTop_CardInfo = _YGOProMsgConfirmExtraTop_CardInfo;
|
|
2549
|
+
var _YGOProMsgConfirmExtraTop = class _YGOProMsgConfirmExtraTop extends YGOProMsgBase {
|
|
2427
2550
|
// 对方视角可能需要隐藏卡片信息
|
|
2428
2551
|
opponentView() {
|
|
2429
2552
|
const view = this.copy();
|
|
@@ -2438,40 +2561,48 @@ var YGOProMsgConfirmExtraTop = class extends YGOProMsgBase {
|
|
|
2438
2561
|
}
|
|
2439
2562
|
// confirm-extratop 使用基类的 playerView (基于 player 字段)
|
|
2440
2563
|
};
|
|
2441
|
-
YGOProMsgConfirmExtraTop
|
|
2564
|
+
__name(_YGOProMsgConfirmExtraTop, "YGOProMsgConfirmExtraTop");
|
|
2565
|
+
_YGOProMsgConfirmExtraTop.identifier = OcgcoreCommonConstants.MSG_CONFIRM_EXTRATOP;
|
|
2442
2566
|
__decorateClass([
|
|
2443
2567
|
BinaryField("u8", 0)
|
|
2444
|
-
],
|
|
2568
|
+
], _YGOProMsgConfirmExtraTop.prototype, "player", 2);
|
|
2445
2569
|
__decorateClass([
|
|
2446
2570
|
BinaryField("u8", 1)
|
|
2447
|
-
],
|
|
2571
|
+
], _YGOProMsgConfirmExtraTop.prototype, "count", 2);
|
|
2448
2572
|
__decorateClass([
|
|
2449
2573
|
BinaryField(() => YGOProMsgConfirmExtraTop_CardInfo, 2, (obj) => obj.count)
|
|
2450
|
-
],
|
|
2574
|
+
], _YGOProMsgConfirmExtraTop.prototype, "cards", 2);
|
|
2575
|
+
var YGOProMsgConfirmExtraTop = _YGOProMsgConfirmExtraTop;
|
|
2451
2576
|
|
|
2452
2577
|
// src/protos/msg/proto/damage.ts
|
|
2453
|
-
var
|
|
2578
|
+
var _YGOProMsgDamage = class _YGOProMsgDamage extends YGOProMsgBase {
|
|
2454
2579
|
};
|
|
2455
|
-
YGOProMsgDamage
|
|
2580
|
+
__name(_YGOProMsgDamage, "YGOProMsgDamage");
|
|
2581
|
+
_YGOProMsgDamage.identifier = OcgcoreCommonConstants.MSG_DAMAGE;
|
|
2456
2582
|
__decorateClass([
|
|
2457
2583
|
BinaryField("u8", 0)
|
|
2458
|
-
],
|
|
2584
|
+
], _YGOProMsgDamage.prototype, "player", 2);
|
|
2459
2585
|
__decorateClass([
|
|
2460
2586
|
BinaryField("i32", 1)
|
|
2461
|
-
],
|
|
2587
|
+
], _YGOProMsgDamage.prototype, "value", 2);
|
|
2588
|
+
var YGOProMsgDamage = _YGOProMsgDamage;
|
|
2462
2589
|
|
|
2463
2590
|
// src/protos/msg/proto/damage-step-end.ts
|
|
2464
|
-
var
|
|
2591
|
+
var _YGOProMsgDamageStepEnd = class _YGOProMsgDamageStepEnd extends YGOProMsgBase {
|
|
2465
2592
|
};
|
|
2466
|
-
YGOProMsgDamageStepEnd
|
|
2593
|
+
__name(_YGOProMsgDamageStepEnd, "YGOProMsgDamageStepEnd");
|
|
2594
|
+
_YGOProMsgDamageStepEnd.identifier = OcgcoreCommonConstants.MSG_DAMAGE_STEP_END;
|
|
2595
|
+
var YGOProMsgDamageStepEnd = _YGOProMsgDamageStepEnd;
|
|
2467
2596
|
|
|
2468
2597
|
// src/protos/msg/proto/damage-step-start.ts
|
|
2469
|
-
var
|
|
2598
|
+
var _YGOProMsgDamageStepStart = class _YGOProMsgDamageStepStart extends YGOProMsgBase {
|
|
2470
2599
|
};
|
|
2471
|
-
YGOProMsgDamageStepStart
|
|
2600
|
+
__name(_YGOProMsgDamageStepStart, "YGOProMsgDamageStepStart");
|
|
2601
|
+
_YGOProMsgDamageStepStart.identifier = OcgcoreCommonConstants.MSG_DAMAGE_STEP_START;
|
|
2602
|
+
var YGOProMsgDamageStepStart = _YGOProMsgDamageStepStart;
|
|
2472
2603
|
|
|
2473
2604
|
// src/protos/msg/proto/deck-top.ts
|
|
2474
|
-
var
|
|
2605
|
+
var _YGOProMsgDeckTop = class _YGOProMsgDeckTop extends YGOProMsgBase {
|
|
2475
2606
|
// 对方视角可能需要隐藏卡片信息
|
|
2476
2607
|
opponentView() {
|
|
2477
2608
|
const view = this.copy();
|
|
@@ -2482,19 +2613,21 @@ var YGOProMsgDeckTop = class extends YGOProMsgBase {
|
|
|
2482
2613
|
}
|
|
2483
2614
|
// deck-top 使用基类的 playerView (基于 player 字段)
|
|
2484
2615
|
};
|
|
2485
|
-
YGOProMsgDeckTop
|
|
2616
|
+
__name(_YGOProMsgDeckTop, "YGOProMsgDeckTop");
|
|
2617
|
+
_YGOProMsgDeckTop.identifier = OcgcoreCommonConstants.MSG_DECK_TOP;
|
|
2486
2618
|
__decorateClass([
|
|
2487
2619
|
BinaryField("u8", 0)
|
|
2488
|
-
],
|
|
2620
|
+
], _YGOProMsgDeckTop.prototype, "player", 2);
|
|
2489
2621
|
__decorateClass([
|
|
2490
2622
|
BinaryField("u8", 1)
|
|
2491
|
-
],
|
|
2623
|
+
], _YGOProMsgDeckTop.prototype, "sequence", 2);
|
|
2492
2624
|
__decorateClass([
|
|
2493
2625
|
BinaryField("i32", 2)
|
|
2494
|
-
],
|
|
2626
|
+
], _YGOProMsgDeckTop.prototype, "code", 2);
|
|
2627
|
+
var YGOProMsgDeckTop = _YGOProMsgDeckTop;
|
|
2495
2628
|
|
|
2496
2629
|
// src/protos/msg/proto/draw.ts
|
|
2497
|
-
var
|
|
2630
|
+
var _YGOProMsgDraw = class _YGOProMsgDraw extends YGOProMsgBase {
|
|
2498
2631
|
// 对方视角需要隐藏抽到的卡(如果卡片标志位 0x80 未设置)
|
|
2499
2632
|
opponentView() {
|
|
2500
2633
|
const view = this.copy();
|
|
@@ -2507,87 +2640,101 @@ var YGOProMsgDraw = class extends YGOProMsgBase {
|
|
|
2507
2640
|
return view;
|
|
2508
2641
|
}
|
|
2509
2642
|
};
|
|
2510
|
-
YGOProMsgDraw
|
|
2643
|
+
__name(_YGOProMsgDraw, "YGOProMsgDraw");
|
|
2644
|
+
_YGOProMsgDraw.identifier = OcgcoreCommonConstants.MSG_DRAW;
|
|
2511
2645
|
__decorateClass([
|
|
2512
2646
|
BinaryField("u8", 0)
|
|
2513
|
-
],
|
|
2647
|
+
], _YGOProMsgDraw.prototype, "player", 2);
|
|
2514
2648
|
__decorateClass([
|
|
2515
2649
|
BinaryField("u8", 1)
|
|
2516
|
-
],
|
|
2650
|
+
], _YGOProMsgDraw.prototype, "count", 2);
|
|
2517
2651
|
__decorateClass([
|
|
2518
2652
|
BinaryField("i32", 2, (obj) => obj.count)
|
|
2519
|
-
],
|
|
2653
|
+
], _YGOProMsgDraw.prototype, "cards", 2);
|
|
2654
|
+
var YGOProMsgDraw = _YGOProMsgDraw;
|
|
2520
2655
|
|
|
2521
2656
|
// src/protos/msg/proto/equip.ts
|
|
2522
|
-
var
|
|
2657
|
+
var _YGOProMsgEquip_CardLocation = class _YGOProMsgEquip_CardLocation {
|
|
2523
2658
|
};
|
|
2659
|
+
__name(_YGOProMsgEquip_CardLocation, "YGOProMsgEquip_CardLocation");
|
|
2524
2660
|
__decorateClass([
|
|
2525
2661
|
BinaryField("u8", 0)
|
|
2526
|
-
],
|
|
2662
|
+
], _YGOProMsgEquip_CardLocation.prototype, "controller", 2);
|
|
2527
2663
|
__decorateClass([
|
|
2528
2664
|
BinaryField("u8", 1)
|
|
2529
|
-
],
|
|
2665
|
+
], _YGOProMsgEquip_CardLocation.prototype, "location", 2);
|
|
2530
2666
|
__decorateClass([
|
|
2531
2667
|
BinaryField("u8", 2)
|
|
2532
|
-
],
|
|
2533
|
-
var
|
|
2668
|
+
], _YGOProMsgEquip_CardLocation.prototype, "sequence", 2);
|
|
2669
|
+
var YGOProMsgEquip_CardLocation = _YGOProMsgEquip_CardLocation;
|
|
2670
|
+
var _YGOProMsgEquip = class _YGOProMsgEquip extends YGOProMsgBase {
|
|
2534
2671
|
};
|
|
2535
|
-
YGOProMsgEquip
|
|
2672
|
+
__name(_YGOProMsgEquip, "YGOProMsgEquip");
|
|
2673
|
+
_YGOProMsgEquip.identifier = OcgcoreCommonConstants.MSG_EQUIP;
|
|
2536
2674
|
__decorateClass([
|
|
2537
2675
|
BinaryField(() => YGOProMsgEquip_CardLocation, 0)
|
|
2538
|
-
],
|
|
2676
|
+
], _YGOProMsgEquip.prototype, "equip", 2);
|
|
2539
2677
|
__decorateClass([
|
|
2540
2678
|
BinaryField(() => YGOProMsgEquip_CardLocation, 3)
|
|
2541
|
-
],
|
|
2679
|
+
], _YGOProMsgEquip.prototype, "target", 2);
|
|
2542
2680
|
__decorateClass([
|
|
2543
2681
|
BinaryField("u8", 6)
|
|
2544
|
-
],
|
|
2682
|
+
], _YGOProMsgEquip.prototype, "position", 2);
|
|
2683
|
+
var YGOProMsgEquip = _YGOProMsgEquip;
|
|
2545
2684
|
|
|
2546
2685
|
// src/protos/msg/proto/field-disabled.ts
|
|
2547
|
-
var
|
|
2686
|
+
var _YGOProMsgFieldDisabled = class _YGOProMsgFieldDisabled extends YGOProMsgBase {
|
|
2548
2687
|
};
|
|
2549
|
-
YGOProMsgFieldDisabled
|
|
2688
|
+
__name(_YGOProMsgFieldDisabled, "YGOProMsgFieldDisabled");
|
|
2689
|
+
_YGOProMsgFieldDisabled.identifier = OcgcoreCommonConstants.MSG_FIELD_DISABLED;
|
|
2550
2690
|
__decorateClass([
|
|
2551
2691
|
BinaryField("u32", 0)
|
|
2552
|
-
],
|
|
2692
|
+
], _YGOProMsgFieldDisabled.prototype, "disabledField", 2);
|
|
2693
|
+
var YGOProMsgFieldDisabled = _YGOProMsgFieldDisabled;
|
|
2553
2694
|
|
|
2554
2695
|
// src/protos/msg/proto/flipsummoned.ts
|
|
2555
|
-
var
|
|
2696
|
+
var _YGOProMsgFlipSummoned = class _YGOProMsgFlipSummoned extends YGOProMsgBase {
|
|
2556
2697
|
};
|
|
2557
|
-
YGOProMsgFlipSummoned
|
|
2698
|
+
__name(_YGOProMsgFlipSummoned, "YGOProMsgFlipSummoned");
|
|
2699
|
+
_YGOProMsgFlipSummoned.identifier = OcgcoreCommonConstants.MSG_FLIPSUMMONED;
|
|
2700
|
+
var YGOProMsgFlipSummoned = _YGOProMsgFlipSummoned;
|
|
2558
2701
|
|
|
2559
2702
|
// src/protos/msg/proto/flipsummoning.ts
|
|
2560
|
-
var
|
|
2703
|
+
var _YGOProMsgFlipSummoning = class _YGOProMsgFlipSummoning extends YGOProMsgBase {
|
|
2561
2704
|
};
|
|
2562
|
-
YGOProMsgFlipSummoning
|
|
2705
|
+
__name(_YGOProMsgFlipSummoning, "YGOProMsgFlipSummoning");
|
|
2706
|
+
_YGOProMsgFlipSummoning.identifier = OcgcoreCommonConstants.MSG_FLIPSUMMONING;
|
|
2563
2707
|
__decorateClass([
|
|
2564
2708
|
BinaryField("i32", 0)
|
|
2565
|
-
],
|
|
2709
|
+
], _YGOProMsgFlipSummoning.prototype, "code", 2);
|
|
2566
2710
|
__decorateClass([
|
|
2567
2711
|
BinaryField("u8", 4)
|
|
2568
|
-
],
|
|
2712
|
+
], _YGOProMsgFlipSummoning.prototype, "controller", 2);
|
|
2569
2713
|
__decorateClass([
|
|
2570
2714
|
BinaryField("u8", 5)
|
|
2571
|
-
],
|
|
2715
|
+
], _YGOProMsgFlipSummoning.prototype, "location", 2);
|
|
2572
2716
|
__decorateClass([
|
|
2573
2717
|
BinaryField("u8", 6)
|
|
2574
|
-
],
|
|
2718
|
+
], _YGOProMsgFlipSummoning.prototype, "sequence", 2);
|
|
2575
2719
|
__decorateClass([
|
|
2576
2720
|
BinaryField("u8", 7)
|
|
2577
|
-
],
|
|
2721
|
+
], _YGOProMsgFlipSummoning.prototype, "position", 2);
|
|
2722
|
+
var YGOProMsgFlipSummoning = _YGOProMsgFlipSummoning;
|
|
2578
2723
|
|
|
2579
2724
|
// src/protos/msg/proto/hand-res.ts
|
|
2580
|
-
var
|
|
2725
|
+
var _YGOProMsgHandRes = class _YGOProMsgHandRes extends YGOProMsgBase {
|
|
2581
2726
|
};
|
|
2582
|
-
YGOProMsgHandRes
|
|
2727
|
+
__name(_YGOProMsgHandRes, "YGOProMsgHandRes");
|
|
2728
|
+
_YGOProMsgHandRes.identifier = OcgcoreCommonConstants.MSG_HAND_RES;
|
|
2583
2729
|
__decorateClass([
|
|
2584
2730
|
BinaryField("u8", 0)
|
|
2585
|
-
],
|
|
2731
|
+
], _YGOProMsgHandRes.prototype, "result", 2);
|
|
2732
|
+
var YGOProMsgHandRes = _YGOProMsgHandRes;
|
|
2586
2733
|
|
|
2587
2734
|
// src/protos/msg/proto/hint.ts
|
|
2588
2735
|
var HINT_TYPES_SEND_TO_SELF = /* @__PURE__ */ new Set([1, 2, 3, 5]);
|
|
2589
2736
|
var HINT_TYPES_SEND_TO_OPPONENT = /* @__PURE__ */ new Set([4, 6, 7, 8, 9, 11]);
|
|
2590
|
-
var
|
|
2737
|
+
var _YGOProMsgHint = class _YGOProMsgHint extends YGOProMsgBase {
|
|
2591
2738
|
getSendTargets() {
|
|
2592
2739
|
if (HINT_TYPES_SEND_TO_SELF.has(this.type)) {
|
|
2593
2740
|
return [this.player];
|
|
@@ -2598,52 +2745,57 @@ var YGOProMsgHint = class extends YGOProMsgBase {
|
|
|
2598
2745
|
return SEND_TO_ALL;
|
|
2599
2746
|
}
|
|
2600
2747
|
};
|
|
2601
|
-
YGOProMsgHint
|
|
2748
|
+
__name(_YGOProMsgHint, "YGOProMsgHint");
|
|
2749
|
+
_YGOProMsgHint.identifier = OcgcoreCommonConstants.MSG_HINT;
|
|
2602
2750
|
__decorateClass([
|
|
2603
2751
|
BinaryField("u8", 0)
|
|
2604
|
-
],
|
|
2752
|
+
], _YGOProMsgHint.prototype, "type", 2);
|
|
2605
2753
|
__decorateClass([
|
|
2606
2754
|
BinaryField("u8", 1)
|
|
2607
|
-
],
|
|
2755
|
+
], _YGOProMsgHint.prototype, "player", 2);
|
|
2608
2756
|
__decorateClass([
|
|
2609
2757
|
BinaryField("i32", 2)
|
|
2610
|
-
],
|
|
2758
|
+
], _YGOProMsgHint.prototype, "desc", 2);
|
|
2759
|
+
var YGOProMsgHint = _YGOProMsgHint;
|
|
2611
2760
|
|
|
2612
2761
|
// src/protos/msg/proto/lpupdate.ts
|
|
2613
|
-
var
|
|
2762
|
+
var _YGOProMsgLpUpdate = class _YGOProMsgLpUpdate extends YGOProMsgBase {
|
|
2614
2763
|
};
|
|
2615
|
-
YGOProMsgLpUpdate
|
|
2764
|
+
__name(_YGOProMsgLpUpdate, "YGOProMsgLpUpdate");
|
|
2765
|
+
_YGOProMsgLpUpdate.identifier = OcgcoreCommonConstants.MSG_LPUPDATE;
|
|
2616
2766
|
__decorateClass([
|
|
2617
2767
|
BinaryField("u8", 0)
|
|
2618
|
-
],
|
|
2768
|
+
], _YGOProMsgLpUpdate.prototype, "player", 2);
|
|
2619
2769
|
__decorateClass([
|
|
2620
2770
|
BinaryField("i32", 1)
|
|
2621
|
-
],
|
|
2771
|
+
], _YGOProMsgLpUpdate.prototype, "lp", 2);
|
|
2772
|
+
var YGOProMsgLpUpdate = _YGOProMsgLpUpdate;
|
|
2622
2773
|
|
|
2623
2774
|
// src/protos/msg/proto/match-kill.ts
|
|
2624
|
-
var
|
|
2775
|
+
var _YGOProMsgMatchKill = class _YGOProMsgMatchKill extends YGOProMsgBase {
|
|
2625
2776
|
};
|
|
2626
|
-
YGOProMsgMatchKill
|
|
2777
|
+
__name(_YGOProMsgMatchKill, "YGOProMsgMatchKill");
|
|
2778
|
+
_YGOProMsgMatchKill.identifier = OcgcoreCommonConstants.MSG_MATCH_KILL;
|
|
2627
2779
|
__decorateClass([
|
|
2628
2780
|
BinaryField("i32", 0)
|
|
2629
|
-
],
|
|
2781
|
+
], _YGOProMsgMatchKill.prototype, "code", 2);
|
|
2782
|
+
var YGOProMsgMatchKill = _YGOProMsgMatchKill;
|
|
2630
2783
|
|
|
2631
2784
|
// src/protos/msg/proto/missed-effect.ts
|
|
2632
|
-
var
|
|
2785
|
+
var _YGOProMsgMissedEffect = class _YGOProMsgMissedEffect extends YGOProMsgBase {
|
|
2633
2786
|
getSendTargets() {
|
|
2634
|
-
return [
|
|
2787
|
+
return [0, 1];
|
|
2635
2788
|
}
|
|
2636
2789
|
};
|
|
2637
|
-
YGOProMsgMissedEffect
|
|
2638
|
-
|
|
2639
|
-
BinaryField("u8", 0)
|
|
2640
|
-
], YGOProMsgMissedEffect.prototype, "player", 2);
|
|
2790
|
+
__name(_YGOProMsgMissedEffect, "YGOProMsgMissedEffect");
|
|
2791
|
+
_YGOProMsgMissedEffect.identifier = OcgcoreCommonConstants.MSG_MISSED_EFFECT;
|
|
2641
2792
|
__decorateClass([
|
|
2642
|
-
BinaryField("
|
|
2643
|
-
],
|
|
2793
|
+
BinaryField("u32", 0)
|
|
2794
|
+
], _YGOProMsgMissedEffect.prototype, "location", 2);
|
|
2644
2795
|
__decorateClass([
|
|
2645
|
-
BinaryField("
|
|
2646
|
-
],
|
|
2796
|
+
BinaryField("u32", 4)
|
|
2797
|
+
], _YGOProMsgMissedEffect.prototype, "code", 2);
|
|
2798
|
+
var YGOProMsgMissedEffect = _YGOProMsgMissedEffect;
|
|
2647
2799
|
|
|
2648
2800
|
// src/vendor/script-constants.ts
|
|
2649
2801
|
var OcgcoreScriptConstants = {
|
|
@@ -3484,21 +3636,23 @@ var OcgcoreScriptConstants = {
|
|
|
3484
3636
|
};
|
|
3485
3637
|
|
|
3486
3638
|
// src/protos/msg/proto/move.ts
|
|
3487
|
-
var
|
|
3639
|
+
var _YGOProMsgMove_CardLocation = class _YGOProMsgMove_CardLocation {
|
|
3488
3640
|
};
|
|
3641
|
+
__name(_YGOProMsgMove_CardLocation, "YGOProMsgMove_CardLocation");
|
|
3489
3642
|
__decorateClass([
|
|
3490
3643
|
BinaryField("u8", 0)
|
|
3491
|
-
],
|
|
3644
|
+
], _YGOProMsgMove_CardLocation.prototype, "controller", 2);
|
|
3492
3645
|
__decorateClass([
|
|
3493
3646
|
BinaryField("u8", 1)
|
|
3494
|
-
],
|
|
3647
|
+
], _YGOProMsgMove_CardLocation.prototype, "location", 2);
|
|
3495
3648
|
__decorateClass([
|
|
3496
3649
|
BinaryField("u8", 2)
|
|
3497
|
-
],
|
|
3650
|
+
], _YGOProMsgMove_CardLocation.prototype, "sequence", 2);
|
|
3498
3651
|
__decorateClass([
|
|
3499
3652
|
BinaryField("u8", 3)
|
|
3500
|
-
],
|
|
3501
|
-
var
|
|
3653
|
+
], _YGOProMsgMove_CardLocation.prototype, "position", 2);
|
|
3654
|
+
var YGOProMsgMove_CardLocation = _YGOProMsgMove_CardLocation;
|
|
3655
|
+
var _YGOProMsgMove = class _YGOProMsgMove extends YGOProMsgBase {
|
|
3502
3656
|
opponentView() {
|
|
3503
3657
|
const view = this.copy();
|
|
3504
3658
|
const cl = view.current.location;
|
|
@@ -3533,119 +3687,143 @@ var YGOProMsgMove = class extends YGOProMsgBase {
|
|
|
3533
3687
|
return this.opponentView();
|
|
3534
3688
|
}
|
|
3535
3689
|
};
|
|
3536
|
-
YGOProMsgMove
|
|
3690
|
+
__name(_YGOProMsgMove, "YGOProMsgMove");
|
|
3691
|
+
_YGOProMsgMove.identifier = OcgcoreCommonConstants.MSG_MOVE;
|
|
3537
3692
|
__decorateClass([
|
|
3538
3693
|
BinaryField("i32", 0)
|
|
3539
|
-
],
|
|
3694
|
+
], _YGOProMsgMove.prototype, "code", 2);
|
|
3540
3695
|
__decorateClass([
|
|
3541
3696
|
BinaryField(() => YGOProMsgMove_CardLocation, 4)
|
|
3542
|
-
],
|
|
3697
|
+
], _YGOProMsgMove.prototype, "previous", 2);
|
|
3543
3698
|
__decorateClass([
|
|
3544
3699
|
BinaryField(() => YGOProMsgMove_CardLocation, 8)
|
|
3545
|
-
],
|
|
3700
|
+
], _YGOProMsgMove.prototype, "current", 2);
|
|
3546
3701
|
__decorateClass([
|
|
3547
3702
|
BinaryField("i32", 12)
|
|
3548
|
-
],
|
|
3703
|
+
], _YGOProMsgMove.prototype, "reason", 2);
|
|
3704
|
+
var YGOProMsgMove = _YGOProMsgMove;
|
|
3549
3705
|
|
|
3550
3706
|
// src/protos/msg/proto/new-phase.ts
|
|
3551
|
-
var
|
|
3707
|
+
var _YGOProMsgNewPhase = class _YGOProMsgNewPhase extends YGOProMsgBase {
|
|
3552
3708
|
};
|
|
3553
|
-
YGOProMsgNewPhase
|
|
3709
|
+
__name(_YGOProMsgNewPhase, "YGOProMsgNewPhase");
|
|
3710
|
+
_YGOProMsgNewPhase.identifier = OcgcoreCommonConstants.MSG_NEW_PHASE;
|
|
3554
3711
|
__decorateClass([
|
|
3555
3712
|
BinaryField("u16", 0)
|
|
3556
|
-
],
|
|
3713
|
+
], _YGOProMsgNewPhase.prototype, "phase", 2);
|
|
3714
|
+
var YGOProMsgNewPhase = _YGOProMsgNewPhase;
|
|
3557
3715
|
|
|
3558
3716
|
// src/protos/msg/proto/new-turn.ts
|
|
3559
|
-
var
|
|
3717
|
+
var _YGOProMsgNewTurn = class _YGOProMsgNewTurn extends YGOProMsgBase {
|
|
3560
3718
|
};
|
|
3561
|
-
YGOProMsgNewTurn
|
|
3719
|
+
__name(_YGOProMsgNewTurn, "YGOProMsgNewTurn");
|
|
3720
|
+
_YGOProMsgNewTurn.identifier = OcgcoreCommonConstants.MSG_NEW_TURN;
|
|
3562
3721
|
__decorateClass([
|
|
3563
3722
|
BinaryField("u8", 0)
|
|
3564
|
-
],
|
|
3723
|
+
], _YGOProMsgNewTurn.prototype, "player", 2);
|
|
3724
|
+
var YGOProMsgNewTurn = _YGOProMsgNewTurn;
|
|
3565
3725
|
|
|
3566
3726
|
// src/protos/msg/proto/pay-lpcost.ts
|
|
3567
|
-
var
|
|
3727
|
+
var _YGOProMsgPayLpCost = class _YGOProMsgPayLpCost extends YGOProMsgBase {
|
|
3568
3728
|
};
|
|
3569
|
-
YGOProMsgPayLpCost
|
|
3729
|
+
__name(_YGOProMsgPayLpCost, "YGOProMsgPayLpCost");
|
|
3730
|
+
_YGOProMsgPayLpCost.identifier = OcgcoreCommonConstants.MSG_PAY_LPCOST;
|
|
3570
3731
|
__decorateClass([
|
|
3571
3732
|
BinaryField("u8", 0)
|
|
3572
|
-
],
|
|
3733
|
+
], _YGOProMsgPayLpCost.prototype, "player", 2);
|
|
3573
3734
|
__decorateClass([
|
|
3574
3735
|
BinaryField("i32", 1)
|
|
3575
|
-
],
|
|
3736
|
+
], _YGOProMsgPayLpCost.prototype, "cost", 2);
|
|
3737
|
+
var YGOProMsgPayLpCost = _YGOProMsgPayLpCost;
|
|
3576
3738
|
|
|
3577
3739
|
// src/protos/msg/proto/player-hint.ts
|
|
3578
|
-
var
|
|
3740
|
+
var _YGOProMsgPlayerHint = class _YGOProMsgPlayerHint extends YGOProMsgBase {
|
|
3579
3741
|
};
|
|
3580
|
-
YGOProMsgPlayerHint
|
|
3742
|
+
__name(_YGOProMsgPlayerHint, "YGOProMsgPlayerHint");
|
|
3743
|
+
_YGOProMsgPlayerHint.identifier = OcgcoreCommonConstants.MSG_PLAYER_HINT;
|
|
3581
3744
|
__decorateClass([
|
|
3582
3745
|
BinaryField("u8", 0)
|
|
3583
|
-
],
|
|
3746
|
+
], _YGOProMsgPlayerHint.prototype, "player", 2);
|
|
3584
3747
|
__decorateClass([
|
|
3585
3748
|
BinaryField("u8", 1)
|
|
3586
|
-
],
|
|
3749
|
+
], _YGOProMsgPlayerHint.prototype, "type", 2);
|
|
3587
3750
|
__decorateClass([
|
|
3588
3751
|
BinaryField("i32", 2)
|
|
3589
|
-
],
|
|
3752
|
+
], _YGOProMsgPlayerHint.prototype, "value", 2);
|
|
3753
|
+
var YGOProMsgPlayerHint = _YGOProMsgPlayerHint;
|
|
3590
3754
|
|
|
3591
3755
|
// src/protos/msg/proto/pos-change.ts
|
|
3592
|
-
var
|
|
3756
|
+
var _YGOProMsgPosChange_CardLocation = class _YGOProMsgPosChange_CardLocation {
|
|
3593
3757
|
};
|
|
3758
|
+
__name(_YGOProMsgPosChange_CardLocation, "YGOProMsgPosChange_CardLocation");
|
|
3594
3759
|
__decorateClass([
|
|
3595
3760
|
BinaryField("u8", 0)
|
|
3596
|
-
],
|
|
3761
|
+
], _YGOProMsgPosChange_CardLocation.prototype, "controller", 2);
|
|
3597
3762
|
__decorateClass([
|
|
3598
3763
|
BinaryField("u8", 1)
|
|
3599
|
-
],
|
|
3764
|
+
], _YGOProMsgPosChange_CardLocation.prototype, "location", 2);
|
|
3600
3765
|
__decorateClass([
|
|
3601
3766
|
BinaryField("u8", 2)
|
|
3602
|
-
],
|
|
3603
|
-
var
|
|
3767
|
+
], _YGOProMsgPosChange_CardLocation.prototype, "sequence", 2);
|
|
3768
|
+
var YGOProMsgPosChange_CardLocation = _YGOProMsgPosChange_CardLocation;
|
|
3769
|
+
var _YGOProMsgPosChange = class _YGOProMsgPosChange extends YGOProMsgBase {
|
|
3604
3770
|
};
|
|
3605
|
-
YGOProMsgPosChange
|
|
3771
|
+
__name(_YGOProMsgPosChange, "YGOProMsgPosChange");
|
|
3772
|
+
_YGOProMsgPosChange.identifier = OcgcoreCommonConstants.MSG_POS_CHANGE;
|
|
3606
3773
|
__decorateClass([
|
|
3607
3774
|
BinaryField(() => YGOProMsgPosChange_CardLocation, 0)
|
|
3608
|
-
],
|
|
3775
|
+
], _YGOProMsgPosChange.prototype, "card", 2);
|
|
3609
3776
|
__decorateClass([
|
|
3610
3777
|
BinaryField("u8", 3)
|
|
3611
|
-
],
|
|
3778
|
+
], _YGOProMsgPosChange.prototype, "previousPosition", 2);
|
|
3612
3779
|
__decorateClass([
|
|
3613
3780
|
BinaryField("u8", 4)
|
|
3614
|
-
],
|
|
3781
|
+
], _YGOProMsgPosChange.prototype, "currentPosition", 2);
|
|
3782
|
+
var YGOProMsgPosChange = _YGOProMsgPosChange;
|
|
3615
3783
|
|
|
3616
3784
|
// src/protos/msg/proto/random-selected.ts
|
|
3617
|
-
var
|
|
3785
|
+
var _YGOProMsgRandomSelected = class _YGOProMsgRandomSelected extends YGOProMsgBase {
|
|
3618
3786
|
};
|
|
3619
|
-
YGOProMsgRandomSelected
|
|
3787
|
+
__name(_YGOProMsgRandomSelected, "YGOProMsgRandomSelected");
|
|
3788
|
+
_YGOProMsgRandomSelected.identifier = OcgcoreCommonConstants.MSG_RANDOM_SELECTED;
|
|
3620
3789
|
__decorateClass([
|
|
3621
3790
|
BinaryField("u8", 0)
|
|
3622
|
-
],
|
|
3791
|
+
], _YGOProMsgRandomSelected.prototype, "player", 2);
|
|
3623
3792
|
__decorateClass([
|
|
3624
3793
|
BinaryField("u8", 1)
|
|
3625
|
-
],
|
|
3794
|
+
], _YGOProMsgRandomSelected.prototype, "count", 2);
|
|
3626
3795
|
__decorateClass([
|
|
3627
3796
|
BinaryField("i32", 2, (obj) => obj.count)
|
|
3628
|
-
],
|
|
3797
|
+
], _YGOProMsgRandomSelected.prototype, "cards", 2);
|
|
3798
|
+
var YGOProMsgRandomSelected = _YGOProMsgRandomSelected;
|
|
3629
3799
|
|
|
3630
3800
|
// src/protos/msg/proto/recover.ts
|
|
3631
|
-
var
|
|
3801
|
+
var _YGOProMsgRecover = class _YGOProMsgRecover extends YGOProMsgBase {
|
|
3632
3802
|
};
|
|
3633
|
-
YGOProMsgRecover
|
|
3803
|
+
__name(_YGOProMsgRecover, "YGOProMsgRecover");
|
|
3804
|
+
_YGOProMsgRecover.identifier = OcgcoreCommonConstants.MSG_RECOVER;
|
|
3634
3805
|
__decorateClass([
|
|
3635
3806
|
BinaryField("u8", 0)
|
|
3636
|
-
],
|
|
3807
|
+
], _YGOProMsgRecover.prototype, "player", 2);
|
|
3637
3808
|
__decorateClass([
|
|
3638
3809
|
BinaryField("i32", 1)
|
|
3639
|
-
],
|
|
3810
|
+
], _YGOProMsgRecover.prototype, "value", 2);
|
|
3811
|
+
var YGOProMsgRecover = _YGOProMsgRecover;
|
|
3640
3812
|
|
|
3641
3813
|
// src/protos/msg/proto/reload-field.ts
|
|
3642
|
-
var
|
|
3814
|
+
var _YGOProMsgReloadField_ZoneCard = class _YGOProMsgReloadField_ZoneCard {
|
|
3643
3815
|
};
|
|
3644
|
-
|
|
3816
|
+
__name(_YGOProMsgReloadField_ZoneCard, "YGOProMsgReloadField_ZoneCard");
|
|
3817
|
+
var YGOProMsgReloadField_ZoneCard = _YGOProMsgReloadField_ZoneCard;
|
|
3818
|
+
var _YGOProMsgReloadField_PlayerInfo = class _YGOProMsgReloadField_PlayerInfo {
|
|
3645
3819
|
};
|
|
3646
|
-
|
|
3820
|
+
__name(_YGOProMsgReloadField_PlayerInfo, "YGOProMsgReloadField_PlayerInfo");
|
|
3821
|
+
var YGOProMsgReloadField_PlayerInfo = _YGOProMsgReloadField_PlayerInfo;
|
|
3822
|
+
var _YGOProMsgReloadField_ChainInfo = class _YGOProMsgReloadField_ChainInfo {
|
|
3647
3823
|
};
|
|
3648
|
-
|
|
3824
|
+
__name(_YGOProMsgReloadField_ChainInfo, "YGOProMsgReloadField_ChainInfo");
|
|
3825
|
+
var YGOProMsgReloadField_ChainInfo = _YGOProMsgReloadField_ChainInfo;
|
|
3826
|
+
var _YGOProMsgReloadField = class _YGOProMsgReloadField extends YGOProMsgBase {
|
|
3649
3827
|
fromPayload(data) {
|
|
3650
3828
|
if (data.length < 1) {
|
|
3651
3829
|
throw new Error("MSG data too short");
|
|
@@ -3781,57 +3959,67 @@ var YGOProMsgReloadField = class extends YGOProMsgBase {
|
|
|
3781
3959
|
return result;
|
|
3782
3960
|
}
|
|
3783
3961
|
};
|
|
3784
|
-
YGOProMsgReloadField
|
|
3962
|
+
__name(_YGOProMsgReloadField, "YGOProMsgReloadField");
|
|
3963
|
+
_YGOProMsgReloadField.identifier = 162;
|
|
3964
|
+
var YGOProMsgReloadField = _YGOProMsgReloadField;
|
|
3785
3965
|
|
|
3786
3966
|
// src/protos/msg/proto/remove-counter.ts
|
|
3787
|
-
var
|
|
3967
|
+
var _YGOProMsgRemoveCounter = class _YGOProMsgRemoveCounter extends YGOProMsgBase {
|
|
3788
3968
|
};
|
|
3789
|
-
YGOProMsgRemoveCounter
|
|
3969
|
+
__name(_YGOProMsgRemoveCounter, "YGOProMsgRemoveCounter");
|
|
3970
|
+
_YGOProMsgRemoveCounter.identifier = OcgcoreCommonConstants.MSG_REMOVE_COUNTER;
|
|
3790
3971
|
__decorateClass([
|
|
3791
3972
|
BinaryField("u16", 0)
|
|
3792
|
-
],
|
|
3973
|
+
], _YGOProMsgRemoveCounter.prototype, "counterType", 2);
|
|
3793
3974
|
__decorateClass([
|
|
3794
3975
|
BinaryField("u8", 2)
|
|
3795
|
-
],
|
|
3976
|
+
], _YGOProMsgRemoveCounter.prototype, "controller", 2);
|
|
3796
3977
|
__decorateClass([
|
|
3797
3978
|
BinaryField("u8", 3)
|
|
3798
|
-
],
|
|
3979
|
+
], _YGOProMsgRemoveCounter.prototype, "location", 2);
|
|
3799
3980
|
__decorateClass([
|
|
3800
3981
|
BinaryField("u8", 4)
|
|
3801
|
-
],
|
|
3982
|
+
], _YGOProMsgRemoveCounter.prototype, "sequence", 2);
|
|
3802
3983
|
__decorateClass([
|
|
3803
3984
|
BinaryField("u16", 5)
|
|
3804
|
-
],
|
|
3985
|
+
], _YGOProMsgRemoveCounter.prototype, "count", 2);
|
|
3986
|
+
var YGOProMsgRemoveCounter = _YGOProMsgRemoveCounter;
|
|
3805
3987
|
|
|
3806
3988
|
// src/protos/msg/proto/reset-time.ts
|
|
3807
|
-
var
|
|
3989
|
+
var _YGOProMsgResetTime = class _YGOProMsgResetTime extends YGOProMsgBase {
|
|
3808
3990
|
getSendTargets() {
|
|
3809
3991
|
return [];
|
|
3810
3992
|
}
|
|
3811
3993
|
};
|
|
3812
|
-
YGOProMsgResetTime
|
|
3994
|
+
__name(_YGOProMsgResetTime, "YGOProMsgResetTime");
|
|
3995
|
+
_YGOProMsgResetTime.identifier = OcgcoreCommonConstants.MSG_RESET_TIME;
|
|
3813
3996
|
__decorateClass([
|
|
3814
3997
|
BinaryField("i8", 0)
|
|
3815
|
-
],
|
|
3998
|
+
], _YGOProMsgResetTime.prototype, "player", 2);
|
|
3816
3999
|
__decorateClass([
|
|
3817
4000
|
BinaryField("i16", 1)
|
|
3818
|
-
],
|
|
4001
|
+
], _YGOProMsgResetTime.prototype, "time", 2);
|
|
4002
|
+
var YGOProMsgResetTime = _YGOProMsgResetTime;
|
|
3819
4003
|
|
|
3820
4004
|
// src/protos/msg/proto/retry.ts
|
|
3821
|
-
var
|
|
4005
|
+
var _YGOProMsgRetry = class _YGOProMsgRetry extends YGOProMsgBase {
|
|
3822
4006
|
getSendTargets() {
|
|
3823
4007
|
return [];
|
|
3824
4008
|
}
|
|
3825
4009
|
};
|
|
3826
|
-
YGOProMsgRetry
|
|
4010
|
+
__name(_YGOProMsgRetry, "YGOProMsgRetry");
|
|
4011
|
+
_YGOProMsgRetry.identifier = OcgcoreCommonConstants.MSG_RETRY;
|
|
4012
|
+
var YGOProMsgRetry = _YGOProMsgRetry;
|
|
3827
4013
|
|
|
3828
4014
|
// src/protos/msg/proto/reverse-deck.ts
|
|
3829
|
-
var
|
|
4015
|
+
var _YGOProMsgReverseDeck = class _YGOProMsgReverseDeck extends YGOProMsgBase {
|
|
3830
4016
|
};
|
|
3831
|
-
YGOProMsgReverseDeck
|
|
4017
|
+
__name(_YGOProMsgReverseDeck, "YGOProMsgReverseDeck");
|
|
4018
|
+
_YGOProMsgReverseDeck.identifier = OcgcoreCommonConstants.MSG_REVERSE_DECK;
|
|
4019
|
+
var YGOProMsgReverseDeck = _YGOProMsgReverseDeck;
|
|
3832
4020
|
|
|
3833
4021
|
// src/protos/msg/proto/rock-paper-scissors.ts
|
|
3834
|
-
var
|
|
4022
|
+
var _YGOProMsgRockPaperScissors = class _YGOProMsgRockPaperScissors extends YGOProMsgResponseBase {
|
|
3835
4023
|
responsePlayer() {
|
|
3836
4024
|
return this.player;
|
|
3837
4025
|
}
|
|
@@ -3846,10 +4034,12 @@ var YGOProMsgRockPaperScissors = class extends YGOProMsgResponseBase {
|
|
|
3846
4034
|
return buffer;
|
|
3847
4035
|
}
|
|
3848
4036
|
};
|
|
3849
|
-
YGOProMsgRockPaperScissors
|
|
4037
|
+
__name(_YGOProMsgRockPaperScissors, "YGOProMsgRockPaperScissors");
|
|
4038
|
+
_YGOProMsgRockPaperScissors.identifier = OcgcoreCommonConstants.MSG_ROCK_PAPER_SCISSORS;
|
|
3850
4039
|
__decorateClass([
|
|
3851
4040
|
BinaryField("u8", 0)
|
|
3852
|
-
],
|
|
4041
|
+
], _YGOProMsgRockPaperScissors.prototype, "player", 2);
|
|
4042
|
+
var YGOProMsgRockPaperScissors = _YGOProMsgRockPaperScissors;
|
|
3853
4043
|
|
|
3854
4044
|
// src/protos/msg/proto/select-battlecmd.ts
|
|
3855
4045
|
var BattleCmdType = /* @__PURE__ */ ((BattleCmdType2) => {
|
|
@@ -3859,41 +4049,45 @@ var BattleCmdType = /* @__PURE__ */ ((BattleCmdType2) => {
|
|
|
3859
4049
|
BattleCmdType2[BattleCmdType2["TO_EP"] = 3] = "TO_EP";
|
|
3860
4050
|
return BattleCmdType2;
|
|
3861
4051
|
})(BattleCmdType || {});
|
|
3862
|
-
var
|
|
4052
|
+
var _YGOProMsgSelectBattleCmd_ActivatableInfo = class _YGOProMsgSelectBattleCmd_ActivatableInfo {
|
|
3863
4053
|
};
|
|
4054
|
+
__name(_YGOProMsgSelectBattleCmd_ActivatableInfo, "YGOProMsgSelectBattleCmd_ActivatableInfo");
|
|
3864
4055
|
__decorateClass([
|
|
3865
4056
|
BinaryField("i32", 0)
|
|
3866
|
-
],
|
|
4057
|
+
], _YGOProMsgSelectBattleCmd_ActivatableInfo.prototype, "code", 2);
|
|
3867
4058
|
__decorateClass([
|
|
3868
4059
|
BinaryField("u8", 4)
|
|
3869
|
-
],
|
|
4060
|
+
], _YGOProMsgSelectBattleCmd_ActivatableInfo.prototype, "controller", 2);
|
|
3870
4061
|
__decorateClass([
|
|
3871
4062
|
BinaryField("u8", 5)
|
|
3872
|
-
],
|
|
4063
|
+
], _YGOProMsgSelectBattleCmd_ActivatableInfo.prototype, "location", 2);
|
|
3873
4064
|
__decorateClass([
|
|
3874
4065
|
BinaryField("u8", 6)
|
|
3875
|
-
],
|
|
4066
|
+
], _YGOProMsgSelectBattleCmd_ActivatableInfo.prototype, "sequence", 2);
|
|
3876
4067
|
__decorateClass([
|
|
3877
4068
|
BinaryField("i32", 7)
|
|
3878
|
-
],
|
|
3879
|
-
var
|
|
4069
|
+
], _YGOProMsgSelectBattleCmd_ActivatableInfo.prototype, "desc", 2);
|
|
4070
|
+
var YGOProMsgSelectBattleCmd_ActivatableInfo = _YGOProMsgSelectBattleCmd_ActivatableInfo;
|
|
4071
|
+
var _YGOProMsgSelectBattleCmd_AttackableInfo = class _YGOProMsgSelectBattleCmd_AttackableInfo {
|
|
3880
4072
|
};
|
|
4073
|
+
__name(_YGOProMsgSelectBattleCmd_AttackableInfo, "YGOProMsgSelectBattleCmd_AttackableInfo");
|
|
3881
4074
|
__decorateClass([
|
|
3882
4075
|
BinaryField("i32", 0)
|
|
3883
|
-
],
|
|
4076
|
+
], _YGOProMsgSelectBattleCmd_AttackableInfo.prototype, "code", 2);
|
|
3884
4077
|
__decorateClass([
|
|
3885
4078
|
BinaryField("u8", 4)
|
|
3886
|
-
],
|
|
4079
|
+
], _YGOProMsgSelectBattleCmd_AttackableInfo.prototype, "controller", 2);
|
|
3887
4080
|
__decorateClass([
|
|
3888
4081
|
BinaryField("u8", 5)
|
|
3889
|
-
],
|
|
4082
|
+
], _YGOProMsgSelectBattleCmd_AttackableInfo.prototype, "location", 2);
|
|
3890
4083
|
__decorateClass([
|
|
3891
4084
|
BinaryField("u8", 6)
|
|
3892
|
-
],
|
|
4085
|
+
], _YGOProMsgSelectBattleCmd_AttackableInfo.prototype, "sequence", 2);
|
|
3893
4086
|
__decorateClass([
|
|
3894
4087
|
BinaryField("u8", 7)
|
|
3895
|
-
],
|
|
3896
|
-
var
|
|
4088
|
+
], _YGOProMsgSelectBattleCmd_AttackableInfo.prototype, "directAttack", 2);
|
|
4089
|
+
var YGOProMsgSelectBattleCmd_AttackableInfo = _YGOProMsgSelectBattleCmd_AttackableInfo;
|
|
4090
|
+
var _YGOProMsgSelectBattleCmd = class _YGOProMsgSelectBattleCmd extends YGOProMsgResponseBase {
|
|
3897
4091
|
responsePlayer() {
|
|
3898
4092
|
return this.player;
|
|
3899
4093
|
}
|
|
@@ -3954,25 +4148,26 @@ var YGOProMsgSelectBattleCmd = class extends YGOProMsgResponseBase {
|
|
|
3954
4148
|
return buffer;
|
|
3955
4149
|
}
|
|
3956
4150
|
};
|
|
3957
|
-
YGOProMsgSelectBattleCmd
|
|
4151
|
+
__name(_YGOProMsgSelectBattleCmd, "YGOProMsgSelectBattleCmd");
|
|
4152
|
+
_YGOProMsgSelectBattleCmd.identifier = OcgcoreCommonConstants.MSG_SELECT_BATTLECMD;
|
|
3958
4153
|
__decorateClass([
|
|
3959
4154
|
BinaryField("u8", 0)
|
|
3960
|
-
],
|
|
4155
|
+
], _YGOProMsgSelectBattleCmd.prototype, "player", 2);
|
|
3961
4156
|
__decorateClass([
|
|
3962
4157
|
BinaryField("u8", 1)
|
|
3963
|
-
],
|
|
4158
|
+
], _YGOProMsgSelectBattleCmd.prototype, "activatableCount", 2);
|
|
3964
4159
|
__decorateClass([
|
|
3965
4160
|
BinaryField(
|
|
3966
4161
|
() => YGOProMsgSelectBattleCmd_ActivatableInfo,
|
|
3967
4162
|
2,
|
|
3968
4163
|
(obj) => obj.activatableCount
|
|
3969
4164
|
)
|
|
3970
|
-
],
|
|
4165
|
+
], _YGOProMsgSelectBattleCmd.prototype, "activatableCards", 2);
|
|
3971
4166
|
__decorateClass([
|
|
3972
4167
|
BinaryField("u8", (obj) => {
|
|
3973
4168
|
return 2 + obj.activatableCount * 11;
|
|
3974
4169
|
})
|
|
3975
|
-
],
|
|
4170
|
+
], _YGOProMsgSelectBattleCmd.prototype, "attackableCount", 2);
|
|
3976
4171
|
__decorateClass([
|
|
3977
4172
|
BinaryField(
|
|
3978
4173
|
() => YGOProMsgSelectBattleCmd_AttackableInfo,
|
|
@@ -3981,37 +4176,40 @@ __decorateClass([
|
|
|
3981
4176
|
},
|
|
3982
4177
|
(obj) => obj.attackableCount
|
|
3983
4178
|
)
|
|
3984
|
-
],
|
|
4179
|
+
], _YGOProMsgSelectBattleCmd.prototype, "attackableCards", 2);
|
|
3985
4180
|
__decorateClass([
|
|
3986
4181
|
BinaryField("u8", (obj) => {
|
|
3987
4182
|
return 3 + obj.activatableCount * 11 + obj.attackableCount * 8;
|
|
3988
4183
|
})
|
|
3989
|
-
],
|
|
4184
|
+
], _YGOProMsgSelectBattleCmd.prototype, "canM2", 2);
|
|
3990
4185
|
__decorateClass([
|
|
3991
4186
|
BinaryField("u8", (obj) => {
|
|
3992
4187
|
return 4 + obj.activatableCount * 11 + obj.attackableCount * 8;
|
|
3993
4188
|
})
|
|
3994
|
-
],
|
|
4189
|
+
], _YGOProMsgSelectBattleCmd.prototype, "canEp", 2);
|
|
4190
|
+
var YGOProMsgSelectBattleCmd = _YGOProMsgSelectBattleCmd;
|
|
3995
4191
|
|
|
3996
4192
|
// src/protos/msg/proto/select-card.ts
|
|
3997
|
-
var
|
|
4193
|
+
var _YGOProMsgSelectCard_CardInfo = class _YGOProMsgSelectCard_CardInfo {
|
|
3998
4194
|
};
|
|
4195
|
+
__name(_YGOProMsgSelectCard_CardInfo, "YGOProMsgSelectCard_CardInfo");
|
|
3999
4196
|
__decorateClass([
|
|
4000
4197
|
BinaryField("i32", 0)
|
|
4001
|
-
],
|
|
4198
|
+
], _YGOProMsgSelectCard_CardInfo.prototype, "code", 2);
|
|
4002
4199
|
__decorateClass([
|
|
4003
4200
|
BinaryField("u8", 4)
|
|
4004
|
-
],
|
|
4201
|
+
], _YGOProMsgSelectCard_CardInfo.prototype, "controller", 2);
|
|
4005
4202
|
__decorateClass([
|
|
4006
4203
|
BinaryField("u8", 5)
|
|
4007
|
-
],
|
|
4204
|
+
], _YGOProMsgSelectCard_CardInfo.prototype, "location", 2);
|
|
4008
4205
|
__decorateClass([
|
|
4009
4206
|
BinaryField("u8", 6)
|
|
4010
|
-
],
|
|
4207
|
+
], _YGOProMsgSelectCard_CardInfo.prototype, "sequence", 2);
|
|
4011
4208
|
__decorateClass([
|
|
4012
4209
|
BinaryField("u8", 7)
|
|
4013
|
-
],
|
|
4014
|
-
var
|
|
4210
|
+
], _YGOProMsgSelectCard_CardInfo.prototype, "subsequence", 2);
|
|
4211
|
+
var YGOProMsgSelectCard_CardInfo = _YGOProMsgSelectCard_CardInfo;
|
|
4212
|
+
var _YGOProMsgSelectCard = class _YGOProMsgSelectCard extends YGOProMsgResponseBase {
|
|
4015
4213
|
responsePlayer() {
|
|
4016
4214
|
return this.player;
|
|
4017
4215
|
}
|
|
@@ -4056,54 +4254,58 @@ var YGOProMsgSelectCard = class extends YGOProMsgResponseBase {
|
|
|
4056
4254
|
return buffer;
|
|
4057
4255
|
}
|
|
4058
4256
|
};
|
|
4059
|
-
YGOProMsgSelectCard
|
|
4257
|
+
__name(_YGOProMsgSelectCard, "YGOProMsgSelectCard");
|
|
4258
|
+
_YGOProMsgSelectCard.identifier = OcgcoreCommonConstants.MSG_SELECT_CARD;
|
|
4060
4259
|
__decorateClass([
|
|
4061
4260
|
BinaryField("u8", 0)
|
|
4062
|
-
],
|
|
4261
|
+
], _YGOProMsgSelectCard.prototype, "player", 2);
|
|
4063
4262
|
__decorateClass([
|
|
4064
4263
|
BinaryField("u8", 1)
|
|
4065
|
-
],
|
|
4264
|
+
], _YGOProMsgSelectCard.prototype, "cancelable", 2);
|
|
4066
4265
|
__decorateClass([
|
|
4067
4266
|
BinaryField("u8", 2)
|
|
4068
|
-
],
|
|
4267
|
+
], _YGOProMsgSelectCard.prototype, "min", 2);
|
|
4069
4268
|
__decorateClass([
|
|
4070
4269
|
BinaryField("u8", 3)
|
|
4071
|
-
],
|
|
4270
|
+
], _YGOProMsgSelectCard.prototype, "max", 2);
|
|
4072
4271
|
__decorateClass([
|
|
4073
4272
|
BinaryField("u8", 4)
|
|
4074
|
-
],
|
|
4273
|
+
], _YGOProMsgSelectCard.prototype, "count", 2);
|
|
4075
4274
|
__decorateClass([
|
|
4076
4275
|
BinaryField(() => YGOProMsgSelectCard_CardInfo, 5, (obj) => obj.count)
|
|
4077
|
-
],
|
|
4276
|
+
], _YGOProMsgSelectCard.prototype, "cards", 2);
|
|
4277
|
+
var YGOProMsgSelectCard = _YGOProMsgSelectCard;
|
|
4078
4278
|
|
|
4079
4279
|
// src/protos/msg/proto/select-chain.ts
|
|
4080
|
-
var
|
|
4280
|
+
var _YGOProMsgSelectChain_ChainInfo = class _YGOProMsgSelectChain_ChainInfo {
|
|
4081
4281
|
};
|
|
4282
|
+
__name(_YGOProMsgSelectChain_ChainInfo, "YGOProMsgSelectChain_ChainInfo");
|
|
4082
4283
|
__decorateClass([
|
|
4083
4284
|
BinaryField("u8", 0)
|
|
4084
|
-
],
|
|
4285
|
+
], _YGOProMsgSelectChain_ChainInfo.prototype, "edesc", 2);
|
|
4085
4286
|
__decorateClass([
|
|
4086
4287
|
BinaryField("u8", 1)
|
|
4087
|
-
],
|
|
4288
|
+
], _YGOProMsgSelectChain_ChainInfo.prototype, "forced", 2);
|
|
4088
4289
|
__decorateClass([
|
|
4089
4290
|
BinaryField("i32", 2)
|
|
4090
|
-
],
|
|
4291
|
+
], _YGOProMsgSelectChain_ChainInfo.prototype, "code", 2);
|
|
4091
4292
|
__decorateClass([
|
|
4092
4293
|
BinaryField("u8", 6)
|
|
4093
|
-
],
|
|
4294
|
+
], _YGOProMsgSelectChain_ChainInfo.prototype, "controller", 2);
|
|
4094
4295
|
__decorateClass([
|
|
4095
4296
|
BinaryField("u8", 7)
|
|
4096
|
-
],
|
|
4297
|
+
], _YGOProMsgSelectChain_ChainInfo.prototype, "location", 2);
|
|
4097
4298
|
__decorateClass([
|
|
4098
4299
|
BinaryField("u8", 8)
|
|
4099
|
-
],
|
|
4300
|
+
], _YGOProMsgSelectChain_ChainInfo.prototype, "sequence", 2);
|
|
4100
4301
|
__decorateClass([
|
|
4101
4302
|
BinaryField("u8", 9)
|
|
4102
|
-
],
|
|
4303
|
+
], _YGOProMsgSelectChain_ChainInfo.prototype, "subsequence", 2);
|
|
4103
4304
|
__decorateClass([
|
|
4104
4305
|
BinaryField("i32", 10)
|
|
4105
|
-
],
|
|
4106
|
-
var
|
|
4306
|
+
], _YGOProMsgSelectChain_ChainInfo.prototype, "desc", 2);
|
|
4307
|
+
var YGOProMsgSelectChain_ChainInfo = _YGOProMsgSelectChain_ChainInfo;
|
|
4308
|
+
var _YGOProMsgSelectChain = class _YGOProMsgSelectChain extends YGOProMsgResponseBase {
|
|
4107
4309
|
responsePlayer() {
|
|
4108
4310
|
return this.player;
|
|
4109
4311
|
}
|
|
@@ -4137,45 +4339,49 @@ var YGOProMsgSelectChain = class extends YGOProMsgResponseBase {
|
|
|
4137
4339
|
return buffer;
|
|
4138
4340
|
}
|
|
4139
4341
|
};
|
|
4140
|
-
YGOProMsgSelectChain
|
|
4342
|
+
__name(_YGOProMsgSelectChain, "YGOProMsgSelectChain");
|
|
4343
|
+
_YGOProMsgSelectChain.identifier = OcgcoreCommonConstants.MSG_SELECT_CHAIN;
|
|
4141
4344
|
__decorateClass([
|
|
4142
4345
|
BinaryField("u8", 0)
|
|
4143
|
-
],
|
|
4346
|
+
], _YGOProMsgSelectChain.prototype, "player", 2);
|
|
4144
4347
|
__decorateClass([
|
|
4145
4348
|
BinaryField("u8", 1)
|
|
4146
|
-
],
|
|
4349
|
+
], _YGOProMsgSelectChain.prototype, "count", 2);
|
|
4147
4350
|
__decorateClass([
|
|
4148
4351
|
BinaryField("u8", 2)
|
|
4149
|
-
],
|
|
4352
|
+
], _YGOProMsgSelectChain.prototype, "specialCount", 2);
|
|
4150
4353
|
__decorateClass([
|
|
4151
4354
|
BinaryField("i32", 3)
|
|
4152
|
-
],
|
|
4355
|
+
], _YGOProMsgSelectChain.prototype, "hint0", 2);
|
|
4153
4356
|
__decorateClass([
|
|
4154
4357
|
BinaryField("i32", 7)
|
|
4155
|
-
],
|
|
4358
|
+
], _YGOProMsgSelectChain.prototype, "hint1", 2);
|
|
4156
4359
|
__decorateClass([
|
|
4157
4360
|
BinaryField(() => YGOProMsgSelectChain_ChainInfo, 11, (obj) => obj.count)
|
|
4158
|
-
],
|
|
4361
|
+
], _YGOProMsgSelectChain.prototype, "chains", 2);
|
|
4362
|
+
var YGOProMsgSelectChain = _YGOProMsgSelectChain;
|
|
4159
4363
|
|
|
4160
4364
|
// src/protos/msg/proto/select-counter.ts
|
|
4161
|
-
var
|
|
4365
|
+
var _YGOProMsgSelectCounter_CardInfo = class _YGOProMsgSelectCounter_CardInfo {
|
|
4162
4366
|
};
|
|
4367
|
+
__name(_YGOProMsgSelectCounter_CardInfo, "YGOProMsgSelectCounter_CardInfo");
|
|
4163
4368
|
__decorateClass([
|
|
4164
4369
|
BinaryField("i32", 0)
|
|
4165
|
-
],
|
|
4370
|
+
], _YGOProMsgSelectCounter_CardInfo.prototype, "code", 2);
|
|
4166
4371
|
__decorateClass([
|
|
4167
4372
|
BinaryField("u8", 4)
|
|
4168
|
-
],
|
|
4373
|
+
], _YGOProMsgSelectCounter_CardInfo.prototype, "controller", 2);
|
|
4169
4374
|
__decorateClass([
|
|
4170
4375
|
BinaryField("u8", 5)
|
|
4171
|
-
],
|
|
4376
|
+
], _YGOProMsgSelectCounter_CardInfo.prototype, "location", 2);
|
|
4172
4377
|
__decorateClass([
|
|
4173
4378
|
BinaryField("u8", 6)
|
|
4174
|
-
],
|
|
4379
|
+
], _YGOProMsgSelectCounter_CardInfo.prototype, "sequence", 2);
|
|
4175
4380
|
__decorateClass([
|
|
4176
4381
|
BinaryField("u16", 7)
|
|
4177
|
-
],
|
|
4178
|
-
var
|
|
4382
|
+
], _YGOProMsgSelectCounter_CardInfo.prototype, "counterCount", 2);
|
|
4383
|
+
var YGOProMsgSelectCounter_CardInfo = _YGOProMsgSelectCounter_CardInfo;
|
|
4384
|
+
var _YGOProMsgSelectCounter = class _YGOProMsgSelectCounter extends YGOProMsgResponseBase {
|
|
4179
4385
|
responsePlayer() {
|
|
4180
4386
|
return this.player;
|
|
4181
4387
|
}
|
|
@@ -4207,25 +4413,27 @@ var YGOProMsgSelectCounter = class extends YGOProMsgResponseBase {
|
|
|
4207
4413
|
return buffer;
|
|
4208
4414
|
}
|
|
4209
4415
|
};
|
|
4210
|
-
YGOProMsgSelectCounter
|
|
4416
|
+
__name(_YGOProMsgSelectCounter, "YGOProMsgSelectCounter");
|
|
4417
|
+
_YGOProMsgSelectCounter.identifier = OcgcoreCommonConstants.MSG_SELECT_COUNTER;
|
|
4211
4418
|
__decorateClass([
|
|
4212
4419
|
BinaryField("u8", 0)
|
|
4213
|
-
],
|
|
4420
|
+
], _YGOProMsgSelectCounter.prototype, "player", 2);
|
|
4214
4421
|
__decorateClass([
|
|
4215
4422
|
BinaryField("u16", 1)
|
|
4216
|
-
],
|
|
4423
|
+
], _YGOProMsgSelectCounter.prototype, "counterType", 2);
|
|
4217
4424
|
__decorateClass([
|
|
4218
4425
|
BinaryField("u16", 3)
|
|
4219
|
-
],
|
|
4426
|
+
], _YGOProMsgSelectCounter.prototype, "counterCount", 2);
|
|
4220
4427
|
__decorateClass([
|
|
4221
4428
|
BinaryField("u8", 5)
|
|
4222
|
-
],
|
|
4429
|
+
], _YGOProMsgSelectCounter.prototype, "count", 2);
|
|
4223
4430
|
__decorateClass([
|
|
4224
4431
|
BinaryField(() => YGOProMsgSelectCounter_CardInfo, 6, (obj) => obj.count)
|
|
4225
|
-
],
|
|
4432
|
+
], _YGOProMsgSelectCounter.prototype, "cards", 2);
|
|
4433
|
+
var YGOProMsgSelectCounter = _YGOProMsgSelectCounter;
|
|
4226
4434
|
|
|
4227
4435
|
// src/protos/msg/proto/select-place-common.ts
|
|
4228
|
-
var
|
|
4436
|
+
var _YGOProMsgSelectPlaceCommon = class _YGOProMsgSelectPlaceCommon extends YGOProMsgResponseBase {
|
|
4229
4437
|
getSelectablePlaces() {
|
|
4230
4438
|
const places = [];
|
|
4231
4439
|
const mask = this.flag >>> 0;
|
|
@@ -4261,23 +4469,27 @@ var YGOProMsgSelectPlaceCommon = class extends YGOProMsgResponseBase {
|
|
|
4261
4469
|
return buffer;
|
|
4262
4470
|
}
|
|
4263
4471
|
};
|
|
4472
|
+
__name(_YGOProMsgSelectPlaceCommon, "YGOProMsgSelectPlaceCommon");
|
|
4264
4473
|
__decorateClass([
|
|
4265
4474
|
BinaryField("u8", 0)
|
|
4266
|
-
],
|
|
4475
|
+
], _YGOProMsgSelectPlaceCommon.prototype, "player", 2);
|
|
4267
4476
|
__decorateClass([
|
|
4268
4477
|
BinaryField("u8", 1)
|
|
4269
|
-
],
|
|
4478
|
+
], _YGOProMsgSelectPlaceCommon.prototype, "count", 2);
|
|
4270
4479
|
__decorateClass([
|
|
4271
4480
|
BinaryField("u32", 2)
|
|
4272
|
-
],
|
|
4481
|
+
], _YGOProMsgSelectPlaceCommon.prototype, "flag", 2);
|
|
4482
|
+
var YGOProMsgSelectPlaceCommon = _YGOProMsgSelectPlaceCommon;
|
|
4273
4483
|
|
|
4274
4484
|
// src/protos/msg/proto/select-disfield.ts
|
|
4275
|
-
var
|
|
4485
|
+
var _YGOProMsgSelectDisField = class _YGOProMsgSelectDisField extends YGOProMsgSelectPlaceCommon {
|
|
4276
4486
|
};
|
|
4277
|
-
YGOProMsgSelectDisField
|
|
4487
|
+
__name(_YGOProMsgSelectDisField, "YGOProMsgSelectDisField");
|
|
4488
|
+
_YGOProMsgSelectDisField.identifier = OcgcoreCommonConstants.MSG_SELECT_DISFIELD;
|
|
4489
|
+
var YGOProMsgSelectDisField = _YGOProMsgSelectDisField;
|
|
4278
4490
|
|
|
4279
4491
|
// src/protos/msg/proto/select-effectyn.ts
|
|
4280
|
-
var
|
|
4492
|
+
var _YGOProMsgSelectEffectYn = class _YGOProMsgSelectEffectYn extends YGOProMsgResponseBase {
|
|
4281
4493
|
responsePlayer() {
|
|
4282
4494
|
return this.player;
|
|
4283
4495
|
}
|
|
@@ -4291,28 +4503,30 @@ var YGOProMsgSelectEffectYn = class extends YGOProMsgResponseBase {
|
|
|
4291
4503
|
return buffer;
|
|
4292
4504
|
}
|
|
4293
4505
|
};
|
|
4294
|
-
YGOProMsgSelectEffectYn
|
|
4506
|
+
__name(_YGOProMsgSelectEffectYn, "YGOProMsgSelectEffectYn");
|
|
4507
|
+
_YGOProMsgSelectEffectYn.identifier = OcgcoreCommonConstants.MSG_SELECT_EFFECTYN;
|
|
4295
4508
|
__decorateClass([
|
|
4296
4509
|
BinaryField("u8", 0)
|
|
4297
|
-
],
|
|
4510
|
+
], _YGOProMsgSelectEffectYn.prototype, "player", 2);
|
|
4298
4511
|
__decorateClass([
|
|
4299
4512
|
BinaryField("i32", 1)
|
|
4300
|
-
],
|
|
4513
|
+
], _YGOProMsgSelectEffectYn.prototype, "code", 2);
|
|
4301
4514
|
__decorateClass([
|
|
4302
4515
|
BinaryField("u8", 5)
|
|
4303
|
-
],
|
|
4516
|
+
], _YGOProMsgSelectEffectYn.prototype, "controller", 2);
|
|
4304
4517
|
__decorateClass([
|
|
4305
4518
|
BinaryField("u8", 6)
|
|
4306
|
-
],
|
|
4519
|
+
], _YGOProMsgSelectEffectYn.prototype, "location", 2);
|
|
4307
4520
|
__decorateClass([
|
|
4308
4521
|
BinaryField("u8", 7)
|
|
4309
|
-
],
|
|
4522
|
+
], _YGOProMsgSelectEffectYn.prototype, "sequence", 2);
|
|
4310
4523
|
__decorateClass([
|
|
4311
4524
|
BinaryField("u8", 8)
|
|
4312
|
-
],
|
|
4525
|
+
], _YGOProMsgSelectEffectYn.prototype, "position", 2);
|
|
4313
4526
|
__decorateClass([
|
|
4314
4527
|
BinaryField("i32", 9)
|
|
4315
|
-
],
|
|
4528
|
+
], _YGOProMsgSelectEffectYn.prototype, "desc", 2);
|
|
4529
|
+
var YGOProMsgSelectEffectYn = _YGOProMsgSelectEffectYn;
|
|
4316
4530
|
|
|
4317
4531
|
// src/protos/msg/proto/select-idlecmd.ts
|
|
4318
4532
|
var IdleCmdType = /* @__PURE__ */ ((IdleCmdType2) => {
|
|
@@ -4327,38 +4541,42 @@ var IdleCmdType = /* @__PURE__ */ ((IdleCmdType2) => {
|
|
|
4327
4541
|
IdleCmdType2[IdleCmdType2["SHUFFLE"] = 8] = "SHUFFLE";
|
|
4328
4542
|
return IdleCmdType2;
|
|
4329
4543
|
})(IdleCmdType || {});
|
|
4330
|
-
var
|
|
4544
|
+
var _YGOProMsgSelectIdleCmd_SimpleCardInfo = class _YGOProMsgSelectIdleCmd_SimpleCardInfo {
|
|
4331
4545
|
};
|
|
4546
|
+
__name(_YGOProMsgSelectIdleCmd_SimpleCardInfo, "YGOProMsgSelectIdleCmd_SimpleCardInfo");
|
|
4332
4547
|
__decorateClass([
|
|
4333
4548
|
BinaryField("i32", 0)
|
|
4334
|
-
],
|
|
4549
|
+
], _YGOProMsgSelectIdleCmd_SimpleCardInfo.prototype, "code", 2);
|
|
4335
4550
|
__decorateClass([
|
|
4336
4551
|
BinaryField("u8", 4)
|
|
4337
|
-
],
|
|
4552
|
+
], _YGOProMsgSelectIdleCmd_SimpleCardInfo.prototype, "controller", 2);
|
|
4338
4553
|
__decorateClass([
|
|
4339
4554
|
BinaryField("u8", 5)
|
|
4340
|
-
],
|
|
4555
|
+
], _YGOProMsgSelectIdleCmd_SimpleCardInfo.prototype, "location", 2);
|
|
4341
4556
|
__decorateClass([
|
|
4342
4557
|
BinaryField("u8", 6)
|
|
4343
|
-
],
|
|
4344
|
-
var
|
|
4558
|
+
], _YGOProMsgSelectIdleCmd_SimpleCardInfo.prototype, "sequence", 2);
|
|
4559
|
+
var YGOProMsgSelectIdleCmd_SimpleCardInfo = _YGOProMsgSelectIdleCmd_SimpleCardInfo;
|
|
4560
|
+
var _YGOProMsgSelectIdleCmd_ActivatableInfo = class _YGOProMsgSelectIdleCmd_ActivatableInfo {
|
|
4345
4561
|
};
|
|
4562
|
+
__name(_YGOProMsgSelectIdleCmd_ActivatableInfo, "YGOProMsgSelectIdleCmd_ActivatableInfo");
|
|
4346
4563
|
__decorateClass([
|
|
4347
4564
|
BinaryField("i32", 0)
|
|
4348
|
-
],
|
|
4565
|
+
], _YGOProMsgSelectIdleCmd_ActivatableInfo.prototype, "code", 2);
|
|
4349
4566
|
__decorateClass([
|
|
4350
4567
|
BinaryField("u8", 4)
|
|
4351
|
-
],
|
|
4568
|
+
], _YGOProMsgSelectIdleCmd_ActivatableInfo.prototype, "controller", 2);
|
|
4352
4569
|
__decorateClass([
|
|
4353
4570
|
BinaryField("u8", 5)
|
|
4354
|
-
],
|
|
4571
|
+
], _YGOProMsgSelectIdleCmd_ActivatableInfo.prototype, "location", 2);
|
|
4355
4572
|
__decorateClass([
|
|
4356
4573
|
BinaryField("u8", 6)
|
|
4357
|
-
],
|
|
4574
|
+
], _YGOProMsgSelectIdleCmd_ActivatableInfo.prototype, "sequence", 2);
|
|
4358
4575
|
__decorateClass([
|
|
4359
4576
|
BinaryField("i32", 7)
|
|
4360
|
-
],
|
|
4361
|
-
var
|
|
4577
|
+
], _YGOProMsgSelectIdleCmd_ActivatableInfo.prototype, "desc", 2);
|
|
4578
|
+
var YGOProMsgSelectIdleCmd_ActivatableInfo = _YGOProMsgSelectIdleCmd_ActivatableInfo;
|
|
4579
|
+
var _YGOProMsgSelectIdleCmd = class _YGOProMsgSelectIdleCmd extends YGOProMsgResponseBase {
|
|
4362
4580
|
responsePlayer() {
|
|
4363
4581
|
return this.player;
|
|
4364
4582
|
}
|
|
@@ -4434,103 +4652,105 @@ var YGOProMsgSelectIdleCmd = class extends YGOProMsgResponseBase {
|
|
|
4434
4652
|
return buffer;
|
|
4435
4653
|
}
|
|
4436
4654
|
};
|
|
4437
|
-
YGOProMsgSelectIdleCmd
|
|
4655
|
+
__name(_YGOProMsgSelectIdleCmd, "YGOProMsgSelectIdleCmd");
|
|
4656
|
+
_YGOProMsgSelectIdleCmd.identifier = OcgcoreCommonConstants.MSG_SELECT_IDLECMD;
|
|
4438
4657
|
__decorateClass([
|
|
4439
4658
|
BinaryField("u8", 0)
|
|
4440
|
-
],
|
|
4659
|
+
], _YGOProMsgSelectIdleCmd.prototype, "player", 2);
|
|
4441
4660
|
__decorateClass([
|
|
4442
4661
|
BinaryField("u8", 1)
|
|
4443
|
-
],
|
|
4662
|
+
], _YGOProMsgSelectIdleCmd.prototype, "summonableCount", 2);
|
|
4444
4663
|
__decorateClass([
|
|
4445
4664
|
BinaryField(
|
|
4446
4665
|
() => YGOProMsgSelectIdleCmd_SimpleCardInfo,
|
|
4447
4666
|
2,
|
|
4448
4667
|
(obj) => obj.summonableCount
|
|
4449
4668
|
)
|
|
4450
|
-
],
|
|
4669
|
+
], _YGOProMsgSelectIdleCmd.prototype, "summonableCards", 2);
|
|
4451
4670
|
__decorateClass([
|
|
4452
4671
|
BinaryField("u8", (obj) => 2 + obj.summonableCount * 7)
|
|
4453
|
-
],
|
|
4672
|
+
], _YGOProMsgSelectIdleCmd.prototype, "spSummonableCount", 2);
|
|
4454
4673
|
__decorateClass([
|
|
4455
4674
|
BinaryField(
|
|
4456
4675
|
() => YGOProMsgSelectIdleCmd_SimpleCardInfo,
|
|
4457
4676
|
(obj) => 3 + obj.summonableCount * 7,
|
|
4458
4677
|
(obj) => obj.spSummonableCount
|
|
4459
4678
|
)
|
|
4460
|
-
],
|
|
4679
|
+
], _YGOProMsgSelectIdleCmd.prototype, "spSummonableCards", 2);
|
|
4461
4680
|
__decorateClass([
|
|
4462
4681
|
BinaryField(
|
|
4463
4682
|
"u8",
|
|
4464
4683
|
(obj) => 3 + obj.summonableCount * 7 + obj.spSummonableCount * 7
|
|
4465
4684
|
)
|
|
4466
|
-
],
|
|
4685
|
+
], _YGOProMsgSelectIdleCmd.prototype, "reposableCount", 2);
|
|
4467
4686
|
__decorateClass([
|
|
4468
4687
|
BinaryField(
|
|
4469
4688
|
() => YGOProMsgSelectIdleCmd_SimpleCardInfo,
|
|
4470
4689
|
(obj) => 4 + obj.summonableCount * 7 + obj.spSummonableCount * 7,
|
|
4471
4690
|
(obj) => obj.reposableCount
|
|
4472
4691
|
)
|
|
4473
|
-
],
|
|
4692
|
+
], _YGOProMsgSelectIdleCmd.prototype, "reposableCards", 2);
|
|
4474
4693
|
__decorateClass([
|
|
4475
4694
|
BinaryField(
|
|
4476
4695
|
"u8",
|
|
4477
4696
|
(obj) => 4 + obj.summonableCount * 7 + obj.spSummonableCount * 7 + obj.reposableCount * 7
|
|
4478
4697
|
)
|
|
4479
|
-
],
|
|
4698
|
+
], _YGOProMsgSelectIdleCmd.prototype, "msetableCount", 2);
|
|
4480
4699
|
__decorateClass([
|
|
4481
4700
|
BinaryField(
|
|
4482
4701
|
() => YGOProMsgSelectIdleCmd_SimpleCardInfo,
|
|
4483
4702
|
(obj) => 5 + obj.summonableCount * 7 + obj.spSummonableCount * 7 + obj.reposableCount * 7,
|
|
4484
4703
|
(obj) => obj.msetableCount
|
|
4485
4704
|
)
|
|
4486
|
-
],
|
|
4705
|
+
], _YGOProMsgSelectIdleCmd.prototype, "msetableCards", 2);
|
|
4487
4706
|
__decorateClass([
|
|
4488
4707
|
BinaryField(
|
|
4489
4708
|
"u8",
|
|
4490
4709
|
(obj) => 5 + obj.summonableCount * 7 + obj.spSummonableCount * 7 + obj.reposableCount * 7 + obj.msetableCount * 7
|
|
4491
4710
|
)
|
|
4492
|
-
],
|
|
4711
|
+
], _YGOProMsgSelectIdleCmd.prototype, "ssetableCount", 2);
|
|
4493
4712
|
__decorateClass([
|
|
4494
4713
|
BinaryField(
|
|
4495
4714
|
() => YGOProMsgSelectIdleCmd_SimpleCardInfo,
|
|
4496
4715
|
(obj) => 6 + obj.summonableCount * 7 + obj.spSummonableCount * 7 + obj.reposableCount * 7 + obj.msetableCount * 7,
|
|
4497
4716
|
(obj) => obj.ssetableCount
|
|
4498
4717
|
)
|
|
4499
|
-
],
|
|
4718
|
+
], _YGOProMsgSelectIdleCmd.prototype, "ssetableCards", 2);
|
|
4500
4719
|
__decorateClass([
|
|
4501
4720
|
BinaryField(
|
|
4502
4721
|
"u8",
|
|
4503
4722
|
(obj) => 6 + obj.summonableCount * 7 + obj.spSummonableCount * 7 + obj.reposableCount * 7 + obj.msetableCount * 7 + obj.ssetableCount * 7
|
|
4504
4723
|
)
|
|
4505
|
-
],
|
|
4724
|
+
], _YGOProMsgSelectIdleCmd.prototype, "activatableCount", 2);
|
|
4506
4725
|
__decorateClass([
|
|
4507
4726
|
BinaryField(
|
|
4508
4727
|
() => YGOProMsgSelectIdleCmd_ActivatableInfo,
|
|
4509
4728
|
(obj) => 7 + obj.summonableCount * 7 + obj.spSummonableCount * 7 + obj.reposableCount * 7 + obj.msetableCount * 7 + obj.ssetableCount * 7,
|
|
4510
4729
|
(obj) => obj.activatableCount
|
|
4511
4730
|
)
|
|
4512
|
-
],
|
|
4731
|
+
], _YGOProMsgSelectIdleCmd.prototype, "activatableCards", 2);
|
|
4513
4732
|
__decorateClass([
|
|
4514
4733
|
BinaryField(
|
|
4515
4734
|
"u8",
|
|
4516
4735
|
(obj) => 7 + obj.summonableCount * 7 + obj.spSummonableCount * 7 + obj.reposableCount * 7 + obj.msetableCount * 7 + obj.ssetableCount * 7 + obj.activatableCount * 11
|
|
4517
4736
|
)
|
|
4518
|
-
],
|
|
4737
|
+
], _YGOProMsgSelectIdleCmd.prototype, "canBp", 2);
|
|
4519
4738
|
__decorateClass([
|
|
4520
4739
|
BinaryField(
|
|
4521
4740
|
"u8",
|
|
4522
4741
|
(obj) => 8 + obj.summonableCount * 7 + obj.spSummonableCount * 7 + obj.reposableCount * 7 + obj.msetableCount * 7 + obj.ssetableCount * 7 + obj.activatableCount * 11
|
|
4523
4742
|
)
|
|
4524
|
-
],
|
|
4743
|
+
], _YGOProMsgSelectIdleCmd.prototype, "canEp", 2);
|
|
4525
4744
|
__decorateClass([
|
|
4526
4745
|
BinaryField(
|
|
4527
4746
|
"u8",
|
|
4528
4747
|
(obj) => 9 + obj.summonableCount * 7 + obj.spSummonableCount * 7 + obj.reposableCount * 7 + obj.msetableCount * 7 + obj.ssetableCount * 7 + obj.activatableCount * 11
|
|
4529
4748
|
)
|
|
4530
|
-
],
|
|
4749
|
+
], _YGOProMsgSelectIdleCmd.prototype, "canShuffle", 2);
|
|
4750
|
+
var YGOProMsgSelectIdleCmd = _YGOProMsgSelectIdleCmd;
|
|
4531
4751
|
|
|
4532
4752
|
// src/protos/msg/proto/select-option.ts
|
|
4533
|
-
var
|
|
4753
|
+
var _YGOProMsgSelectOption = class _YGOProMsgSelectOption extends YGOProMsgResponseBase {
|
|
4534
4754
|
responsePlayer() {
|
|
4535
4755
|
return this.player;
|
|
4536
4756
|
}
|
|
@@ -4553,24 +4773,28 @@ var YGOProMsgSelectOption = class extends YGOProMsgResponseBase {
|
|
|
4553
4773
|
return buffer;
|
|
4554
4774
|
}
|
|
4555
4775
|
};
|
|
4556
|
-
YGOProMsgSelectOption
|
|
4776
|
+
__name(_YGOProMsgSelectOption, "YGOProMsgSelectOption");
|
|
4777
|
+
_YGOProMsgSelectOption.identifier = OcgcoreCommonConstants.MSG_SELECT_OPTION;
|
|
4557
4778
|
__decorateClass([
|
|
4558
4779
|
BinaryField("u8", 0)
|
|
4559
|
-
],
|
|
4780
|
+
], _YGOProMsgSelectOption.prototype, "player", 2);
|
|
4560
4781
|
__decorateClass([
|
|
4561
4782
|
BinaryField("u8", 1)
|
|
4562
|
-
],
|
|
4783
|
+
], _YGOProMsgSelectOption.prototype, "count", 2);
|
|
4563
4784
|
__decorateClass([
|
|
4564
4785
|
BinaryField("i32", 2, (obj) => obj.count)
|
|
4565
|
-
],
|
|
4786
|
+
], _YGOProMsgSelectOption.prototype, "options", 2);
|
|
4787
|
+
var YGOProMsgSelectOption = _YGOProMsgSelectOption;
|
|
4566
4788
|
|
|
4567
4789
|
// src/protos/msg/proto/select-place.ts
|
|
4568
|
-
var
|
|
4790
|
+
var _YGOProMsgSelectPlace = class _YGOProMsgSelectPlace extends YGOProMsgSelectPlaceCommon {
|
|
4569
4791
|
};
|
|
4570
|
-
YGOProMsgSelectPlace
|
|
4792
|
+
__name(_YGOProMsgSelectPlace, "YGOProMsgSelectPlace");
|
|
4793
|
+
_YGOProMsgSelectPlace.identifier = OcgcoreCommonConstants.MSG_SELECT_PLACE;
|
|
4794
|
+
var YGOProMsgSelectPlace = _YGOProMsgSelectPlace;
|
|
4571
4795
|
|
|
4572
4796
|
// src/protos/msg/proto/select-position.ts
|
|
4573
|
-
var
|
|
4797
|
+
var _YGOProMsgSelectPosition = class _YGOProMsgSelectPosition extends YGOProMsgResponseBase {
|
|
4574
4798
|
responsePlayer() {
|
|
4575
4799
|
return this.player;
|
|
4576
4800
|
}
|
|
@@ -4581,36 +4805,40 @@ var YGOProMsgSelectPosition = class extends YGOProMsgResponseBase {
|
|
|
4581
4805
|
return buffer;
|
|
4582
4806
|
}
|
|
4583
4807
|
};
|
|
4584
|
-
YGOProMsgSelectPosition
|
|
4808
|
+
__name(_YGOProMsgSelectPosition, "YGOProMsgSelectPosition");
|
|
4809
|
+
_YGOProMsgSelectPosition.identifier = OcgcoreCommonConstants.MSG_SELECT_POSITION;
|
|
4585
4810
|
__decorateClass([
|
|
4586
4811
|
BinaryField("u8", 0)
|
|
4587
|
-
],
|
|
4812
|
+
], _YGOProMsgSelectPosition.prototype, "player", 2);
|
|
4588
4813
|
__decorateClass([
|
|
4589
4814
|
BinaryField("i32", 1)
|
|
4590
|
-
],
|
|
4815
|
+
], _YGOProMsgSelectPosition.prototype, "code", 2);
|
|
4591
4816
|
__decorateClass([
|
|
4592
4817
|
BinaryField("u8", 5)
|
|
4593
|
-
],
|
|
4818
|
+
], _YGOProMsgSelectPosition.prototype, "positions", 2);
|
|
4819
|
+
var YGOProMsgSelectPosition = _YGOProMsgSelectPosition;
|
|
4594
4820
|
|
|
4595
4821
|
// src/protos/msg/proto/select-sum.ts
|
|
4596
|
-
var
|
|
4822
|
+
var _YGOProMsgSelectSum_CardInfo = class _YGOProMsgSelectSum_CardInfo {
|
|
4597
4823
|
};
|
|
4824
|
+
__name(_YGOProMsgSelectSum_CardInfo, "YGOProMsgSelectSum_CardInfo");
|
|
4598
4825
|
__decorateClass([
|
|
4599
4826
|
BinaryField("i32", 0)
|
|
4600
|
-
],
|
|
4827
|
+
], _YGOProMsgSelectSum_CardInfo.prototype, "code", 2);
|
|
4601
4828
|
__decorateClass([
|
|
4602
4829
|
BinaryField("u8", 4)
|
|
4603
|
-
],
|
|
4830
|
+
], _YGOProMsgSelectSum_CardInfo.prototype, "controller", 2);
|
|
4604
4831
|
__decorateClass([
|
|
4605
4832
|
BinaryField("u8", 5)
|
|
4606
|
-
],
|
|
4833
|
+
], _YGOProMsgSelectSum_CardInfo.prototype, "location", 2);
|
|
4607
4834
|
__decorateClass([
|
|
4608
4835
|
BinaryField("u8", 6)
|
|
4609
|
-
],
|
|
4836
|
+
], _YGOProMsgSelectSum_CardInfo.prototype, "sequence", 2);
|
|
4610
4837
|
__decorateClass([
|
|
4611
4838
|
BinaryField("i32", 7)
|
|
4612
|
-
],
|
|
4613
|
-
var
|
|
4839
|
+
], _YGOProMsgSelectSum_CardInfo.prototype, "opParam", 2);
|
|
4840
|
+
var YGOProMsgSelectSum_CardInfo = _YGOProMsgSelectSum_CardInfo;
|
|
4841
|
+
var _YGOProMsgSelectSum = class _YGOProMsgSelectSum extends YGOProMsgResponseBase {
|
|
4614
4842
|
responsePlayer() {
|
|
4615
4843
|
return this.player;
|
|
4616
4844
|
}
|
|
@@ -4641,37 +4869,38 @@ var YGOProMsgSelectSum = class extends YGOProMsgResponseBase {
|
|
|
4641
4869
|
return buffer;
|
|
4642
4870
|
}
|
|
4643
4871
|
};
|
|
4644
|
-
YGOProMsgSelectSum
|
|
4872
|
+
__name(_YGOProMsgSelectSum, "YGOProMsgSelectSum");
|
|
4873
|
+
_YGOProMsgSelectSum.identifier = OcgcoreCommonConstants.MSG_SELECT_SUM;
|
|
4645
4874
|
__decorateClass([
|
|
4646
4875
|
BinaryField("u8", 0)
|
|
4647
|
-
],
|
|
4876
|
+
], _YGOProMsgSelectSum.prototype, "mode", 2);
|
|
4648
4877
|
__decorateClass([
|
|
4649
4878
|
BinaryField("u8", 1)
|
|
4650
|
-
],
|
|
4879
|
+
], _YGOProMsgSelectSum.prototype, "player", 2);
|
|
4651
4880
|
__decorateClass([
|
|
4652
4881
|
BinaryField("i32", 2)
|
|
4653
|
-
],
|
|
4882
|
+
], _YGOProMsgSelectSum.prototype, "sumVal", 2);
|
|
4654
4883
|
__decorateClass([
|
|
4655
4884
|
BinaryField("u8", 6)
|
|
4656
|
-
],
|
|
4885
|
+
], _YGOProMsgSelectSum.prototype, "min", 2);
|
|
4657
4886
|
__decorateClass([
|
|
4658
4887
|
BinaryField("u8", 7)
|
|
4659
|
-
],
|
|
4888
|
+
], _YGOProMsgSelectSum.prototype, "max", 2);
|
|
4660
4889
|
__decorateClass([
|
|
4661
4890
|
BinaryField("u8", 8)
|
|
4662
|
-
],
|
|
4891
|
+
], _YGOProMsgSelectSum.prototype, "mustSelectCount", 2);
|
|
4663
4892
|
__decorateClass([
|
|
4664
4893
|
BinaryField(
|
|
4665
4894
|
() => YGOProMsgSelectSum_CardInfo,
|
|
4666
4895
|
9,
|
|
4667
4896
|
(obj) => obj.mustSelectCount
|
|
4668
4897
|
)
|
|
4669
|
-
],
|
|
4898
|
+
], _YGOProMsgSelectSum.prototype, "mustSelectCards", 2);
|
|
4670
4899
|
__decorateClass([
|
|
4671
4900
|
BinaryField("u8", (obj) => {
|
|
4672
4901
|
return 9 + obj.mustSelectCount * 11;
|
|
4673
4902
|
})
|
|
4674
|
-
],
|
|
4903
|
+
], _YGOProMsgSelectSum.prototype, "count", 2);
|
|
4675
4904
|
__decorateClass([
|
|
4676
4905
|
BinaryField(
|
|
4677
4906
|
() => YGOProMsgSelectSum_CardInfo,
|
|
@@ -4680,27 +4909,30 @@ __decorateClass([
|
|
|
4680
4909
|
},
|
|
4681
4910
|
(obj) => obj.count
|
|
4682
4911
|
)
|
|
4683
|
-
],
|
|
4912
|
+
], _YGOProMsgSelectSum.prototype, "cards", 2);
|
|
4913
|
+
var YGOProMsgSelectSum = _YGOProMsgSelectSum;
|
|
4684
4914
|
|
|
4685
4915
|
// src/protos/msg/proto/select-tribute.ts
|
|
4686
|
-
var
|
|
4916
|
+
var _YGOProMsgSelectTribute_CardInfo = class _YGOProMsgSelectTribute_CardInfo {
|
|
4687
4917
|
};
|
|
4918
|
+
__name(_YGOProMsgSelectTribute_CardInfo, "YGOProMsgSelectTribute_CardInfo");
|
|
4688
4919
|
__decorateClass([
|
|
4689
4920
|
BinaryField("i32", 0)
|
|
4690
|
-
],
|
|
4921
|
+
], _YGOProMsgSelectTribute_CardInfo.prototype, "code", 2);
|
|
4691
4922
|
__decorateClass([
|
|
4692
4923
|
BinaryField("u8", 4)
|
|
4693
|
-
],
|
|
4924
|
+
], _YGOProMsgSelectTribute_CardInfo.prototype, "controller", 2);
|
|
4694
4925
|
__decorateClass([
|
|
4695
4926
|
BinaryField("u8", 5)
|
|
4696
|
-
],
|
|
4927
|
+
], _YGOProMsgSelectTribute_CardInfo.prototype, "location", 2);
|
|
4697
4928
|
__decorateClass([
|
|
4698
4929
|
BinaryField("u8", 6)
|
|
4699
|
-
],
|
|
4930
|
+
], _YGOProMsgSelectTribute_CardInfo.prototype, "sequence", 2);
|
|
4700
4931
|
__decorateClass([
|
|
4701
4932
|
BinaryField("u8", 7)
|
|
4702
|
-
],
|
|
4703
|
-
var
|
|
4933
|
+
], _YGOProMsgSelectTribute_CardInfo.prototype, "releaseParam", 2);
|
|
4934
|
+
var YGOProMsgSelectTribute_CardInfo = _YGOProMsgSelectTribute_CardInfo;
|
|
4935
|
+
var _YGOProMsgSelectTribute = class _YGOProMsgSelectTribute extends YGOProMsgResponseBase {
|
|
4704
4936
|
responsePlayer() {
|
|
4705
4937
|
return this.player;
|
|
4706
4938
|
}
|
|
@@ -4745,45 +4977,49 @@ var YGOProMsgSelectTribute = class extends YGOProMsgResponseBase {
|
|
|
4745
4977
|
return buffer;
|
|
4746
4978
|
}
|
|
4747
4979
|
};
|
|
4748
|
-
YGOProMsgSelectTribute
|
|
4980
|
+
__name(_YGOProMsgSelectTribute, "YGOProMsgSelectTribute");
|
|
4981
|
+
_YGOProMsgSelectTribute.identifier = OcgcoreCommonConstants.MSG_SELECT_TRIBUTE;
|
|
4749
4982
|
__decorateClass([
|
|
4750
4983
|
BinaryField("u8", 0)
|
|
4751
|
-
],
|
|
4984
|
+
], _YGOProMsgSelectTribute.prototype, "player", 2);
|
|
4752
4985
|
__decorateClass([
|
|
4753
4986
|
BinaryField("u8", 1)
|
|
4754
|
-
],
|
|
4987
|
+
], _YGOProMsgSelectTribute.prototype, "cancelable", 2);
|
|
4755
4988
|
__decorateClass([
|
|
4756
4989
|
BinaryField("u8", 2)
|
|
4757
|
-
],
|
|
4990
|
+
], _YGOProMsgSelectTribute.prototype, "min", 2);
|
|
4758
4991
|
__decorateClass([
|
|
4759
4992
|
BinaryField("u8", 3)
|
|
4760
|
-
],
|
|
4993
|
+
], _YGOProMsgSelectTribute.prototype, "max", 2);
|
|
4761
4994
|
__decorateClass([
|
|
4762
4995
|
BinaryField("u8", 4)
|
|
4763
|
-
],
|
|
4996
|
+
], _YGOProMsgSelectTribute.prototype, "count", 2);
|
|
4764
4997
|
__decorateClass([
|
|
4765
4998
|
BinaryField(() => YGOProMsgSelectTribute_CardInfo, 5, (obj) => obj.count)
|
|
4766
|
-
],
|
|
4999
|
+
], _YGOProMsgSelectTribute.prototype, "cards", 2);
|
|
5000
|
+
var YGOProMsgSelectTribute = _YGOProMsgSelectTribute;
|
|
4767
5001
|
|
|
4768
5002
|
// src/protos/msg/proto/select-unselect-card.ts
|
|
4769
|
-
var
|
|
5003
|
+
var _YGOProMsgSelectUnselectCard_CardInfo = class _YGOProMsgSelectUnselectCard_CardInfo {
|
|
4770
5004
|
};
|
|
5005
|
+
__name(_YGOProMsgSelectUnselectCard_CardInfo, "YGOProMsgSelectUnselectCard_CardInfo");
|
|
4771
5006
|
__decorateClass([
|
|
4772
5007
|
BinaryField("i32", 0)
|
|
4773
|
-
],
|
|
5008
|
+
], _YGOProMsgSelectUnselectCard_CardInfo.prototype, "code", 2);
|
|
4774
5009
|
__decorateClass([
|
|
4775
5010
|
BinaryField("u8", 4)
|
|
4776
|
-
],
|
|
5011
|
+
], _YGOProMsgSelectUnselectCard_CardInfo.prototype, "controller", 2);
|
|
4777
5012
|
__decorateClass([
|
|
4778
5013
|
BinaryField("u8", 5)
|
|
4779
|
-
],
|
|
5014
|
+
], _YGOProMsgSelectUnselectCard_CardInfo.prototype, "location", 2);
|
|
4780
5015
|
__decorateClass([
|
|
4781
5016
|
BinaryField("u8", 6)
|
|
4782
|
-
],
|
|
5017
|
+
], _YGOProMsgSelectUnselectCard_CardInfo.prototype, "sequence", 2);
|
|
4783
5018
|
__decorateClass([
|
|
4784
5019
|
BinaryField("u8", 7)
|
|
4785
|
-
],
|
|
4786
|
-
var
|
|
5020
|
+
], _YGOProMsgSelectUnselectCard_CardInfo.prototype, "subsequence", 2);
|
|
5021
|
+
var YGOProMsgSelectUnselectCard_CardInfo = _YGOProMsgSelectUnselectCard_CardInfo;
|
|
5022
|
+
var _YGOProMsgSelectUnselectCard = class _YGOProMsgSelectUnselectCard extends YGOProMsgResponseBase {
|
|
4787
5023
|
responsePlayer() {
|
|
4788
5024
|
return this.player;
|
|
4789
5025
|
}
|
|
@@ -4827,37 +5063,38 @@ var YGOProMsgSelectUnselectCard = class extends YGOProMsgResponseBase {
|
|
|
4827
5063
|
return buffer;
|
|
4828
5064
|
}
|
|
4829
5065
|
};
|
|
4830
|
-
YGOProMsgSelectUnselectCard
|
|
5066
|
+
__name(_YGOProMsgSelectUnselectCard, "YGOProMsgSelectUnselectCard");
|
|
5067
|
+
_YGOProMsgSelectUnselectCard.identifier = OcgcoreCommonConstants.MSG_SELECT_UNSELECT_CARD;
|
|
4831
5068
|
__decorateClass([
|
|
4832
5069
|
BinaryField("u8", 0)
|
|
4833
|
-
],
|
|
5070
|
+
], _YGOProMsgSelectUnselectCard.prototype, "player", 2);
|
|
4834
5071
|
__decorateClass([
|
|
4835
5072
|
BinaryField("u8", 1)
|
|
4836
|
-
],
|
|
5073
|
+
], _YGOProMsgSelectUnselectCard.prototype, "finishable", 2);
|
|
4837
5074
|
__decorateClass([
|
|
4838
5075
|
BinaryField("u8", 2)
|
|
4839
|
-
],
|
|
5076
|
+
], _YGOProMsgSelectUnselectCard.prototype, "cancelable", 2);
|
|
4840
5077
|
__decorateClass([
|
|
4841
5078
|
BinaryField("u8", 3)
|
|
4842
|
-
],
|
|
5079
|
+
], _YGOProMsgSelectUnselectCard.prototype, "min", 2);
|
|
4843
5080
|
__decorateClass([
|
|
4844
5081
|
BinaryField("u8", 4)
|
|
4845
|
-
],
|
|
5082
|
+
], _YGOProMsgSelectUnselectCard.prototype, "max", 2);
|
|
4846
5083
|
__decorateClass([
|
|
4847
5084
|
BinaryField("u8", 5)
|
|
4848
|
-
],
|
|
5085
|
+
], _YGOProMsgSelectUnselectCard.prototype, "selectableCount", 2);
|
|
4849
5086
|
__decorateClass([
|
|
4850
5087
|
BinaryField(
|
|
4851
5088
|
() => YGOProMsgSelectUnselectCard_CardInfo,
|
|
4852
5089
|
6,
|
|
4853
5090
|
(obj) => obj.selectableCount
|
|
4854
5091
|
)
|
|
4855
|
-
],
|
|
5092
|
+
], _YGOProMsgSelectUnselectCard.prototype, "selectableCards", 2);
|
|
4856
5093
|
__decorateClass([
|
|
4857
5094
|
BinaryField("u8", (obj) => {
|
|
4858
5095
|
return 6 + obj.selectableCount * 8;
|
|
4859
5096
|
})
|
|
4860
|
-
],
|
|
5097
|
+
], _YGOProMsgSelectUnselectCard.prototype, "unselectableCount", 2);
|
|
4861
5098
|
__decorateClass([
|
|
4862
5099
|
BinaryField(
|
|
4863
5100
|
() => YGOProMsgSelectUnselectCard_CardInfo,
|
|
@@ -4866,10 +5103,11 @@ __decorateClass([
|
|
|
4866
5103
|
},
|
|
4867
5104
|
(obj) => obj.unselectableCount
|
|
4868
5105
|
)
|
|
4869
|
-
],
|
|
5106
|
+
], _YGOProMsgSelectUnselectCard.prototype, "unselectableCards", 2);
|
|
5107
|
+
var YGOProMsgSelectUnselectCard = _YGOProMsgSelectUnselectCard;
|
|
4870
5108
|
|
|
4871
5109
|
// src/protos/msg/proto/select-yesno.ts
|
|
4872
|
-
var
|
|
5110
|
+
var _YGOProMsgSelectYesNo = class _YGOProMsgSelectYesNo extends YGOProMsgResponseBase {
|
|
4873
5111
|
responsePlayer() {
|
|
4874
5112
|
return this.player;
|
|
4875
5113
|
}
|
|
@@ -4883,16 +5121,18 @@ var YGOProMsgSelectYesNo = class extends YGOProMsgResponseBase {
|
|
|
4883
5121
|
return buffer;
|
|
4884
5122
|
}
|
|
4885
5123
|
};
|
|
4886
|
-
YGOProMsgSelectYesNo
|
|
5124
|
+
__name(_YGOProMsgSelectYesNo, "YGOProMsgSelectYesNo");
|
|
5125
|
+
_YGOProMsgSelectYesNo.identifier = OcgcoreCommonConstants.MSG_SELECT_YESNO;
|
|
4887
5126
|
__decorateClass([
|
|
4888
5127
|
BinaryField("u8", 0)
|
|
4889
|
-
],
|
|
5128
|
+
], _YGOProMsgSelectYesNo.prototype, "player", 2);
|
|
4890
5129
|
__decorateClass([
|
|
4891
5130
|
BinaryField("i32", 1)
|
|
4892
|
-
],
|
|
5131
|
+
], _YGOProMsgSelectYesNo.prototype, "desc", 2);
|
|
5132
|
+
var YGOProMsgSelectYesNo = _YGOProMsgSelectYesNo;
|
|
4893
5133
|
|
|
4894
5134
|
// src/protos/msg/proto/set.ts
|
|
4895
|
-
var
|
|
5135
|
+
var _YGOProMsgSet = class _YGOProMsgSet extends YGOProMsgBase {
|
|
4896
5136
|
// MSG_SET 是盖放卡片,所有人都看不到 code(包括玩家自己)
|
|
4897
5137
|
// 服务器在发送前会将 code 清零
|
|
4898
5138
|
opponentView() {
|
|
@@ -4917,21 +5157,25 @@ var YGOProMsgSet = class extends YGOProMsgBase {
|
|
|
4917
5157
|
return view;
|
|
4918
5158
|
}
|
|
4919
5159
|
};
|
|
4920
|
-
YGOProMsgSet
|
|
5160
|
+
__name(_YGOProMsgSet, "YGOProMsgSet");
|
|
5161
|
+
_YGOProMsgSet.identifier = OcgcoreCommonConstants.MSG_SET;
|
|
4921
5162
|
__decorateClass([
|
|
4922
5163
|
BinaryField("i32", 0)
|
|
4923
|
-
],
|
|
5164
|
+
], _YGOProMsgSet.prototype, "code", 2);
|
|
5165
|
+
var YGOProMsgSet = _YGOProMsgSet;
|
|
4924
5166
|
|
|
4925
5167
|
// src/protos/msg/proto/shuffle-deck.ts
|
|
4926
|
-
var
|
|
5168
|
+
var _YGOProMsgShuffleDeck = class _YGOProMsgShuffleDeck extends YGOProMsgBase {
|
|
4927
5169
|
};
|
|
4928
|
-
YGOProMsgShuffleDeck
|
|
5170
|
+
__name(_YGOProMsgShuffleDeck, "YGOProMsgShuffleDeck");
|
|
5171
|
+
_YGOProMsgShuffleDeck.identifier = OcgcoreCommonConstants.MSG_SHUFFLE_DECK;
|
|
4929
5172
|
__decorateClass([
|
|
4930
5173
|
BinaryField("u8", 0)
|
|
4931
|
-
],
|
|
5174
|
+
], _YGOProMsgShuffleDeck.prototype, "player", 2);
|
|
5175
|
+
var YGOProMsgShuffleDeck = _YGOProMsgShuffleDeck;
|
|
4932
5176
|
|
|
4933
5177
|
// src/protos/msg/proto/shuffle-extra.ts
|
|
4934
|
-
var
|
|
5178
|
+
var _YGOProMsgShuffleExtra = class _YGOProMsgShuffleExtra extends YGOProMsgBase {
|
|
4935
5179
|
// 对方视角需要隐藏额外卡组信息
|
|
4936
5180
|
opponentView() {
|
|
4937
5181
|
const view = this.copy();
|
|
@@ -4944,19 +5188,21 @@ var YGOProMsgShuffleExtra = class extends YGOProMsgBase {
|
|
|
4944
5188
|
return view;
|
|
4945
5189
|
}
|
|
4946
5190
|
};
|
|
4947
|
-
YGOProMsgShuffleExtra
|
|
5191
|
+
__name(_YGOProMsgShuffleExtra, "YGOProMsgShuffleExtra");
|
|
5192
|
+
_YGOProMsgShuffleExtra.identifier = OcgcoreCommonConstants.MSG_SHUFFLE_EXTRA;
|
|
4948
5193
|
__decorateClass([
|
|
4949
5194
|
BinaryField("u8", 0)
|
|
4950
|
-
],
|
|
5195
|
+
], _YGOProMsgShuffleExtra.prototype, "player", 2);
|
|
4951
5196
|
__decorateClass([
|
|
4952
5197
|
BinaryField("u8", 1)
|
|
4953
|
-
],
|
|
5198
|
+
], _YGOProMsgShuffleExtra.prototype, "count", 2);
|
|
4954
5199
|
__decorateClass([
|
|
4955
5200
|
BinaryField("i32", 2, (obj) => obj.count)
|
|
4956
|
-
],
|
|
5201
|
+
], _YGOProMsgShuffleExtra.prototype, "cards", 2);
|
|
5202
|
+
var YGOProMsgShuffleExtra = _YGOProMsgShuffleExtra;
|
|
4957
5203
|
|
|
4958
5204
|
// src/protos/msg/proto/shuffle-hand.ts
|
|
4959
|
-
var
|
|
5205
|
+
var _YGOProMsgShuffleHand = class _YGOProMsgShuffleHand extends YGOProMsgBase {
|
|
4960
5206
|
// 对方视角需要隐藏手牌信息
|
|
4961
5207
|
opponentView() {
|
|
4962
5208
|
const view = this.copy();
|
|
@@ -4964,69 +5210,79 @@ var YGOProMsgShuffleHand = class extends YGOProMsgBase {
|
|
|
4964
5210
|
return view;
|
|
4965
5211
|
}
|
|
4966
5212
|
};
|
|
4967
|
-
YGOProMsgShuffleHand
|
|
5213
|
+
__name(_YGOProMsgShuffleHand, "YGOProMsgShuffleHand");
|
|
5214
|
+
_YGOProMsgShuffleHand.identifier = OcgcoreCommonConstants.MSG_SHUFFLE_HAND;
|
|
4968
5215
|
__decorateClass([
|
|
4969
5216
|
BinaryField("u8", 0)
|
|
4970
|
-
],
|
|
5217
|
+
], _YGOProMsgShuffleHand.prototype, "player", 2);
|
|
4971
5218
|
__decorateClass([
|
|
4972
5219
|
BinaryField("u8", 1)
|
|
4973
|
-
],
|
|
5220
|
+
], _YGOProMsgShuffleHand.prototype, "count", 2);
|
|
4974
5221
|
__decorateClass([
|
|
4975
5222
|
BinaryField("i32", 2, (obj) => obj.count)
|
|
4976
|
-
],
|
|
5223
|
+
], _YGOProMsgShuffleHand.prototype, "cards", 2);
|
|
5224
|
+
var YGOProMsgShuffleHand = _YGOProMsgShuffleHand;
|
|
4977
5225
|
|
|
4978
5226
|
// src/protos/msg/proto/shuffle-set-card.ts
|
|
4979
|
-
var
|
|
5227
|
+
var _YGOProMsgShuffleSetCard_CardLocation = class _YGOProMsgShuffleSetCard_CardLocation {
|
|
4980
5228
|
};
|
|
5229
|
+
__name(_YGOProMsgShuffleSetCard_CardLocation, "YGOProMsgShuffleSetCard_CardLocation");
|
|
4981
5230
|
__decorateClass([
|
|
4982
5231
|
BinaryField("u8", 0)
|
|
4983
|
-
],
|
|
5232
|
+
], _YGOProMsgShuffleSetCard_CardLocation.prototype, "controller", 2);
|
|
4984
5233
|
__decorateClass([
|
|
4985
5234
|
BinaryField("u8", 1)
|
|
4986
|
-
],
|
|
5235
|
+
], _YGOProMsgShuffleSetCard_CardLocation.prototype, "location", 2);
|
|
4987
5236
|
__decorateClass([
|
|
4988
5237
|
BinaryField("u8", 2)
|
|
4989
|
-
],
|
|
5238
|
+
], _YGOProMsgShuffleSetCard_CardLocation.prototype, "sequence", 2);
|
|
4990
5239
|
__decorateClass([
|
|
4991
5240
|
BinaryField("u8", 3)
|
|
4992
|
-
],
|
|
4993
|
-
var
|
|
5241
|
+
], _YGOProMsgShuffleSetCard_CardLocation.prototype, "position", 2);
|
|
5242
|
+
var YGOProMsgShuffleSetCard_CardLocation = _YGOProMsgShuffleSetCard_CardLocation;
|
|
5243
|
+
var _YGOProMsgShuffleSetCard_SetCardInfo = class _YGOProMsgShuffleSetCard_SetCardInfo {
|
|
4994
5244
|
};
|
|
5245
|
+
__name(_YGOProMsgShuffleSetCard_SetCardInfo, "YGOProMsgShuffleSetCard_SetCardInfo");
|
|
4995
5246
|
__decorateClass([
|
|
4996
5247
|
BinaryField(() => YGOProMsgShuffleSetCard_CardLocation, 0)
|
|
4997
|
-
],
|
|
5248
|
+
], _YGOProMsgShuffleSetCard_SetCardInfo.prototype, "oldLocation", 2);
|
|
4998
5249
|
__decorateClass([
|
|
4999
5250
|
BinaryField(() => YGOProMsgShuffleSetCard_CardLocation, 4)
|
|
5000
|
-
],
|
|
5001
|
-
var
|
|
5251
|
+
], _YGOProMsgShuffleSetCard_SetCardInfo.prototype, "newLocation", 2);
|
|
5252
|
+
var YGOProMsgShuffleSetCard_SetCardInfo = _YGOProMsgShuffleSetCard_SetCardInfo;
|
|
5253
|
+
var _YGOProMsgShuffleSetCard = class _YGOProMsgShuffleSetCard extends YGOProMsgBase {
|
|
5002
5254
|
};
|
|
5003
|
-
YGOProMsgShuffleSetCard
|
|
5255
|
+
__name(_YGOProMsgShuffleSetCard, "YGOProMsgShuffleSetCard");
|
|
5256
|
+
_YGOProMsgShuffleSetCard.identifier = OcgcoreCommonConstants.MSG_SHUFFLE_SET_CARD;
|
|
5004
5257
|
__decorateClass([
|
|
5005
5258
|
BinaryField("u8", 0)
|
|
5006
|
-
],
|
|
5259
|
+
], _YGOProMsgShuffleSetCard.prototype, "location", 2);
|
|
5007
5260
|
__decorateClass([
|
|
5008
5261
|
BinaryField("u8", 1)
|
|
5009
|
-
],
|
|
5262
|
+
], _YGOProMsgShuffleSetCard.prototype, "count", 2);
|
|
5010
5263
|
__decorateClass([
|
|
5011
5264
|
BinaryField(() => YGOProMsgShuffleSetCard_SetCardInfo, 2, (obj) => obj.count)
|
|
5012
|
-
],
|
|
5265
|
+
], _YGOProMsgShuffleSetCard.prototype, "cards", 2);
|
|
5266
|
+
var YGOProMsgShuffleSetCard = _YGOProMsgShuffleSetCard;
|
|
5013
5267
|
|
|
5014
5268
|
// src/protos/msg/proto/sort-card.ts
|
|
5015
|
-
var
|
|
5269
|
+
var _YGOProMsgSortCard_CardInfo = class _YGOProMsgSortCard_CardInfo {
|
|
5016
5270
|
};
|
|
5271
|
+
__name(_YGOProMsgSortCard_CardInfo, "YGOProMsgSortCard_CardInfo");
|
|
5017
5272
|
__decorateClass([
|
|
5018
5273
|
BinaryField("i32", 0)
|
|
5019
|
-
],
|
|
5274
|
+
], _YGOProMsgSortCard_CardInfo.prototype, "code", 2);
|
|
5020
5275
|
__decorateClass([
|
|
5021
5276
|
BinaryField("u8", 4)
|
|
5022
|
-
],
|
|
5277
|
+
], _YGOProMsgSortCard_CardInfo.prototype, "controller", 2);
|
|
5023
5278
|
__decorateClass([
|
|
5024
5279
|
BinaryField("u8", 5)
|
|
5025
|
-
],
|
|
5280
|
+
], _YGOProMsgSortCard_CardInfo.prototype, "location", 2);
|
|
5026
5281
|
__decorateClass([
|
|
5027
5282
|
BinaryField("u8", 6)
|
|
5028
|
-
],
|
|
5029
|
-
var
|
|
5283
|
+
], _YGOProMsgSortCard_CardInfo.prototype, "sequence", 2);
|
|
5284
|
+
var YGOProMsgSortCard_CardInfo = _YGOProMsgSortCard_CardInfo;
|
|
5285
|
+
var _YGOProMsgSortCard = class _YGOProMsgSortCard extends YGOProMsgResponseBase {
|
|
5030
5286
|
responsePlayer() {
|
|
5031
5287
|
return this.player;
|
|
5032
5288
|
}
|
|
@@ -5064,24 +5320,28 @@ var YGOProMsgSortCard = class extends YGOProMsgResponseBase {
|
|
|
5064
5320
|
return buffer;
|
|
5065
5321
|
}
|
|
5066
5322
|
};
|
|
5067
|
-
YGOProMsgSortCard
|
|
5323
|
+
__name(_YGOProMsgSortCard, "YGOProMsgSortCard");
|
|
5324
|
+
_YGOProMsgSortCard.identifier = OcgcoreCommonConstants.MSG_SORT_CARD;
|
|
5068
5325
|
__decorateClass([
|
|
5069
5326
|
BinaryField("u8", 0)
|
|
5070
|
-
],
|
|
5327
|
+
], _YGOProMsgSortCard.prototype, "player", 2);
|
|
5071
5328
|
__decorateClass([
|
|
5072
5329
|
BinaryField("u8", 1)
|
|
5073
|
-
],
|
|
5330
|
+
], _YGOProMsgSortCard.prototype, "count", 2);
|
|
5074
5331
|
__decorateClass([
|
|
5075
5332
|
BinaryField(() => YGOProMsgSortCard_CardInfo, 2, (obj) => obj.count)
|
|
5076
|
-
],
|
|
5333
|
+
], _YGOProMsgSortCard.prototype, "cards", 2);
|
|
5334
|
+
var YGOProMsgSortCard = _YGOProMsgSortCard;
|
|
5077
5335
|
|
|
5078
5336
|
// src/protos/msg/proto/spsummoned.ts
|
|
5079
|
-
var
|
|
5337
|
+
var _YGOProMsgSpSummoned = class _YGOProMsgSpSummoned extends YGOProMsgBase {
|
|
5080
5338
|
};
|
|
5081
|
-
YGOProMsgSpSummoned
|
|
5339
|
+
__name(_YGOProMsgSpSummoned, "YGOProMsgSpSummoned");
|
|
5340
|
+
_YGOProMsgSpSummoned.identifier = OcgcoreCommonConstants.MSG_SPSUMMONED;
|
|
5341
|
+
var YGOProMsgSpSummoned = _YGOProMsgSpSummoned;
|
|
5082
5342
|
|
|
5083
5343
|
// src/protos/msg/proto/spsummoning.ts
|
|
5084
|
-
var
|
|
5344
|
+
var _YGOProMsgSpSummoning = class _YGOProMsgSpSummoning extends YGOProMsgBase {
|
|
5085
5345
|
opponentView() {
|
|
5086
5346
|
const view = this.copy();
|
|
5087
5347
|
if (view.position & OcgcoreCommonConstants.POS_FACEDOWN) {
|
|
@@ -5102,33 +5362,37 @@ var YGOProMsgSpSummoning = class extends YGOProMsgBase {
|
|
|
5102
5362
|
return this.opponentView();
|
|
5103
5363
|
}
|
|
5104
5364
|
};
|
|
5105
|
-
YGOProMsgSpSummoning
|
|
5365
|
+
__name(_YGOProMsgSpSummoning, "YGOProMsgSpSummoning");
|
|
5366
|
+
_YGOProMsgSpSummoning.identifier = OcgcoreCommonConstants.MSG_SPSUMMONING;
|
|
5106
5367
|
__decorateClass([
|
|
5107
5368
|
BinaryField("i32", 0)
|
|
5108
|
-
],
|
|
5369
|
+
], _YGOProMsgSpSummoning.prototype, "code", 2);
|
|
5109
5370
|
__decorateClass([
|
|
5110
5371
|
BinaryField("u8", 4)
|
|
5111
|
-
],
|
|
5372
|
+
], _YGOProMsgSpSummoning.prototype, "controller", 2);
|
|
5112
5373
|
__decorateClass([
|
|
5113
5374
|
BinaryField("u8", 5)
|
|
5114
|
-
],
|
|
5375
|
+
], _YGOProMsgSpSummoning.prototype, "location", 2);
|
|
5115
5376
|
__decorateClass([
|
|
5116
5377
|
BinaryField("u8", 6)
|
|
5117
|
-
],
|
|
5378
|
+
], _YGOProMsgSpSummoning.prototype, "sequence", 2);
|
|
5118
5379
|
__decorateClass([
|
|
5119
5380
|
BinaryField("u8", 7)
|
|
5120
|
-
],
|
|
5381
|
+
], _YGOProMsgSpSummoning.prototype, "position", 2);
|
|
5382
|
+
var YGOProMsgSpSummoning = _YGOProMsgSpSummoning;
|
|
5121
5383
|
|
|
5122
5384
|
// src/protos/msg/proto/start.ts
|
|
5123
|
-
var
|
|
5385
|
+
var _YGOProMsgStart_PlayerInfo = class _YGOProMsgStart_PlayerInfo {
|
|
5124
5386
|
};
|
|
5387
|
+
__name(_YGOProMsgStart_PlayerInfo, "YGOProMsgStart_PlayerInfo");
|
|
5125
5388
|
__decorateClass([
|
|
5126
5389
|
BinaryField("u16", 0)
|
|
5127
|
-
],
|
|
5390
|
+
], _YGOProMsgStart_PlayerInfo.prototype, "deckCount", 2);
|
|
5128
5391
|
__decorateClass([
|
|
5129
5392
|
BinaryField("u16", 2)
|
|
5130
|
-
],
|
|
5131
|
-
var
|
|
5393
|
+
], _YGOProMsgStart_PlayerInfo.prototype, "extraCount", 2);
|
|
5394
|
+
var YGOProMsgStart_PlayerInfo = _YGOProMsgStart_PlayerInfo;
|
|
5395
|
+
var _YGOProMsgStart = class _YGOProMsgStart extends YGOProMsgBase {
|
|
5132
5396
|
/**
|
|
5133
5397
|
* Get/Set player number (low 4 bits, 0-3)
|
|
5134
5398
|
*/
|
|
@@ -5148,86 +5412,98 @@ var YGOProMsgStart = class extends YGOProMsgBase {
|
|
|
5148
5412
|
this.playerType = this.playerType & 15 | value & 240;
|
|
5149
5413
|
}
|
|
5150
5414
|
};
|
|
5151
|
-
YGOProMsgStart
|
|
5415
|
+
__name(_YGOProMsgStart, "YGOProMsgStart");
|
|
5416
|
+
_YGOProMsgStart.identifier = 4;
|
|
5152
5417
|
__decorateClass([
|
|
5153
5418
|
BinaryField("u8", 0)
|
|
5154
|
-
],
|
|
5419
|
+
], _YGOProMsgStart.prototype, "playerType", 2);
|
|
5155
5420
|
__decorateClass([
|
|
5156
5421
|
BinaryField("u8", 1)
|
|
5157
|
-
],
|
|
5422
|
+
], _YGOProMsgStart.prototype, "duelRule", 2);
|
|
5158
5423
|
__decorateClass([
|
|
5159
5424
|
BinaryField("i32", 2)
|
|
5160
|
-
],
|
|
5425
|
+
], _YGOProMsgStart.prototype, "startLp0", 2);
|
|
5161
5426
|
__decorateClass([
|
|
5162
5427
|
BinaryField("i32", 6)
|
|
5163
|
-
],
|
|
5428
|
+
], _YGOProMsgStart.prototype, "startLp1", 2);
|
|
5164
5429
|
__decorateClass([
|
|
5165
5430
|
BinaryField(() => YGOProMsgStart_PlayerInfo, 10)
|
|
5166
|
-
],
|
|
5431
|
+
], _YGOProMsgStart.prototype, "player0", 2);
|
|
5167
5432
|
__decorateClass([
|
|
5168
5433
|
BinaryField(() => YGOProMsgStart_PlayerInfo, 14)
|
|
5169
|
-
],
|
|
5434
|
+
], _YGOProMsgStart.prototype, "player1", 2);
|
|
5435
|
+
var YGOProMsgStart = _YGOProMsgStart;
|
|
5170
5436
|
|
|
5171
5437
|
// src/protos/msg/proto/summoned.ts
|
|
5172
|
-
var
|
|
5438
|
+
var _YGOProMsgSummoned = class _YGOProMsgSummoned extends YGOProMsgBase {
|
|
5173
5439
|
};
|
|
5174
|
-
YGOProMsgSummoned
|
|
5440
|
+
__name(_YGOProMsgSummoned, "YGOProMsgSummoned");
|
|
5441
|
+
_YGOProMsgSummoned.identifier = OcgcoreCommonConstants.MSG_SUMMONED;
|
|
5442
|
+
var YGOProMsgSummoned = _YGOProMsgSummoned;
|
|
5175
5443
|
|
|
5176
5444
|
// src/protos/msg/proto/summoning.ts
|
|
5177
|
-
var
|
|
5445
|
+
var _YGOProMsgSummoning = class _YGOProMsgSummoning extends YGOProMsgBase {
|
|
5178
5446
|
};
|
|
5179
|
-
YGOProMsgSummoning
|
|
5447
|
+
__name(_YGOProMsgSummoning, "YGOProMsgSummoning");
|
|
5448
|
+
_YGOProMsgSummoning.identifier = OcgcoreCommonConstants.MSG_SUMMONING;
|
|
5180
5449
|
__decorateClass([
|
|
5181
5450
|
BinaryField("i32", 0)
|
|
5182
|
-
],
|
|
5451
|
+
], _YGOProMsgSummoning.prototype, "code", 2);
|
|
5183
5452
|
__decorateClass([
|
|
5184
5453
|
BinaryField("u8", 4)
|
|
5185
|
-
],
|
|
5454
|
+
], _YGOProMsgSummoning.prototype, "controller", 2);
|
|
5186
5455
|
__decorateClass([
|
|
5187
5456
|
BinaryField("u8", 5)
|
|
5188
|
-
],
|
|
5457
|
+
], _YGOProMsgSummoning.prototype, "location", 2);
|
|
5189
5458
|
__decorateClass([
|
|
5190
5459
|
BinaryField("u8", 6)
|
|
5191
|
-
],
|
|
5460
|
+
], _YGOProMsgSummoning.prototype, "sequence", 2);
|
|
5192
5461
|
__decorateClass([
|
|
5193
5462
|
BinaryField("u8", 7)
|
|
5194
|
-
],
|
|
5463
|
+
], _YGOProMsgSummoning.prototype, "position", 2);
|
|
5464
|
+
var YGOProMsgSummoning = _YGOProMsgSummoning;
|
|
5195
5465
|
|
|
5196
5466
|
// src/protos/msg/proto/swap.ts
|
|
5197
|
-
var
|
|
5467
|
+
var _YGOProMsgSwap_CardLocation = class _YGOProMsgSwap_CardLocation {
|
|
5198
5468
|
};
|
|
5469
|
+
__name(_YGOProMsgSwap_CardLocation, "YGOProMsgSwap_CardLocation");
|
|
5199
5470
|
__decorateClass([
|
|
5200
5471
|
BinaryField("u8", 0)
|
|
5201
|
-
],
|
|
5472
|
+
], _YGOProMsgSwap_CardLocation.prototype, "controller", 2);
|
|
5202
5473
|
__decorateClass([
|
|
5203
5474
|
BinaryField("u8", 1)
|
|
5204
|
-
],
|
|
5475
|
+
], _YGOProMsgSwap_CardLocation.prototype, "location", 2);
|
|
5205
5476
|
__decorateClass([
|
|
5206
5477
|
BinaryField("u8", 2)
|
|
5207
|
-
],
|
|
5478
|
+
], _YGOProMsgSwap_CardLocation.prototype, "sequence", 2);
|
|
5208
5479
|
__decorateClass([
|
|
5209
5480
|
BinaryField("u8", 3)
|
|
5210
|
-
],
|
|
5211
|
-
var
|
|
5481
|
+
], _YGOProMsgSwap_CardLocation.prototype, "position", 2);
|
|
5482
|
+
var YGOProMsgSwap_CardLocation = _YGOProMsgSwap_CardLocation;
|
|
5483
|
+
var _YGOProMsgSwap = class _YGOProMsgSwap extends YGOProMsgBase {
|
|
5212
5484
|
};
|
|
5213
|
-
YGOProMsgSwap
|
|
5485
|
+
__name(_YGOProMsgSwap, "YGOProMsgSwap");
|
|
5486
|
+
_YGOProMsgSwap.identifier = OcgcoreCommonConstants.MSG_SWAP;
|
|
5214
5487
|
__decorateClass([
|
|
5215
5488
|
BinaryField(() => YGOProMsgSwap_CardLocation, 0)
|
|
5216
|
-
],
|
|
5489
|
+
], _YGOProMsgSwap.prototype, "card1", 2);
|
|
5217
5490
|
__decorateClass([
|
|
5218
5491
|
BinaryField(() => YGOProMsgSwap_CardLocation, 4)
|
|
5219
|
-
],
|
|
5492
|
+
], _YGOProMsgSwap.prototype, "card2", 2);
|
|
5493
|
+
var YGOProMsgSwap = _YGOProMsgSwap;
|
|
5220
5494
|
|
|
5221
5495
|
// src/protos/msg/proto/swap-grave-deck.ts
|
|
5222
|
-
var
|
|
5496
|
+
var _YGOProMsgSwapGraveDeck = class _YGOProMsgSwapGraveDeck extends YGOProMsgBase {
|
|
5223
5497
|
};
|
|
5224
|
-
YGOProMsgSwapGraveDeck
|
|
5498
|
+
__name(_YGOProMsgSwapGraveDeck, "YGOProMsgSwapGraveDeck");
|
|
5499
|
+
_YGOProMsgSwapGraveDeck.identifier = OcgcoreCommonConstants.MSG_SWAP_GRAVE_DECK;
|
|
5225
5500
|
__decorateClass([
|
|
5226
5501
|
BinaryField("u8", 0)
|
|
5227
|
-
],
|
|
5502
|
+
], _YGOProMsgSwapGraveDeck.prototype, "player", 2);
|
|
5503
|
+
var YGOProMsgSwapGraveDeck = _YGOProMsgSwapGraveDeck;
|
|
5228
5504
|
|
|
5229
5505
|
// src/protos/msg/proto/tag-swap.ts
|
|
5230
|
-
var
|
|
5506
|
+
var _YGOProMsgTagSwap = class _YGOProMsgTagSwap extends YGOProMsgBase {
|
|
5231
5507
|
// 对方和队友视角需要隐藏手牌和额外卡组信息
|
|
5232
5508
|
opponentView() {
|
|
5233
5509
|
const view = this.copy();
|
|
@@ -5244,62 +5520,68 @@ var YGOProMsgTagSwap = class extends YGOProMsgBase {
|
|
|
5244
5520
|
return this.opponentView();
|
|
5245
5521
|
}
|
|
5246
5522
|
};
|
|
5247
|
-
YGOProMsgTagSwap
|
|
5523
|
+
__name(_YGOProMsgTagSwap, "YGOProMsgTagSwap");
|
|
5524
|
+
_YGOProMsgTagSwap.identifier = OcgcoreCommonConstants.MSG_TAG_SWAP;
|
|
5248
5525
|
__decorateClass([
|
|
5249
5526
|
BinaryField("u8", 0)
|
|
5250
|
-
],
|
|
5527
|
+
], _YGOProMsgTagSwap.prototype, "player", 2);
|
|
5251
5528
|
__decorateClass([
|
|
5252
5529
|
BinaryField("u8", 1)
|
|
5253
|
-
],
|
|
5530
|
+
], _YGOProMsgTagSwap.prototype, "mzoneCount", 2);
|
|
5254
5531
|
__decorateClass([
|
|
5255
5532
|
BinaryField("u8", 2)
|
|
5256
|
-
],
|
|
5533
|
+
], _YGOProMsgTagSwap.prototype, "extraCount", 2);
|
|
5257
5534
|
__decorateClass([
|
|
5258
5535
|
BinaryField("u8", 3)
|
|
5259
|
-
],
|
|
5536
|
+
], _YGOProMsgTagSwap.prototype, "pzoneCount", 2);
|
|
5260
5537
|
__decorateClass([
|
|
5261
5538
|
BinaryField("u8", 4)
|
|
5262
|
-
],
|
|
5539
|
+
], _YGOProMsgTagSwap.prototype, "handCount", 2);
|
|
5263
5540
|
__decorateClass([
|
|
5264
5541
|
BinaryField("i32", 5, (obj) => obj.handCount)
|
|
5265
|
-
],
|
|
5542
|
+
], _YGOProMsgTagSwap.prototype, "handCards", 2);
|
|
5266
5543
|
__decorateClass([
|
|
5267
5544
|
BinaryField("i32", (obj) => 5 + obj.handCount * 4, (obj) => obj.extraCount)
|
|
5268
|
-
],
|
|
5545
|
+
], _YGOProMsgTagSwap.prototype, "extraCards", 2);
|
|
5269
5546
|
__decorateClass([
|
|
5270
5547
|
BinaryField("u32", (obj) => 5 + obj.handCount * 4 + obj.extraCount * 4)
|
|
5271
|
-
],
|
|
5548
|
+
], _YGOProMsgTagSwap.prototype, "mzoneFlags", 2);
|
|
5549
|
+
var YGOProMsgTagSwap = _YGOProMsgTagSwap;
|
|
5272
5550
|
|
|
5273
5551
|
// src/protos/msg/proto/toss-coin.ts
|
|
5274
|
-
var
|
|
5552
|
+
var _YGOProMsgTossCoin = class _YGOProMsgTossCoin extends YGOProMsgBase {
|
|
5275
5553
|
};
|
|
5276
|
-
YGOProMsgTossCoin
|
|
5554
|
+
__name(_YGOProMsgTossCoin, "YGOProMsgTossCoin");
|
|
5555
|
+
_YGOProMsgTossCoin.identifier = OcgcoreCommonConstants.MSG_TOSS_COIN;
|
|
5277
5556
|
__decorateClass([
|
|
5278
5557
|
BinaryField("u8", 0)
|
|
5279
|
-
],
|
|
5558
|
+
], _YGOProMsgTossCoin.prototype, "player", 2);
|
|
5280
5559
|
__decorateClass([
|
|
5281
5560
|
BinaryField("u8", 1)
|
|
5282
|
-
],
|
|
5561
|
+
], _YGOProMsgTossCoin.prototype, "count", 2);
|
|
5283
5562
|
__decorateClass([
|
|
5284
5563
|
BinaryField("u8", 2, (obj) => obj.count)
|
|
5285
|
-
],
|
|
5564
|
+
], _YGOProMsgTossCoin.prototype, "results", 2);
|
|
5565
|
+
var YGOProMsgTossCoin = _YGOProMsgTossCoin;
|
|
5286
5566
|
|
|
5287
5567
|
// src/protos/msg/proto/toss-dice.ts
|
|
5288
|
-
var
|
|
5568
|
+
var _YGOProMsgTossDice = class _YGOProMsgTossDice extends YGOProMsgBase {
|
|
5289
5569
|
};
|
|
5290
|
-
YGOProMsgTossDice
|
|
5570
|
+
__name(_YGOProMsgTossDice, "YGOProMsgTossDice");
|
|
5571
|
+
_YGOProMsgTossDice.identifier = OcgcoreCommonConstants.MSG_TOSS_DICE;
|
|
5291
5572
|
__decorateClass([
|
|
5292
5573
|
BinaryField("u8", 0)
|
|
5293
|
-
],
|
|
5574
|
+
], _YGOProMsgTossDice.prototype, "player", 2);
|
|
5294
5575
|
__decorateClass([
|
|
5295
5576
|
BinaryField("u8", 1)
|
|
5296
|
-
],
|
|
5577
|
+
], _YGOProMsgTossDice.prototype, "count", 2);
|
|
5297
5578
|
__decorateClass([
|
|
5298
5579
|
BinaryField("u8", 2, (obj) => obj.count)
|
|
5299
|
-
],
|
|
5580
|
+
], _YGOProMsgTossDice.prototype, "results", 2);
|
|
5581
|
+
var YGOProMsgTossDice = _YGOProMsgTossDice;
|
|
5300
5582
|
|
|
5301
5583
|
// src/protos/msg/proto/update-card.ts
|
|
5302
|
-
var
|
|
5584
|
+
var _YGOProMsgUpdateCard = class _YGOProMsgUpdateCard extends YGOProMsgBase {
|
|
5303
5585
|
opponentView() {
|
|
5304
5586
|
const copy = this.copy();
|
|
5305
5587
|
if (copy.card?.position && copy.card.position & OcgcoreCommonConstants.POS_FACEDOWN) {
|
|
@@ -5375,10 +5657,12 @@ var YGOProMsgUpdateCard = class extends YGOProMsgBase {
|
|
|
5375
5657
|
return [];
|
|
5376
5658
|
}
|
|
5377
5659
|
};
|
|
5378
|
-
YGOProMsgUpdateCard
|
|
5660
|
+
__name(_YGOProMsgUpdateCard, "YGOProMsgUpdateCard");
|
|
5661
|
+
_YGOProMsgUpdateCard.identifier = OcgcoreCommonConstants.MSG_UPDATE_CARD;
|
|
5662
|
+
var YGOProMsgUpdateCard = _YGOProMsgUpdateCard;
|
|
5379
5663
|
|
|
5380
5664
|
// src/protos/msg/proto/update-data.ts
|
|
5381
|
-
var
|
|
5665
|
+
var _YGOProMsgUpdateData = class _YGOProMsgUpdateData extends YGOProMsgBase {
|
|
5382
5666
|
opponentView() {
|
|
5383
5667
|
const copy = this.copy();
|
|
5384
5668
|
if (copy.cards) {
|
|
@@ -5481,27 +5765,33 @@ var YGOProMsgUpdateData = class extends YGOProMsgBase {
|
|
|
5481
5765
|
return [this.player, 1 - this.player, 7 /* OBSERVER */];
|
|
5482
5766
|
}
|
|
5483
5767
|
};
|
|
5484
|
-
YGOProMsgUpdateData
|
|
5768
|
+
__name(_YGOProMsgUpdateData, "YGOProMsgUpdateData");
|
|
5769
|
+
_YGOProMsgUpdateData.identifier = 6;
|
|
5770
|
+
var YGOProMsgUpdateData = _YGOProMsgUpdateData;
|
|
5485
5771
|
|
|
5486
5772
|
// src/protos/msg/proto/waiting.ts
|
|
5487
|
-
var
|
|
5773
|
+
var _YGOProMsgWaiting = class _YGOProMsgWaiting extends YGOProMsgBase {
|
|
5488
5774
|
// MSG_WAITING
|
|
5489
5775
|
getSendTargets() {
|
|
5490
5776
|
return [];
|
|
5491
5777
|
}
|
|
5492
5778
|
};
|
|
5493
|
-
YGOProMsgWaiting
|
|
5779
|
+
__name(_YGOProMsgWaiting, "YGOProMsgWaiting");
|
|
5780
|
+
_YGOProMsgWaiting.identifier = 3;
|
|
5781
|
+
var YGOProMsgWaiting = _YGOProMsgWaiting;
|
|
5494
5782
|
|
|
5495
5783
|
// src/protos/msg/proto/win.ts
|
|
5496
|
-
var
|
|
5784
|
+
var _YGOProMsgWin = class _YGOProMsgWin extends YGOProMsgBase {
|
|
5497
5785
|
};
|
|
5498
|
-
YGOProMsgWin
|
|
5786
|
+
__name(_YGOProMsgWin, "YGOProMsgWin");
|
|
5787
|
+
_YGOProMsgWin.identifier = OcgcoreCommonConstants.MSG_WIN;
|
|
5499
5788
|
__decorateClass([
|
|
5500
5789
|
BinaryField("u8", 0)
|
|
5501
|
-
],
|
|
5790
|
+
], _YGOProMsgWin.prototype, "player", 2);
|
|
5502
5791
|
__decorateClass([
|
|
5503
5792
|
BinaryField("u8", 1)
|
|
5504
|
-
],
|
|
5793
|
+
], _YGOProMsgWin.prototype, "type", 2);
|
|
5794
|
+
var YGOProMsgWin = _YGOProMsgWin;
|
|
5505
5795
|
|
|
5506
5796
|
// src/protos/msg/registry.ts
|
|
5507
5797
|
var YGOProMessages = new RegistryBase(YGOProMsgBase);
|
|
@@ -5591,7 +5881,7 @@ YGOProMessages.register(YGOProMsgUpdateData);
|
|
|
5591
5881
|
YGOProMessages.register(YGOProMsgReloadField);
|
|
5592
5882
|
|
|
5593
5883
|
// src/protos/stoc/proto/game-msg.ts
|
|
5594
|
-
var
|
|
5884
|
+
var _YGOProStocGameMsg = class _YGOProStocGameMsg extends YGOProStocBase {
|
|
5595
5885
|
fromPayload(data) {
|
|
5596
5886
|
this.msg = YGOProMessages.getInstanceFromPayload(data);
|
|
5597
5887
|
return this;
|
|
@@ -5609,95 +5899,119 @@ var YGOProStocGameMsg = class extends YGOProStocBase {
|
|
|
5609
5899
|
return this;
|
|
5610
5900
|
}
|
|
5611
5901
|
};
|
|
5612
|
-
YGOProStocGameMsg
|
|
5902
|
+
__name(_YGOProStocGameMsg, "YGOProStocGameMsg");
|
|
5903
|
+
_YGOProStocGameMsg.identifier = 1;
|
|
5904
|
+
var YGOProStocGameMsg = _YGOProStocGameMsg;
|
|
5613
5905
|
|
|
5614
5906
|
// src/protos/stoc/proto/error-msg.ts
|
|
5615
|
-
var
|
|
5907
|
+
var _YGOProStocErrorMsg = class _YGOProStocErrorMsg extends YGOProStocBase {
|
|
5616
5908
|
};
|
|
5617
|
-
YGOProStocErrorMsg
|
|
5909
|
+
__name(_YGOProStocErrorMsg, "YGOProStocErrorMsg");
|
|
5910
|
+
_YGOProStocErrorMsg.identifier = 2;
|
|
5618
5911
|
__decorateClass([
|
|
5619
5912
|
BinaryField("u8", 0)
|
|
5620
|
-
],
|
|
5913
|
+
], _YGOProStocErrorMsg.prototype, "msg", 2);
|
|
5621
5914
|
__decorateClass([
|
|
5622
5915
|
BinaryField("u32", 4)
|
|
5623
|
-
],
|
|
5916
|
+
], _YGOProStocErrorMsg.prototype, "code", 2);
|
|
5917
|
+
var YGOProStocErrorMsg = _YGOProStocErrorMsg;
|
|
5624
5918
|
|
|
5625
5919
|
// src/protos/stoc/proto/select-hand.ts
|
|
5626
|
-
var
|
|
5920
|
+
var _YGOProStocSelectHand = class _YGOProStocSelectHand extends YGOProStocBase {
|
|
5627
5921
|
};
|
|
5628
|
-
YGOProStocSelectHand
|
|
5922
|
+
__name(_YGOProStocSelectHand, "YGOProStocSelectHand");
|
|
5923
|
+
_YGOProStocSelectHand.identifier = 3;
|
|
5924
|
+
var YGOProStocSelectHand = _YGOProStocSelectHand;
|
|
5629
5925
|
|
|
5630
5926
|
// src/protos/stoc/proto/select-tp.ts
|
|
5631
|
-
var
|
|
5927
|
+
var _YGOProStocSelectTp = class _YGOProStocSelectTp extends YGOProStocBase {
|
|
5632
5928
|
};
|
|
5633
|
-
YGOProStocSelectTp
|
|
5929
|
+
__name(_YGOProStocSelectTp, "YGOProStocSelectTp");
|
|
5930
|
+
_YGOProStocSelectTp.identifier = 4;
|
|
5931
|
+
var YGOProStocSelectTp = _YGOProStocSelectTp;
|
|
5634
5932
|
|
|
5635
5933
|
// src/protos/stoc/proto/hand-result.ts
|
|
5636
|
-
var
|
|
5934
|
+
var _YGOProStocHandResult = class _YGOProStocHandResult extends YGOProStocBase {
|
|
5637
5935
|
};
|
|
5638
|
-
YGOProStocHandResult
|
|
5936
|
+
__name(_YGOProStocHandResult, "YGOProStocHandResult");
|
|
5937
|
+
_YGOProStocHandResult.identifier = 5;
|
|
5639
5938
|
__decorateClass([
|
|
5640
5939
|
BinaryField("u8", 0)
|
|
5641
|
-
],
|
|
5940
|
+
], _YGOProStocHandResult.prototype, "res1", 2);
|
|
5642
5941
|
__decorateClass([
|
|
5643
5942
|
BinaryField("u8", 1)
|
|
5644
|
-
],
|
|
5943
|
+
], _YGOProStocHandResult.prototype, "res2", 2);
|
|
5944
|
+
var YGOProStocHandResult = _YGOProStocHandResult;
|
|
5645
5945
|
|
|
5646
5946
|
// src/protos/stoc/proto/tp-result.ts
|
|
5647
|
-
var
|
|
5947
|
+
var _YGOProStocTpResult = class _YGOProStocTpResult extends YGOProStocBase {
|
|
5648
5948
|
};
|
|
5649
|
-
YGOProStocTpResult
|
|
5949
|
+
__name(_YGOProStocTpResult, "YGOProStocTpResult");
|
|
5950
|
+
_YGOProStocTpResult.identifier = 6;
|
|
5951
|
+
var YGOProStocTpResult = _YGOProStocTpResult;
|
|
5650
5952
|
|
|
5651
5953
|
// src/protos/stoc/proto/change-side.ts
|
|
5652
|
-
var
|
|
5954
|
+
var _YGOProStocChangeSide = class _YGOProStocChangeSide extends YGOProStocBase {
|
|
5653
5955
|
};
|
|
5654
|
-
YGOProStocChangeSide
|
|
5956
|
+
__name(_YGOProStocChangeSide, "YGOProStocChangeSide");
|
|
5957
|
+
_YGOProStocChangeSide.identifier = 7;
|
|
5958
|
+
var YGOProStocChangeSide = _YGOProStocChangeSide;
|
|
5655
5959
|
|
|
5656
5960
|
// src/protos/stoc/proto/waiting-side.ts
|
|
5657
|
-
var
|
|
5961
|
+
var _YGOProStocWaitingSide = class _YGOProStocWaitingSide extends YGOProStocBase {
|
|
5658
5962
|
};
|
|
5659
|
-
YGOProStocWaitingSide
|
|
5963
|
+
__name(_YGOProStocWaitingSide, "YGOProStocWaitingSide");
|
|
5964
|
+
_YGOProStocWaitingSide.identifier = 8;
|
|
5965
|
+
var YGOProStocWaitingSide = _YGOProStocWaitingSide;
|
|
5660
5966
|
|
|
5661
5967
|
// src/protos/stoc/proto/deck-count.ts
|
|
5662
|
-
var
|
|
5968
|
+
var _YGOProStocDeckCount_DeckInfo = class _YGOProStocDeckCount_DeckInfo {
|
|
5663
5969
|
};
|
|
5970
|
+
__name(_YGOProStocDeckCount_DeckInfo, "YGOProStocDeckCount_DeckInfo");
|
|
5664
5971
|
__decorateClass([
|
|
5665
5972
|
BinaryField("i16", 0)
|
|
5666
|
-
],
|
|
5973
|
+
], _YGOProStocDeckCount_DeckInfo.prototype, "main", 2);
|
|
5667
5974
|
__decorateClass([
|
|
5668
5975
|
BinaryField("i16", 2)
|
|
5669
|
-
],
|
|
5976
|
+
], _YGOProStocDeckCount_DeckInfo.prototype, "extra", 2);
|
|
5670
5977
|
__decorateClass([
|
|
5671
5978
|
BinaryField("i16", 4)
|
|
5672
|
-
],
|
|
5673
|
-
var
|
|
5979
|
+
], _YGOProStocDeckCount_DeckInfo.prototype, "side", 2);
|
|
5980
|
+
var YGOProStocDeckCount_DeckInfo = _YGOProStocDeckCount_DeckInfo;
|
|
5981
|
+
var _YGOProStocDeckCount = class _YGOProStocDeckCount extends YGOProStocBase {
|
|
5674
5982
|
};
|
|
5675
|
-
YGOProStocDeckCount
|
|
5983
|
+
__name(_YGOProStocDeckCount, "YGOProStocDeckCount");
|
|
5984
|
+
_YGOProStocDeckCount.identifier = 9;
|
|
5676
5985
|
__decorateClass([
|
|
5677
5986
|
BinaryField(() => YGOProStocDeckCount_DeckInfo, 0)
|
|
5678
|
-
],
|
|
5987
|
+
], _YGOProStocDeckCount.prototype, "player0DeckCount", 2);
|
|
5679
5988
|
__decorateClass([
|
|
5680
5989
|
BinaryField(() => YGOProStocDeckCount_DeckInfo, 6)
|
|
5681
|
-
],
|
|
5990
|
+
], _YGOProStocDeckCount.prototype, "player1DeckCount", 2);
|
|
5991
|
+
var YGOProStocDeckCount = _YGOProStocDeckCount;
|
|
5682
5992
|
|
|
5683
5993
|
// src/protos/stoc/proto/create-game.ts
|
|
5684
|
-
var
|
|
5994
|
+
var _YGOProStocCreateGame = class _YGOProStocCreateGame extends YGOProStocBase {
|
|
5685
5995
|
};
|
|
5686
|
-
YGOProStocCreateGame
|
|
5996
|
+
__name(_YGOProStocCreateGame, "YGOProStocCreateGame");
|
|
5997
|
+
_YGOProStocCreateGame.identifier = 17;
|
|
5687
5998
|
__decorateClass([
|
|
5688
5999
|
BinaryField("u32", 0)
|
|
5689
|
-
],
|
|
6000
|
+
], _YGOProStocCreateGame.prototype, "gameid", 2);
|
|
6001
|
+
var YGOProStocCreateGame = _YGOProStocCreateGame;
|
|
5690
6002
|
|
|
5691
6003
|
// src/protos/stoc/proto/join-game.ts
|
|
5692
|
-
var
|
|
6004
|
+
var _YGOProStocJoinGame = class _YGOProStocJoinGame extends YGOProStocBase {
|
|
5693
6005
|
};
|
|
5694
|
-
YGOProStocJoinGame
|
|
6006
|
+
__name(_YGOProStocJoinGame, "YGOProStocJoinGame");
|
|
6007
|
+
_YGOProStocJoinGame.identifier = 18;
|
|
5695
6008
|
__decorateClass([
|
|
5696
6009
|
BinaryField(() => HostInfo, 0)
|
|
5697
|
-
],
|
|
6010
|
+
], _YGOProStocJoinGame.prototype, "info", 2);
|
|
6011
|
+
var YGOProStocJoinGame = _YGOProStocJoinGame;
|
|
5698
6012
|
|
|
5699
6013
|
// src/protos/stoc/proto/type-change.ts
|
|
5700
|
-
var
|
|
6014
|
+
var _YGOProStocTypeChange = class _YGOProStocTypeChange extends YGOProStocBase {
|
|
5701
6015
|
/**
|
|
5702
6016
|
* Get/Set player position (low 4 bits, 0-7)
|
|
5703
6017
|
*/
|
|
@@ -5722,32 +6036,40 @@ var YGOProStocTypeChange = class extends YGOProStocBase {
|
|
|
5722
6036
|
}
|
|
5723
6037
|
}
|
|
5724
6038
|
};
|
|
5725
|
-
YGOProStocTypeChange
|
|
6039
|
+
__name(_YGOProStocTypeChange, "YGOProStocTypeChange");
|
|
6040
|
+
_YGOProStocTypeChange.identifier = 19;
|
|
5726
6041
|
__decorateClass([
|
|
5727
6042
|
BinaryField("u8", 0)
|
|
5728
|
-
],
|
|
6043
|
+
], _YGOProStocTypeChange.prototype, "type", 2);
|
|
6044
|
+
var YGOProStocTypeChange = _YGOProStocTypeChange;
|
|
5729
6045
|
|
|
5730
6046
|
// src/protos/stoc/proto/leave-game.ts
|
|
5731
|
-
var
|
|
6047
|
+
var _YGOProStocLeaveGame = class _YGOProStocLeaveGame extends YGOProStocBase {
|
|
5732
6048
|
};
|
|
5733
|
-
YGOProStocLeaveGame
|
|
6049
|
+
__name(_YGOProStocLeaveGame, "YGOProStocLeaveGame");
|
|
6050
|
+
_YGOProStocLeaveGame.identifier = 20;
|
|
5734
6051
|
__decorateClass([
|
|
5735
6052
|
BinaryField("u8", 0)
|
|
5736
|
-
],
|
|
6053
|
+
], _YGOProStocLeaveGame.prototype, "pos", 2);
|
|
6054
|
+
var YGOProStocLeaveGame = _YGOProStocLeaveGame;
|
|
5737
6055
|
|
|
5738
6056
|
// src/protos/stoc/proto/duel-start.ts
|
|
5739
|
-
var
|
|
6057
|
+
var _YGOProStocDuelStart = class _YGOProStocDuelStart extends YGOProStocBase {
|
|
5740
6058
|
};
|
|
5741
|
-
YGOProStocDuelStart
|
|
6059
|
+
__name(_YGOProStocDuelStart, "YGOProStocDuelStart");
|
|
6060
|
+
_YGOProStocDuelStart.identifier = 21;
|
|
6061
|
+
var YGOProStocDuelStart = _YGOProStocDuelStart;
|
|
5742
6062
|
|
|
5743
6063
|
// src/protos/stoc/proto/duel-end.ts
|
|
5744
|
-
var
|
|
6064
|
+
var _YGOProStocDuelEnd = class _YGOProStocDuelEnd extends YGOProStocBase {
|
|
5745
6065
|
};
|
|
5746
|
-
YGOProStocDuelEnd
|
|
6066
|
+
__name(_YGOProStocDuelEnd, "YGOProStocDuelEnd");
|
|
6067
|
+
_YGOProStocDuelEnd.identifier = 22;
|
|
6068
|
+
var YGOProStocDuelEnd = _YGOProStocDuelEnd;
|
|
5747
6069
|
|
|
5748
6070
|
// src/protos/stoc/proto/replay.ts
|
|
5749
6071
|
var import_ygopro_yrp_encode = require("ygopro-yrp-encode");
|
|
5750
|
-
var
|
|
6072
|
+
var _YGOProStocReplay = class _YGOProStocReplay extends YGOProStocBase {
|
|
5751
6073
|
constructor() {
|
|
5752
6074
|
super();
|
|
5753
6075
|
this.replay = new import_ygopro_yrp_encode.YGOProYrp();
|
|
@@ -5771,22 +6093,26 @@ var YGOProStocReplay = class extends YGOProStocBase {
|
|
|
5771
6093
|
return copied;
|
|
5772
6094
|
}
|
|
5773
6095
|
};
|
|
5774
|
-
YGOProStocReplay
|
|
6096
|
+
__name(_YGOProStocReplay, "YGOProStocReplay");
|
|
6097
|
+
_YGOProStocReplay.identifier = 23;
|
|
6098
|
+
var YGOProStocReplay = _YGOProStocReplay;
|
|
5775
6099
|
|
|
5776
6100
|
// src/protos/stoc/proto/time-limit.ts
|
|
5777
|
-
var
|
|
6101
|
+
var _YGOProStocTimeLimit = class _YGOProStocTimeLimit extends YGOProStocBase {
|
|
5778
6102
|
};
|
|
5779
|
-
YGOProStocTimeLimit
|
|
6103
|
+
__name(_YGOProStocTimeLimit, "YGOProStocTimeLimit");
|
|
6104
|
+
_YGOProStocTimeLimit.identifier = 24;
|
|
5780
6105
|
__decorateClass([
|
|
5781
6106
|
BinaryField("u8", 0)
|
|
5782
|
-
],
|
|
6107
|
+
], _YGOProStocTimeLimit.prototype, "player", 2);
|
|
5783
6108
|
__decorateClass([
|
|
5784
6109
|
BinaryField("u16", 2)
|
|
5785
|
-
],
|
|
6110
|
+
], _YGOProStocTimeLimit.prototype, "left_time", 2);
|
|
6111
|
+
var YGOProStocTimeLimit = _YGOProStocTimeLimit;
|
|
5786
6112
|
|
|
5787
6113
|
// src/protos/stoc/proto/chat.ts
|
|
5788
6114
|
var STOC_CHAT_MAX_LENGTH = 256;
|
|
5789
|
-
var
|
|
6115
|
+
var _YGOProStocChat = class _YGOProStocChat extends YGOProStocBase {
|
|
5790
6116
|
constructor() {
|
|
5791
6117
|
super();
|
|
5792
6118
|
this.player_type = 0;
|
|
@@ -5828,23 +6154,27 @@ var YGOProStocChat = class extends YGOProStocBase {
|
|
|
5828
6154
|
return this;
|
|
5829
6155
|
}
|
|
5830
6156
|
};
|
|
5831
|
-
YGOProStocChat
|
|
5832
|
-
|
|
6157
|
+
__name(_YGOProStocChat, "YGOProStocChat");
|
|
6158
|
+
_YGOProStocChat.identifier = 25;
|
|
6159
|
+
_YGOProStocChat.MAX_LENGTH = STOC_CHAT_MAX_LENGTH;
|
|
6160
|
+
var YGOProStocChat = _YGOProStocChat;
|
|
5833
6161
|
|
|
5834
6162
|
// src/protos/stoc/proto/hs-player-enter.ts
|
|
5835
|
-
var
|
|
6163
|
+
var _YGOProStocHsPlayerEnter = class _YGOProStocHsPlayerEnter extends YGOProStocBase {
|
|
5836
6164
|
// 1 byte padding (note: actual size is 41 bytes, not 42 - workaround in original code)
|
|
5837
6165
|
};
|
|
5838
|
-
YGOProStocHsPlayerEnter
|
|
6166
|
+
__name(_YGOProStocHsPlayerEnter, "YGOProStocHsPlayerEnter");
|
|
6167
|
+
_YGOProStocHsPlayerEnter.identifier = 32;
|
|
5839
6168
|
__decorateClass([
|
|
5840
6169
|
BinaryField("utf16", 0, 20)
|
|
5841
|
-
],
|
|
6170
|
+
], _YGOProStocHsPlayerEnter.prototype, "name", 2);
|
|
5842
6171
|
__decorateClass([
|
|
5843
6172
|
BinaryField("u8", 40)
|
|
5844
|
-
],
|
|
6173
|
+
], _YGOProStocHsPlayerEnter.prototype, "pos", 2);
|
|
6174
|
+
var YGOProStocHsPlayerEnter = _YGOProStocHsPlayerEnter;
|
|
5845
6175
|
|
|
5846
6176
|
// src/protos/stoc/proto/hs-player-change.ts
|
|
5847
|
-
var
|
|
6177
|
+
var _YGOProStocHsPlayerChange = class _YGOProStocHsPlayerChange extends YGOProStocBase {
|
|
5848
6178
|
/**
|
|
5849
6179
|
* Get/Set player state (low 4 bits)
|
|
5850
6180
|
* Can be a PlayerChangeState enum value or a player position (0-7) for position changes
|
|
@@ -5865,71 +6195,83 @@ var YGOProStocHsPlayerChange = class extends YGOProStocBase {
|
|
|
5865
6195
|
this.status = this.status & 15 | (value & 15) << 4;
|
|
5866
6196
|
}
|
|
5867
6197
|
};
|
|
5868
|
-
YGOProStocHsPlayerChange
|
|
6198
|
+
__name(_YGOProStocHsPlayerChange, "YGOProStocHsPlayerChange");
|
|
6199
|
+
_YGOProStocHsPlayerChange.identifier = 33;
|
|
5869
6200
|
__decorateClass([
|
|
5870
6201
|
BinaryField("u8", 0)
|
|
5871
|
-
],
|
|
6202
|
+
], _YGOProStocHsPlayerChange.prototype, "status", 2);
|
|
6203
|
+
var YGOProStocHsPlayerChange = _YGOProStocHsPlayerChange;
|
|
5872
6204
|
|
|
5873
6205
|
// src/protos/stoc/proto/hs-watch-change.ts
|
|
5874
|
-
var
|
|
6206
|
+
var _YGOProStocHsWatchChange = class _YGOProStocHsWatchChange extends YGOProStocBase {
|
|
5875
6207
|
};
|
|
5876
|
-
YGOProStocHsWatchChange
|
|
6208
|
+
__name(_YGOProStocHsWatchChange, "YGOProStocHsWatchChange");
|
|
6209
|
+
_YGOProStocHsWatchChange.identifier = 34;
|
|
5877
6210
|
__decorateClass([
|
|
5878
6211
|
BinaryField("u16", 0)
|
|
5879
|
-
],
|
|
6212
|
+
], _YGOProStocHsWatchChange.prototype, "watch_count", 2);
|
|
6213
|
+
var YGOProStocHsWatchChange = _YGOProStocHsWatchChange;
|
|
5880
6214
|
|
|
5881
6215
|
// src/protos/stoc/proto/teammate-surrender.ts
|
|
5882
|
-
var
|
|
6216
|
+
var _YGOProStocTeammateSurrender = class _YGOProStocTeammateSurrender extends YGOProStocBase {
|
|
5883
6217
|
};
|
|
5884
|
-
YGOProStocTeammateSurrender
|
|
6218
|
+
__name(_YGOProStocTeammateSurrender, "YGOProStocTeammateSurrender");
|
|
6219
|
+
_YGOProStocTeammateSurrender.identifier = 35;
|
|
6220
|
+
var YGOProStocTeammateSurrender = _YGOProStocTeammateSurrender;
|
|
5885
6221
|
|
|
5886
6222
|
// src/protos/stoc/proto/field-finish.ts
|
|
5887
|
-
var
|
|
6223
|
+
var _YGOProStocFieldFinish = class _YGOProStocFieldFinish extends YGOProStocBase {
|
|
5888
6224
|
};
|
|
5889
|
-
YGOProStocFieldFinish
|
|
6225
|
+
__name(_YGOProStocFieldFinish, "YGOProStocFieldFinish");
|
|
6226
|
+
_YGOProStocFieldFinish.identifier = 48;
|
|
6227
|
+
var YGOProStocFieldFinish = _YGOProStocFieldFinish;
|
|
5890
6228
|
|
|
5891
6229
|
// src/protos/stoc/proto/srvpro-roomlist.ts
|
|
5892
|
-
var
|
|
6230
|
+
var _SrvproRoomInfo = class _SrvproRoomInfo {
|
|
5893
6231
|
};
|
|
6232
|
+
__name(_SrvproRoomInfo, "SrvproRoomInfo");
|
|
5894
6233
|
__decorateClass([
|
|
5895
6234
|
BinaryField("utf8", 0, 64)
|
|
5896
|
-
],
|
|
6235
|
+
], _SrvproRoomInfo.prototype, "roomname", 2);
|
|
5897
6236
|
__decorateClass([
|
|
5898
6237
|
BinaryField("u8", 64)
|
|
5899
|
-
],
|
|
6238
|
+
], _SrvproRoomInfo.prototype, "room_status", 2);
|
|
5900
6239
|
__decorateClass([
|
|
5901
6240
|
BinaryField("i8", 65)
|
|
5902
|
-
],
|
|
6241
|
+
], _SrvproRoomInfo.prototype, "room_duel_count", 2);
|
|
5903
6242
|
__decorateClass([
|
|
5904
6243
|
BinaryField("i8", 66)
|
|
5905
|
-
],
|
|
6244
|
+
], _SrvproRoomInfo.prototype, "room_turn_count", 2);
|
|
5906
6245
|
__decorateClass([
|
|
5907
6246
|
BinaryField("utf8", 67, 128)
|
|
5908
|
-
],
|
|
6247
|
+
], _SrvproRoomInfo.prototype, "player1", 2);
|
|
5909
6248
|
__decorateClass([
|
|
5910
6249
|
BinaryField("i8", 195)
|
|
5911
|
-
],
|
|
6250
|
+
], _SrvproRoomInfo.prototype, "player1_score", 2);
|
|
5912
6251
|
__decorateClass([
|
|
5913
6252
|
BinaryField("i32", 196)
|
|
5914
|
-
],
|
|
6253
|
+
], _SrvproRoomInfo.prototype, "player1_lp", 2);
|
|
5915
6254
|
__decorateClass([
|
|
5916
6255
|
BinaryField("utf8", 200, 128)
|
|
5917
|
-
],
|
|
6256
|
+
], _SrvproRoomInfo.prototype, "player2", 2);
|
|
5918
6257
|
__decorateClass([
|
|
5919
6258
|
BinaryField("i8", 328)
|
|
5920
|
-
],
|
|
6259
|
+
], _SrvproRoomInfo.prototype, "player2_score", 2);
|
|
5921
6260
|
__decorateClass([
|
|
5922
6261
|
BinaryField("i32", 329)
|
|
5923
|
-
],
|
|
5924
|
-
var
|
|
6262
|
+
], _SrvproRoomInfo.prototype, "player2_lp", 2);
|
|
6263
|
+
var SrvproRoomInfo = _SrvproRoomInfo;
|
|
6264
|
+
var _YGOProStocSrvproRoomlist = class _YGOProStocSrvproRoomlist extends YGOProStocBase {
|
|
5925
6265
|
};
|
|
5926
|
-
YGOProStocSrvproRoomlist
|
|
6266
|
+
__name(_YGOProStocSrvproRoomlist, "YGOProStocSrvproRoomlist");
|
|
6267
|
+
_YGOProStocSrvproRoomlist.identifier = 49;
|
|
5927
6268
|
__decorateClass([
|
|
5928
6269
|
BinaryField("u16", 0)
|
|
5929
|
-
],
|
|
6270
|
+
], _YGOProStocSrvproRoomlist.prototype, "count", 2);
|
|
5930
6271
|
__decorateClass([
|
|
5931
6272
|
BinaryField(() => SrvproRoomInfo, 2, (obj) => obj.count)
|
|
5932
|
-
],
|
|
6273
|
+
], _YGOProStocSrvproRoomlist.prototype, "rooms", 2);
|
|
6274
|
+
var YGOProStocSrvproRoomlist = _YGOProStocSrvproRoomlist;
|
|
5933
6275
|
|
|
5934
6276
|
// src/protos/stoc/registry.ts
|
|
5935
6277
|
var YGOProStoc = new RegistryBase(YGOProStocBase, {
|