Commit 0fa86c77 authored by nanahira's avatar nanahira

bump

parent 940dde6a
Pipeline #42921 passed with stages
in 3 minutes and 15 seconds
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
"js-yaml": "^4.1.1", "js-yaml": "^4.1.1",
"sql.js": "^1.13.0", "sql.js": "^1.13.0",
"ygopro-jstest": "^1.0.10", "ygopro-jstest": "^1.0.10",
"ygopro-msg-encode": "^1.1.6" "ygopro-msg-encode": "^1.1.7"
}, },
"devDependencies": { "devDependencies": {
"@types/jest": "^30.0.0", "@types/jest": "^30.0.0",
...@@ -6399,9 +6399,9 @@ ...@@ -6399,9 +6399,9 @@
} }
}, },
"node_modules/ygopro-msg-encode": { "node_modules/ygopro-msg-encode": {
"version": "1.1.6", "version": "1.1.7",
"resolved": "https://registry.npmjs.org/ygopro-msg-encode/-/ygopro-msg-encode-1.1.6.tgz", "resolved": "https://registry.npmjs.org/ygopro-msg-encode/-/ygopro-msg-encode-1.1.7.tgz",
"integrity": "sha512-ViNMcSM5o32zW0GhaPgXCQSz8hJJ/4Nd5HPQVRA6o9qqZ+2+0tjLZX8vviMA48iFmsA03ABTx6Y5iT8h1e11jQ==", "integrity": "sha512-KQ5uirF+LfD1/IlTrIJh/f37IwXc5IMFs5qO8Uw+KZI7cW4UVQmH7CRygDS+lbJcnHDrd2qhD4l3YpsmYqqBkg==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"typed-reflector": "^1.0.14", "typed-reflector": "^1.0.14",
......
...@@ -15,13 +15,14 @@ export interface YrpInfo { ...@@ -15,13 +15,14 @@ export interface YrpInfo {
export const toYrpInfo = (test: YGOProTest): YrpInfo => { export const toYrpInfo = (test: YGOProTest): YrpInfo => {
const snapshot = test.querySnapshot(); const snapshot = test.querySnapshot();
const snapshotText = formatSnapshot(snapshot); const snapshotText = formatSnapshot(snapshot);
const stripMsgName = (msg: string) => msg.replace(/^YGOProMsg/, "");
return { return {
messages: test.allMessages.map((msg) => ({ messages: test.allMessages.map((msg) => ({
identifier: msg.identifier, identifier: msg.identifier,
msg: msg.constructor.name, msg: stripMsgName(msg.constructor.name),
...msg, ...msg,
})), })),
snapshot, snapshot,
snapshotText, snapshotText,
}; };
} };
messages: messages:
- identifier: 33 - identifier: 33
msg: YGOProMsgShuffleHand msg: ShuffleHand
player: 0 player: 0
count: 2 count: 2
cards: cards:
- 28985331 - 28985331
- 10000000 - 10000000
- identifier: 41 - identifier: 41
msg: YGOProMsgNewPhase msg: NewPhase
phase: 1 phase: 1
- identifier: 41 - identifier: 41
msg: YGOProMsgNewPhase msg: NewPhase
phase: 2 phase: 2
- identifier: 41 - identifier: 41
msg: YGOProMsgNewPhase msg: NewPhase
phase: 4 phase: 4
- identifier: 11 - identifier: 11
msg: YGOProMsgSelectIdleCmd msg: SelectIdleCmd
player: 0 player: 0
summonableCount: 1 summonableCount: 1
summonableCards: summonableCards:
......
messages: messages:
- identifier: 90 - identifier: 90
msg: YGOProMsgDraw msg: Draw
player: 0 player: 0
count: 5 count: 5
cards: cards:
...@@ -10,7 +10,7 @@ messages: ...@@ -10,7 +10,7 @@ messages:
- 96729612 - 96729612
- 51452091 - 51452091
- identifier: 90 - identifier: 90
msg: YGOProMsgDraw msg: Draw
player: 1 player: 1
count: 5 count: 5
cards: cards:
...@@ -20,18 +20,18 @@ messages: ...@@ -20,18 +20,18 @@ messages:
- 56713174 - 56713174
- 29596581 - 29596581
- identifier: 40 - identifier: 40
msg: YGOProMsgNewTurn msg: NewTurn
player: 0 player: 0
- identifier: 41 - identifier: 41
msg: YGOProMsgNewPhase msg: NewPhase
phase: 1 phase: 1
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 1 type: 1
player: 1 player: 1
desc: 20 desc: 20
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 1 count: 1
specialCount: 0 specialCount: 0
...@@ -47,15 +47,15 @@ messages: ...@@ -47,15 +47,15 @@ messages:
subsequence: 10 subsequence: 10
desc: 907410784 desc: 907410784
- identifier: 41 - identifier: 41
msg: YGOProMsgNewPhase msg: NewPhase
phase: 2 phase: 2
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 1 type: 1
player: 1 player: 1
desc: 21 desc: 21
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 1 count: 1
specialCount: 0 specialCount: 0
...@@ -71,10 +71,10 @@ messages: ...@@ -71,10 +71,10 @@ messages:
subsequence: 10 subsequence: 10
desc: 907410784 desc: 907410784
- identifier: 41 - identifier: 41
msg: YGOProMsgNewPhase msg: NewPhase
phase: 4 phase: 4
- identifier: 11 - identifier: 11
msg: YGOProMsgSelectIdleCmd msg: SelectIdleCmd
player: 0 player: 0
summonableCount: 1 summonableCount: 1
summonableCards: summonableCards:
...@@ -122,17 +122,17 @@ messages: ...@@ -122,17 +122,17 @@ messages:
canEp: 1 canEp: 1
canShuffle: 1 canShuffle: 1
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 3 type: 3
player: 0 player: 0
desc: 51452091 desc: 51452091
- identifier: 18 - identifier: 18
msg: YGOProMsgSelectPlace msg: SelectPlace
player: 0 player: 0
count: 0 count: 0
flag: 4294959359 flag: 4294959359
- identifier: 50 - identifier: 50
msg: YGOProMsgMove msg: Move
code: 51452091 code: 51452091
previous: previous:
controller: 0 controller: 0
...@@ -146,10 +146,10 @@ messages: ...@@ -146,10 +146,10 @@ messages:
position: 10 position: 10
reason: 33555456 reason: 33555456
- identifier: 54 - identifier: 54
msg: YGOProMsgSet msg: Set
code: 51452091 code: 51452091
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 0 player: 0
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -157,7 +157,7 @@ messages: ...@@ -157,7 +157,7 @@ messages:
hint1: 2162688 hint1: 2162688
chains: [] chains: []
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 1 count: 1
specialCount: 0 specialCount: 0
...@@ -173,7 +173,7 @@ messages: ...@@ -173,7 +173,7 @@ messages:
subsequence: 10 subsequence: 10
desc: 907410784 desc: 907410784
- identifier: 11 - identifier: 11
msg: YGOProMsgSelectIdleCmd msg: SelectIdleCmd
player: 0 player: 0
summonableCount: 1 summonableCount: 1
summonableCards: summonableCards:
...@@ -217,17 +217,17 @@ messages: ...@@ -217,17 +217,17 @@ messages:
canEp: 1 canEp: 1
canShuffle: 1 canShuffle: 1
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 3 type: 3
player: 0 player: 0
desc: 51452091 desc: 51452091
- identifier: 18 - identifier: 18
msg: YGOProMsgSelectPlace msg: SelectPlace
player: 0 player: 0
count: 0 count: 0
flag: 4294960383 flag: 4294960383
- identifier: 50 - identifier: 50
msg: YGOProMsgMove msg: Move
code: 51452091 code: 51452091
previous: previous:
controller: 0 controller: 0
...@@ -241,10 +241,10 @@ messages: ...@@ -241,10 +241,10 @@ messages:
position: 10 position: 10
reason: 33555456 reason: 33555456
- identifier: 54 - identifier: 54
msg: YGOProMsgSet msg: Set
code: 51452091 code: 51452091
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 0 player: 0
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -252,7 +252,7 @@ messages: ...@@ -252,7 +252,7 @@ messages:
hint1: 0 hint1: 0
chains: [] chains: []
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 1 count: 1
specialCount: 0 specialCount: 0
...@@ -268,7 +268,7 @@ messages: ...@@ -268,7 +268,7 @@ messages:
subsequence: 10 subsequence: 10
desc: 907410784 desc: 907410784
- identifier: 11 - identifier: 11
msg: YGOProMsgSelectIdleCmd msg: SelectIdleCmd
player: 0 player: 0
summonableCount: 1 summonableCount: 1
summonableCards: summonableCards:
...@@ -308,17 +308,17 @@ messages: ...@@ -308,17 +308,17 @@ messages:
canEp: 1 canEp: 1
canShuffle: 1 canShuffle: 1
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 3 type: 3
player: 0 player: 0
desc: 96729612 desc: 96729612
- identifier: 18 - identifier: 18
msg: YGOProMsgSelectPlace msg: SelectPlace
player: 0 player: 0
count: 1 count: 1
flag: 4294960895 flag: 4294960895
- identifier: 50 - identifier: 50
msg: YGOProMsgMove msg: Move
code: 96729612 code: 96729612
previous: previous:
controller: 0 controller: 0
...@@ -332,7 +332,7 @@ messages: ...@@ -332,7 +332,7 @@ messages:
position: 5 position: 5
reason: 33555456 reason: 33555456
- identifier: 70 - identifier: 70
msg: YGOProMsgChaining msg: Chaining
code: 96729612 code: 96729612
controller: 0 controller: 0
location: 8 location: 8
...@@ -342,10 +342,10 @@ messages: ...@@ -342,10 +342,10 @@ messages:
desc: 776 desc: 776
chainPlayer: 0 chainPlayer: 0
- identifier: 71 - identifier: 71
msg: YGOProMsgChained msg: Chained
chainCount: 1 chainCount: 1
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 1 count: 1
specialCount: 1 specialCount: 1
...@@ -361,7 +361,7 @@ messages: ...@@ -361,7 +361,7 @@ messages:
subsequence: 10 subsequence: 10
desc: 907410784 desc: 907410784
- identifier: 70 - identifier: 70
msg: YGOProMsgChaining msg: Chaining
code: 56713174 code: 56713174
controller: 1 controller: 1
location: 2 location: 2
...@@ -371,7 +371,7 @@ messages: ...@@ -371,7 +371,7 @@ messages:
desc: -44039422 desc: -44039422
chainPlayer: 21 chainPlayer: 21
- identifier: 50 - identifier: 50
msg: YGOProMsgMove msg: Move
code: 56713174 code: 56713174
previous: previous:
controller: 1 controller: 1
...@@ -385,10 +385,10 @@ messages: ...@@ -385,10 +385,10 @@ messages:
position: 5 position: 5
reason: 16512 reason: 16512
- identifier: 71 - identifier: 71
msg: YGOProMsgChained msg: Chained
chainCount: 2 chainCount: 2
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 0 player: 0
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -396,7 +396,7 @@ messages: ...@@ -396,7 +396,7 @@ messages:
hint1: 0 hint1: 0
chains: [] chains: []
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -404,15 +404,15 @@ messages: ...@@ -404,15 +404,15 @@ messages:
hint1: 0 hint1: 0
chains: [] chains: []
- identifier: 72 - identifier: 72
msg: YGOProMsgChainSolving msg: ChainSolving
chainCount: 2 chainCount: 2
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 3 type: 3
player: 1 player: 1
desc: 506 desc: 506
- identifier: 15 - identifier: 15
msg: YGOProMsgSelectCard msg: SelectCard
player: 1 player: 1
cancelable: 0 cancelable: 0
min: 1 min: 1
...@@ -425,7 +425,7 @@ messages: ...@@ -425,7 +425,7 @@ messages:
sequence: 0 sequence: 0
subsequence: 8 subsequence: 8
- identifier: 50 - identifier: 50
msg: YGOProMsgMove msg: Move
code: 56713174 code: 56713174
previous: previous:
controller: 1 controller: 1
...@@ -439,7 +439,7 @@ messages: ...@@ -439,7 +439,7 @@ messages:
position: 10 position: 10
reason: 64 reason: 64
- identifier: 31 - identifier: 31
msg: YGOProMsgConfirmCards msg: ConfirmCards
player: 0 player: 0
skipPanel: 0 skipPanel: 0
count: 1 count: 1
...@@ -449,7 +449,7 @@ messages: ...@@ -449,7 +449,7 @@ messages:
location: 2 location: 2
sequence: 4 sequence: 4
- identifier: 33 - identifier: 33
msg: YGOProMsgShuffleHand msg: ShuffleHand
player: 1 player: 1
count: 5 count: 5
cards: cards:
...@@ -459,18 +459,18 @@ messages: ...@@ -459,18 +459,18 @@ messages:
- 82946847 - 82946847
- 82946847 - 82946847
- identifier: 73 - identifier: 73
msg: YGOProMsgChainSolved msg: ChainSolved
chainCount: 2 chainCount: 2
- identifier: 72 - identifier: 72
msg: YGOProMsgChainSolving msg: ChainSolving
chainCount: 1 chainCount: 1
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 3 type: 3
player: 0 player: 0
desc: 506 desc: 506
- identifier: 15 - identifier: 15
msg: YGOProMsgSelectCard msg: SelectCard
player: 0 player: 0
cancelable: 0 cancelable: 0
min: 1 min: 1
...@@ -508,7 +508,7 @@ messages: ...@@ -508,7 +508,7 @@ messages:
sequence: 5 sequence: 5
subsequence: 8 subsequence: 8
- identifier: 50 - identifier: 50
msg: YGOProMsgMove msg: Move
code: 99185129 code: 99185129
previous: previous:
controller: 0 controller: 0
...@@ -522,7 +522,7 @@ messages: ...@@ -522,7 +522,7 @@ messages:
position: 10 position: 10
reason: 64 reason: 64
- identifier: 31 - identifier: 31
msg: YGOProMsgConfirmCards msg: ConfirmCards
player: 1 player: 1
skipPanel: 0 skipPanel: 0
count: 1 count: 1
...@@ -532,7 +532,7 @@ messages: ...@@ -532,7 +532,7 @@ messages:
location: 2 location: 2
sequence: 2 sequence: 2
- identifier: 33 - identifier: 33
msg: YGOProMsgShuffleHand msg: ShuffleHand
player: 0 player: 0
count: 3 count: 3
cards: cards:
...@@ -540,10 +540,10 @@ messages: ...@@ -540,10 +540,10 @@ messages:
- 99185129 - 99185129
- 23401839 - 23401839
- identifier: 73 - identifier: 73
msg: YGOProMsgChainSolved msg: ChainSolved
chainCount: 1 chainCount: 1
- identifier: 50 - identifier: 50
msg: YGOProMsgMove msg: Move
code: 96729612 code: 96729612
previous: previous:
controller: 0 controller: 0
...@@ -557,9 +557,9 @@ messages: ...@@ -557,9 +557,9 @@ messages:
position: 5 position: 5
reason: 1024 reason: 1024
- identifier: 74 - identifier: 74
msg: YGOProMsgChainEnd msg: ChainEnd
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 0 player: 0
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -567,7 +567,7 @@ messages: ...@@ -567,7 +567,7 @@ messages:
hint1: 32768 hint1: 32768
chains: [] chains: []
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -575,7 +575,7 @@ messages: ...@@ -575,7 +575,7 @@ messages:
hint1: 10518528 hint1: 10518528
chains: [] chains: []
- identifier: 11 - identifier: 11
msg: YGOProMsgSelectIdleCmd msg: SelectIdleCmd
player: 0 player: 0
summonableCount: 1 summonableCount: 1
summonableCards: summonableCards:
...@@ -611,17 +611,17 @@ messages: ...@@ -611,17 +611,17 @@ messages:
canEp: 1 canEp: 1
canShuffle: 1 canShuffle: 1
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 3 type: 3
player: 0 player: 0
desc: 23401839 desc: 23401839
- identifier: 18 - identifier: 18
msg: YGOProMsgSelectPlace msg: SelectPlace
player: 0 player: 0
count: 1 count: 1
flag: 4294967264 flag: 4294967264
- identifier: 50 - identifier: 50
msg: YGOProMsgMove msg: Move
code: 23401839 code: 23401839
previous: previous:
controller: 0 controller: 0
...@@ -635,14 +635,14 @@ messages: ...@@ -635,14 +635,14 @@ messages:
position: 1 position: 1
reason: 33555456 reason: 33555456
- identifier: 60 - identifier: 60
msg: YGOProMsgSummoning msg: Summoning
code: 23401839 code: 23401839
controller: 0 controller: 0
location: 4 location: 4
sequence: 2 sequence: 2
position: 1 position: 1
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 0 player: 0
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -650,7 +650,7 @@ messages: ...@@ -650,7 +650,7 @@ messages:
hint1: 0 hint1: 0
chains: [] chains: []
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -658,9 +658,9 @@ messages: ...@@ -658,9 +658,9 @@ messages:
hint1: 0 hint1: 0
chains: [] chains: []
- identifier: 61 - identifier: 61
msg: YGOProMsgSummoned msg: Summoned
- identifier: 12 - identifier: 12
msg: YGOProMsgSelectEffectYn msg: SelectEffectYn
player: 0 player: 0
code: 23401839 code: 23401839
controller: 0 controller: 0
...@@ -669,7 +669,7 @@ messages: ...@@ -669,7 +669,7 @@ messages:
position: 1 position: 1
desc: 221 desc: 221
- identifier: 70 - identifier: 70
msg: YGOProMsgChaining msg: Chaining
code: 23401839 code: 23401839
controller: 0 controller: 0
location: 4 location: 4
...@@ -679,10 +679,10 @@ messages: ...@@ -679,10 +679,10 @@ messages:
desc: 1458569732 desc: 1458569732
chainPlayer: 81 chainPlayer: 81
- identifier: 71 - identifier: 71
msg: YGOProMsgChained msg: Chained
chainCount: 1 chainCount: 1
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -690,7 +690,7 @@ messages: ...@@ -690,7 +690,7 @@ messages:
hint1: 0 hint1: 0
chains: [] chains: []
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 0 player: 0
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -698,15 +698,15 @@ messages: ...@@ -698,15 +698,15 @@ messages:
hint1: 0 hint1: 0
chains: [] chains: []
- identifier: 72 - identifier: 72
msg: YGOProMsgChainSolving msg: ChainSolving
chainCount: 1 chainCount: 1
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 3 type: 3
player: 0 player: 0
desc: 506 desc: 506
- identifier: 15 - identifier: 15
msg: YGOProMsgSelectCard msg: SelectCard
player: 0 player: 0
cancelable: 0 cancelable: 0
min: 1 min: 1
...@@ -764,7 +764,7 @@ messages: ...@@ -764,7 +764,7 @@ messages:
sequence: 9 sequence: 9
subsequence: 8 subsequence: 8
- identifier: 50 - identifier: 50
msg: YGOProMsgMove msg: Move
code: 99185129 code: 99185129
previous: previous:
controller: 0 controller: 0
...@@ -778,7 +778,7 @@ messages: ...@@ -778,7 +778,7 @@ messages:
position: 10 position: 10
reason: 64 reason: 64
- identifier: 31 - identifier: 31
msg: YGOProMsgConfirmCards msg: ConfirmCards
player: 1 player: 1
skipPanel: 0 skipPanel: 0
count: 1 count: 1
...@@ -788,7 +788,7 @@ messages: ...@@ -788,7 +788,7 @@ messages:
location: 2 location: 2
sequence: 2 sequence: 2
- identifier: 33 - identifier: 33
msg: YGOProMsgShuffleHand msg: ShuffleHand
player: 0 player: 0
count: 3 count: 3
cards: cards:
...@@ -796,12 +796,12 @@ messages: ...@@ -796,12 +796,12 @@ messages:
- 99185129 - 99185129
- 99185129 - 99185129
- identifier: 73 - identifier: 73
msg: YGOProMsgChainSolved msg: ChainSolved
chainCount: 1 chainCount: 1
- identifier: 74 - identifier: 74
msg: YGOProMsgChainEnd msg: ChainEnd
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 0 player: 0
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -809,7 +809,7 @@ messages: ...@@ -809,7 +809,7 @@ messages:
hint1: 32768 hint1: 32768
chains: [] chains: []
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -817,7 +817,7 @@ messages: ...@@ -817,7 +817,7 @@ messages:
hint1: 2129920 hint1: 2129920
chains: [] chains: []
- identifier: 11 - identifier: 11
msg: YGOProMsgSelectIdleCmd msg: SelectIdleCmd
player: 0 player: 0
summonableCount: 0 summonableCount: 0
summonableCards: [] summonableCards: []
...@@ -850,7 +850,7 @@ messages: ...@@ -850,7 +850,7 @@ messages:
canEp: 1 canEp: 1
canShuffle: 1 canShuffle: 1
- identifier: 70 - identifier: 70
msg: YGOProMsgChaining msg: Chaining
code: 99185129 code: 99185129
controller: 0 controller: 0
location: 2 location: 2
...@@ -860,7 +860,7 @@ messages: ...@@ -860,7 +860,7 @@ messages:
desc: 512754178 desc: 512754178
chainPlayer: 151 chainPlayer: 151
- identifier: 50 - identifier: 50
msg: YGOProMsgMove msg: Move
code: 99185129 code: 99185129
previous: previous:
controller: 0 controller: 0
...@@ -874,10 +874,10 @@ messages: ...@@ -874,10 +874,10 @@ messages:
position: 5 position: 5
reason: 16512 reason: 16512
- identifier: 71 - identifier: 71
msg: YGOProMsgChained msg: Chained
chainCount: 1 chainCount: 1
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -885,7 +885,7 @@ messages: ...@@ -885,7 +885,7 @@ messages:
hint1: 0 hint1: 0
chains: [] chains: []
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 0 player: 0
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -893,15 +893,15 @@ messages: ...@@ -893,15 +893,15 @@ messages:
hint1: 0 hint1: 0
chains: [] chains: []
- identifier: 72 - identifier: 72
msg: YGOProMsgChainSolving msg: ChainSolving
chainCount: 1 chainCount: 1
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 3 type: 3
player: 0 player: 0
desc: 506 desc: 506
- identifier: 15 - identifier: 15
msg: YGOProMsgSelectCard msg: SelectCard
player: 0 player: 0
cancelable: 0 cancelable: 0
min: 1 min: 1
...@@ -944,7 +944,7 @@ messages: ...@@ -944,7 +944,7 @@ messages:
sequence: 6 sequence: 6
subsequence: 8 subsequence: 8
- identifier: 50 - identifier: 50
msg: YGOProMsgMove msg: Move
code: 14735698 code: 14735698
previous: previous:
controller: 0 controller: 0
...@@ -958,7 +958,7 @@ messages: ...@@ -958,7 +958,7 @@ messages:
position: 10 position: 10
reason: 64 reason: 64
- identifier: 31 - identifier: 31
msg: YGOProMsgConfirmCards msg: ConfirmCards
player: 1 player: 1
skipPanel: 0 skipPanel: 0
count: 1 count: 1
...@@ -968,7 +968,7 @@ messages: ...@@ -968,7 +968,7 @@ messages:
location: 2 location: 2
sequence: 2 sequence: 2
- identifier: 33 - identifier: 33
msg: YGOProMsgShuffleHand msg: ShuffleHand
player: 0 player: 0
count: 3 count: 3
cards: cards:
...@@ -976,12 +976,12 @@ messages: ...@@ -976,12 +976,12 @@ messages:
- 14735698 - 14735698
- 99185129 - 99185129
- identifier: 73 - identifier: 73
msg: YGOProMsgChainSolved msg: ChainSolved
chainCount: 1 chainCount: 1
- identifier: 74 - identifier: 74
msg: YGOProMsgChainEnd msg: ChainEnd
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 0 player: 0
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -989,7 +989,7 @@ messages: ...@@ -989,7 +989,7 @@ messages:
hint1: 32768 hint1: 32768
chains: [] chains: []
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -997,7 +997,7 @@ messages: ...@@ -997,7 +997,7 @@ messages:
hint1: 2129920 hint1: 2129920
chains: [] chains: []
- identifier: 11 - identifier: 11
msg: YGOProMsgSelectIdleCmd msg: SelectIdleCmd
player: 0 player: 0
summonableCount: 0 summonableCount: 0
summonableCards: [] summonableCards: []
...@@ -1024,17 +1024,17 @@ messages: ...@@ -1024,17 +1024,17 @@ messages:
canEp: 1 canEp: 1
canShuffle: 1 canShuffle: 1
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 3 type: 3
player: 0 player: 0
desc: 14735698 desc: 14735698
- identifier: 18 - identifier: 18
msg: YGOProMsgSelectPlace msg: SelectPlace
player: 0 player: 0
count: 1 count: 1
flag: 4294960895 flag: 4294960895
- identifier: 50 - identifier: 50
msg: YGOProMsgMove msg: Move
code: 14735698 code: 14735698
previous: previous:
controller: 0 controller: 0
...@@ -1048,7 +1048,7 @@ messages: ...@@ -1048,7 +1048,7 @@ messages:
position: 5 position: 5
reason: 64 reason: 64
- identifier: 70 - identifier: 70
msg: YGOProMsgChaining msg: Chaining
code: 14735698 code: 14735698
controller: 0 controller: 0
location: 8 location: 8
...@@ -1058,10 +1058,10 @@ messages: ...@@ -1058,10 +1058,10 @@ messages:
desc: 776 desc: 776
chainPlayer: 0 chainPlayer: 0
- identifier: 71 - identifier: 71
msg: YGOProMsgChained msg: Chained
chainCount: 1 chainCount: 1
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -1069,7 +1069,7 @@ messages: ...@@ -1069,7 +1069,7 @@ messages:
hint1: 0 hint1: 0
chains: [] chains: []
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 0 player: 0
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -1077,15 +1077,15 @@ messages: ...@@ -1077,15 +1077,15 @@ messages:
hint1: 0 hint1: 0
chains: [] chains: []
- identifier: 72 - identifier: 72
msg: YGOProMsgChainSolving msg: ChainSolving
chainCount: 1 chainCount: 1
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 3 type: 3
player: 0 player: 0
desc: 509 desc: 509
- identifier: 15 - identifier: 15
msg: YGOProMsgSelectCard msg: SelectCard
player: 0 player: 0
cancelable: 0 cancelable: 0
min: 1 min: 1
...@@ -1103,12 +1103,12 @@ messages: ...@@ -1103,12 +1103,12 @@ messages:
sequence: 1 sequence: 1
subsequence: 10 subsequence: 10
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 3 type: 3
player: 0 player: 0
desc: 500 desc: 500
- identifier: 26 - identifier: 26
msg: YGOProMsgSelectUnselectCard msg: SelectUnselectCard
player: 0 player: 0
finishable: 0 finishable: 0
cancelable: 1 cancelable: 1
...@@ -1129,7 +1129,7 @@ messages: ...@@ -1129,7 +1129,7 @@ messages:
unselectableCount: 0 unselectableCount: 0
unselectableCards: [] unselectableCards: []
- identifier: 50 - identifier: 50
msg: YGOProMsgMove msg: Move
code: 99185129 code: 99185129
previous: previous:
controller: 0 controller: 0
...@@ -1143,22 +1143,22 @@ messages: ...@@ -1143,22 +1143,22 @@ messages:
position: 5 position: 5
reason: 1048650 reason: 1048650
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 3 type: 3
player: 0 player: 0
desc: 99185129 desc: 99185129
- identifier: 18 - identifier: 18
msg: YGOProMsgSelectPlace msg: SelectPlace
player: 0 player: 0
count: 1 count: 1
flag: 4294967268 flag: 4294967268
- identifier: 19 - identifier: 19
msg: YGOProMsgSelectPosition msg: SelectPosition
player: 0 player: 0
code: 99185129 code: 99185129
positions: 5 positions: 5
- identifier: 50 - identifier: 50
msg: YGOProMsgMove msg: Move
code: 99185129 code: 99185129
previous: previous:
controller: 0 controller: 0
...@@ -1172,19 +1172,19 @@ messages: ...@@ -1172,19 +1172,19 @@ messages:
position: 1 position: 1
reason: 2048 reason: 2048
- identifier: 62 - identifier: 62
msg: YGOProMsgSpSummoning msg: SpSummoning
code: 99185129 code: 99185129
controller: 0 controller: 0
location: 4 location: 4
sequence: 1 sequence: 1
position: 1 position: 1
- identifier: 63 - identifier: 63
msg: YGOProMsgSpSummoned msg: SpSummoned
- identifier: 73 - identifier: 73
msg: YGOProMsgChainSolved msg: ChainSolved
chainCount: 1 chainCount: 1
- identifier: 50 - identifier: 50
msg: YGOProMsgMove msg: Move
code: 14735698 code: 14735698
previous: previous:
controller: 0 controller: 0
...@@ -1198,9 +1198,9 @@ messages: ...@@ -1198,9 +1198,9 @@ messages:
position: 5 position: 5
reason: 1024 reason: 1024
- identifier: 74 - identifier: 74
msg: YGOProMsgChainEnd msg: ChainEnd
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 0 player: 0
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -1208,7 +1208,7 @@ messages: ...@@ -1208,7 +1208,7 @@ messages:
hint1: 32768 hint1: 32768
chains: [] chains: []
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -1216,7 +1216,7 @@ messages: ...@@ -1216,7 +1216,7 @@ messages:
hint1: 8421504 hint1: 8421504
chains: [] chains: []
- identifier: 11 - identifier: 11
msg: YGOProMsgSelectIdleCmd msg: SelectIdleCmd
player: 0 player: 0
summonableCount: 0 summonableCount: 0
summonableCards: [] summonableCards: []
...@@ -1234,12 +1234,12 @@ messages: ...@@ -1234,12 +1234,12 @@ messages:
canEp: 1 canEp: 1
canShuffle: 0 canShuffle: 0
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 1 type: 1
player: 1 player: 1
desc: 23 desc: 23
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -1247,22 +1247,22 @@ messages: ...@@ -1247,22 +1247,22 @@ messages:
hint1: 4 hint1: 4
chains: [] chains: []
- identifier: 41 - identifier: 41
msg: YGOProMsgNewPhase msg: NewPhase
phase: 512 phase: 512
- identifier: 40 - identifier: 40
msg: YGOProMsgNewTurn msg: NewTurn
player: 1 player: 1
- identifier: 41 - identifier: 41
msg: YGOProMsgNewPhase msg: NewPhase
phase: 1 phase: 1
- identifier: 90 - identifier: 90
msg: YGOProMsgDraw msg: Draw
player: 1 player: 1
count: 1 count: 1
cards: cards:
- 24224830 - 24224830
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 1 count: 1
specialCount: 0 specialCount: 0
...@@ -1278,7 +1278,7 @@ messages: ...@@ -1278,7 +1278,7 @@ messages:
subsequence: 10 subsequence: 10
desc: 0 desc: 0
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 0 player: 0
count: 2 count: 2
specialCount: 0 specialCount: 0
...@@ -1302,7 +1302,7 @@ messages: ...@@ -1302,7 +1302,7 @@ messages:
subsequence: 10 subsequence: 10
desc: 0 desc: 0
- identifier: 53 - identifier: 53
msg: YGOProMsgPosChange msg: PosChange
card: card:
controller: 187 controller: 187
location: 24 location: 24
...@@ -1310,7 +1310,7 @@ messages: ...@@ -1310,7 +1310,7 @@ messages:
previousPosition: 3 previousPosition: 3
currentPosition: 0 currentPosition: 0
- identifier: 70 - identifier: 70
msg: YGOProMsgChaining msg: Chaining
code: 51452091 code: 51452091
controller: 0 controller: 0
location: 8 location: 8
...@@ -1320,10 +1320,10 @@ messages: ...@@ -1320,10 +1320,10 @@ messages:
desc: 520 desc: 520
chainPlayer: 0 chainPlayer: 0
- identifier: 71 - identifier: 71
msg: YGOProMsgChained msg: Chained
chainCount: 1 chainCount: 1
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 1 count: 1
specialCount: 1 specialCount: 1
...@@ -1339,7 +1339,7 @@ messages: ...@@ -1339,7 +1339,7 @@ messages:
subsequence: 10 subsequence: 10
desc: 0 desc: 0
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 0 player: 0
count: 1 count: 1
specialCount: 1 specialCount: 1
...@@ -1355,7 +1355,7 @@ messages: ...@@ -1355,7 +1355,7 @@ messages:
subsequence: 10 subsequence: 10
desc: 0 desc: 0
- identifier: 53 - identifier: 53
msg: YGOProMsgPosChange msg: PosChange
card: card:
controller: 187 controller: 187
location: 24 location: 24
...@@ -1363,7 +1363,7 @@ messages: ...@@ -1363,7 +1363,7 @@ messages:
previousPosition: 3 previousPosition: 3
currentPosition: 0 currentPosition: 0
- identifier: 70 - identifier: 70
msg: YGOProMsgChaining msg: Chaining
code: 51452091 code: 51452091
controller: 0 controller: 0
location: 8 location: 8
...@@ -1373,10 +1373,10 @@ messages: ...@@ -1373,10 +1373,10 @@ messages:
desc: 264 desc: 264
chainPlayer: 0 chainPlayer: 0
- identifier: 71 - identifier: 71
msg: YGOProMsgChained msg: Chained
chainCount: 2 chainCount: 2
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 1 count: 1
specialCount: 1 specialCount: 1
...@@ -1392,7 +1392,7 @@ messages: ...@@ -1392,7 +1392,7 @@ messages:
subsequence: 10 subsequence: 10
desc: 0 desc: 0
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 0 player: 0
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -1400,24 +1400,24 @@ messages: ...@@ -1400,24 +1400,24 @@ messages:
hint1: 0 hint1: 0
chains: [] chains: []
- identifier: 72 - identifier: 72
msg: YGOProMsgChainSolving msg: ChainSolving
chainCount: 2 chainCount: 2
- identifier: 73 - identifier: 73
msg: YGOProMsgChainSolved msg: ChainSolved
chainCount: 2 chainCount: 2
- identifier: 72 - identifier: 72
msg: YGOProMsgChainSolving msg: ChainSolving
chainCount: 1 chainCount: 1
- identifier: 76 - identifier: 76
msg: YGOProMsgChainDisabled msg: ChainDisabled
chainCount: 1 chainCount: 1
- identifier: 73 - identifier: 73
msg: YGOProMsgChainSolved msg: ChainSolved
chainCount: 1 chainCount: 1
- identifier: 74 - identifier: 74
msg: YGOProMsgChainEnd msg: ChainEnd
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 1 count: 1
specialCount: 0 specialCount: 0
...@@ -1433,7 +1433,7 @@ messages: ...@@ -1433,7 +1433,7 @@ messages:
subsequence: 10 subsequence: 10
desc: 0 desc: 0
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 0 player: 0
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -1441,12 +1441,12 @@ messages: ...@@ -1441,12 +1441,12 @@ messages:
hint1: 32768 hint1: 32768
chains: [] chains: []
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 1 type: 1
player: 1 player: 1
desc: 20 desc: 20
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 1 count: 1
specialCount: 0 specialCount: 0
...@@ -1462,15 +1462,15 @@ messages: ...@@ -1462,15 +1462,15 @@ messages:
subsequence: 10 subsequence: 10
desc: 0 desc: 0
- identifier: 41 - identifier: 41
msg: YGOProMsgNewPhase msg: NewPhase
phase: 2 phase: 2
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 1 type: 1
player: 1 player: 1
desc: 21 desc: 21
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 1 count: 1
specialCount: 0 specialCount: 0
...@@ -1486,10 +1486,10 @@ messages: ...@@ -1486,10 +1486,10 @@ messages:
subsequence: 10 subsequence: 10
desc: 0 desc: 0
- identifier: 41 - identifier: 41
msg: YGOProMsgNewPhase msg: NewPhase
phase: 4 phase: 4
- identifier: 11 - identifier: 11
msg: YGOProMsgSelectIdleCmd msg: SelectIdleCmd
player: 1 player: 1
summonableCount: 3 summonableCount: 3
summonableCards: summonableCards:
......
...@@ -54,7 +54,9 @@ describe("YRP", () => { ...@@ -54,7 +54,9 @@ describe("YRP", () => {
); );
const sortMesssages = (messages: MsgSnapshot[]) => const sortMesssages = (messages: MsgSnapshot[]) =>
messages messages
.filter((m) => !m.msg.includes("Hint")) .filter(
(m) => !m.msg.includes("Hint") && m.msg !== "ConfirmCards",
)
.map((m) => { .map((m) => {
// go through all properties and prune every desc // go through all properties and prune every desc
const pruneDesc = <T>(obj: T, visited = new Set<any>()): T => { const pruneDesc = <T>(obj: T, visited = new Set<any>()): T => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment