ygopro-msg-encode 1.1.9 → 1.1.11
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 +1101 -750
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +557 -35
- package/dist/index.mjs.map +2 -2
- package/dist/src/protos/msg/proto/missed-effect.d.ts +4 -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,66 @@ 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 [this.
|
|
2787
|
+
return [this.controller];
|
|
2635
2788
|
}
|
|
2636
2789
|
};
|
|
2637
|
-
YGOProMsgMissedEffect
|
|
2790
|
+
__name(_YGOProMsgMissedEffect, "YGOProMsgMissedEffect");
|
|
2791
|
+
_YGOProMsgMissedEffect.identifier = OcgcoreCommonConstants.MSG_MISSED_EFFECT;
|
|
2638
2792
|
__decorateClass([
|
|
2639
2793
|
BinaryField("u8", 0)
|
|
2640
|
-
],
|
|
2794
|
+
], _YGOProMsgMissedEffect.prototype, "controller", 2);
|
|
2641
2795
|
__decorateClass([
|
|
2642
|
-
BinaryField("
|
|
2643
|
-
],
|
|
2796
|
+
BinaryField("u8", 1)
|
|
2797
|
+
], _YGOProMsgMissedEffect.prototype, "location", 2);
|
|
2644
2798
|
__decorateClass([
|
|
2645
|
-
BinaryField("
|
|
2646
|
-
],
|
|
2799
|
+
BinaryField("u8", 2)
|
|
2800
|
+
], _YGOProMsgMissedEffect.prototype, "sequence", 2);
|
|
2801
|
+
__decorateClass([
|
|
2802
|
+
BinaryField("u8", 3)
|
|
2803
|
+
], _YGOProMsgMissedEffect.prototype, "position", 2);
|
|
2804
|
+
__decorateClass([
|
|
2805
|
+
BinaryField("i32", 4)
|
|
2806
|
+
], _YGOProMsgMissedEffect.prototype, "code", 2);
|
|
2807
|
+
var YGOProMsgMissedEffect = _YGOProMsgMissedEffect;
|
|
2647
2808
|
|
|
2648
2809
|
// src/vendor/script-constants.ts
|
|
2649
2810
|
var OcgcoreScriptConstants = {
|
|
@@ -3484,21 +3645,23 @@ var OcgcoreScriptConstants = {
|
|
|
3484
3645
|
};
|
|
3485
3646
|
|
|
3486
3647
|
// src/protos/msg/proto/move.ts
|
|
3487
|
-
var
|
|
3648
|
+
var _YGOProMsgMove_CardLocation = class _YGOProMsgMove_CardLocation {
|
|
3488
3649
|
};
|
|
3650
|
+
__name(_YGOProMsgMove_CardLocation, "YGOProMsgMove_CardLocation");
|
|
3489
3651
|
__decorateClass([
|
|
3490
3652
|
BinaryField("u8", 0)
|
|
3491
|
-
],
|
|
3653
|
+
], _YGOProMsgMove_CardLocation.prototype, "controller", 2);
|
|
3492
3654
|
__decorateClass([
|
|
3493
3655
|
BinaryField("u8", 1)
|
|
3494
|
-
],
|
|
3656
|
+
], _YGOProMsgMove_CardLocation.prototype, "location", 2);
|
|
3495
3657
|
__decorateClass([
|
|
3496
3658
|
BinaryField("u8", 2)
|
|
3497
|
-
],
|
|
3659
|
+
], _YGOProMsgMove_CardLocation.prototype, "sequence", 2);
|
|
3498
3660
|
__decorateClass([
|
|
3499
3661
|
BinaryField("u8", 3)
|
|
3500
|
-
],
|
|
3501
|
-
var
|
|
3662
|
+
], _YGOProMsgMove_CardLocation.prototype, "position", 2);
|
|
3663
|
+
var YGOProMsgMove_CardLocation = _YGOProMsgMove_CardLocation;
|
|
3664
|
+
var _YGOProMsgMove = class _YGOProMsgMove extends YGOProMsgBase {
|
|
3502
3665
|
opponentView() {
|
|
3503
3666
|
const view = this.copy();
|
|
3504
3667
|
const cl = view.current.location;
|
|
@@ -3533,119 +3696,143 @@ var YGOProMsgMove = class extends YGOProMsgBase {
|
|
|
3533
3696
|
return this.opponentView();
|
|
3534
3697
|
}
|
|
3535
3698
|
};
|
|
3536
|
-
YGOProMsgMove
|
|
3699
|
+
__name(_YGOProMsgMove, "YGOProMsgMove");
|
|
3700
|
+
_YGOProMsgMove.identifier = OcgcoreCommonConstants.MSG_MOVE;
|
|
3537
3701
|
__decorateClass([
|
|
3538
3702
|
BinaryField("i32", 0)
|
|
3539
|
-
],
|
|
3703
|
+
], _YGOProMsgMove.prototype, "code", 2);
|
|
3540
3704
|
__decorateClass([
|
|
3541
3705
|
BinaryField(() => YGOProMsgMove_CardLocation, 4)
|
|
3542
|
-
],
|
|
3706
|
+
], _YGOProMsgMove.prototype, "previous", 2);
|
|
3543
3707
|
__decorateClass([
|
|
3544
3708
|
BinaryField(() => YGOProMsgMove_CardLocation, 8)
|
|
3545
|
-
],
|
|
3709
|
+
], _YGOProMsgMove.prototype, "current", 2);
|
|
3546
3710
|
__decorateClass([
|
|
3547
3711
|
BinaryField("i32", 12)
|
|
3548
|
-
],
|
|
3712
|
+
], _YGOProMsgMove.prototype, "reason", 2);
|
|
3713
|
+
var YGOProMsgMove = _YGOProMsgMove;
|
|
3549
3714
|
|
|
3550
3715
|
// src/protos/msg/proto/new-phase.ts
|
|
3551
|
-
var
|
|
3716
|
+
var _YGOProMsgNewPhase = class _YGOProMsgNewPhase extends YGOProMsgBase {
|
|
3552
3717
|
};
|
|
3553
|
-
YGOProMsgNewPhase
|
|
3718
|
+
__name(_YGOProMsgNewPhase, "YGOProMsgNewPhase");
|
|
3719
|
+
_YGOProMsgNewPhase.identifier = OcgcoreCommonConstants.MSG_NEW_PHASE;
|
|
3554
3720
|
__decorateClass([
|
|
3555
3721
|
BinaryField("u16", 0)
|
|
3556
|
-
],
|
|
3722
|
+
], _YGOProMsgNewPhase.prototype, "phase", 2);
|
|
3723
|
+
var YGOProMsgNewPhase = _YGOProMsgNewPhase;
|
|
3557
3724
|
|
|
3558
3725
|
// src/protos/msg/proto/new-turn.ts
|
|
3559
|
-
var
|
|
3726
|
+
var _YGOProMsgNewTurn = class _YGOProMsgNewTurn extends YGOProMsgBase {
|
|
3560
3727
|
};
|
|
3561
|
-
YGOProMsgNewTurn
|
|
3728
|
+
__name(_YGOProMsgNewTurn, "YGOProMsgNewTurn");
|
|
3729
|
+
_YGOProMsgNewTurn.identifier = OcgcoreCommonConstants.MSG_NEW_TURN;
|
|
3562
3730
|
__decorateClass([
|
|
3563
3731
|
BinaryField("u8", 0)
|
|
3564
|
-
],
|
|
3732
|
+
], _YGOProMsgNewTurn.prototype, "player", 2);
|
|
3733
|
+
var YGOProMsgNewTurn = _YGOProMsgNewTurn;
|
|
3565
3734
|
|
|
3566
3735
|
// src/protos/msg/proto/pay-lpcost.ts
|
|
3567
|
-
var
|
|
3736
|
+
var _YGOProMsgPayLpCost = class _YGOProMsgPayLpCost extends YGOProMsgBase {
|
|
3568
3737
|
};
|
|
3569
|
-
YGOProMsgPayLpCost
|
|
3738
|
+
__name(_YGOProMsgPayLpCost, "YGOProMsgPayLpCost");
|
|
3739
|
+
_YGOProMsgPayLpCost.identifier = OcgcoreCommonConstants.MSG_PAY_LPCOST;
|
|
3570
3740
|
__decorateClass([
|
|
3571
3741
|
BinaryField("u8", 0)
|
|
3572
|
-
],
|
|
3742
|
+
], _YGOProMsgPayLpCost.prototype, "player", 2);
|
|
3573
3743
|
__decorateClass([
|
|
3574
3744
|
BinaryField("i32", 1)
|
|
3575
|
-
],
|
|
3745
|
+
], _YGOProMsgPayLpCost.prototype, "cost", 2);
|
|
3746
|
+
var YGOProMsgPayLpCost = _YGOProMsgPayLpCost;
|
|
3576
3747
|
|
|
3577
3748
|
// src/protos/msg/proto/player-hint.ts
|
|
3578
|
-
var
|
|
3749
|
+
var _YGOProMsgPlayerHint = class _YGOProMsgPlayerHint extends YGOProMsgBase {
|
|
3579
3750
|
};
|
|
3580
|
-
YGOProMsgPlayerHint
|
|
3751
|
+
__name(_YGOProMsgPlayerHint, "YGOProMsgPlayerHint");
|
|
3752
|
+
_YGOProMsgPlayerHint.identifier = OcgcoreCommonConstants.MSG_PLAYER_HINT;
|
|
3581
3753
|
__decorateClass([
|
|
3582
3754
|
BinaryField("u8", 0)
|
|
3583
|
-
],
|
|
3755
|
+
], _YGOProMsgPlayerHint.prototype, "player", 2);
|
|
3584
3756
|
__decorateClass([
|
|
3585
3757
|
BinaryField("u8", 1)
|
|
3586
|
-
],
|
|
3758
|
+
], _YGOProMsgPlayerHint.prototype, "type", 2);
|
|
3587
3759
|
__decorateClass([
|
|
3588
3760
|
BinaryField("i32", 2)
|
|
3589
|
-
],
|
|
3761
|
+
], _YGOProMsgPlayerHint.prototype, "value", 2);
|
|
3762
|
+
var YGOProMsgPlayerHint = _YGOProMsgPlayerHint;
|
|
3590
3763
|
|
|
3591
3764
|
// src/protos/msg/proto/pos-change.ts
|
|
3592
|
-
var
|
|
3765
|
+
var _YGOProMsgPosChange_CardLocation = class _YGOProMsgPosChange_CardLocation {
|
|
3593
3766
|
};
|
|
3767
|
+
__name(_YGOProMsgPosChange_CardLocation, "YGOProMsgPosChange_CardLocation");
|
|
3594
3768
|
__decorateClass([
|
|
3595
3769
|
BinaryField("u8", 0)
|
|
3596
|
-
],
|
|
3770
|
+
], _YGOProMsgPosChange_CardLocation.prototype, "controller", 2);
|
|
3597
3771
|
__decorateClass([
|
|
3598
3772
|
BinaryField("u8", 1)
|
|
3599
|
-
],
|
|
3773
|
+
], _YGOProMsgPosChange_CardLocation.prototype, "location", 2);
|
|
3600
3774
|
__decorateClass([
|
|
3601
3775
|
BinaryField("u8", 2)
|
|
3602
|
-
],
|
|
3603
|
-
var
|
|
3776
|
+
], _YGOProMsgPosChange_CardLocation.prototype, "sequence", 2);
|
|
3777
|
+
var YGOProMsgPosChange_CardLocation = _YGOProMsgPosChange_CardLocation;
|
|
3778
|
+
var _YGOProMsgPosChange = class _YGOProMsgPosChange extends YGOProMsgBase {
|
|
3604
3779
|
};
|
|
3605
|
-
YGOProMsgPosChange
|
|
3780
|
+
__name(_YGOProMsgPosChange, "YGOProMsgPosChange");
|
|
3781
|
+
_YGOProMsgPosChange.identifier = OcgcoreCommonConstants.MSG_POS_CHANGE;
|
|
3606
3782
|
__decorateClass([
|
|
3607
3783
|
BinaryField(() => YGOProMsgPosChange_CardLocation, 0)
|
|
3608
|
-
],
|
|
3784
|
+
], _YGOProMsgPosChange.prototype, "card", 2);
|
|
3609
3785
|
__decorateClass([
|
|
3610
3786
|
BinaryField("u8", 3)
|
|
3611
|
-
],
|
|
3787
|
+
], _YGOProMsgPosChange.prototype, "previousPosition", 2);
|
|
3612
3788
|
__decorateClass([
|
|
3613
3789
|
BinaryField("u8", 4)
|
|
3614
|
-
],
|
|
3790
|
+
], _YGOProMsgPosChange.prototype, "currentPosition", 2);
|
|
3791
|
+
var YGOProMsgPosChange = _YGOProMsgPosChange;
|
|
3615
3792
|
|
|
3616
3793
|
// src/protos/msg/proto/random-selected.ts
|
|
3617
|
-
var
|
|
3794
|
+
var _YGOProMsgRandomSelected = class _YGOProMsgRandomSelected extends YGOProMsgBase {
|
|
3618
3795
|
};
|
|
3619
|
-
YGOProMsgRandomSelected
|
|
3796
|
+
__name(_YGOProMsgRandomSelected, "YGOProMsgRandomSelected");
|
|
3797
|
+
_YGOProMsgRandomSelected.identifier = OcgcoreCommonConstants.MSG_RANDOM_SELECTED;
|
|
3620
3798
|
__decorateClass([
|
|
3621
3799
|
BinaryField("u8", 0)
|
|
3622
|
-
],
|
|
3800
|
+
], _YGOProMsgRandomSelected.prototype, "player", 2);
|
|
3623
3801
|
__decorateClass([
|
|
3624
3802
|
BinaryField("u8", 1)
|
|
3625
|
-
],
|
|
3803
|
+
], _YGOProMsgRandomSelected.prototype, "count", 2);
|
|
3626
3804
|
__decorateClass([
|
|
3627
3805
|
BinaryField("i32", 2, (obj) => obj.count)
|
|
3628
|
-
],
|
|
3806
|
+
], _YGOProMsgRandomSelected.prototype, "cards", 2);
|
|
3807
|
+
var YGOProMsgRandomSelected = _YGOProMsgRandomSelected;
|
|
3629
3808
|
|
|
3630
3809
|
// src/protos/msg/proto/recover.ts
|
|
3631
|
-
var
|
|
3810
|
+
var _YGOProMsgRecover = class _YGOProMsgRecover extends YGOProMsgBase {
|
|
3632
3811
|
};
|
|
3633
|
-
YGOProMsgRecover
|
|
3812
|
+
__name(_YGOProMsgRecover, "YGOProMsgRecover");
|
|
3813
|
+
_YGOProMsgRecover.identifier = OcgcoreCommonConstants.MSG_RECOVER;
|
|
3634
3814
|
__decorateClass([
|
|
3635
3815
|
BinaryField("u8", 0)
|
|
3636
|
-
],
|
|
3816
|
+
], _YGOProMsgRecover.prototype, "player", 2);
|
|
3637
3817
|
__decorateClass([
|
|
3638
3818
|
BinaryField("i32", 1)
|
|
3639
|
-
],
|
|
3819
|
+
], _YGOProMsgRecover.prototype, "value", 2);
|
|
3820
|
+
var YGOProMsgRecover = _YGOProMsgRecover;
|
|
3640
3821
|
|
|
3641
3822
|
// src/protos/msg/proto/reload-field.ts
|
|
3642
|
-
var
|
|
3823
|
+
var _YGOProMsgReloadField_ZoneCard = class _YGOProMsgReloadField_ZoneCard {
|
|
3643
3824
|
};
|
|
3644
|
-
|
|
3825
|
+
__name(_YGOProMsgReloadField_ZoneCard, "YGOProMsgReloadField_ZoneCard");
|
|
3826
|
+
var YGOProMsgReloadField_ZoneCard = _YGOProMsgReloadField_ZoneCard;
|
|
3827
|
+
var _YGOProMsgReloadField_PlayerInfo = class _YGOProMsgReloadField_PlayerInfo {
|
|
3645
3828
|
};
|
|
3646
|
-
|
|
3829
|
+
__name(_YGOProMsgReloadField_PlayerInfo, "YGOProMsgReloadField_PlayerInfo");
|
|
3830
|
+
var YGOProMsgReloadField_PlayerInfo = _YGOProMsgReloadField_PlayerInfo;
|
|
3831
|
+
var _YGOProMsgReloadField_ChainInfo = class _YGOProMsgReloadField_ChainInfo {
|
|
3647
3832
|
};
|
|
3648
|
-
|
|
3833
|
+
__name(_YGOProMsgReloadField_ChainInfo, "YGOProMsgReloadField_ChainInfo");
|
|
3834
|
+
var YGOProMsgReloadField_ChainInfo = _YGOProMsgReloadField_ChainInfo;
|
|
3835
|
+
var _YGOProMsgReloadField = class _YGOProMsgReloadField extends YGOProMsgBase {
|
|
3649
3836
|
fromPayload(data) {
|
|
3650
3837
|
if (data.length < 1) {
|
|
3651
3838
|
throw new Error("MSG data too short");
|
|
@@ -3781,57 +3968,67 @@ var YGOProMsgReloadField = class extends YGOProMsgBase {
|
|
|
3781
3968
|
return result;
|
|
3782
3969
|
}
|
|
3783
3970
|
};
|
|
3784
|
-
YGOProMsgReloadField
|
|
3971
|
+
__name(_YGOProMsgReloadField, "YGOProMsgReloadField");
|
|
3972
|
+
_YGOProMsgReloadField.identifier = 162;
|
|
3973
|
+
var YGOProMsgReloadField = _YGOProMsgReloadField;
|
|
3785
3974
|
|
|
3786
3975
|
// src/protos/msg/proto/remove-counter.ts
|
|
3787
|
-
var
|
|
3976
|
+
var _YGOProMsgRemoveCounter = class _YGOProMsgRemoveCounter extends YGOProMsgBase {
|
|
3788
3977
|
};
|
|
3789
|
-
YGOProMsgRemoveCounter
|
|
3978
|
+
__name(_YGOProMsgRemoveCounter, "YGOProMsgRemoveCounter");
|
|
3979
|
+
_YGOProMsgRemoveCounter.identifier = OcgcoreCommonConstants.MSG_REMOVE_COUNTER;
|
|
3790
3980
|
__decorateClass([
|
|
3791
3981
|
BinaryField("u16", 0)
|
|
3792
|
-
],
|
|
3982
|
+
], _YGOProMsgRemoveCounter.prototype, "counterType", 2);
|
|
3793
3983
|
__decorateClass([
|
|
3794
3984
|
BinaryField("u8", 2)
|
|
3795
|
-
],
|
|
3985
|
+
], _YGOProMsgRemoveCounter.prototype, "controller", 2);
|
|
3796
3986
|
__decorateClass([
|
|
3797
3987
|
BinaryField("u8", 3)
|
|
3798
|
-
],
|
|
3988
|
+
], _YGOProMsgRemoveCounter.prototype, "location", 2);
|
|
3799
3989
|
__decorateClass([
|
|
3800
3990
|
BinaryField("u8", 4)
|
|
3801
|
-
],
|
|
3991
|
+
], _YGOProMsgRemoveCounter.prototype, "sequence", 2);
|
|
3802
3992
|
__decorateClass([
|
|
3803
3993
|
BinaryField("u16", 5)
|
|
3804
|
-
],
|
|
3994
|
+
], _YGOProMsgRemoveCounter.prototype, "count", 2);
|
|
3995
|
+
var YGOProMsgRemoveCounter = _YGOProMsgRemoveCounter;
|
|
3805
3996
|
|
|
3806
3997
|
// src/protos/msg/proto/reset-time.ts
|
|
3807
|
-
var
|
|
3998
|
+
var _YGOProMsgResetTime = class _YGOProMsgResetTime extends YGOProMsgBase {
|
|
3808
3999
|
getSendTargets() {
|
|
3809
4000
|
return [];
|
|
3810
4001
|
}
|
|
3811
4002
|
};
|
|
3812
|
-
YGOProMsgResetTime
|
|
4003
|
+
__name(_YGOProMsgResetTime, "YGOProMsgResetTime");
|
|
4004
|
+
_YGOProMsgResetTime.identifier = OcgcoreCommonConstants.MSG_RESET_TIME;
|
|
3813
4005
|
__decorateClass([
|
|
3814
4006
|
BinaryField("i8", 0)
|
|
3815
|
-
],
|
|
4007
|
+
], _YGOProMsgResetTime.prototype, "player", 2);
|
|
3816
4008
|
__decorateClass([
|
|
3817
4009
|
BinaryField("i16", 1)
|
|
3818
|
-
],
|
|
4010
|
+
], _YGOProMsgResetTime.prototype, "time", 2);
|
|
4011
|
+
var YGOProMsgResetTime = _YGOProMsgResetTime;
|
|
3819
4012
|
|
|
3820
4013
|
// src/protos/msg/proto/retry.ts
|
|
3821
|
-
var
|
|
4014
|
+
var _YGOProMsgRetry = class _YGOProMsgRetry extends YGOProMsgBase {
|
|
3822
4015
|
getSendTargets() {
|
|
3823
4016
|
return [];
|
|
3824
4017
|
}
|
|
3825
4018
|
};
|
|
3826
|
-
YGOProMsgRetry
|
|
4019
|
+
__name(_YGOProMsgRetry, "YGOProMsgRetry");
|
|
4020
|
+
_YGOProMsgRetry.identifier = OcgcoreCommonConstants.MSG_RETRY;
|
|
4021
|
+
var YGOProMsgRetry = _YGOProMsgRetry;
|
|
3827
4022
|
|
|
3828
4023
|
// src/protos/msg/proto/reverse-deck.ts
|
|
3829
|
-
var
|
|
4024
|
+
var _YGOProMsgReverseDeck = class _YGOProMsgReverseDeck extends YGOProMsgBase {
|
|
3830
4025
|
};
|
|
3831
|
-
YGOProMsgReverseDeck
|
|
4026
|
+
__name(_YGOProMsgReverseDeck, "YGOProMsgReverseDeck");
|
|
4027
|
+
_YGOProMsgReverseDeck.identifier = OcgcoreCommonConstants.MSG_REVERSE_DECK;
|
|
4028
|
+
var YGOProMsgReverseDeck = _YGOProMsgReverseDeck;
|
|
3832
4029
|
|
|
3833
4030
|
// src/protos/msg/proto/rock-paper-scissors.ts
|
|
3834
|
-
var
|
|
4031
|
+
var _YGOProMsgRockPaperScissors = class _YGOProMsgRockPaperScissors extends YGOProMsgResponseBase {
|
|
3835
4032
|
responsePlayer() {
|
|
3836
4033
|
return this.player;
|
|
3837
4034
|
}
|
|
@@ -3846,10 +4043,12 @@ var YGOProMsgRockPaperScissors = class extends YGOProMsgResponseBase {
|
|
|
3846
4043
|
return buffer;
|
|
3847
4044
|
}
|
|
3848
4045
|
};
|
|
3849
|
-
YGOProMsgRockPaperScissors
|
|
4046
|
+
__name(_YGOProMsgRockPaperScissors, "YGOProMsgRockPaperScissors");
|
|
4047
|
+
_YGOProMsgRockPaperScissors.identifier = OcgcoreCommonConstants.MSG_ROCK_PAPER_SCISSORS;
|
|
3850
4048
|
__decorateClass([
|
|
3851
4049
|
BinaryField("u8", 0)
|
|
3852
|
-
],
|
|
4050
|
+
], _YGOProMsgRockPaperScissors.prototype, "player", 2);
|
|
4051
|
+
var YGOProMsgRockPaperScissors = _YGOProMsgRockPaperScissors;
|
|
3853
4052
|
|
|
3854
4053
|
// src/protos/msg/proto/select-battlecmd.ts
|
|
3855
4054
|
var BattleCmdType = /* @__PURE__ */ ((BattleCmdType2) => {
|
|
@@ -3859,41 +4058,45 @@ var BattleCmdType = /* @__PURE__ */ ((BattleCmdType2) => {
|
|
|
3859
4058
|
BattleCmdType2[BattleCmdType2["TO_EP"] = 3] = "TO_EP";
|
|
3860
4059
|
return BattleCmdType2;
|
|
3861
4060
|
})(BattleCmdType || {});
|
|
3862
|
-
var
|
|
4061
|
+
var _YGOProMsgSelectBattleCmd_ActivatableInfo = class _YGOProMsgSelectBattleCmd_ActivatableInfo {
|
|
3863
4062
|
};
|
|
4063
|
+
__name(_YGOProMsgSelectBattleCmd_ActivatableInfo, "YGOProMsgSelectBattleCmd_ActivatableInfo");
|
|
3864
4064
|
__decorateClass([
|
|
3865
4065
|
BinaryField("i32", 0)
|
|
3866
|
-
],
|
|
4066
|
+
], _YGOProMsgSelectBattleCmd_ActivatableInfo.prototype, "code", 2);
|
|
3867
4067
|
__decorateClass([
|
|
3868
4068
|
BinaryField("u8", 4)
|
|
3869
|
-
],
|
|
4069
|
+
], _YGOProMsgSelectBattleCmd_ActivatableInfo.prototype, "controller", 2);
|
|
3870
4070
|
__decorateClass([
|
|
3871
4071
|
BinaryField("u8", 5)
|
|
3872
|
-
],
|
|
4072
|
+
], _YGOProMsgSelectBattleCmd_ActivatableInfo.prototype, "location", 2);
|
|
3873
4073
|
__decorateClass([
|
|
3874
4074
|
BinaryField("u8", 6)
|
|
3875
|
-
],
|
|
4075
|
+
], _YGOProMsgSelectBattleCmd_ActivatableInfo.prototype, "sequence", 2);
|
|
3876
4076
|
__decorateClass([
|
|
3877
4077
|
BinaryField("i32", 7)
|
|
3878
|
-
],
|
|
3879
|
-
var
|
|
4078
|
+
], _YGOProMsgSelectBattleCmd_ActivatableInfo.prototype, "desc", 2);
|
|
4079
|
+
var YGOProMsgSelectBattleCmd_ActivatableInfo = _YGOProMsgSelectBattleCmd_ActivatableInfo;
|
|
4080
|
+
var _YGOProMsgSelectBattleCmd_AttackableInfo = class _YGOProMsgSelectBattleCmd_AttackableInfo {
|
|
3880
4081
|
};
|
|
4082
|
+
__name(_YGOProMsgSelectBattleCmd_AttackableInfo, "YGOProMsgSelectBattleCmd_AttackableInfo");
|
|
3881
4083
|
__decorateClass([
|
|
3882
4084
|
BinaryField("i32", 0)
|
|
3883
|
-
],
|
|
4085
|
+
], _YGOProMsgSelectBattleCmd_AttackableInfo.prototype, "code", 2);
|
|
3884
4086
|
__decorateClass([
|
|
3885
4087
|
BinaryField("u8", 4)
|
|
3886
|
-
],
|
|
4088
|
+
], _YGOProMsgSelectBattleCmd_AttackableInfo.prototype, "controller", 2);
|
|
3887
4089
|
__decorateClass([
|
|
3888
4090
|
BinaryField("u8", 5)
|
|
3889
|
-
],
|
|
4091
|
+
], _YGOProMsgSelectBattleCmd_AttackableInfo.prototype, "location", 2);
|
|
3890
4092
|
__decorateClass([
|
|
3891
4093
|
BinaryField("u8", 6)
|
|
3892
|
-
],
|
|
4094
|
+
], _YGOProMsgSelectBattleCmd_AttackableInfo.prototype, "sequence", 2);
|
|
3893
4095
|
__decorateClass([
|
|
3894
4096
|
BinaryField("u8", 7)
|
|
3895
|
-
],
|
|
3896
|
-
var
|
|
4097
|
+
], _YGOProMsgSelectBattleCmd_AttackableInfo.prototype, "directAttack", 2);
|
|
4098
|
+
var YGOProMsgSelectBattleCmd_AttackableInfo = _YGOProMsgSelectBattleCmd_AttackableInfo;
|
|
4099
|
+
var _YGOProMsgSelectBattleCmd = class _YGOProMsgSelectBattleCmd extends YGOProMsgResponseBase {
|
|
3897
4100
|
responsePlayer() {
|
|
3898
4101
|
return this.player;
|
|
3899
4102
|
}
|
|
@@ -3954,25 +4157,26 @@ var YGOProMsgSelectBattleCmd = class extends YGOProMsgResponseBase {
|
|
|
3954
4157
|
return buffer;
|
|
3955
4158
|
}
|
|
3956
4159
|
};
|
|
3957
|
-
YGOProMsgSelectBattleCmd
|
|
4160
|
+
__name(_YGOProMsgSelectBattleCmd, "YGOProMsgSelectBattleCmd");
|
|
4161
|
+
_YGOProMsgSelectBattleCmd.identifier = OcgcoreCommonConstants.MSG_SELECT_BATTLECMD;
|
|
3958
4162
|
__decorateClass([
|
|
3959
4163
|
BinaryField("u8", 0)
|
|
3960
|
-
],
|
|
4164
|
+
], _YGOProMsgSelectBattleCmd.prototype, "player", 2);
|
|
3961
4165
|
__decorateClass([
|
|
3962
4166
|
BinaryField("u8", 1)
|
|
3963
|
-
],
|
|
4167
|
+
], _YGOProMsgSelectBattleCmd.prototype, "activatableCount", 2);
|
|
3964
4168
|
__decorateClass([
|
|
3965
4169
|
BinaryField(
|
|
3966
4170
|
() => YGOProMsgSelectBattleCmd_ActivatableInfo,
|
|
3967
4171
|
2,
|
|
3968
4172
|
(obj) => obj.activatableCount
|
|
3969
4173
|
)
|
|
3970
|
-
],
|
|
4174
|
+
], _YGOProMsgSelectBattleCmd.prototype, "activatableCards", 2);
|
|
3971
4175
|
__decorateClass([
|
|
3972
4176
|
BinaryField("u8", (obj) => {
|
|
3973
4177
|
return 2 + obj.activatableCount * 11;
|
|
3974
4178
|
})
|
|
3975
|
-
],
|
|
4179
|
+
], _YGOProMsgSelectBattleCmd.prototype, "attackableCount", 2);
|
|
3976
4180
|
__decorateClass([
|
|
3977
4181
|
BinaryField(
|
|
3978
4182
|
() => YGOProMsgSelectBattleCmd_AttackableInfo,
|
|
@@ -3981,37 +4185,40 @@ __decorateClass([
|
|
|
3981
4185
|
},
|
|
3982
4186
|
(obj) => obj.attackableCount
|
|
3983
4187
|
)
|
|
3984
|
-
],
|
|
4188
|
+
], _YGOProMsgSelectBattleCmd.prototype, "attackableCards", 2);
|
|
3985
4189
|
__decorateClass([
|
|
3986
4190
|
BinaryField("u8", (obj) => {
|
|
3987
4191
|
return 3 + obj.activatableCount * 11 + obj.attackableCount * 8;
|
|
3988
4192
|
})
|
|
3989
|
-
],
|
|
4193
|
+
], _YGOProMsgSelectBattleCmd.prototype, "canM2", 2);
|
|
3990
4194
|
__decorateClass([
|
|
3991
4195
|
BinaryField("u8", (obj) => {
|
|
3992
4196
|
return 4 + obj.activatableCount * 11 + obj.attackableCount * 8;
|
|
3993
4197
|
})
|
|
3994
|
-
],
|
|
4198
|
+
], _YGOProMsgSelectBattleCmd.prototype, "canEp", 2);
|
|
4199
|
+
var YGOProMsgSelectBattleCmd = _YGOProMsgSelectBattleCmd;
|
|
3995
4200
|
|
|
3996
4201
|
// src/protos/msg/proto/select-card.ts
|
|
3997
|
-
var
|
|
4202
|
+
var _YGOProMsgSelectCard_CardInfo = class _YGOProMsgSelectCard_CardInfo {
|
|
3998
4203
|
};
|
|
4204
|
+
__name(_YGOProMsgSelectCard_CardInfo, "YGOProMsgSelectCard_CardInfo");
|
|
3999
4205
|
__decorateClass([
|
|
4000
4206
|
BinaryField("i32", 0)
|
|
4001
|
-
],
|
|
4207
|
+
], _YGOProMsgSelectCard_CardInfo.prototype, "code", 2);
|
|
4002
4208
|
__decorateClass([
|
|
4003
4209
|
BinaryField("u8", 4)
|
|
4004
|
-
],
|
|
4210
|
+
], _YGOProMsgSelectCard_CardInfo.prototype, "controller", 2);
|
|
4005
4211
|
__decorateClass([
|
|
4006
4212
|
BinaryField("u8", 5)
|
|
4007
|
-
],
|
|
4213
|
+
], _YGOProMsgSelectCard_CardInfo.prototype, "location", 2);
|
|
4008
4214
|
__decorateClass([
|
|
4009
4215
|
BinaryField("u8", 6)
|
|
4010
|
-
],
|
|
4216
|
+
], _YGOProMsgSelectCard_CardInfo.prototype, "sequence", 2);
|
|
4011
4217
|
__decorateClass([
|
|
4012
4218
|
BinaryField("u8", 7)
|
|
4013
|
-
],
|
|
4014
|
-
var
|
|
4219
|
+
], _YGOProMsgSelectCard_CardInfo.prototype, "subsequence", 2);
|
|
4220
|
+
var YGOProMsgSelectCard_CardInfo = _YGOProMsgSelectCard_CardInfo;
|
|
4221
|
+
var _YGOProMsgSelectCard = class _YGOProMsgSelectCard extends YGOProMsgResponseBase {
|
|
4015
4222
|
responsePlayer() {
|
|
4016
4223
|
return this.player;
|
|
4017
4224
|
}
|
|
@@ -4056,54 +4263,58 @@ var YGOProMsgSelectCard = class extends YGOProMsgResponseBase {
|
|
|
4056
4263
|
return buffer;
|
|
4057
4264
|
}
|
|
4058
4265
|
};
|
|
4059
|
-
YGOProMsgSelectCard
|
|
4266
|
+
__name(_YGOProMsgSelectCard, "YGOProMsgSelectCard");
|
|
4267
|
+
_YGOProMsgSelectCard.identifier = OcgcoreCommonConstants.MSG_SELECT_CARD;
|
|
4060
4268
|
__decorateClass([
|
|
4061
4269
|
BinaryField("u8", 0)
|
|
4062
|
-
],
|
|
4270
|
+
], _YGOProMsgSelectCard.prototype, "player", 2);
|
|
4063
4271
|
__decorateClass([
|
|
4064
4272
|
BinaryField("u8", 1)
|
|
4065
|
-
],
|
|
4273
|
+
], _YGOProMsgSelectCard.prototype, "cancelable", 2);
|
|
4066
4274
|
__decorateClass([
|
|
4067
4275
|
BinaryField("u8", 2)
|
|
4068
|
-
],
|
|
4276
|
+
], _YGOProMsgSelectCard.prototype, "min", 2);
|
|
4069
4277
|
__decorateClass([
|
|
4070
4278
|
BinaryField("u8", 3)
|
|
4071
|
-
],
|
|
4279
|
+
], _YGOProMsgSelectCard.prototype, "max", 2);
|
|
4072
4280
|
__decorateClass([
|
|
4073
4281
|
BinaryField("u8", 4)
|
|
4074
|
-
],
|
|
4282
|
+
], _YGOProMsgSelectCard.prototype, "count", 2);
|
|
4075
4283
|
__decorateClass([
|
|
4076
4284
|
BinaryField(() => YGOProMsgSelectCard_CardInfo, 5, (obj) => obj.count)
|
|
4077
|
-
],
|
|
4285
|
+
], _YGOProMsgSelectCard.prototype, "cards", 2);
|
|
4286
|
+
var YGOProMsgSelectCard = _YGOProMsgSelectCard;
|
|
4078
4287
|
|
|
4079
4288
|
// src/protos/msg/proto/select-chain.ts
|
|
4080
|
-
var
|
|
4289
|
+
var _YGOProMsgSelectChain_ChainInfo = class _YGOProMsgSelectChain_ChainInfo {
|
|
4081
4290
|
};
|
|
4291
|
+
__name(_YGOProMsgSelectChain_ChainInfo, "YGOProMsgSelectChain_ChainInfo");
|
|
4082
4292
|
__decorateClass([
|
|
4083
4293
|
BinaryField("u8", 0)
|
|
4084
|
-
],
|
|
4294
|
+
], _YGOProMsgSelectChain_ChainInfo.prototype, "edesc", 2);
|
|
4085
4295
|
__decorateClass([
|
|
4086
4296
|
BinaryField("u8", 1)
|
|
4087
|
-
],
|
|
4297
|
+
], _YGOProMsgSelectChain_ChainInfo.prototype, "forced", 2);
|
|
4088
4298
|
__decorateClass([
|
|
4089
4299
|
BinaryField("i32", 2)
|
|
4090
|
-
],
|
|
4300
|
+
], _YGOProMsgSelectChain_ChainInfo.prototype, "code", 2);
|
|
4091
4301
|
__decorateClass([
|
|
4092
4302
|
BinaryField("u8", 6)
|
|
4093
|
-
],
|
|
4303
|
+
], _YGOProMsgSelectChain_ChainInfo.prototype, "controller", 2);
|
|
4094
4304
|
__decorateClass([
|
|
4095
4305
|
BinaryField("u8", 7)
|
|
4096
|
-
],
|
|
4306
|
+
], _YGOProMsgSelectChain_ChainInfo.prototype, "location", 2);
|
|
4097
4307
|
__decorateClass([
|
|
4098
4308
|
BinaryField("u8", 8)
|
|
4099
|
-
],
|
|
4309
|
+
], _YGOProMsgSelectChain_ChainInfo.prototype, "sequence", 2);
|
|
4100
4310
|
__decorateClass([
|
|
4101
4311
|
BinaryField("u8", 9)
|
|
4102
|
-
],
|
|
4312
|
+
], _YGOProMsgSelectChain_ChainInfo.prototype, "subsequence", 2);
|
|
4103
4313
|
__decorateClass([
|
|
4104
4314
|
BinaryField("i32", 10)
|
|
4105
|
-
],
|
|
4106
|
-
var
|
|
4315
|
+
], _YGOProMsgSelectChain_ChainInfo.prototype, "desc", 2);
|
|
4316
|
+
var YGOProMsgSelectChain_ChainInfo = _YGOProMsgSelectChain_ChainInfo;
|
|
4317
|
+
var _YGOProMsgSelectChain = class _YGOProMsgSelectChain extends YGOProMsgResponseBase {
|
|
4107
4318
|
responsePlayer() {
|
|
4108
4319
|
return this.player;
|
|
4109
4320
|
}
|
|
@@ -4137,45 +4348,49 @@ var YGOProMsgSelectChain = class extends YGOProMsgResponseBase {
|
|
|
4137
4348
|
return buffer;
|
|
4138
4349
|
}
|
|
4139
4350
|
};
|
|
4140
|
-
YGOProMsgSelectChain
|
|
4351
|
+
__name(_YGOProMsgSelectChain, "YGOProMsgSelectChain");
|
|
4352
|
+
_YGOProMsgSelectChain.identifier = OcgcoreCommonConstants.MSG_SELECT_CHAIN;
|
|
4141
4353
|
__decorateClass([
|
|
4142
4354
|
BinaryField("u8", 0)
|
|
4143
|
-
],
|
|
4355
|
+
], _YGOProMsgSelectChain.prototype, "player", 2);
|
|
4144
4356
|
__decorateClass([
|
|
4145
4357
|
BinaryField("u8", 1)
|
|
4146
|
-
],
|
|
4358
|
+
], _YGOProMsgSelectChain.prototype, "count", 2);
|
|
4147
4359
|
__decorateClass([
|
|
4148
4360
|
BinaryField("u8", 2)
|
|
4149
|
-
],
|
|
4361
|
+
], _YGOProMsgSelectChain.prototype, "specialCount", 2);
|
|
4150
4362
|
__decorateClass([
|
|
4151
4363
|
BinaryField("i32", 3)
|
|
4152
|
-
],
|
|
4364
|
+
], _YGOProMsgSelectChain.prototype, "hint0", 2);
|
|
4153
4365
|
__decorateClass([
|
|
4154
4366
|
BinaryField("i32", 7)
|
|
4155
|
-
],
|
|
4367
|
+
], _YGOProMsgSelectChain.prototype, "hint1", 2);
|
|
4156
4368
|
__decorateClass([
|
|
4157
4369
|
BinaryField(() => YGOProMsgSelectChain_ChainInfo, 11, (obj) => obj.count)
|
|
4158
|
-
],
|
|
4370
|
+
], _YGOProMsgSelectChain.prototype, "chains", 2);
|
|
4371
|
+
var YGOProMsgSelectChain = _YGOProMsgSelectChain;
|
|
4159
4372
|
|
|
4160
4373
|
// src/protos/msg/proto/select-counter.ts
|
|
4161
|
-
var
|
|
4374
|
+
var _YGOProMsgSelectCounter_CardInfo = class _YGOProMsgSelectCounter_CardInfo {
|
|
4162
4375
|
};
|
|
4376
|
+
__name(_YGOProMsgSelectCounter_CardInfo, "YGOProMsgSelectCounter_CardInfo");
|
|
4163
4377
|
__decorateClass([
|
|
4164
4378
|
BinaryField("i32", 0)
|
|
4165
|
-
],
|
|
4379
|
+
], _YGOProMsgSelectCounter_CardInfo.prototype, "code", 2);
|
|
4166
4380
|
__decorateClass([
|
|
4167
4381
|
BinaryField("u8", 4)
|
|
4168
|
-
],
|
|
4382
|
+
], _YGOProMsgSelectCounter_CardInfo.prototype, "controller", 2);
|
|
4169
4383
|
__decorateClass([
|
|
4170
4384
|
BinaryField("u8", 5)
|
|
4171
|
-
],
|
|
4385
|
+
], _YGOProMsgSelectCounter_CardInfo.prototype, "location", 2);
|
|
4172
4386
|
__decorateClass([
|
|
4173
4387
|
BinaryField("u8", 6)
|
|
4174
|
-
],
|
|
4388
|
+
], _YGOProMsgSelectCounter_CardInfo.prototype, "sequence", 2);
|
|
4175
4389
|
__decorateClass([
|
|
4176
4390
|
BinaryField("u16", 7)
|
|
4177
|
-
],
|
|
4178
|
-
var
|
|
4391
|
+
], _YGOProMsgSelectCounter_CardInfo.prototype, "counterCount", 2);
|
|
4392
|
+
var YGOProMsgSelectCounter_CardInfo = _YGOProMsgSelectCounter_CardInfo;
|
|
4393
|
+
var _YGOProMsgSelectCounter = class _YGOProMsgSelectCounter extends YGOProMsgResponseBase {
|
|
4179
4394
|
responsePlayer() {
|
|
4180
4395
|
return this.player;
|
|
4181
4396
|
}
|
|
@@ -4207,25 +4422,27 @@ var YGOProMsgSelectCounter = class extends YGOProMsgResponseBase {
|
|
|
4207
4422
|
return buffer;
|
|
4208
4423
|
}
|
|
4209
4424
|
};
|
|
4210
|
-
YGOProMsgSelectCounter
|
|
4425
|
+
__name(_YGOProMsgSelectCounter, "YGOProMsgSelectCounter");
|
|
4426
|
+
_YGOProMsgSelectCounter.identifier = OcgcoreCommonConstants.MSG_SELECT_COUNTER;
|
|
4211
4427
|
__decorateClass([
|
|
4212
4428
|
BinaryField("u8", 0)
|
|
4213
|
-
],
|
|
4429
|
+
], _YGOProMsgSelectCounter.prototype, "player", 2);
|
|
4214
4430
|
__decorateClass([
|
|
4215
4431
|
BinaryField("u16", 1)
|
|
4216
|
-
],
|
|
4432
|
+
], _YGOProMsgSelectCounter.prototype, "counterType", 2);
|
|
4217
4433
|
__decorateClass([
|
|
4218
4434
|
BinaryField("u16", 3)
|
|
4219
|
-
],
|
|
4435
|
+
], _YGOProMsgSelectCounter.prototype, "counterCount", 2);
|
|
4220
4436
|
__decorateClass([
|
|
4221
4437
|
BinaryField("u8", 5)
|
|
4222
|
-
],
|
|
4438
|
+
], _YGOProMsgSelectCounter.prototype, "count", 2);
|
|
4223
4439
|
__decorateClass([
|
|
4224
4440
|
BinaryField(() => YGOProMsgSelectCounter_CardInfo, 6, (obj) => obj.count)
|
|
4225
|
-
],
|
|
4441
|
+
], _YGOProMsgSelectCounter.prototype, "cards", 2);
|
|
4442
|
+
var YGOProMsgSelectCounter = _YGOProMsgSelectCounter;
|
|
4226
4443
|
|
|
4227
4444
|
// src/protos/msg/proto/select-place-common.ts
|
|
4228
|
-
var
|
|
4445
|
+
var _YGOProMsgSelectPlaceCommon = class _YGOProMsgSelectPlaceCommon extends YGOProMsgResponseBase {
|
|
4229
4446
|
getSelectablePlaces() {
|
|
4230
4447
|
const places = [];
|
|
4231
4448
|
const mask = this.flag >>> 0;
|
|
@@ -4261,23 +4478,27 @@ var YGOProMsgSelectPlaceCommon = class extends YGOProMsgResponseBase {
|
|
|
4261
4478
|
return buffer;
|
|
4262
4479
|
}
|
|
4263
4480
|
};
|
|
4481
|
+
__name(_YGOProMsgSelectPlaceCommon, "YGOProMsgSelectPlaceCommon");
|
|
4264
4482
|
__decorateClass([
|
|
4265
4483
|
BinaryField("u8", 0)
|
|
4266
|
-
],
|
|
4484
|
+
], _YGOProMsgSelectPlaceCommon.prototype, "player", 2);
|
|
4267
4485
|
__decorateClass([
|
|
4268
4486
|
BinaryField("u8", 1)
|
|
4269
|
-
],
|
|
4487
|
+
], _YGOProMsgSelectPlaceCommon.prototype, "count", 2);
|
|
4270
4488
|
__decorateClass([
|
|
4271
4489
|
BinaryField("u32", 2)
|
|
4272
|
-
],
|
|
4490
|
+
], _YGOProMsgSelectPlaceCommon.prototype, "flag", 2);
|
|
4491
|
+
var YGOProMsgSelectPlaceCommon = _YGOProMsgSelectPlaceCommon;
|
|
4273
4492
|
|
|
4274
4493
|
// src/protos/msg/proto/select-disfield.ts
|
|
4275
|
-
var
|
|
4494
|
+
var _YGOProMsgSelectDisField = class _YGOProMsgSelectDisField extends YGOProMsgSelectPlaceCommon {
|
|
4276
4495
|
};
|
|
4277
|
-
YGOProMsgSelectDisField
|
|
4496
|
+
__name(_YGOProMsgSelectDisField, "YGOProMsgSelectDisField");
|
|
4497
|
+
_YGOProMsgSelectDisField.identifier = OcgcoreCommonConstants.MSG_SELECT_DISFIELD;
|
|
4498
|
+
var YGOProMsgSelectDisField = _YGOProMsgSelectDisField;
|
|
4278
4499
|
|
|
4279
4500
|
// src/protos/msg/proto/select-effectyn.ts
|
|
4280
|
-
var
|
|
4501
|
+
var _YGOProMsgSelectEffectYn = class _YGOProMsgSelectEffectYn extends YGOProMsgResponseBase {
|
|
4281
4502
|
responsePlayer() {
|
|
4282
4503
|
return this.player;
|
|
4283
4504
|
}
|
|
@@ -4291,28 +4512,30 @@ var YGOProMsgSelectEffectYn = class extends YGOProMsgResponseBase {
|
|
|
4291
4512
|
return buffer;
|
|
4292
4513
|
}
|
|
4293
4514
|
};
|
|
4294
|
-
YGOProMsgSelectEffectYn
|
|
4515
|
+
__name(_YGOProMsgSelectEffectYn, "YGOProMsgSelectEffectYn");
|
|
4516
|
+
_YGOProMsgSelectEffectYn.identifier = OcgcoreCommonConstants.MSG_SELECT_EFFECTYN;
|
|
4295
4517
|
__decorateClass([
|
|
4296
4518
|
BinaryField("u8", 0)
|
|
4297
|
-
],
|
|
4519
|
+
], _YGOProMsgSelectEffectYn.prototype, "player", 2);
|
|
4298
4520
|
__decorateClass([
|
|
4299
4521
|
BinaryField("i32", 1)
|
|
4300
|
-
],
|
|
4522
|
+
], _YGOProMsgSelectEffectYn.prototype, "code", 2);
|
|
4301
4523
|
__decorateClass([
|
|
4302
4524
|
BinaryField("u8", 5)
|
|
4303
|
-
],
|
|
4525
|
+
], _YGOProMsgSelectEffectYn.prototype, "controller", 2);
|
|
4304
4526
|
__decorateClass([
|
|
4305
4527
|
BinaryField("u8", 6)
|
|
4306
|
-
],
|
|
4528
|
+
], _YGOProMsgSelectEffectYn.prototype, "location", 2);
|
|
4307
4529
|
__decorateClass([
|
|
4308
4530
|
BinaryField("u8", 7)
|
|
4309
|
-
],
|
|
4531
|
+
], _YGOProMsgSelectEffectYn.prototype, "sequence", 2);
|
|
4310
4532
|
__decorateClass([
|
|
4311
4533
|
BinaryField("u8", 8)
|
|
4312
|
-
],
|
|
4534
|
+
], _YGOProMsgSelectEffectYn.prototype, "position", 2);
|
|
4313
4535
|
__decorateClass([
|
|
4314
4536
|
BinaryField("i32", 9)
|
|
4315
|
-
],
|
|
4537
|
+
], _YGOProMsgSelectEffectYn.prototype, "desc", 2);
|
|
4538
|
+
var YGOProMsgSelectEffectYn = _YGOProMsgSelectEffectYn;
|
|
4316
4539
|
|
|
4317
4540
|
// src/protos/msg/proto/select-idlecmd.ts
|
|
4318
4541
|
var IdleCmdType = /* @__PURE__ */ ((IdleCmdType2) => {
|
|
@@ -4327,38 +4550,42 @@ var IdleCmdType = /* @__PURE__ */ ((IdleCmdType2) => {
|
|
|
4327
4550
|
IdleCmdType2[IdleCmdType2["SHUFFLE"] = 8] = "SHUFFLE";
|
|
4328
4551
|
return IdleCmdType2;
|
|
4329
4552
|
})(IdleCmdType || {});
|
|
4330
|
-
var
|
|
4553
|
+
var _YGOProMsgSelectIdleCmd_SimpleCardInfo = class _YGOProMsgSelectIdleCmd_SimpleCardInfo {
|
|
4331
4554
|
};
|
|
4555
|
+
__name(_YGOProMsgSelectIdleCmd_SimpleCardInfo, "YGOProMsgSelectIdleCmd_SimpleCardInfo");
|
|
4332
4556
|
__decorateClass([
|
|
4333
4557
|
BinaryField("i32", 0)
|
|
4334
|
-
],
|
|
4558
|
+
], _YGOProMsgSelectIdleCmd_SimpleCardInfo.prototype, "code", 2);
|
|
4335
4559
|
__decorateClass([
|
|
4336
4560
|
BinaryField("u8", 4)
|
|
4337
|
-
],
|
|
4561
|
+
], _YGOProMsgSelectIdleCmd_SimpleCardInfo.prototype, "controller", 2);
|
|
4338
4562
|
__decorateClass([
|
|
4339
4563
|
BinaryField("u8", 5)
|
|
4340
|
-
],
|
|
4564
|
+
], _YGOProMsgSelectIdleCmd_SimpleCardInfo.prototype, "location", 2);
|
|
4341
4565
|
__decorateClass([
|
|
4342
4566
|
BinaryField("u8", 6)
|
|
4343
|
-
],
|
|
4344
|
-
var
|
|
4567
|
+
], _YGOProMsgSelectIdleCmd_SimpleCardInfo.prototype, "sequence", 2);
|
|
4568
|
+
var YGOProMsgSelectIdleCmd_SimpleCardInfo = _YGOProMsgSelectIdleCmd_SimpleCardInfo;
|
|
4569
|
+
var _YGOProMsgSelectIdleCmd_ActivatableInfo = class _YGOProMsgSelectIdleCmd_ActivatableInfo {
|
|
4345
4570
|
};
|
|
4571
|
+
__name(_YGOProMsgSelectIdleCmd_ActivatableInfo, "YGOProMsgSelectIdleCmd_ActivatableInfo");
|
|
4346
4572
|
__decorateClass([
|
|
4347
4573
|
BinaryField("i32", 0)
|
|
4348
|
-
],
|
|
4574
|
+
], _YGOProMsgSelectIdleCmd_ActivatableInfo.prototype, "code", 2);
|
|
4349
4575
|
__decorateClass([
|
|
4350
4576
|
BinaryField("u8", 4)
|
|
4351
|
-
],
|
|
4577
|
+
], _YGOProMsgSelectIdleCmd_ActivatableInfo.prototype, "controller", 2);
|
|
4352
4578
|
__decorateClass([
|
|
4353
4579
|
BinaryField("u8", 5)
|
|
4354
|
-
],
|
|
4580
|
+
], _YGOProMsgSelectIdleCmd_ActivatableInfo.prototype, "location", 2);
|
|
4355
4581
|
__decorateClass([
|
|
4356
4582
|
BinaryField("u8", 6)
|
|
4357
|
-
],
|
|
4583
|
+
], _YGOProMsgSelectIdleCmd_ActivatableInfo.prototype, "sequence", 2);
|
|
4358
4584
|
__decorateClass([
|
|
4359
4585
|
BinaryField("i32", 7)
|
|
4360
|
-
],
|
|
4361
|
-
var
|
|
4586
|
+
], _YGOProMsgSelectIdleCmd_ActivatableInfo.prototype, "desc", 2);
|
|
4587
|
+
var YGOProMsgSelectIdleCmd_ActivatableInfo = _YGOProMsgSelectIdleCmd_ActivatableInfo;
|
|
4588
|
+
var _YGOProMsgSelectIdleCmd = class _YGOProMsgSelectIdleCmd extends YGOProMsgResponseBase {
|
|
4362
4589
|
responsePlayer() {
|
|
4363
4590
|
return this.player;
|
|
4364
4591
|
}
|
|
@@ -4434,103 +4661,105 @@ var YGOProMsgSelectIdleCmd = class extends YGOProMsgResponseBase {
|
|
|
4434
4661
|
return buffer;
|
|
4435
4662
|
}
|
|
4436
4663
|
};
|
|
4437
|
-
YGOProMsgSelectIdleCmd
|
|
4664
|
+
__name(_YGOProMsgSelectIdleCmd, "YGOProMsgSelectIdleCmd");
|
|
4665
|
+
_YGOProMsgSelectIdleCmd.identifier = OcgcoreCommonConstants.MSG_SELECT_IDLECMD;
|
|
4438
4666
|
__decorateClass([
|
|
4439
4667
|
BinaryField("u8", 0)
|
|
4440
|
-
],
|
|
4668
|
+
], _YGOProMsgSelectIdleCmd.prototype, "player", 2);
|
|
4441
4669
|
__decorateClass([
|
|
4442
4670
|
BinaryField("u8", 1)
|
|
4443
|
-
],
|
|
4671
|
+
], _YGOProMsgSelectIdleCmd.prototype, "summonableCount", 2);
|
|
4444
4672
|
__decorateClass([
|
|
4445
4673
|
BinaryField(
|
|
4446
4674
|
() => YGOProMsgSelectIdleCmd_SimpleCardInfo,
|
|
4447
4675
|
2,
|
|
4448
4676
|
(obj) => obj.summonableCount
|
|
4449
4677
|
)
|
|
4450
|
-
],
|
|
4678
|
+
], _YGOProMsgSelectIdleCmd.prototype, "summonableCards", 2);
|
|
4451
4679
|
__decorateClass([
|
|
4452
4680
|
BinaryField("u8", (obj) => 2 + obj.summonableCount * 7)
|
|
4453
|
-
],
|
|
4681
|
+
], _YGOProMsgSelectIdleCmd.prototype, "spSummonableCount", 2);
|
|
4454
4682
|
__decorateClass([
|
|
4455
4683
|
BinaryField(
|
|
4456
4684
|
() => YGOProMsgSelectIdleCmd_SimpleCardInfo,
|
|
4457
4685
|
(obj) => 3 + obj.summonableCount * 7,
|
|
4458
4686
|
(obj) => obj.spSummonableCount
|
|
4459
4687
|
)
|
|
4460
|
-
],
|
|
4688
|
+
], _YGOProMsgSelectIdleCmd.prototype, "spSummonableCards", 2);
|
|
4461
4689
|
__decorateClass([
|
|
4462
4690
|
BinaryField(
|
|
4463
4691
|
"u8",
|
|
4464
4692
|
(obj) => 3 + obj.summonableCount * 7 + obj.spSummonableCount * 7
|
|
4465
4693
|
)
|
|
4466
|
-
],
|
|
4694
|
+
], _YGOProMsgSelectIdleCmd.prototype, "reposableCount", 2);
|
|
4467
4695
|
__decorateClass([
|
|
4468
4696
|
BinaryField(
|
|
4469
4697
|
() => YGOProMsgSelectIdleCmd_SimpleCardInfo,
|
|
4470
4698
|
(obj) => 4 + obj.summonableCount * 7 + obj.spSummonableCount * 7,
|
|
4471
4699
|
(obj) => obj.reposableCount
|
|
4472
4700
|
)
|
|
4473
|
-
],
|
|
4701
|
+
], _YGOProMsgSelectIdleCmd.prototype, "reposableCards", 2);
|
|
4474
4702
|
__decorateClass([
|
|
4475
4703
|
BinaryField(
|
|
4476
4704
|
"u8",
|
|
4477
4705
|
(obj) => 4 + obj.summonableCount * 7 + obj.spSummonableCount * 7 + obj.reposableCount * 7
|
|
4478
4706
|
)
|
|
4479
|
-
],
|
|
4707
|
+
], _YGOProMsgSelectIdleCmd.prototype, "msetableCount", 2);
|
|
4480
4708
|
__decorateClass([
|
|
4481
4709
|
BinaryField(
|
|
4482
4710
|
() => YGOProMsgSelectIdleCmd_SimpleCardInfo,
|
|
4483
4711
|
(obj) => 5 + obj.summonableCount * 7 + obj.spSummonableCount * 7 + obj.reposableCount * 7,
|
|
4484
4712
|
(obj) => obj.msetableCount
|
|
4485
4713
|
)
|
|
4486
|
-
],
|
|
4714
|
+
], _YGOProMsgSelectIdleCmd.prototype, "msetableCards", 2);
|
|
4487
4715
|
__decorateClass([
|
|
4488
4716
|
BinaryField(
|
|
4489
4717
|
"u8",
|
|
4490
4718
|
(obj) => 5 + obj.summonableCount * 7 + obj.spSummonableCount * 7 + obj.reposableCount * 7 + obj.msetableCount * 7
|
|
4491
4719
|
)
|
|
4492
|
-
],
|
|
4720
|
+
], _YGOProMsgSelectIdleCmd.prototype, "ssetableCount", 2);
|
|
4493
4721
|
__decorateClass([
|
|
4494
4722
|
BinaryField(
|
|
4495
4723
|
() => YGOProMsgSelectIdleCmd_SimpleCardInfo,
|
|
4496
4724
|
(obj) => 6 + obj.summonableCount * 7 + obj.spSummonableCount * 7 + obj.reposableCount * 7 + obj.msetableCount * 7,
|
|
4497
4725
|
(obj) => obj.ssetableCount
|
|
4498
4726
|
)
|
|
4499
|
-
],
|
|
4727
|
+
], _YGOProMsgSelectIdleCmd.prototype, "ssetableCards", 2);
|
|
4500
4728
|
__decorateClass([
|
|
4501
4729
|
BinaryField(
|
|
4502
4730
|
"u8",
|
|
4503
4731
|
(obj) => 6 + obj.summonableCount * 7 + obj.spSummonableCount * 7 + obj.reposableCount * 7 + obj.msetableCount * 7 + obj.ssetableCount * 7
|
|
4504
4732
|
)
|
|
4505
|
-
],
|
|
4733
|
+
], _YGOProMsgSelectIdleCmd.prototype, "activatableCount", 2);
|
|
4506
4734
|
__decorateClass([
|
|
4507
4735
|
BinaryField(
|
|
4508
4736
|
() => YGOProMsgSelectIdleCmd_ActivatableInfo,
|
|
4509
4737
|
(obj) => 7 + obj.summonableCount * 7 + obj.spSummonableCount * 7 + obj.reposableCount * 7 + obj.msetableCount * 7 + obj.ssetableCount * 7,
|
|
4510
4738
|
(obj) => obj.activatableCount
|
|
4511
4739
|
)
|
|
4512
|
-
],
|
|
4740
|
+
], _YGOProMsgSelectIdleCmd.prototype, "activatableCards", 2);
|
|
4513
4741
|
__decorateClass([
|
|
4514
4742
|
BinaryField(
|
|
4515
4743
|
"u8",
|
|
4516
4744
|
(obj) => 7 + obj.summonableCount * 7 + obj.spSummonableCount * 7 + obj.reposableCount * 7 + obj.msetableCount * 7 + obj.ssetableCount * 7 + obj.activatableCount * 11
|
|
4517
4745
|
)
|
|
4518
|
-
],
|
|
4746
|
+
], _YGOProMsgSelectIdleCmd.prototype, "canBp", 2);
|
|
4519
4747
|
__decorateClass([
|
|
4520
4748
|
BinaryField(
|
|
4521
4749
|
"u8",
|
|
4522
4750
|
(obj) => 8 + obj.summonableCount * 7 + obj.spSummonableCount * 7 + obj.reposableCount * 7 + obj.msetableCount * 7 + obj.ssetableCount * 7 + obj.activatableCount * 11
|
|
4523
4751
|
)
|
|
4524
|
-
],
|
|
4752
|
+
], _YGOProMsgSelectIdleCmd.prototype, "canEp", 2);
|
|
4525
4753
|
__decorateClass([
|
|
4526
4754
|
BinaryField(
|
|
4527
4755
|
"u8",
|
|
4528
4756
|
(obj) => 9 + obj.summonableCount * 7 + obj.spSummonableCount * 7 + obj.reposableCount * 7 + obj.msetableCount * 7 + obj.ssetableCount * 7 + obj.activatableCount * 11
|
|
4529
4757
|
)
|
|
4530
|
-
],
|
|
4758
|
+
], _YGOProMsgSelectIdleCmd.prototype, "canShuffle", 2);
|
|
4759
|
+
var YGOProMsgSelectIdleCmd = _YGOProMsgSelectIdleCmd;
|
|
4531
4760
|
|
|
4532
4761
|
// src/protos/msg/proto/select-option.ts
|
|
4533
|
-
var
|
|
4762
|
+
var _YGOProMsgSelectOption = class _YGOProMsgSelectOption extends YGOProMsgResponseBase {
|
|
4534
4763
|
responsePlayer() {
|
|
4535
4764
|
return this.player;
|
|
4536
4765
|
}
|
|
@@ -4553,24 +4782,28 @@ var YGOProMsgSelectOption = class extends YGOProMsgResponseBase {
|
|
|
4553
4782
|
return buffer;
|
|
4554
4783
|
}
|
|
4555
4784
|
};
|
|
4556
|
-
YGOProMsgSelectOption
|
|
4785
|
+
__name(_YGOProMsgSelectOption, "YGOProMsgSelectOption");
|
|
4786
|
+
_YGOProMsgSelectOption.identifier = OcgcoreCommonConstants.MSG_SELECT_OPTION;
|
|
4557
4787
|
__decorateClass([
|
|
4558
4788
|
BinaryField("u8", 0)
|
|
4559
|
-
],
|
|
4789
|
+
], _YGOProMsgSelectOption.prototype, "player", 2);
|
|
4560
4790
|
__decorateClass([
|
|
4561
4791
|
BinaryField("u8", 1)
|
|
4562
|
-
],
|
|
4792
|
+
], _YGOProMsgSelectOption.prototype, "count", 2);
|
|
4563
4793
|
__decorateClass([
|
|
4564
4794
|
BinaryField("i32", 2, (obj) => obj.count)
|
|
4565
|
-
],
|
|
4795
|
+
], _YGOProMsgSelectOption.prototype, "options", 2);
|
|
4796
|
+
var YGOProMsgSelectOption = _YGOProMsgSelectOption;
|
|
4566
4797
|
|
|
4567
4798
|
// src/protos/msg/proto/select-place.ts
|
|
4568
|
-
var
|
|
4799
|
+
var _YGOProMsgSelectPlace = class _YGOProMsgSelectPlace extends YGOProMsgSelectPlaceCommon {
|
|
4569
4800
|
};
|
|
4570
|
-
YGOProMsgSelectPlace
|
|
4801
|
+
__name(_YGOProMsgSelectPlace, "YGOProMsgSelectPlace");
|
|
4802
|
+
_YGOProMsgSelectPlace.identifier = OcgcoreCommonConstants.MSG_SELECT_PLACE;
|
|
4803
|
+
var YGOProMsgSelectPlace = _YGOProMsgSelectPlace;
|
|
4571
4804
|
|
|
4572
4805
|
// src/protos/msg/proto/select-position.ts
|
|
4573
|
-
var
|
|
4806
|
+
var _YGOProMsgSelectPosition = class _YGOProMsgSelectPosition extends YGOProMsgResponseBase {
|
|
4574
4807
|
responsePlayer() {
|
|
4575
4808
|
return this.player;
|
|
4576
4809
|
}
|
|
@@ -4581,36 +4814,40 @@ var YGOProMsgSelectPosition = class extends YGOProMsgResponseBase {
|
|
|
4581
4814
|
return buffer;
|
|
4582
4815
|
}
|
|
4583
4816
|
};
|
|
4584
|
-
YGOProMsgSelectPosition
|
|
4817
|
+
__name(_YGOProMsgSelectPosition, "YGOProMsgSelectPosition");
|
|
4818
|
+
_YGOProMsgSelectPosition.identifier = OcgcoreCommonConstants.MSG_SELECT_POSITION;
|
|
4585
4819
|
__decorateClass([
|
|
4586
4820
|
BinaryField("u8", 0)
|
|
4587
|
-
],
|
|
4821
|
+
], _YGOProMsgSelectPosition.prototype, "player", 2);
|
|
4588
4822
|
__decorateClass([
|
|
4589
4823
|
BinaryField("i32", 1)
|
|
4590
|
-
],
|
|
4824
|
+
], _YGOProMsgSelectPosition.prototype, "code", 2);
|
|
4591
4825
|
__decorateClass([
|
|
4592
4826
|
BinaryField("u8", 5)
|
|
4593
|
-
],
|
|
4827
|
+
], _YGOProMsgSelectPosition.prototype, "positions", 2);
|
|
4828
|
+
var YGOProMsgSelectPosition = _YGOProMsgSelectPosition;
|
|
4594
4829
|
|
|
4595
4830
|
// src/protos/msg/proto/select-sum.ts
|
|
4596
|
-
var
|
|
4831
|
+
var _YGOProMsgSelectSum_CardInfo = class _YGOProMsgSelectSum_CardInfo {
|
|
4597
4832
|
};
|
|
4833
|
+
__name(_YGOProMsgSelectSum_CardInfo, "YGOProMsgSelectSum_CardInfo");
|
|
4598
4834
|
__decorateClass([
|
|
4599
4835
|
BinaryField("i32", 0)
|
|
4600
|
-
],
|
|
4836
|
+
], _YGOProMsgSelectSum_CardInfo.prototype, "code", 2);
|
|
4601
4837
|
__decorateClass([
|
|
4602
4838
|
BinaryField("u8", 4)
|
|
4603
|
-
],
|
|
4839
|
+
], _YGOProMsgSelectSum_CardInfo.prototype, "controller", 2);
|
|
4604
4840
|
__decorateClass([
|
|
4605
4841
|
BinaryField("u8", 5)
|
|
4606
|
-
],
|
|
4842
|
+
], _YGOProMsgSelectSum_CardInfo.prototype, "location", 2);
|
|
4607
4843
|
__decorateClass([
|
|
4608
4844
|
BinaryField("u8", 6)
|
|
4609
|
-
],
|
|
4845
|
+
], _YGOProMsgSelectSum_CardInfo.prototype, "sequence", 2);
|
|
4610
4846
|
__decorateClass([
|
|
4611
4847
|
BinaryField("i32", 7)
|
|
4612
|
-
],
|
|
4613
|
-
var
|
|
4848
|
+
], _YGOProMsgSelectSum_CardInfo.prototype, "opParam", 2);
|
|
4849
|
+
var YGOProMsgSelectSum_CardInfo = _YGOProMsgSelectSum_CardInfo;
|
|
4850
|
+
var _YGOProMsgSelectSum = class _YGOProMsgSelectSum extends YGOProMsgResponseBase {
|
|
4614
4851
|
responsePlayer() {
|
|
4615
4852
|
return this.player;
|
|
4616
4853
|
}
|
|
@@ -4641,37 +4878,38 @@ var YGOProMsgSelectSum = class extends YGOProMsgResponseBase {
|
|
|
4641
4878
|
return buffer;
|
|
4642
4879
|
}
|
|
4643
4880
|
};
|
|
4644
|
-
YGOProMsgSelectSum
|
|
4881
|
+
__name(_YGOProMsgSelectSum, "YGOProMsgSelectSum");
|
|
4882
|
+
_YGOProMsgSelectSum.identifier = OcgcoreCommonConstants.MSG_SELECT_SUM;
|
|
4645
4883
|
__decorateClass([
|
|
4646
4884
|
BinaryField("u8", 0)
|
|
4647
|
-
],
|
|
4885
|
+
], _YGOProMsgSelectSum.prototype, "mode", 2);
|
|
4648
4886
|
__decorateClass([
|
|
4649
4887
|
BinaryField("u8", 1)
|
|
4650
|
-
],
|
|
4888
|
+
], _YGOProMsgSelectSum.prototype, "player", 2);
|
|
4651
4889
|
__decorateClass([
|
|
4652
4890
|
BinaryField("i32", 2)
|
|
4653
|
-
],
|
|
4891
|
+
], _YGOProMsgSelectSum.prototype, "sumVal", 2);
|
|
4654
4892
|
__decorateClass([
|
|
4655
4893
|
BinaryField("u8", 6)
|
|
4656
|
-
],
|
|
4894
|
+
], _YGOProMsgSelectSum.prototype, "min", 2);
|
|
4657
4895
|
__decorateClass([
|
|
4658
4896
|
BinaryField("u8", 7)
|
|
4659
|
-
],
|
|
4897
|
+
], _YGOProMsgSelectSum.prototype, "max", 2);
|
|
4660
4898
|
__decorateClass([
|
|
4661
4899
|
BinaryField("u8", 8)
|
|
4662
|
-
],
|
|
4900
|
+
], _YGOProMsgSelectSum.prototype, "mustSelectCount", 2);
|
|
4663
4901
|
__decorateClass([
|
|
4664
4902
|
BinaryField(
|
|
4665
4903
|
() => YGOProMsgSelectSum_CardInfo,
|
|
4666
4904
|
9,
|
|
4667
4905
|
(obj) => obj.mustSelectCount
|
|
4668
4906
|
)
|
|
4669
|
-
],
|
|
4907
|
+
], _YGOProMsgSelectSum.prototype, "mustSelectCards", 2);
|
|
4670
4908
|
__decorateClass([
|
|
4671
4909
|
BinaryField("u8", (obj) => {
|
|
4672
4910
|
return 9 + obj.mustSelectCount * 11;
|
|
4673
4911
|
})
|
|
4674
|
-
],
|
|
4912
|
+
], _YGOProMsgSelectSum.prototype, "count", 2);
|
|
4675
4913
|
__decorateClass([
|
|
4676
4914
|
BinaryField(
|
|
4677
4915
|
() => YGOProMsgSelectSum_CardInfo,
|
|
@@ -4680,27 +4918,30 @@ __decorateClass([
|
|
|
4680
4918
|
},
|
|
4681
4919
|
(obj) => obj.count
|
|
4682
4920
|
)
|
|
4683
|
-
],
|
|
4921
|
+
], _YGOProMsgSelectSum.prototype, "cards", 2);
|
|
4922
|
+
var YGOProMsgSelectSum = _YGOProMsgSelectSum;
|
|
4684
4923
|
|
|
4685
4924
|
// src/protos/msg/proto/select-tribute.ts
|
|
4686
|
-
var
|
|
4925
|
+
var _YGOProMsgSelectTribute_CardInfo = class _YGOProMsgSelectTribute_CardInfo {
|
|
4687
4926
|
};
|
|
4927
|
+
__name(_YGOProMsgSelectTribute_CardInfo, "YGOProMsgSelectTribute_CardInfo");
|
|
4688
4928
|
__decorateClass([
|
|
4689
4929
|
BinaryField("i32", 0)
|
|
4690
|
-
],
|
|
4930
|
+
], _YGOProMsgSelectTribute_CardInfo.prototype, "code", 2);
|
|
4691
4931
|
__decorateClass([
|
|
4692
4932
|
BinaryField("u8", 4)
|
|
4693
|
-
],
|
|
4933
|
+
], _YGOProMsgSelectTribute_CardInfo.prototype, "controller", 2);
|
|
4694
4934
|
__decorateClass([
|
|
4695
4935
|
BinaryField("u8", 5)
|
|
4696
|
-
],
|
|
4936
|
+
], _YGOProMsgSelectTribute_CardInfo.prototype, "location", 2);
|
|
4697
4937
|
__decorateClass([
|
|
4698
4938
|
BinaryField("u8", 6)
|
|
4699
|
-
],
|
|
4939
|
+
], _YGOProMsgSelectTribute_CardInfo.prototype, "sequence", 2);
|
|
4700
4940
|
__decorateClass([
|
|
4701
4941
|
BinaryField("u8", 7)
|
|
4702
|
-
],
|
|
4703
|
-
var
|
|
4942
|
+
], _YGOProMsgSelectTribute_CardInfo.prototype, "releaseParam", 2);
|
|
4943
|
+
var YGOProMsgSelectTribute_CardInfo = _YGOProMsgSelectTribute_CardInfo;
|
|
4944
|
+
var _YGOProMsgSelectTribute = class _YGOProMsgSelectTribute extends YGOProMsgResponseBase {
|
|
4704
4945
|
responsePlayer() {
|
|
4705
4946
|
return this.player;
|
|
4706
4947
|
}
|
|
@@ -4745,45 +4986,49 @@ var YGOProMsgSelectTribute = class extends YGOProMsgResponseBase {
|
|
|
4745
4986
|
return buffer;
|
|
4746
4987
|
}
|
|
4747
4988
|
};
|
|
4748
|
-
YGOProMsgSelectTribute
|
|
4989
|
+
__name(_YGOProMsgSelectTribute, "YGOProMsgSelectTribute");
|
|
4990
|
+
_YGOProMsgSelectTribute.identifier = OcgcoreCommonConstants.MSG_SELECT_TRIBUTE;
|
|
4749
4991
|
__decorateClass([
|
|
4750
4992
|
BinaryField("u8", 0)
|
|
4751
|
-
],
|
|
4993
|
+
], _YGOProMsgSelectTribute.prototype, "player", 2);
|
|
4752
4994
|
__decorateClass([
|
|
4753
4995
|
BinaryField("u8", 1)
|
|
4754
|
-
],
|
|
4996
|
+
], _YGOProMsgSelectTribute.prototype, "cancelable", 2);
|
|
4755
4997
|
__decorateClass([
|
|
4756
4998
|
BinaryField("u8", 2)
|
|
4757
|
-
],
|
|
4999
|
+
], _YGOProMsgSelectTribute.prototype, "min", 2);
|
|
4758
5000
|
__decorateClass([
|
|
4759
5001
|
BinaryField("u8", 3)
|
|
4760
|
-
],
|
|
5002
|
+
], _YGOProMsgSelectTribute.prototype, "max", 2);
|
|
4761
5003
|
__decorateClass([
|
|
4762
5004
|
BinaryField("u8", 4)
|
|
4763
|
-
],
|
|
5005
|
+
], _YGOProMsgSelectTribute.prototype, "count", 2);
|
|
4764
5006
|
__decorateClass([
|
|
4765
5007
|
BinaryField(() => YGOProMsgSelectTribute_CardInfo, 5, (obj) => obj.count)
|
|
4766
|
-
],
|
|
5008
|
+
], _YGOProMsgSelectTribute.prototype, "cards", 2);
|
|
5009
|
+
var YGOProMsgSelectTribute = _YGOProMsgSelectTribute;
|
|
4767
5010
|
|
|
4768
5011
|
// src/protos/msg/proto/select-unselect-card.ts
|
|
4769
|
-
var
|
|
5012
|
+
var _YGOProMsgSelectUnselectCard_CardInfo = class _YGOProMsgSelectUnselectCard_CardInfo {
|
|
4770
5013
|
};
|
|
5014
|
+
__name(_YGOProMsgSelectUnselectCard_CardInfo, "YGOProMsgSelectUnselectCard_CardInfo");
|
|
4771
5015
|
__decorateClass([
|
|
4772
5016
|
BinaryField("i32", 0)
|
|
4773
|
-
],
|
|
5017
|
+
], _YGOProMsgSelectUnselectCard_CardInfo.prototype, "code", 2);
|
|
4774
5018
|
__decorateClass([
|
|
4775
5019
|
BinaryField("u8", 4)
|
|
4776
|
-
],
|
|
5020
|
+
], _YGOProMsgSelectUnselectCard_CardInfo.prototype, "controller", 2);
|
|
4777
5021
|
__decorateClass([
|
|
4778
5022
|
BinaryField("u8", 5)
|
|
4779
|
-
],
|
|
5023
|
+
], _YGOProMsgSelectUnselectCard_CardInfo.prototype, "location", 2);
|
|
4780
5024
|
__decorateClass([
|
|
4781
5025
|
BinaryField("u8", 6)
|
|
4782
|
-
],
|
|
5026
|
+
], _YGOProMsgSelectUnselectCard_CardInfo.prototype, "sequence", 2);
|
|
4783
5027
|
__decorateClass([
|
|
4784
5028
|
BinaryField("u8", 7)
|
|
4785
|
-
],
|
|
4786
|
-
var
|
|
5029
|
+
], _YGOProMsgSelectUnselectCard_CardInfo.prototype, "subsequence", 2);
|
|
5030
|
+
var YGOProMsgSelectUnselectCard_CardInfo = _YGOProMsgSelectUnselectCard_CardInfo;
|
|
5031
|
+
var _YGOProMsgSelectUnselectCard = class _YGOProMsgSelectUnselectCard extends YGOProMsgResponseBase {
|
|
4787
5032
|
responsePlayer() {
|
|
4788
5033
|
return this.player;
|
|
4789
5034
|
}
|
|
@@ -4827,37 +5072,38 @@ var YGOProMsgSelectUnselectCard = class extends YGOProMsgResponseBase {
|
|
|
4827
5072
|
return buffer;
|
|
4828
5073
|
}
|
|
4829
5074
|
};
|
|
4830
|
-
YGOProMsgSelectUnselectCard
|
|
5075
|
+
__name(_YGOProMsgSelectUnselectCard, "YGOProMsgSelectUnselectCard");
|
|
5076
|
+
_YGOProMsgSelectUnselectCard.identifier = OcgcoreCommonConstants.MSG_SELECT_UNSELECT_CARD;
|
|
4831
5077
|
__decorateClass([
|
|
4832
5078
|
BinaryField("u8", 0)
|
|
4833
|
-
],
|
|
5079
|
+
], _YGOProMsgSelectUnselectCard.prototype, "player", 2);
|
|
4834
5080
|
__decorateClass([
|
|
4835
5081
|
BinaryField("u8", 1)
|
|
4836
|
-
],
|
|
5082
|
+
], _YGOProMsgSelectUnselectCard.prototype, "finishable", 2);
|
|
4837
5083
|
__decorateClass([
|
|
4838
5084
|
BinaryField("u8", 2)
|
|
4839
|
-
],
|
|
5085
|
+
], _YGOProMsgSelectUnselectCard.prototype, "cancelable", 2);
|
|
4840
5086
|
__decorateClass([
|
|
4841
5087
|
BinaryField("u8", 3)
|
|
4842
|
-
],
|
|
5088
|
+
], _YGOProMsgSelectUnselectCard.prototype, "min", 2);
|
|
4843
5089
|
__decorateClass([
|
|
4844
5090
|
BinaryField("u8", 4)
|
|
4845
|
-
],
|
|
5091
|
+
], _YGOProMsgSelectUnselectCard.prototype, "max", 2);
|
|
4846
5092
|
__decorateClass([
|
|
4847
5093
|
BinaryField("u8", 5)
|
|
4848
|
-
],
|
|
5094
|
+
], _YGOProMsgSelectUnselectCard.prototype, "selectableCount", 2);
|
|
4849
5095
|
__decorateClass([
|
|
4850
5096
|
BinaryField(
|
|
4851
5097
|
() => YGOProMsgSelectUnselectCard_CardInfo,
|
|
4852
5098
|
6,
|
|
4853
5099
|
(obj) => obj.selectableCount
|
|
4854
5100
|
)
|
|
4855
|
-
],
|
|
5101
|
+
], _YGOProMsgSelectUnselectCard.prototype, "selectableCards", 2);
|
|
4856
5102
|
__decorateClass([
|
|
4857
5103
|
BinaryField("u8", (obj) => {
|
|
4858
5104
|
return 6 + obj.selectableCount * 8;
|
|
4859
5105
|
})
|
|
4860
|
-
],
|
|
5106
|
+
], _YGOProMsgSelectUnselectCard.prototype, "unselectableCount", 2);
|
|
4861
5107
|
__decorateClass([
|
|
4862
5108
|
BinaryField(
|
|
4863
5109
|
() => YGOProMsgSelectUnselectCard_CardInfo,
|
|
@@ -4866,10 +5112,11 @@ __decorateClass([
|
|
|
4866
5112
|
},
|
|
4867
5113
|
(obj) => obj.unselectableCount
|
|
4868
5114
|
)
|
|
4869
|
-
],
|
|
5115
|
+
], _YGOProMsgSelectUnselectCard.prototype, "unselectableCards", 2);
|
|
5116
|
+
var YGOProMsgSelectUnselectCard = _YGOProMsgSelectUnselectCard;
|
|
4870
5117
|
|
|
4871
5118
|
// src/protos/msg/proto/select-yesno.ts
|
|
4872
|
-
var
|
|
5119
|
+
var _YGOProMsgSelectYesNo = class _YGOProMsgSelectYesNo extends YGOProMsgResponseBase {
|
|
4873
5120
|
responsePlayer() {
|
|
4874
5121
|
return this.player;
|
|
4875
5122
|
}
|
|
@@ -4883,16 +5130,18 @@ var YGOProMsgSelectYesNo = class extends YGOProMsgResponseBase {
|
|
|
4883
5130
|
return buffer;
|
|
4884
5131
|
}
|
|
4885
5132
|
};
|
|
4886
|
-
YGOProMsgSelectYesNo
|
|
5133
|
+
__name(_YGOProMsgSelectYesNo, "YGOProMsgSelectYesNo");
|
|
5134
|
+
_YGOProMsgSelectYesNo.identifier = OcgcoreCommonConstants.MSG_SELECT_YESNO;
|
|
4887
5135
|
__decorateClass([
|
|
4888
5136
|
BinaryField("u8", 0)
|
|
4889
|
-
],
|
|
5137
|
+
], _YGOProMsgSelectYesNo.prototype, "player", 2);
|
|
4890
5138
|
__decorateClass([
|
|
4891
5139
|
BinaryField("i32", 1)
|
|
4892
|
-
],
|
|
5140
|
+
], _YGOProMsgSelectYesNo.prototype, "desc", 2);
|
|
5141
|
+
var YGOProMsgSelectYesNo = _YGOProMsgSelectYesNo;
|
|
4893
5142
|
|
|
4894
5143
|
// src/protos/msg/proto/set.ts
|
|
4895
|
-
var
|
|
5144
|
+
var _YGOProMsgSet = class _YGOProMsgSet extends YGOProMsgBase {
|
|
4896
5145
|
// MSG_SET 是盖放卡片,所有人都看不到 code(包括玩家自己)
|
|
4897
5146
|
// 服务器在发送前会将 code 清零
|
|
4898
5147
|
opponentView() {
|
|
@@ -4917,21 +5166,25 @@ var YGOProMsgSet = class extends YGOProMsgBase {
|
|
|
4917
5166
|
return view;
|
|
4918
5167
|
}
|
|
4919
5168
|
};
|
|
4920
|
-
YGOProMsgSet
|
|
5169
|
+
__name(_YGOProMsgSet, "YGOProMsgSet");
|
|
5170
|
+
_YGOProMsgSet.identifier = OcgcoreCommonConstants.MSG_SET;
|
|
4921
5171
|
__decorateClass([
|
|
4922
5172
|
BinaryField("i32", 0)
|
|
4923
|
-
],
|
|
5173
|
+
], _YGOProMsgSet.prototype, "code", 2);
|
|
5174
|
+
var YGOProMsgSet = _YGOProMsgSet;
|
|
4924
5175
|
|
|
4925
5176
|
// src/protos/msg/proto/shuffle-deck.ts
|
|
4926
|
-
var
|
|
5177
|
+
var _YGOProMsgShuffleDeck = class _YGOProMsgShuffleDeck extends YGOProMsgBase {
|
|
4927
5178
|
};
|
|
4928
|
-
YGOProMsgShuffleDeck
|
|
5179
|
+
__name(_YGOProMsgShuffleDeck, "YGOProMsgShuffleDeck");
|
|
5180
|
+
_YGOProMsgShuffleDeck.identifier = OcgcoreCommonConstants.MSG_SHUFFLE_DECK;
|
|
4929
5181
|
__decorateClass([
|
|
4930
5182
|
BinaryField("u8", 0)
|
|
4931
|
-
],
|
|
5183
|
+
], _YGOProMsgShuffleDeck.prototype, "player", 2);
|
|
5184
|
+
var YGOProMsgShuffleDeck = _YGOProMsgShuffleDeck;
|
|
4932
5185
|
|
|
4933
5186
|
// src/protos/msg/proto/shuffle-extra.ts
|
|
4934
|
-
var
|
|
5187
|
+
var _YGOProMsgShuffleExtra = class _YGOProMsgShuffleExtra extends YGOProMsgBase {
|
|
4935
5188
|
// 对方视角需要隐藏额外卡组信息
|
|
4936
5189
|
opponentView() {
|
|
4937
5190
|
const view = this.copy();
|
|
@@ -4944,19 +5197,21 @@ var YGOProMsgShuffleExtra = class extends YGOProMsgBase {
|
|
|
4944
5197
|
return view;
|
|
4945
5198
|
}
|
|
4946
5199
|
};
|
|
4947
|
-
YGOProMsgShuffleExtra
|
|
5200
|
+
__name(_YGOProMsgShuffleExtra, "YGOProMsgShuffleExtra");
|
|
5201
|
+
_YGOProMsgShuffleExtra.identifier = OcgcoreCommonConstants.MSG_SHUFFLE_EXTRA;
|
|
4948
5202
|
__decorateClass([
|
|
4949
5203
|
BinaryField("u8", 0)
|
|
4950
|
-
],
|
|
5204
|
+
], _YGOProMsgShuffleExtra.prototype, "player", 2);
|
|
4951
5205
|
__decorateClass([
|
|
4952
5206
|
BinaryField("u8", 1)
|
|
4953
|
-
],
|
|
5207
|
+
], _YGOProMsgShuffleExtra.prototype, "count", 2);
|
|
4954
5208
|
__decorateClass([
|
|
4955
5209
|
BinaryField("i32", 2, (obj) => obj.count)
|
|
4956
|
-
],
|
|
5210
|
+
], _YGOProMsgShuffleExtra.prototype, "cards", 2);
|
|
5211
|
+
var YGOProMsgShuffleExtra = _YGOProMsgShuffleExtra;
|
|
4957
5212
|
|
|
4958
5213
|
// src/protos/msg/proto/shuffle-hand.ts
|
|
4959
|
-
var
|
|
5214
|
+
var _YGOProMsgShuffleHand = class _YGOProMsgShuffleHand extends YGOProMsgBase {
|
|
4960
5215
|
// 对方视角需要隐藏手牌信息
|
|
4961
5216
|
opponentView() {
|
|
4962
5217
|
const view = this.copy();
|
|
@@ -4964,69 +5219,79 @@ var YGOProMsgShuffleHand = class extends YGOProMsgBase {
|
|
|
4964
5219
|
return view;
|
|
4965
5220
|
}
|
|
4966
5221
|
};
|
|
4967
|
-
YGOProMsgShuffleHand
|
|
5222
|
+
__name(_YGOProMsgShuffleHand, "YGOProMsgShuffleHand");
|
|
5223
|
+
_YGOProMsgShuffleHand.identifier = OcgcoreCommonConstants.MSG_SHUFFLE_HAND;
|
|
4968
5224
|
__decorateClass([
|
|
4969
5225
|
BinaryField("u8", 0)
|
|
4970
|
-
],
|
|
5226
|
+
], _YGOProMsgShuffleHand.prototype, "player", 2);
|
|
4971
5227
|
__decorateClass([
|
|
4972
5228
|
BinaryField("u8", 1)
|
|
4973
|
-
],
|
|
5229
|
+
], _YGOProMsgShuffleHand.prototype, "count", 2);
|
|
4974
5230
|
__decorateClass([
|
|
4975
5231
|
BinaryField("i32", 2, (obj) => obj.count)
|
|
4976
|
-
],
|
|
5232
|
+
], _YGOProMsgShuffleHand.prototype, "cards", 2);
|
|
5233
|
+
var YGOProMsgShuffleHand = _YGOProMsgShuffleHand;
|
|
4977
5234
|
|
|
4978
5235
|
// src/protos/msg/proto/shuffle-set-card.ts
|
|
4979
|
-
var
|
|
5236
|
+
var _YGOProMsgShuffleSetCard_CardLocation = class _YGOProMsgShuffleSetCard_CardLocation {
|
|
4980
5237
|
};
|
|
5238
|
+
__name(_YGOProMsgShuffleSetCard_CardLocation, "YGOProMsgShuffleSetCard_CardLocation");
|
|
4981
5239
|
__decorateClass([
|
|
4982
5240
|
BinaryField("u8", 0)
|
|
4983
|
-
],
|
|
5241
|
+
], _YGOProMsgShuffleSetCard_CardLocation.prototype, "controller", 2);
|
|
4984
5242
|
__decorateClass([
|
|
4985
5243
|
BinaryField("u8", 1)
|
|
4986
|
-
],
|
|
5244
|
+
], _YGOProMsgShuffleSetCard_CardLocation.prototype, "location", 2);
|
|
4987
5245
|
__decorateClass([
|
|
4988
5246
|
BinaryField("u8", 2)
|
|
4989
|
-
],
|
|
5247
|
+
], _YGOProMsgShuffleSetCard_CardLocation.prototype, "sequence", 2);
|
|
4990
5248
|
__decorateClass([
|
|
4991
5249
|
BinaryField("u8", 3)
|
|
4992
|
-
],
|
|
4993
|
-
var
|
|
5250
|
+
], _YGOProMsgShuffleSetCard_CardLocation.prototype, "position", 2);
|
|
5251
|
+
var YGOProMsgShuffleSetCard_CardLocation = _YGOProMsgShuffleSetCard_CardLocation;
|
|
5252
|
+
var _YGOProMsgShuffleSetCard_SetCardInfo = class _YGOProMsgShuffleSetCard_SetCardInfo {
|
|
4994
5253
|
};
|
|
5254
|
+
__name(_YGOProMsgShuffleSetCard_SetCardInfo, "YGOProMsgShuffleSetCard_SetCardInfo");
|
|
4995
5255
|
__decorateClass([
|
|
4996
5256
|
BinaryField(() => YGOProMsgShuffleSetCard_CardLocation, 0)
|
|
4997
|
-
],
|
|
5257
|
+
], _YGOProMsgShuffleSetCard_SetCardInfo.prototype, "oldLocation", 2);
|
|
4998
5258
|
__decorateClass([
|
|
4999
5259
|
BinaryField(() => YGOProMsgShuffleSetCard_CardLocation, 4)
|
|
5000
|
-
],
|
|
5001
|
-
var
|
|
5260
|
+
], _YGOProMsgShuffleSetCard_SetCardInfo.prototype, "newLocation", 2);
|
|
5261
|
+
var YGOProMsgShuffleSetCard_SetCardInfo = _YGOProMsgShuffleSetCard_SetCardInfo;
|
|
5262
|
+
var _YGOProMsgShuffleSetCard = class _YGOProMsgShuffleSetCard extends YGOProMsgBase {
|
|
5002
5263
|
};
|
|
5003
|
-
YGOProMsgShuffleSetCard
|
|
5264
|
+
__name(_YGOProMsgShuffleSetCard, "YGOProMsgShuffleSetCard");
|
|
5265
|
+
_YGOProMsgShuffleSetCard.identifier = OcgcoreCommonConstants.MSG_SHUFFLE_SET_CARD;
|
|
5004
5266
|
__decorateClass([
|
|
5005
5267
|
BinaryField("u8", 0)
|
|
5006
|
-
],
|
|
5268
|
+
], _YGOProMsgShuffleSetCard.prototype, "location", 2);
|
|
5007
5269
|
__decorateClass([
|
|
5008
5270
|
BinaryField("u8", 1)
|
|
5009
|
-
],
|
|
5271
|
+
], _YGOProMsgShuffleSetCard.prototype, "count", 2);
|
|
5010
5272
|
__decorateClass([
|
|
5011
5273
|
BinaryField(() => YGOProMsgShuffleSetCard_SetCardInfo, 2, (obj) => obj.count)
|
|
5012
|
-
],
|
|
5274
|
+
], _YGOProMsgShuffleSetCard.prototype, "cards", 2);
|
|
5275
|
+
var YGOProMsgShuffleSetCard = _YGOProMsgShuffleSetCard;
|
|
5013
5276
|
|
|
5014
5277
|
// src/protos/msg/proto/sort-card.ts
|
|
5015
|
-
var
|
|
5278
|
+
var _YGOProMsgSortCard_CardInfo = class _YGOProMsgSortCard_CardInfo {
|
|
5016
5279
|
};
|
|
5280
|
+
__name(_YGOProMsgSortCard_CardInfo, "YGOProMsgSortCard_CardInfo");
|
|
5017
5281
|
__decorateClass([
|
|
5018
5282
|
BinaryField("i32", 0)
|
|
5019
|
-
],
|
|
5283
|
+
], _YGOProMsgSortCard_CardInfo.prototype, "code", 2);
|
|
5020
5284
|
__decorateClass([
|
|
5021
5285
|
BinaryField("u8", 4)
|
|
5022
|
-
],
|
|
5286
|
+
], _YGOProMsgSortCard_CardInfo.prototype, "controller", 2);
|
|
5023
5287
|
__decorateClass([
|
|
5024
5288
|
BinaryField("u8", 5)
|
|
5025
|
-
],
|
|
5289
|
+
], _YGOProMsgSortCard_CardInfo.prototype, "location", 2);
|
|
5026
5290
|
__decorateClass([
|
|
5027
5291
|
BinaryField("u8", 6)
|
|
5028
|
-
],
|
|
5029
|
-
var
|
|
5292
|
+
], _YGOProMsgSortCard_CardInfo.prototype, "sequence", 2);
|
|
5293
|
+
var YGOProMsgSortCard_CardInfo = _YGOProMsgSortCard_CardInfo;
|
|
5294
|
+
var _YGOProMsgSortCard = class _YGOProMsgSortCard extends YGOProMsgResponseBase {
|
|
5030
5295
|
responsePlayer() {
|
|
5031
5296
|
return this.player;
|
|
5032
5297
|
}
|
|
@@ -5064,24 +5329,28 @@ var YGOProMsgSortCard = class extends YGOProMsgResponseBase {
|
|
|
5064
5329
|
return buffer;
|
|
5065
5330
|
}
|
|
5066
5331
|
};
|
|
5067
|
-
YGOProMsgSortCard
|
|
5332
|
+
__name(_YGOProMsgSortCard, "YGOProMsgSortCard");
|
|
5333
|
+
_YGOProMsgSortCard.identifier = OcgcoreCommonConstants.MSG_SORT_CARD;
|
|
5068
5334
|
__decorateClass([
|
|
5069
5335
|
BinaryField("u8", 0)
|
|
5070
|
-
],
|
|
5336
|
+
], _YGOProMsgSortCard.prototype, "player", 2);
|
|
5071
5337
|
__decorateClass([
|
|
5072
5338
|
BinaryField("u8", 1)
|
|
5073
|
-
],
|
|
5339
|
+
], _YGOProMsgSortCard.prototype, "count", 2);
|
|
5074
5340
|
__decorateClass([
|
|
5075
5341
|
BinaryField(() => YGOProMsgSortCard_CardInfo, 2, (obj) => obj.count)
|
|
5076
|
-
],
|
|
5342
|
+
], _YGOProMsgSortCard.prototype, "cards", 2);
|
|
5343
|
+
var YGOProMsgSortCard = _YGOProMsgSortCard;
|
|
5077
5344
|
|
|
5078
5345
|
// src/protos/msg/proto/spsummoned.ts
|
|
5079
|
-
var
|
|
5346
|
+
var _YGOProMsgSpSummoned = class _YGOProMsgSpSummoned extends YGOProMsgBase {
|
|
5080
5347
|
};
|
|
5081
|
-
YGOProMsgSpSummoned
|
|
5348
|
+
__name(_YGOProMsgSpSummoned, "YGOProMsgSpSummoned");
|
|
5349
|
+
_YGOProMsgSpSummoned.identifier = OcgcoreCommonConstants.MSG_SPSUMMONED;
|
|
5350
|
+
var YGOProMsgSpSummoned = _YGOProMsgSpSummoned;
|
|
5082
5351
|
|
|
5083
5352
|
// src/protos/msg/proto/spsummoning.ts
|
|
5084
|
-
var
|
|
5353
|
+
var _YGOProMsgSpSummoning = class _YGOProMsgSpSummoning extends YGOProMsgBase {
|
|
5085
5354
|
opponentView() {
|
|
5086
5355
|
const view = this.copy();
|
|
5087
5356
|
if (view.position & OcgcoreCommonConstants.POS_FACEDOWN) {
|
|
@@ -5102,33 +5371,37 @@ var YGOProMsgSpSummoning = class extends YGOProMsgBase {
|
|
|
5102
5371
|
return this.opponentView();
|
|
5103
5372
|
}
|
|
5104
5373
|
};
|
|
5105
|
-
YGOProMsgSpSummoning
|
|
5374
|
+
__name(_YGOProMsgSpSummoning, "YGOProMsgSpSummoning");
|
|
5375
|
+
_YGOProMsgSpSummoning.identifier = OcgcoreCommonConstants.MSG_SPSUMMONING;
|
|
5106
5376
|
__decorateClass([
|
|
5107
5377
|
BinaryField("i32", 0)
|
|
5108
|
-
],
|
|
5378
|
+
], _YGOProMsgSpSummoning.prototype, "code", 2);
|
|
5109
5379
|
__decorateClass([
|
|
5110
5380
|
BinaryField("u8", 4)
|
|
5111
|
-
],
|
|
5381
|
+
], _YGOProMsgSpSummoning.prototype, "controller", 2);
|
|
5112
5382
|
__decorateClass([
|
|
5113
5383
|
BinaryField("u8", 5)
|
|
5114
|
-
],
|
|
5384
|
+
], _YGOProMsgSpSummoning.prototype, "location", 2);
|
|
5115
5385
|
__decorateClass([
|
|
5116
5386
|
BinaryField("u8", 6)
|
|
5117
|
-
],
|
|
5387
|
+
], _YGOProMsgSpSummoning.prototype, "sequence", 2);
|
|
5118
5388
|
__decorateClass([
|
|
5119
5389
|
BinaryField("u8", 7)
|
|
5120
|
-
],
|
|
5390
|
+
], _YGOProMsgSpSummoning.prototype, "position", 2);
|
|
5391
|
+
var YGOProMsgSpSummoning = _YGOProMsgSpSummoning;
|
|
5121
5392
|
|
|
5122
5393
|
// src/protos/msg/proto/start.ts
|
|
5123
|
-
var
|
|
5394
|
+
var _YGOProMsgStart_PlayerInfo = class _YGOProMsgStart_PlayerInfo {
|
|
5124
5395
|
};
|
|
5396
|
+
__name(_YGOProMsgStart_PlayerInfo, "YGOProMsgStart_PlayerInfo");
|
|
5125
5397
|
__decorateClass([
|
|
5126
5398
|
BinaryField("u16", 0)
|
|
5127
|
-
],
|
|
5399
|
+
], _YGOProMsgStart_PlayerInfo.prototype, "deckCount", 2);
|
|
5128
5400
|
__decorateClass([
|
|
5129
5401
|
BinaryField("u16", 2)
|
|
5130
|
-
],
|
|
5131
|
-
var
|
|
5402
|
+
], _YGOProMsgStart_PlayerInfo.prototype, "extraCount", 2);
|
|
5403
|
+
var YGOProMsgStart_PlayerInfo = _YGOProMsgStart_PlayerInfo;
|
|
5404
|
+
var _YGOProMsgStart = class _YGOProMsgStart extends YGOProMsgBase {
|
|
5132
5405
|
/**
|
|
5133
5406
|
* Get/Set player number (low 4 bits, 0-3)
|
|
5134
5407
|
*/
|
|
@@ -5148,86 +5421,98 @@ var YGOProMsgStart = class extends YGOProMsgBase {
|
|
|
5148
5421
|
this.playerType = this.playerType & 15 | value & 240;
|
|
5149
5422
|
}
|
|
5150
5423
|
};
|
|
5151
|
-
YGOProMsgStart
|
|
5424
|
+
__name(_YGOProMsgStart, "YGOProMsgStart");
|
|
5425
|
+
_YGOProMsgStart.identifier = 4;
|
|
5152
5426
|
__decorateClass([
|
|
5153
5427
|
BinaryField("u8", 0)
|
|
5154
|
-
],
|
|
5428
|
+
], _YGOProMsgStart.prototype, "playerType", 2);
|
|
5155
5429
|
__decorateClass([
|
|
5156
5430
|
BinaryField("u8", 1)
|
|
5157
|
-
],
|
|
5431
|
+
], _YGOProMsgStart.prototype, "duelRule", 2);
|
|
5158
5432
|
__decorateClass([
|
|
5159
5433
|
BinaryField("i32", 2)
|
|
5160
|
-
],
|
|
5434
|
+
], _YGOProMsgStart.prototype, "startLp0", 2);
|
|
5161
5435
|
__decorateClass([
|
|
5162
5436
|
BinaryField("i32", 6)
|
|
5163
|
-
],
|
|
5437
|
+
], _YGOProMsgStart.prototype, "startLp1", 2);
|
|
5164
5438
|
__decorateClass([
|
|
5165
5439
|
BinaryField(() => YGOProMsgStart_PlayerInfo, 10)
|
|
5166
|
-
],
|
|
5440
|
+
], _YGOProMsgStart.prototype, "player0", 2);
|
|
5167
5441
|
__decorateClass([
|
|
5168
5442
|
BinaryField(() => YGOProMsgStart_PlayerInfo, 14)
|
|
5169
|
-
],
|
|
5443
|
+
], _YGOProMsgStart.prototype, "player1", 2);
|
|
5444
|
+
var YGOProMsgStart = _YGOProMsgStart;
|
|
5170
5445
|
|
|
5171
5446
|
// src/protos/msg/proto/summoned.ts
|
|
5172
|
-
var
|
|
5447
|
+
var _YGOProMsgSummoned = class _YGOProMsgSummoned extends YGOProMsgBase {
|
|
5173
5448
|
};
|
|
5174
|
-
YGOProMsgSummoned
|
|
5449
|
+
__name(_YGOProMsgSummoned, "YGOProMsgSummoned");
|
|
5450
|
+
_YGOProMsgSummoned.identifier = OcgcoreCommonConstants.MSG_SUMMONED;
|
|
5451
|
+
var YGOProMsgSummoned = _YGOProMsgSummoned;
|
|
5175
5452
|
|
|
5176
5453
|
// src/protos/msg/proto/summoning.ts
|
|
5177
|
-
var
|
|
5454
|
+
var _YGOProMsgSummoning = class _YGOProMsgSummoning extends YGOProMsgBase {
|
|
5178
5455
|
};
|
|
5179
|
-
YGOProMsgSummoning
|
|
5456
|
+
__name(_YGOProMsgSummoning, "YGOProMsgSummoning");
|
|
5457
|
+
_YGOProMsgSummoning.identifier = OcgcoreCommonConstants.MSG_SUMMONING;
|
|
5180
5458
|
__decorateClass([
|
|
5181
5459
|
BinaryField("i32", 0)
|
|
5182
|
-
],
|
|
5460
|
+
], _YGOProMsgSummoning.prototype, "code", 2);
|
|
5183
5461
|
__decorateClass([
|
|
5184
5462
|
BinaryField("u8", 4)
|
|
5185
|
-
],
|
|
5463
|
+
], _YGOProMsgSummoning.prototype, "controller", 2);
|
|
5186
5464
|
__decorateClass([
|
|
5187
5465
|
BinaryField("u8", 5)
|
|
5188
|
-
],
|
|
5466
|
+
], _YGOProMsgSummoning.prototype, "location", 2);
|
|
5189
5467
|
__decorateClass([
|
|
5190
5468
|
BinaryField("u8", 6)
|
|
5191
|
-
],
|
|
5469
|
+
], _YGOProMsgSummoning.prototype, "sequence", 2);
|
|
5192
5470
|
__decorateClass([
|
|
5193
5471
|
BinaryField("u8", 7)
|
|
5194
|
-
],
|
|
5472
|
+
], _YGOProMsgSummoning.prototype, "position", 2);
|
|
5473
|
+
var YGOProMsgSummoning = _YGOProMsgSummoning;
|
|
5195
5474
|
|
|
5196
5475
|
// src/protos/msg/proto/swap.ts
|
|
5197
|
-
var
|
|
5476
|
+
var _YGOProMsgSwap_CardLocation = class _YGOProMsgSwap_CardLocation {
|
|
5198
5477
|
};
|
|
5478
|
+
__name(_YGOProMsgSwap_CardLocation, "YGOProMsgSwap_CardLocation");
|
|
5199
5479
|
__decorateClass([
|
|
5200
5480
|
BinaryField("u8", 0)
|
|
5201
|
-
],
|
|
5481
|
+
], _YGOProMsgSwap_CardLocation.prototype, "controller", 2);
|
|
5202
5482
|
__decorateClass([
|
|
5203
5483
|
BinaryField("u8", 1)
|
|
5204
|
-
],
|
|
5484
|
+
], _YGOProMsgSwap_CardLocation.prototype, "location", 2);
|
|
5205
5485
|
__decorateClass([
|
|
5206
5486
|
BinaryField("u8", 2)
|
|
5207
|
-
],
|
|
5487
|
+
], _YGOProMsgSwap_CardLocation.prototype, "sequence", 2);
|
|
5208
5488
|
__decorateClass([
|
|
5209
5489
|
BinaryField("u8", 3)
|
|
5210
|
-
],
|
|
5211
|
-
var
|
|
5490
|
+
], _YGOProMsgSwap_CardLocation.prototype, "position", 2);
|
|
5491
|
+
var YGOProMsgSwap_CardLocation = _YGOProMsgSwap_CardLocation;
|
|
5492
|
+
var _YGOProMsgSwap = class _YGOProMsgSwap extends YGOProMsgBase {
|
|
5212
5493
|
};
|
|
5213
|
-
YGOProMsgSwap
|
|
5494
|
+
__name(_YGOProMsgSwap, "YGOProMsgSwap");
|
|
5495
|
+
_YGOProMsgSwap.identifier = OcgcoreCommonConstants.MSG_SWAP;
|
|
5214
5496
|
__decorateClass([
|
|
5215
5497
|
BinaryField(() => YGOProMsgSwap_CardLocation, 0)
|
|
5216
|
-
],
|
|
5498
|
+
], _YGOProMsgSwap.prototype, "card1", 2);
|
|
5217
5499
|
__decorateClass([
|
|
5218
5500
|
BinaryField(() => YGOProMsgSwap_CardLocation, 4)
|
|
5219
|
-
],
|
|
5501
|
+
], _YGOProMsgSwap.prototype, "card2", 2);
|
|
5502
|
+
var YGOProMsgSwap = _YGOProMsgSwap;
|
|
5220
5503
|
|
|
5221
5504
|
// src/protos/msg/proto/swap-grave-deck.ts
|
|
5222
|
-
var
|
|
5505
|
+
var _YGOProMsgSwapGraveDeck = class _YGOProMsgSwapGraveDeck extends YGOProMsgBase {
|
|
5223
5506
|
};
|
|
5224
|
-
YGOProMsgSwapGraveDeck
|
|
5507
|
+
__name(_YGOProMsgSwapGraveDeck, "YGOProMsgSwapGraveDeck");
|
|
5508
|
+
_YGOProMsgSwapGraveDeck.identifier = OcgcoreCommonConstants.MSG_SWAP_GRAVE_DECK;
|
|
5225
5509
|
__decorateClass([
|
|
5226
5510
|
BinaryField("u8", 0)
|
|
5227
|
-
],
|
|
5511
|
+
], _YGOProMsgSwapGraveDeck.prototype, "player", 2);
|
|
5512
|
+
var YGOProMsgSwapGraveDeck = _YGOProMsgSwapGraveDeck;
|
|
5228
5513
|
|
|
5229
5514
|
// src/protos/msg/proto/tag-swap.ts
|
|
5230
|
-
var
|
|
5515
|
+
var _YGOProMsgTagSwap = class _YGOProMsgTagSwap extends YGOProMsgBase {
|
|
5231
5516
|
// 对方和队友视角需要隐藏手牌和额外卡组信息
|
|
5232
5517
|
opponentView() {
|
|
5233
5518
|
const view = this.copy();
|
|
@@ -5244,62 +5529,68 @@ var YGOProMsgTagSwap = class extends YGOProMsgBase {
|
|
|
5244
5529
|
return this.opponentView();
|
|
5245
5530
|
}
|
|
5246
5531
|
};
|
|
5247
|
-
YGOProMsgTagSwap
|
|
5532
|
+
__name(_YGOProMsgTagSwap, "YGOProMsgTagSwap");
|
|
5533
|
+
_YGOProMsgTagSwap.identifier = OcgcoreCommonConstants.MSG_TAG_SWAP;
|
|
5248
5534
|
__decorateClass([
|
|
5249
5535
|
BinaryField("u8", 0)
|
|
5250
|
-
],
|
|
5536
|
+
], _YGOProMsgTagSwap.prototype, "player", 2);
|
|
5251
5537
|
__decorateClass([
|
|
5252
5538
|
BinaryField("u8", 1)
|
|
5253
|
-
],
|
|
5539
|
+
], _YGOProMsgTagSwap.prototype, "mzoneCount", 2);
|
|
5254
5540
|
__decorateClass([
|
|
5255
5541
|
BinaryField("u8", 2)
|
|
5256
|
-
],
|
|
5542
|
+
], _YGOProMsgTagSwap.prototype, "extraCount", 2);
|
|
5257
5543
|
__decorateClass([
|
|
5258
5544
|
BinaryField("u8", 3)
|
|
5259
|
-
],
|
|
5545
|
+
], _YGOProMsgTagSwap.prototype, "pzoneCount", 2);
|
|
5260
5546
|
__decorateClass([
|
|
5261
5547
|
BinaryField("u8", 4)
|
|
5262
|
-
],
|
|
5548
|
+
], _YGOProMsgTagSwap.prototype, "handCount", 2);
|
|
5263
5549
|
__decorateClass([
|
|
5264
5550
|
BinaryField("i32", 5, (obj) => obj.handCount)
|
|
5265
|
-
],
|
|
5551
|
+
], _YGOProMsgTagSwap.prototype, "handCards", 2);
|
|
5266
5552
|
__decorateClass([
|
|
5267
5553
|
BinaryField("i32", (obj) => 5 + obj.handCount * 4, (obj) => obj.extraCount)
|
|
5268
|
-
],
|
|
5554
|
+
], _YGOProMsgTagSwap.prototype, "extraCards", 2);
|
|
5269
5555
|
__decorateClass([
|
|
5270
5556
|
BinaryField("u32", (obj) => 5 + obj.handCount * 4 + obj.extraCount * 4)
|
|
5271
|
-
],
|
|
5557
|
+
], _YGOProMsgTagSwap.prototype, "mzoneFlags", 2);
|
|
5558
|
+
var YGOProMsgTagSwap = _YGOProMsgTagSwap;
|
|
5272
5559
|
|
|
5273
5560
|
// src/protos/msg/proto/toss-coin.ts
|
|
5274
|
-
var
|
|
5561
|
+
var _YGOProMsgTossCoin = class _YGOProMsgTossCoin extends YGOProMsgBase {
|
|
5275
5562
|
};
|
|
5276
|
-
YGOProMsgTossCoin
|
|
5563
|
+
__name(_YGOProMsgTossCoin, "YGOProMsgTossCoin");
|
|
5564
|
+
_YGOProMsgTossCoin.identifier = OcgcoreCommonConstants.MSG_TOSS_COIN;
|
|
5277
5565
|
__decorateClass([
|
|
5278
5566
|
BinaryField("u8", 0)
|
|
5279
|
-
],
|
|
5567
|
+
], _YGOProMsgTossCoin.prototype, "player", 2);
|
|
5280
5568
|
__decorateClass([
|
|
5281
5569
|
BinaryField("u8", 1)
|
|
5282
|
-
],
|
|
5570
|
+
], _YGOProMsgTossCoin.prototype, "count", 2);
|
|
5283
5571
|
__decorateClass([
|
|
5284
5572
|
BinaryField("u8", 2, (obj) => obj.count)
|
|
5285
|
-
],
|
|
5573
|
+
], _YGOProMsgTossCoin.prototype, "results", 2);
|
|
5574
|
+
var YGOProMsgTossCoin = _YGOProMsgTossCoin;
|
|
5286
5575
|
|
|
5287
5576
|
// src/protos/msg/proto/toss-dice.ts
|
|
5288
|
-
var
|
|
5577
|
+
var _YGOProMsgTossDice = class _YGOProMsgTossDice extends YGOProMsgBase {
|
|
5289
5578
|
};
|
|
5290
|
-
YGOProMsgTossDice
|
|
5579
|
+
__name(_YGOProMsgTossDice, "YGOProMsgTossDice");
|
|
5580
|
+
_YGOProMsgTossDice.identifier = OcgcoreCommonConstants.MSG_TOSS_DICE;
|
|
5291
5581
|
__decorateClass([
|
|
5292
5582
|
BinaryField("u8", 0)
|
|
5293
|
-
],
|
|
5583
|
+
], _YGOProMsgTossDice.prototype, "player", 2);
|
|
5294
5584
|
__decorateClass([
|
|
5295
5585
|
BinaryField("u8", 1)
|
|
5296
|
-
],
|
|
5586
|
+
], _YGOProMsgTossDice.prototype, "count", 2);
|
|
5297
5587
|
__decorateClass([
|
|
5298
5588
|
BinaryField("u8", 2, (obj) => obj.count)
|
|
5299
|
-
],
|
|
5589
|
+
], _YGOProMsgTossDice.prototype, "results", 2);
|
|
5590
|
+
var YGOProMsgTossDice = _YGOProMsgTossDice;
|
|
5300
5591
|
|
|
5301
5592
|
// src/protos/msg/proto/update-card.ts
|
|
5302
|
-
var
|
|
5593
|
+
var _YGOProMsgUpdateCard = class _YGOProMsgUpdateCard extends YGOProMsgBase {
|
|
5303
5594
|
opponentView() {
|
|
5304
5595
|
const copy = this.copy();
|
|
5305
5596
|
if (copy.card?.position && copy.card.position & OcgcoreCommonConstants.POS_FACEDOWN) {
|
|
@@ -5375,10 +5666,12 @@ var YGOProMsgUpdateCard = class extends YGOProMsgBase {
|
|
|
5375
5666
|
return [];
|
|
5376
5667
|
}
|
|
5377
5668
|
};
|
|
5378
|
-
YGOProMsgUpdateCard
|
|
5669
|
+
__name(_YGOProMsgUpdateCard, "YGOProMsgUpdateCard");
|
|
5670
|
+
_YGOProMsgUpdateCard.identifier = OcgcoreCommonConstants.MSG_UPDATE_CARD;
|
|
5671
|
+
var YGOProMsgUpdateCard = _YGOProMsgUpdateCard;
|
|
5379
5672
|
|
|
5380
5673
|
// src/protos/msg/proto/update-data.ts
|
|
5381
|
-
var
|
|
5674
|
+
var _YGOProMsgUpdateData = class _YGOProMsgUpdateData extends YGOProMsgBase {
|
|
5382
5675
|
opponentView() {
|
|
5383
5676
|
const copy = this.copy();
|
|
5384
5677
|
if (copy.cards) {
|
|
@@ -5481,27 +5774,33 @@ var YGOProMsgUpdateData = class extends YGOProMsgBase {
|
|
|
5481
5774
|
return [this.player, 1 - this.player, 7 /* OBSERVER */];
|
|
5482
5775
|
}
|
|
5483
5776
|
};
|
|
5484
|
-
YGOProMsgUpdateData
|
|
5777
|
+
__name(_YGOProMsgUpdateData, "YGOProMsgUpdateData");
|
|
5778
|
+
_YGOProMsgUpdateData.identifier = 6;
|
|
5779
|
+
var YGOProMsgUpdateData = _YGOProMsgUpdateData;
|
|
5485
5780
|
|
|
5486
5781
|
// src/protos/msg/proto/waiting.ts
|
|
5487
|
-
var
|
|
5782
|
+
var _YGOProMsgWaiting = class _YGOProMsgWaiting extends YGOProMsgBase {
|
|
5488
5783
|
// MSG_WAITING
|
|
5489
5784
|
getSendTargets() {
|
|
5490
5785
|
return [];
|
|
5491
5786
|
}
|
|
5492
5787
|
};
|
|
5493
|
-
YGOProMsgWaiting
|
|
5788
|
+
__name(_YGOProMsgWaiting, "YGOProMsgWaiting");
|
|
5789
|
+
_YGOProMsgWaiting.identifier = 3;
|
|
5790
|
+
var YGOProMsgWaiting = _YGOProMsgWaiting;
|
|
5494
5791
|
|
|
5495
5792
|
// src/protos/msg/proto/win.ts
|
|
5496
|
-
var
|
|
5793
|
+
var _YGOProMsgWin = class _YGOProMsgWin extends YGOProMsgBase {
|
|
5497
5794
|
};
|
|
5498
|
-
YGOProMsgWin
|
|
5795
|
+
__name(_YGOProMsgWin, "YGOProMsgWin");
|
|
5796
|
+
_YGOProMsgWin.identifier = OcgcoreCommonConstants.MSG_WIN;
|
|
5499
5797
|
__decorateClass([
|
|
5500
5798
|
BinaryField("u8", 0)
|
|
5501
|
-
],
|
|
5799
|
+
], _YGOProMsgWin.prototype, "player", 2);
|
|
5502
5800
|
__decorateClass([
|
|
5503
5801
|
BinaryField("u8", 1)
|
|
5504
|
-
],
|
|
5802
|
+
], _YGOProMsgWin.prototype, "type", 2);
|
|
5803
|
+
var YGOProMsgWin = _YGOProMsgWin;
|
|
5505
5804
|
|
|
5506
5805
|
// src/protos/msg/registry.ts
|
|
5507
5806
|
var YGOProMessages = new RegistryBase(YGOProMsgBase);
|
|
@@ -5591,7 +5890,7 @@ YGOProMessages.register(YGOProMsgUpdateData);
|
|
|
5591
5890
|
YGOProMessages.register(YGOProMsgReloadField);
|
|
5592
5891
|
|
|
5593
5892
|
// src/protos/stoc/proto/game-msg.ts
|
|
5594
|
-
var
|
|
5893
|
+
var _YGOProStocGameMsg = class _YGOProStocGameMsg extends YGOProStocBase {
|
|
5595
5894
|
fromPayload(data) {
|
|
5596
5895
|
this.msg = YGOProMessages.getInstanceFromPayload(data);
|
|
5597
5896
|
return this;
|
|
@@ -5609,95 +5908,119 @@ var YGOProStocGameMsg = class extends YGOProStocBase {
|
|
|
5609
5908
|
return this;
|
|
5610
5909
|
}
|
|
5611
5910
|
};
|
|
5612
|
-
YGOProStocGameMsg
|
|
5911
|
+
__name(_YGOProStocGameMsg, "YGOProStocGameMsg");
|
|
5912
|
+
_YGOProStocGameMsg.identifier = 1;
|
|
5913
|
+
var YGOProStocGameMsg = _YGOProStocGameMsg;
|
|
5613
5914
|
|
|
5614
5915
|
// src/protos/stoc/proto/error-msg.ts
|
|
5615
|
-
var
|
|
5916
|
+
var _YGOProStocErrorMsg = class _YGOProStocErrorMsg extends YGOProStocBase {
|
|
5616
5917
|
};
|
|
5617
|
-
YGOProStocErrorMsg
|
|
5918
|
+
__name(_YGOProStocErrorMsg, "YGOProStocErrorMsg");
|
|
5919
|
+
_YGOProStocErrorMsg.identifier = 2;
|
|
5618
5920
|
__decorateClass([
|
|
5619
5921
|
BinaryField("u8", 0)
|
|
5620
|
-
],
|
|
5922
|
+
], _YGOProStocErrorMsg.prototype, "msg", 2);
|
|
5621
5923
|
__decorateClass([
|
|
5622
5924
|
BinaryField("u32", 4)
|
|
5623
|
-
],
|
|
5925
|
+
], _YGOProStocErrorMsg.prototype, "code", 2);
|
|
5926
|
+
var YGOProStocErrorMsg = _YGOProStocErrorMsg;
|
|
5624
5927
|
|
|
5625
5928
|
// src/protos/stoc/proto/select-hand.ts
|
|
5626
|
-
var
|
|
5929
|
+
var _YGOProStocSelectHand = class _YGOProStocSelectHand extends YGOProStocBase {
|
|
5627
5930
|
};
|
|
5628
|
-
YGOProStocSelectHand
|
|
5931
|
+
__name(_YGOProStocSelectHand, "YGOProStocSelectHand");
|
|
5932
|
+
_YGOProStocSelectHand.identifier = 3;
|
|
5933
|
+
var YGOProStocSelectHand = _YGOProStocSelectHand;
|
|
5629
5934
|
|
|
5630
5935
|
// src/protos/stoc/proto/select-tp.ts
|
|
5631
|
-
var
|
|
5936
|
+
var _YGOProStocSelectTp = class _YGOProStocSelectTp extends YGOProStocBase {
|
|
5632
5937
|
};
|
|
5633
|
-
YGOProStocSelectTp
|
|
5938
|
+
__name(_YGOProStocSelectTp, "YGOProStocSelectTp");
|
|
5939
|
+
_YGOProStocSelectTp.identifier = 4;
|
|
5940
|
+
var YGOProStocSelectTp = _YGOProStocSelectTp;
|
|
5634
5941
|
|
|
5635
5942
|
// src/protos/stoc/proto/hand-result.ts
|
|
5636
|
-
var
|
|
5943
|
+
var _YGOProStocHandResult = class _YGOProStocHandResult extends YGOProStocBase {
|
|
5637
5944
|
};
|
|
5638
|
-
YGOProStocHandResult
|
|
5945
|
+
__name(_YGOProStocHandResult, "YGOProStocHandResult");
|
|
5946
|
+
_YGOProStocHandResult.identifier = 5;
|
|
5639
5947
|
__decorateClass([
|
|
5640
5948
|
BinaryField("u8", 0)
|
|
5641
|
-
],
|
|
5949
|
+
], _YGOProStocHandResult.prototype, "res1", 2);
|
|
5642
5950
|
__decorateClass([
|
|
5643
5951
|
BinaryField("u8", 1)
|
|
5644
|
-
],
|
|
5952
|
+
], _YGOProStocHandResult.prototype, "res2", 2);
|
|
5953
|
+
var YGOProStocHandResult = _YGOProStocHandResult;
|
|
5645
5954
|
|
|
5646
5955
|
// src/protos/stoc/proto/tp-result.ts
|
|
5647
|
-
var
|
|
5956
|
+
var _YGOProStocTpResult = class _YGOProStocTpResult extends YGOProStocBase {
|
|
5648
5957
|
};
|
|
5649
|
-
YGOProStocTpResult
|
|
5958
|
+
__name(_YGOProStocTpResult, "YGOProStocTpResult");
|
|
5959
|
+
_YGOProStocTpResult.identifier = 6;
|
|
5960
|
+
var YGOProStocTpResult = _YGOProStocTpResult;
|
|
5650
5961
|
|
|
5651
5962
|
// src/protos/stoc/proto/change-side.ts
|
|
5652
|
-
var
|
|
5963
|
+
var _YGOProStocChangeSide = class _YGOProStocChangeSide extends YGOProStocBase {
|
|
5653
5964
|
};
|
|
5654
|
-
YGOProStocChangeSide
|
|
5965
|
+
__name(_YGOProStocChangeSide, "YGOProStocChangeSide");
|
|
5966
|
+
_YGOProStocChangeSide.identifier = 7;
|
|
5967
|
+
var YGOProStocChangeSide = _YGOProStocChangeSide;
|
|
5655
5968
|
|
|
5656
5969
|
// src/protos/stoc/proto/waiting-side.ts
|
|
5657
|
-
var
|
|
5970
|
+
var _YGOProStocWaitingSide = class _YGOProStocWaitingSide extends YGOProStocBase {
|
|
5658
5971
|
};
|
|
5659
|
-
YGOProStocWaitingSide
|
|
5972
|
+
__name(_YGOProStocWaitingSide, "YGOProStocWaitingSide");
|
|
5973
|
+
_YGOProStocWaitingSide.identifier = 8;
|
|
5974
|
+
var YGOProStocWaitingSide = _YGOProStocWaitingSide;
|
|
5660
5975
|
|
|
5661
5976
|
// src/protos/stoc/proto/deck-count.ts
|
|
5662
|
-
var
|
|
5977
|
+
var _YGOProStocDeckCount_DeckInfo = class _YGOProStocDeckCount_DeckInfo {
|
|
5663
5978
|
};
|
|
5979
|
+
__name(_YGOProStocDeckCount_DeckInfo, "YGOProStocDeckCount_DeckInfo");
|
|
5664
5980
|
__decorateClass([
|
|
5665
5981
|
BinaryField("i16", 0)
|
|
5666
|
-
],
|
|
5982
|
+
], _YGOProStocDeckCount_DeckInfo.prototype, "main", 2);
|
|
5667
5983
|
__decorateClass([
|
|
5668
5984
|
BinaryField("i16", 2)
|
|
5669
|
-
],
|
|
5985
|
+
], _YGOProStocDeckCount_DeckInfo.prototype, "extra", 2);
|
|
5670
5986
|
__decorateClass([
|
|
5671
5987
|
BinaryField("i16", 4)
|
|
5672
|
-
],
|
|
5673
|
-
var
|
|
5988
|
+
], _YGOProStocDeckCount_DeckInfo.prototype, "side", 2);
|
|
5989
|
+
var YGOProStocDeckCount_DeckInfo = _YGOProStocDeckCount_DeckInfo;
|
|
5990
|
+
var _YGOProStocDeckCount = class _YGOProStocDeckCount extends YGOProStocBase {
|
|
5674
5991
|
};
|
|
5675
|
-
YGOProStocDeckCount
|
|
5992
|
+
__name(_YGOProStocDeckCount, "YGOProStocDeckCount");
|
|
5993
|
+
_YGOProStocDeckCount.identifier = 9;
|
|
5676
5994
|
__decorateClass([
|
|
5677
5995
|
BinaryField(() => YGOProStocDeckCount_DeckInfo, 0)
|
|
5678
|
-
],
|
|
5996
|
+
], _YGOProStocDeckCount.prototype, "player0DeckCount", 2);
|
|
5679
5997
|
__decorateClass([
|
|
5680
5998
|
BinaryField(() => YGOProStocDeckCount_DeckInfo, 6)
|
|
5681
|
-
],
|
|
5999
|
+
], _YGOProStocDeckCount.prototype, "player1DeckCount", 2);
|
|
6000
|
+
var YGOProStocDeckCount = _YGOProStocDeckCount;
|
|
5682
6001
|
|
|
5683
6002
|
// src/protos/stoc/proto/create-game.ts
|
|
5684
|
-
var
|
|
6003
|
+
var _YGOProStocCreateGame = class _YGOProStocCreateGame extends YGOProStocBase {
|
|
5685
6004
|
};
|
|
5686
|
-
YGOProStocCreateGame
|
|
6005
|
+
__name(_YGOProStocCreateGame, "YGOProStocCreateGame");
|
|
6006
|
+
_YGOProStocCreateGame.identifier = 17;
|
|
5687
6007
|
__decorateClass([
|
|
5688
6008
|
BinaryField("u32", 0)
|
|
5689
|
-
],
|
|
6009
|
+
], _YGOProStocCreateGame.prototype, "gameid", 2);
|
|
6010
|
+
var YGOProStocCreateGame = _YGOProStocCreateGame;
|
|
5690
6011
|
|
|
5691
6012
|
// src/protos/stoc/proto/join-game.ts
|
|
5692
|
-
var
|
|
6013
|
+
var _YGOProStocJoinGame = class _YGOProStocJoinGame extends YGOProStocBase {
|
|
5693
6014
|
};
|
|
5694
|
-
YGOProStocJoinGame
|
|
6015
|
+
__name(_YGOProStocJoinGame, "YGOProStocJoinGame");
|
|
6016
|
+
_YGOProStocJoinGame.identifier = 18;
|
|
5695
6017
|
__decorateClass([
|
|
5696
6018
|
BinaryField(() => HostInfo, 0)
|
|
5697
|
-
],
|
|
6019
|
+
], _YGOProStocJoinGame.prototype, "info", 2);
|
|
6020
|
+
var YGOProStocJoinGame = _YGOProStocJoinGame;
|
|
5698
6021
|
|
|
5699
6022
|
// src/protos/stoc/proto/type-change.ts
|
|
5700
|
-
var
|
|
6023
|
+
var _YGOProStocTypeChange = class _YGOProStocTypeChange extends YGOProStocBase {
|
|
5701
6024
|
/**
|
|
5702
6025
|
* Get/Set player position (low 4 bits, 0-7)
|
|
5703
6026
|
*/
|
|
@@ -5722,32 +6045,40 @@ var YGOProStocTypeChange = class extends YGOProStocBase {
|
|
|
5722
6045
|
}
|
|
5723
6046
|
}
|
|
5724
6047
|
};
|
|
5725
|
-
YGOProStocTypeChange
|
|
6048
|
+
__name(_YGOProStocTypeChange, "YGOProStocTypeChange");
|
|
6049
|
+
_YGOProStocTypeChange.identifier = 19;
|
|
5726
6050
|
__decorateClass([
|
|
5727
6051
|
BinaryField("u8", 0)
|
|
5728
|
-
],
|
|
6052
|
+
], _YGOProStocTypeChange.prototype, "type", 2);
|
|
6053
|
+
var YGOProStocTypeChange = _YGOProStocTypeChange;
|
|
5729
6054
|
|
|
5730
6055
|
// src/protos/stoc/proto/leave-game.ts
|
|
5731
|
-
var
|
|
6056
|
+
var _YGOProStocLeaveGame = class _YGOProStocLeaveGame extends YGOProStocBase {
|
|
5732
6057
|
};
|
|
5733
|
-
YGOProStocLeaveGame
|
|
6058
|
+
__name(_YGOProStocLeaveGame, "YGOProStocLeaveGame");
|
|
6059
|
+
_YGOProStocLeaveGame.identifier = 20;
|
|
5734
6060
|
__decorateClass([
|
|
5735
6061
|
BinaryField("u8", 0)
|
|
5736
|
-
],
|
|
6062
|
+
], _YGOProStocLeaveGame.prototype, "pos", 2);
|
|
6063
|
+
var YGOProStocLeaveGame = _YGOProStocLeaveGame;
|
|
5737
6064
|
|
|
5738
6065
|
// src/protos/stoc/proto/duel-start.ts
|
|
5739
|
-
var
|
|
6066
|
+
var _YGOProStocDuelStart = class _YGOProStocDuelStart extends YGOProStocBase {
|
|
5740
6067
|
};
|
|
5741
|
-
YGOProStocDuelStart
|
|
6068
|
+
__name(_YGOProStocDuelStart, "YGOProStocDuelStart");
|
|
6069
|
+
_YGOProStocDuelStart.identifier = 21;
|
|
6070
|
+
var YGOProStocDuelStart = _YGOProStocDuelStart;
|
|
5742
6071
|
|
|
5743
6072
|
// src/protos/stoc/proto/duel-end.ts
|
|
5744
|
-
var
|
|
6073
|
+
var _YGOProStocDuelEnd = class _YGOProStocDuelEnd extends YGOProStocBase {
|
|
5745
6074
|
};
|
|
5746
|
-
YGOProStocDuelEnd
|
|
6075
|
+
__name(_YGOProStocDuelEnd, "YGOProStocDuelEnd");
|
|
6076
|
+
_YGOProStocDuelEnd.identifier = 22;
|
|
6077
|
+
var YGOProStocDuelEnd = _YGOProStocDuelEnd;
|
|
5747
6078
|
|
|
5748
6079
|
// src/protos/stoc/proto/replay.ts
|
|
5749
6080
|
var import_ygopro_yrp_encode = require("ygopro-yrp-encode");
|
|
5750
|
-
var
|
|
6081
|
+
var _YGOProStocReplay = class _YGOProStocReplay extends YGOProStocBase {
|
|
5751
6082
|
constructor() {
|
|
5752
6083
|
super();
|
|
5753
6084
|
this.replay = new import_ygopro_yrp_encode.YGOProYrp();
|
|
@@ -5771,22 +6102,26 @@ var YGOProStocReplay = class extends YGOProStocBase {
|
|
|
5771
6102
|
return copied;
|
|
5772
6103
|
}
|
|
5773
6104
|
};
|
|
5774
|
-
YGOProStocReplay
|
|
6105
|
+
__name(_YGOProStocReplay, "YGOProStocReplay");
|
|
6106
|
+
_YGOProStocReplay.identifier = 23;
|
|
6107
|
+
var YGOProStocReplay = _YGOProStocReplay;
|
|
5775
6108
|
|
|
5776
6109
|
// src/protos/stoc/proto/time-limit.ts
|
|
5777
|
-
var
|
|
6110
|
+
var _YGOProStocTimeLimit = class _YGOProStocTimeLimit extends YGOProStocBase {
|
|
5778
6111
|
};
|
|
5779
|
-
YGOProStocTimeLimit
|
|
6112
|
+
__name(_YGOProStocTimeLimit, "YGOProStocTimeLimit");
|
|
6113
|
+
_YGOProStocTimeLimit.identifier = 24;
|
|
5780
6114
|
__decorateClass([
|
|
5781
6115
|
BinaryField("u8", 0)
|
|
5782
|
-
],
|
|
6116
|
+
], _YGOProStocTimeLimit.prototype, "player", 2);
|
|
5783
6117
|
__decorateClass([
|
|
5784
6118
|
BinaryField("u16", 2)
|
|
5785
|
-
],
|
|
6119
|
+
], _YGOProStocTimeLimit.prototype, "left_time", 2);
|
|
6120
|
+
var YGOProStocTimeLimit = _YGOProStocTimeLimit;
|
|
5786
6121
|
|
|
5787
6122
|
// src/protos/stoc/proto/chat.ts
|
|
5788
6123
|
var STOC_CHAT_MAX_LENGTH = 256;
|
|
5789
|
-
var
|
|
6124
|
+
var _YGOProStocChat = class _YGOProStocChat extends YGOProStocBase {
|
|
5790
6125
|
constructor() {
|
|
5791
6126
|
super();
|
|
5792
6127
|
this.player_type = 0;
|
|
@@ -5828,23 +6163,27 @@ var YGOProStocChat = class extends YGOProStocBase {
|
|
|
5828
6163
|
return this;
|
|
5829
6164
|
}
|
|
5830
6165
|
};
|
|
5831
|
-
YGOProStocChat
|
|
5832
|
-
|
|
6166
|
+
__name(_YGOProStocChat, "YGOProStocChat");
|
|
6167
|
+
_YGOProStocChat.identifier = 25;
|
|
6168
|
+
_YGOProStocChat.MAX_LENGTH = STOC_CHAT_MAX_LENGTH;
|
|
6169
|
+
var YGOProStocChat = _YGOProStocChat;
|
|
5833
6170
|
|
|
5834
6171
|
// src/protos/stoc/proto/hs-player-enter.ts
|
|
5835
|
-
var
|
|
6172
|
+
var _YGOProStocHsPlayerEnter = class _YGOProStocHsPlayerEnter extends YGOProStocBase {
|
|
5836
6173
|
// 1 byte padding (note: actual size is 41 bytes, not 42 - workaround in original code)
|
|
5837
6174
|
};
|
|
5838
|
-
YGOProStocHsPlayerEnter
|
|
6175
|
+
__name(_YGOProStocHsPlayerEnter, "YGOProStocHsPlayerEnter");
|
|
6176
|
+
_YGOProStocHsPlayerEnter.identifier = 32;
|
|
5839
6177
|
__decorateClass([
|
|
5840
6178
|
BinaryField("utf16", 0, 20)
|
|
5841
|
-
],
|
|
6179
|
+
], _YGOProStocHsPlayerEnter.prototype, "name", 2);
|
|
5842
6180
|
__decorateClass([
|
|
5843
6181
|
BinaryField("u8", 40)
|
|
5844
|
-
],
|
|
6182
|
+
], _YGOProStocHsPlayerEnter.prototype, "pos", 2);
|
|
6183
|
+
var YGOProStocHsPlayerEnter = _YGOProStocHsPlayerEnter;
|
|
5845
6184
|
|
|
5846
6185
|
// src/protos/stoc/proto/hs-player-change.ts
|
|
5847
|
-
var
|
|
6186
|
+
var _YGOProStocHsPlayerChange = class _YGOProStocHsPlayerChange extends YGOProStocBase {
|
|
5848
6187
|
/**
|
|
5849
6188
|
* Get/Set player state (low 4 bits)
|
|
5850
6189
|
* Can be a PlayerChangeState enum value or a player position (0-7) for position changes
|
|
@@ -5865,71 +6204,83 @@ var YGOProStocHsPlayerChange = class extends YGOProStocBase {
|
|
|
5865
6204
|
this.status = this.status & 15 | (value & 15) << 4;
|
|
5866
6205
|
}
|
|
5867
6206
|
};
|
|
5868
|
-
YGOProStocHsPlayerChange
|
|
6207
|
+
__name(_YGOProStocHsPlayerChange, "YGOProStocHsPlayerChange");
|
|
6208
|
+
_YGOProStocHsPlayerChange.identifier = 33;
|
|
5869
6209
|
__decorateClass([
|
|
5870
6210
|
BinaryField("u8", 0)
|
|
5871
|
-
],
|
|
6211
|
+
], _YGOProStocHsPlayerChange.prototype, "status", 2);
|
|
6212
|
+
var YGOProStocHsPlayerChange = _YGOProStocHsPlayerChange;
|
|
5872
6213
|
|
|
5873
6214
|
// src/protos/stoc/proto/hs-watch-change.ts
|
|
5874
|
-
var
|
|
6215
|
+
var _YGOProStocHsWatchChange = class _YGOProStocHsWatchChange extends YGOProStocBase {
|
|
5875
6216
|
};
|
|
5876
|
-
YGOProStocHsWatchChange
|
|
6217
|
+
__name(_YGOProStocHsWatchChange, "YGOProStocHsWatchChange");
|
|
6218
|
+
_YGOProStocHsWatchChange.identifier = 34;
|
|
5877
6219
|
__decorateClass([
|
|
5878
6220
|
BinaryField("u16", 0)
|
|
5879
|
-
],
|
|
6221
|
+
], _YGOProStocHsWatchChange.prototype, "watch_count", 2);
|
|
6222
|
+
var YGOProStocHsWatchChange = _YGOProStocHsWatchChange;
|
|
5880
6223
|
|
|
5881
6224
|
// src/protos/stoc/proto/teammate-surrender.ts
|
|
5882
|
-
var
|
|
6225
|
+
var _YGOProStocTeammateSurrender = class _YGOProStocTeammateSurrender extends YGOProStocBase {
|
|
5883
6226
|
};
|
|
5884
|
-
YGOProStocTeammateSurrender
|
|
6227
|
+
__name(_YGOProStocTeammateSurrender, "YGOProStocTeammateSurrender");
|
|
6228
|
+
_YGOProStocTeammateSurrender.identifier = 35;
|
|
6229
|
+
var YGOProStocTeammateSurrender = _YGOProStocTeammateSurrender;
|
|
5885
6230
|
|
|
5886
6231
|
// src/protos/stoc/proto/field-finish.ts
|
|
5887
|
-
var
|
|
6232
|
+
var _YGOProStocFieldFinish = class _YGOProStocFieldFinish extends YGOProStocBase {
|
|
5888
6233
|
};
|
|
5889
|
-
YGOProStocFieldFinish
|
|
6234
|
+
__name(_YGOProStocFieldFinish, "YGOProStocFieldFinish");
|
|
6235
|
+
_YGOProStocFieldFinish.identifier = 48;
|
|
6236
|
+
var YGOProStocFieldFinish = _YGOProStocFieldFinish;
|
|
5890
6237
|
|
|
5891
6238
|
// src/protos/stoc/proto/srvpro-roomlist.ts
|
|
5892
|
-
var
|
|
6239
|
+
var _SrvproRoomInfo = class _SrvproRoomInfo {
|
|
5893
6240
|
};
|
|
6241
|
+
__name(_SrvproRoomInfo, "SrvproRoomInfo");
|
|
5894
6242
|
__decorateClass([
|
|
5895
6243
|
BinaryField("utf8", 0, 64)
|
|
5896
|
-
],
|
|
6244
|
+
], _SrvproRoomInfo.prototype, "roomname", 2);
|
|
5897
6245
|
__decorateClass([
|
|
5898
6246
|
BinaryField("u8", 64)
|
|
5899
|
-
],
|
|
6247
|
+
], _SrvproRoomInfo.prototype, "room_status", 2);
|
|
5900
6248
|
__decorateClass([
|
|
5901
6249
|
BinaryField("i8", 65)
|
|
5902
|
-
],
|
|
6250
|
+
], _SrvproRoomInfo.prototype, "room_duel_count", 2);
|
|
5903
6251
|
__decorateClass([
|
|
5904
6252
|
BinaryField("i8", 66)
|
|
5905
|
-
],
|
|
6253
|
+
], _SrvproRoomInfo.prototype, "room_turn_count", 2);
|
|
5906
6254
|
__decorateClass([
|
|
5907
6255
|
BinaryField("utf8", 67, 128)
|
|
5908
|
-
],
|
|
6256
|
+
], _SrvproRoomInfo.prototype, "player1", 2);
|
|
5909
6257
|
__decorateClass([
|
|
5910
6258
|
BinaryField("i8", 195)
|
|
5911
|
-
],
|
|
6259
|
+
], _SrvproRoomInfo.prototype, "player1_score", 2);
|
|
5912
6260
|
__decorateClass([
|
|
5913
6261
|
BinaryField("i32", 196)
|
|
5914
|
-
],
|
|
6262
|
+
], _SrvproRoomInfo.prototype, "player1_lp", 2);
|
|
5915
6263
|
__decorateClass([
|
|
5916
6264
|
BinaryField("utf8", 200, 128)
|
|
5917
|
-
],
|
|
6265
|
+
], _SrvproRoomInfo.prototype, "player2", 2);
|
|
5918
6266
|
__decorateClass([
|
|
5919
6267
|
BinaryField("i8", 328)
|
|
5920
|
-
],
|
|
6268
|
+
], _SrvproRoomInfo.prototype, "player2_score", 2);
|
|
5921
6269
|
__decorateClass([
|
|
5922
6270
|
BinaryField("i32", 329)
|
|
5923
|
-
],
|
|
5924
|
-
var
|
|
6271
|
+
], _SrvproRoomInfo.prototype, "player2_lp", 2);
|
|
6272
|
+
var SrvproRoomInfo = _SrvproRoomInfo;
|
|
6273
|
+
var _YGOProStocSrvproRoomlist = class _YGOProStocSrvproRoomlist extends YGOProStocBase {
|
|
5925
6274
|
};
|
|
5926
|
-
YGOProStocSrvproRoomlist
|
|
6275
|
+
__name(_YGOProStocSrvproRoomlist, "YGOProStocSrvproRoomlist");
|
|
6276
|
+
_YGOProStocSrvproRoomlist.identifier = 49;
|
|
5927
6277
|
__decorateClass([
|
|
5928
6278
|
BinaryField("u16", 0)
|
|
5929
|
-
],
|
|
6279
|
+
], _YGOProStocSrvproRoomlist.prototype, "count", 2);
|
|
5930
6280
|
__decorateClass([
|
|
5931
6281
|
BinaryField(() => SrvproRoomInfo, 2, (obj) => obj.count)
|
|
5932
|
-
],
|
|
6282
|
+
], _YGOProStocSrvproRoomlist.prototype, "rooms", 2);
|
|
6283
|
+
var YGOProStocSrvproRoomlist = _YGOProStocSrvproRoomlist;
|
|
5933
6284
|
|
|
5934
6285
|
// src/protos/stoc/registry.ts
|
|
5935
6286
|
var YGOProStoc = new RegistryBase(YGOProStocBase, {
|