Puzzles
This commit is contained in:
20
SVSim.EmulatedEntrypoint/Models/Dtos/BasicPuzzleBadge.cs
Normal file
20
SVSim.EmulatedEntrypoint/Models/Dtos/BasicPuzzleBadge.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using MessagePack;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace SVSim.EmulatedEntrypoint.Models.Dtos;
|
||||
|
||||
/// <summary>
|
||||
/// basic_puzzle.is_display_badge — drives the "practice puzzle" badge on the
|
||||
/// footer. Read by MyPageTask.cs:177.
|
||||
///
|
||||
/// Named with the "Badge" suffix to avoid colliding with the
|
||||
/// <c>Models.Dtos.{Common,Requests,Responses}.BasicPuzzle</c> sub-namespaces
|
||||
/// that hold the /basic_puzzle/* endpoint DTOs.
|
||||
/// </summary>
|
||||
[MessagePackObject]
|
||||
public class BasicPuzzleBadge
|
||||
{
|
||||
[JsonPropertyName("is_display_badge")]
|
||||
[Key("is_display_badge")]
|
||||
public bool IsDisplayBadge { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user