feat(config): extend ChallengeConfig with TK2 format_info + PoolCardSetIds

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
gamer147
2026-05-31 10:23:08 -04:00
parent 5faa5e2445
commit 6e7f0dc4c9
4 changed files with 43 additions and 1 deletions

View File

@@ -6,5 +6,19 @@ public class ChallengeConfig
public bool UseTwoPickPremiumCard { get; set; }
public long TwoPickSleeveId { get; set; }
// Wire-mirrored fields from format_info (ChallengeData.cs parser)
public int LastCardPackSetId { get; set; }
public string CardPoolName { get; set; } = "";
public string CardPoolUrl { get; set; } = "";
public string AnnounceId { get; set; } = "";
public string StartTime { get; set; } = "";
public string EndTime { get; set; } = "";
public int TwoPickType { get; set; } = 0;
public int StrategyPickNum { get; set; } = 0;
// Server-internal: which sets the TK2 pool draws from. Empty falls back to
// RotationConfig.RotationCardSetIds at runtime in the card-pool service.
public List<int> PoolCardSetIds { get; set; } = new();
public static ChallengeConfig ShippedDefaults() => new();
}