ygopro-msg-encode 1.1.21 → 1.1.23
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
CHANGED
|
@@ -111,6 +111,7 @@ __export(index_exports, {
|
|
|
111
111
|
YGOProMsgChainSolving: () => YGOProMsgChainSolving,
|
|
112
112
|
YGOProMsgChained: () => YGOProMsgChained,
|
|
113
113
|
YGOProMsgChaining: () => YGOProMsgChaining,
|
|
114
|
+
YGOProMsgChaining_CardLocation: () => YGOProMsgChaining_CardLocation,
|
|
114
115
|
YGOProMsgConfirmCards: () => YGOProMsgConfirmCards,
|
|
115
116
|
YGOProMsgConfirmCards_CardInfo: () => YGOProMsgConfirmCards_CardInfo,
|
|
116
117
|
YGOProMsgConfirmDeckTop: () => YGOProMsgConfirmDeckTop,
|
|
@@ -3339,6 +3340,19 @@ __decorateClass([
|
|
|
3339
3340
|
var YGOProMsgChained = _YGOProMsgChained;
|
|
3340
3341
|
|
|
3341
3342
|
// src/protos/msg/proto/chaining.ts
|
|
3343
|
+
var _YGOProMsgChaining_CardLocation = class _YGOProMsgChaining_CardLocation {
|
|
3344
|
+
};
|
|
3345
|
+
__name(_YGOProMsgChaining_CardLocation, "YGOProMsgChaining_CardLocation");
|
|
3346
|
+
__decorateClass([
|
|
3347
|
+
BinaryField("u8", 0)
|
|
3348
|
+
], _YGOProMsgChaining_CardLocation.prototype, "controller", 2);
|
|
3349
|
+
__decorateClass([
|
|
3350
|
+
BinaryField("u8", 1)
|
|
3351
|
+
], _YGOProMsgChaining_CardLocation.prototype, "location", 2);
|
|
3352
|
+
__decorateClass([
|
|
3353
|
+
BinaryField("u8", 2)
|
|
3354
|
+
], _YGOProMsgChaining_CardLocation.prototype, "sequence", 2);
|
|
3355
|
+
var YGOProMsgChaining_CardLocation = _YGOProMsgChaining_CardLocation;
|
|
3342
3356
|
var _YGOProMsgChaining = class _YGOProMsgChaining extends YGOProMsgBase {
|
|
3343
3357
|
};
|
|
3344
3358
|
__name(_YGOProMsgChaining, "YGOProMsgChaining");
|
|
@@ -3359,14 +3373,14 @@ __decorateClass([
|
|
|
3359
3373
|
BinaryField("u8", 7)
|
|
3360
3374
|
], _YGOProMsgChaining.prototype, "subsequence", 2);
|
|
3361
3375
|
__decorateClass([
|
|
3362
|
-
BinaryField(
|
|
3363
|
-
], _YGOProMsgChaining.prototype, "
|
|
3376
|
+
BinaryField(() => YGOProMsgChaining_CardLocation, 8)
|
|
3377
|
+
], _YGOProMsgChaining.prototype, "chainCardLocation", 2);
|
|
3364
3378
|
__decorateClass([
|
|
3365
|
-
BinaryField("i32",
|
|
3379
|
+
BinaryField("i32", 11)
|
|
3366
3380
|
], _YGOProMsgChaining.prototype, "desc", 2);
|
|
3367
3381
|
__decorateClass([
|
|
3368
|
-
BinaryField("u8",
|
|
3369
|
-
], _YGOProMsgChaining.prototype, "
|
|
3382
|
+
BinaryField("u8", 15)
|
|
3383
|
+
], _YGOProMsgChaining.prototype, "chainCount", 2);
|
|
3370
3384
|
var YGOProMsgChaining = _YGOProMsgChaining;
|
|
3371
3385
|
|
|
3372
3386
|
// src/protos/msg/proto/confirm-cards.ts
|
|
@@ -5332,8 +5346,7 @@ var YGOProMsgSelectYesNo = _YGOProMsgSelectYesNo;
|
|
|
5332
5346
|
|
|
5333
5347
|
// src/protos/msg/proto/set.ts
|
|
5334
5348
|
var _YGOProMsgSet = class _YGOProMsgSet extends YGOProMsgBase {
|
|
5335
|
-
// MSG_SET
|
|
5336
|
-
// 服务器在发送前会将 code 清零
|
|
5349
|
+
// MSG_SET 的 code 在常见网络转发路径会被置 0
|
|
5337
5350
|
opponentView() {
|
|
5338
5351
|
const view = this.copy();
|
|
5339
5352
|
view.code = 0;
|
|
@@ -5361,6 +5374,18 @@ _YGOProMsgSet.identifier = OcgcoreCommonConstants.MSG_SET;
|
|
|
5361
5374
|
__decorateClass([
|
|
5362
5375
|
BinaryField("i32", 0)
|
|
5363
5376
|
], _YGOProMsgSet.prototype, "code", 2);
|
|
5377
|
+
__decorateClass([
|
|
5378
|
+
BinaryField("u8", 4)
|
|
5379
|
+
], _YGOProMsgSet.prototype, "controller", 2);
|
|
5380
|
+
__decorateClass([
|
|
5381
|
+
BinaryField("u8", 5)
|
|
5382
|
+
], _YGOProMsgSet.prototype, "location", 2);
|
|
5383
|
+
__decorateClass([
|
|
5384
|
+
BinaryField("u8", 6)
|
|
5385
|
+
], _YGOProMsgSet.prototype, "sequence", 2);
|
|
5386
|
+
__decorateClass([
|
|
5387
|
+
BinaryField("u8", 7)
|
|
5388
|
+
], _YGOProMsgSet.prototype, "position", 2);
|
|
5364
5389
|
var YGOProMsgSet = _YGOProMsgSet;
|
|
5365
5390
|
|
|
5366
5391
|
// src/protos/msg/proto/shuffle-deck.ts
|
|
@@ -6637,6 +6662,7 @@ YGOProStoc.register(YGOProStocSrvproRoomlist);
|
|
|
6637
6662
|
YGOProMsgChainSolving,
|
|
6638
6663
|
YGOProMsgChained,
|
|
6639
6664
|
YGOProMsgChaining,
|
|
6665
|
+
YGOProMsgChaining_CardLocation,
|
|
6640
6666
|
YGOProMsgConfirmCards,
|
|
6641
6667
|
YGOProMsgConfirmCards_CardInfo,
|
|
6642
6668
|
YGOProMsgConfirmDeckTop,
|