Things were working, suddenly regressed

This commit is contained in:
gamer147
2026-05-23 18:14:42 -04:00
parent 56d3cf0ec8
commit 66184b3685
31 changed files with 1493 additions and 97 deletions

View File

@@ -0,0 +1,37 @@
using MessagePack;
using System.Text.Json.Serialization;
namespace SVSim.EmulatedEntrypoint.Models.Dtos;
/// <summary>
/// user_mypage_info — wrapper around the active home-screen background
/// configuration. Client constructs MyPageBGInfo(user_mypage_setting) at
/// MyPageTask.cs:176.
/// </summary>
[MessagePackObject]
public class UserMyPageInfo
{
[JsonPropertyName("user_mypage_setting")]
[Key("user_mypage_setting")]
public MyPageBgSetting UserMyPageSetting { get; set; } = new();
}
/// <summary>
/// Active mypage background selection. Shape from prod 2026-05-23.
/// </summary>
[MessagePackObject]
public class MyPageBgSetting
{
[JsonPropertyName("mypage_id")]
[Key("mypage_id")]
public int MyPageId { get; set; }
/// <summary>0 = single selection (mypage_id), 1+ = random rotation across mypage_id_list.</summary>
[JsonPropertyName("select_type")]
[Key("select_type")]
public int SelectType { get; set; }
[JsonPropertyName("mypage_id_list")]
[Key("mypage_id_list")]
public List<int> MyPageIdList { get; set; } = new();
}