feat(battle-node): BuildMatched consumes MatchContext for player half

selfInfo cosmetics + 30-card selfDeck now read from MatchContext. Opponent
half stays in ScriptedProfiles. DummyCardId / BuildDummyDeck / PlayerMatched
Profile removed. Two new tests lock the deck-idx pairing and cosmetic
flow-through; TypedBodyWireShapeTests + lifecycle tests thread a fixture ctx.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
gamer147
2026-06-01 12:48:04 -04:00
parent 01f9bb722a
commit f589283572
5 changed files with 83 additions and 36 deletions

View File

@@ -15,18 +15,6 @@ internal static class ScriptedProfiles
// From frame[2] (Matched).
public const long BattleSeed = 17_548_138L;
// From frame[2] (Matched). OppoId is overwritten per battle from the bridge.
public static readonly MatchedSelfInfo PlayerMatchedProfile = new(
CountryCode: "KOR",
UserName: "Player",
SleeveId: "3000011",
EmblemId: "701441011",
DegreeId: "300003",
FieldId: 43,
IsOfficial: 0,
OppoId: 0,
Seed: BattleSeed);
public static readonly MatchedOppoInfo OpponentMatchedProfile = new(
CountryCode: "JPN",
UserName: "Opponent",