Files
SVSimServer/SVSim.EmulatedEntrypoint/Models/Dtos/UserCard.cs
2024-09-12 00:35:31 -04:00

22 lines
528 B
C#

using MessagePack;
namespace SVSim.EmulatedEntrypoint.Models.Dtos;
/// <summary>
/// A card in a user's collection and the number possessed.
/// </summary>
[MessagePackObject]
public class UserCard : CardIdentifier
{
/// <summary>
/// The number of the specified card the user has.
/// </summary>
[Key("number")]
public int Count { get; set; }
/// <summary>
/// Whether the card is protected from dusting.
/// </summary>
[Key("is_protected")]
public int IsProtected { get; set; }
}