From a3bc91b076f8825a660c8123166325e6f39953bb Mon Sep 17 00:00:00 2001 From: Chomp Date: Thu, 23 Jan 2025 15:58:29 +0000 Subject: [PATCH] Added missing type --- Libraries/Core/Models/Common/IdWithCount.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Libraries/Core/Models/Common/IdWithCount.cs diff --git a/Libraries/Core/Models/Common/IdWithCount.cs b/Libraries/Core/Models/Common/IdWithCount.cs new file mode 100644 index 00000000..b52d655c --- /dev/null +++ b/Libraries/Core/Models/Common/IdWithCount.cs @@ -0,0 +1,14 @@ +using System.Text.Json.Serialization; + +namespace Core.Models.Common; + +public record IdWithCount +{ + /** Id of stack to take money from */ + [JsonPropertyName("id")] + public string? Id { get; set; } + + /** Amount of money to take off player for treatment */ + [JsonPropertyName("count")] + public double? Count { get; set; } +}