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