feat(config): wire /config/update + /config/update_challenge_config (closes family 4/4)
is_skip_gacha_effect, use_challenge_two_pick_premium_card, and challenge_two_pick_sleeve_id all persist on ViewerInfo and round-trip through /load/index. The two challenge fields move from the global ChallengeConfig section to ViewerInfo — they're viewer preferences, not server-wide policy. Premium card defaults to 0; sleeve falls back to DefaultLoadoutConfig.SleeveId (3000011) when unset. MatchContextBuilder's TK2 sleeve read switches to the same viewer-scoped path. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -115,6 +115,7 @@ public class MyPageController : SVSimController
|
||||
{
|
||||
IsFoilPreferred = viewer.Info.IsFoilPreferred ? 1 : 0,
|
||||
IsPrizePreferred = viewer.Info.IsPrizePreferred ? 1 : 0,
|
||||
IsSkipGachaEffect = viewer.Info.IsSkipGachaEffect ? 1 : 0,
|
||||
},
|
||||
Quest = new Quest(), // TODO(mypage-stub): active Quest event + viewer flags
|
||||
MasterPointRankingPeriod = BuildMasterPointRankingPeriod(masterPointPeriod),
|
||||
|
||||
Reference in New Issue
Block a user