chore(battle-node): delete dead ScriptedProfiles.Opponent{Matched,BattleStart}Profile fields
Phase 2 absorbed the scripted opponent cosmetics + class/chara fixture into ScriptedBotParticipant.Context; the two profile fields have been unreferenced since (kept one phase as documentation tie-back, per PLAN.md L104 (d)). The Context comments now describe the values directly with frame[N] provenance instead of pointing at the deleted fields. Also removes the now-unused SVSim.BattleNode.Protocol.Bodies import from ScriptedProfiles.cs. 948 tests passing (unchanged). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
using SVSim.BattleNode.Protocol.Bodies;
|
||||
|
||||
namespace SVSim.BattleNode.Lifecycle;
|
||||
|
||||
/// <summary>
|
||||
@@ -15,32 +13,11 @@ internal static class ScriptedProfiles
|
||||
// From frame[2] (Matched).
|
||||
public const long BattleSeed = 17_548_138L;
|
||||
|
||||
public static readonly MatchedOppoInfo OpponentMatchedProfile = new(
|
||||
CountryCode: "JPN",
|
||||
UserName: "Opponent",
|
||||
SleeveId: "704141010",
|
||||
EmblemId: "400001100",
|
||||
DegreeId: "120027",
|
||||
FieldId: 5,
|
||||
IsOfficial: 0,
|
||||
OppoId: 0,
|
||||
Seed: BattleSeed,
|
||||
OppoDeckCount: 30);
|
||||
|
||||
// From frame[5] (BattleStart). Hardcoded; see spec §Deferred plumbing — sourcing these
|
||||
// from real per-viewer state needs a TK2 rank/battle-point tracker.
|
||||
public const string PlayerRank = "10";
|
||||
public const string PlayerBattlePoint = "6270";
|
||||
|
||||
public static readonly BattleStartOppoInfo OpponentBattleStartProfile = new(
|
||||
Rank: "1",
|
||||
IsMasterRank: "0",
|
||||
BattlePoint: 0,
|
||||
MasterPoint: "0",
|
||||
ClassId: "8",
|
||||
CharaId: "8",
|
||||
CardMasterName: "card_master_node_10015");
|
||||
|
||||
// From frame[8] (Ready). Provenance is "what prod sent"; the client
|
||||
// doesn't validate, but echoing matches the capture protects against
|
||||
// a regression on a future tightening.
|
||||
|
||||
Reference in New Issue
Block a user