ygopro-msg-encode 1.1.22 → 1.1.24
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
|
@@ -2326,11 +2326,14 @@ __decorateClass([
|
|
|
2326
2326
|
BinaryField(() => YGOProMsgBattle_CardStats, 0)
|
|
2327
2327
|
], _YGOProMsgBattle.prototype, "attacker", 2);
|
|
2328
2328
|
__decorateClass([
|
|
2329
|
-
BinaryField(
|
|
2329
|
+
BinaryField("u8", 12)
|
|
2330
|
+
], _YGOProMsgBattle.prototype, "attackerBattleState", 2);
|
|
2331
|
+
__decorateClass([
|
|
2332
|
+
BinaryField(() => YGOProMsgBattle_CardStats, 13)
|
|
2330
2333
|
], _YGOProMsgBattle.prototype, "defender", 2);
|
|
2331
2334
|
__decorateClass([
|
|
2332
|
-
BinaryField("u8",
|
|
2333
|
-
], _YGOProMsgBattle.prototype, "
|
|
2335
|
+
BinaryField("u8", 25)
|
|
2336
|
+
], _YGOProMsgBattle.prototype, "defenderBattleState", 2);
|
|
2334
2337
|
var YGOProMsgBattle = _YGOProMsgBattle;
|
|
2335
2338
|
|
|
2336
2339
|
// src/protos/msg/proto/become-target.ts
|
|
@@ -5346,8 +5349,7 @@ var YGOProMsgSelectYesNo = _YGOProMsgSelectYesNo;
|
|
|
5346
5349
|
|
|
5347
5350
|
// src/protos/msg/proto/set.ts
|
|
5348
5351
|
var _YGOProMsgSet = class _YGOProMsgSet extends YGOProMsgBase {
|
|
5349
|
-
// MSG_SET
|
|
5350
|
-
// 服务器在发送前会将 code 清零
|
|
5352
|
+
// MSG_SET 的 code 在常见网络转发路径会被置 0
|
|
5351
5353
|
opponentView() {
|
|
5352
5354
|
const view = this.copy();
|
|
5353
5355
|
view.code = 0;
|
|
@@ -5375,6 +5377,18 @@ _YGOProMsgSet.identifier = OcgcoreCommonConstants.MSG_SET;
|
|
|
5375
5377
|
__decorateClass([
|
|
5376
5378
|
BinaryField("i32", 0)
|
|
5377
5379
|
], _YGOProMsgSet.prototype, "code", 2);
|
|
5380
|
+
__decorateClass([
|
|
5381
|
+
BinaryField("u8", 4)
|
|
5382
|
+
], _YGOProMsgSet.prototype, "controller", 2);
|
|
5383
|
+
__decorateClass([
|
|
5384
|
+
BinaryField("u8", 5)
|
|
5385
|
+
], _YGOProMsgSet.prototype, "location", 2);
|
|
5386
|
+
__decorateClass([
|
|
5387
|
+
BinaryField("u8", 6)
|
|
5388
|
+
], _YGOProMsgSet.prototype, "sequence", 2);
|
|
5389
|
+
__decorateClass([
|
|
5390
|
+
BinaryField("u8", 7)
|
|
5391
|
+
], _YGOProMsgSet.prototype, "position", 2);
|
|
5378
5392
|
var YGOProMsgSet = _YGOProMsgSet;
|
|
5379
5393
|
|
|
5380
5394
|
// src/protos/msg/proto/shuffle-deck.ts
|