Files
asesidaa_GC-local-server-re…/GC-local-server-rewrite/models/Coin.cs
T
Yuchen Ji c142516b00 Add 471 support.
Updated config
Updated readme
Add default values, remove null
2022-06-11 20:22:28 +08:00

24 lines
567 B
C#

using System.Xml.Serialization;
namespace GCLocalServerRewrite.models;
public class Coin
{
[XmlElement(ElementName = "card_id")]
public long CardId { get; set; }
[XmlElement(ElementName = "current")]
public int CurrentCoins { get; set; }
[XmlElement(ElementName = "total")]
public int TotalCoins { get; set; }
[XmlElement("monthly")]
public int MonthlyCoins { get; set; }
[XmlElement("created")]
public string Created { get; set; } = "1";
[XmlElement("modified")]
public string Modified { get; set; } = "1";
}