using MessagePack; using System.Text.Json.Serialization; namespace SVSim.EmulatedEntrypoint.Models.Dtos.Common; /// /// Single-field `{ "is_display_badge": bool }` wrapper. The badge-poll context /// of MyPageNotifications.ParseBadgeInfos (called from StoryFinishTask, /// QuestFinishTask, RecoveryTask, OpenRoomBattleGetRecoveryParamTask) reads /// only this one field from each of quest, story_notification, /// and basic_puzzle, so all three positions share this shape. /// /// The mypage-index versions of quest and story_notification have /// richer shapes (, /// ) since /// the home-screen UI reads additional fields off them. /// [MessagePackObject] public class BadgeFlag { [JsonPropertyName("is_display_badge")] [Key("is_display_badge")] public bool IsDisplayBadge { get; set; } }