ygopro-msg-encode 1.1.22 → 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 +13 -2
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +13 -2
- package/dist/index.mjs.map +2 -2
- package/dist/src/protos/msg/proto/set.d.ts +4 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5346,8 +5346,7 @@ var YGOProMsgSelectYesNo = _YGOProMsgSelectYesNo;
|
|
|
5346
5346
|
|
|
5347
5347
|
// src/protos/msg/proto/set.ts
|
|
5348
5348
|
var _YGOProMsgSet = class _YGOProMsgSet extends YGOProMsgBase {
|
|
5349
|
-
// MSG_SET
|
|
5350
|
-
// 服务器在发送前会将 code 清零
|
|
5349
|
+
// MSG_SET 的 code 在常见网络转发路径会被置 0
|
|
5351
5350
|
opponentView() {
|
|
5352
5351
|
const view = this.copy();
|
|
5353
5352
|
view.code = 0;
|
|
@@ -5375,6 +5374,18 @@ _YGOProMsgSet.identifier = OcgcoreCommonConstants.MSG_SET;
|
|
|
5375
5374
|
__decorateClass([
|
|
5376
5375
|
BinaryField("i32", 0)
|
|
5377
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);
|
|
5378
5389
|
var YGOProMsgSet = _YGOProMsgSet;
|
|
5379
5390
|
|
|
5380
5391
|
// src/protos/msg/proto/shuffle-deck.ts
|