22 lines
528 B
C#
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; }
|
|
} |