2022-10-26 18:42:11 +02:00
|
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
|
using SharedProject.Enums;
|
|
|
|
|
|
|
|
|
|
namespace LocalSaveModScoreMigrator;
|
|
|
|
|
|
|
|
|
|
public class PlayRecordJson
|
|
|
|
|
{
|
|
|
|
|
public string SongId { get; set; } = "tmap4";
|
|
|
|
|
public Difficulty Difficulty { get; set; }
|
2022-10-26 18:42:41 +02:00
|
|
|
|
|
|
|
|
|
[JsonPropertyName("dateTime")] public DateTime DateTime { get; set; }
|
2022-10-26 18:42:11 +02:00
|
|
|
|
public uint Score { set; get; }
|
|
|
|
|
public CrownType Crown { get; set; }
|
2022-10-26 18:42:41 +02:00
|
|
|
|
|
|
|
|
|
[JsonPropertyName("scorerank")] public ScoreRank Scorerank { get; set; }
|
2022-10-26 18:42:11 +02:00
|
|
|
|
public uint Good { get; set; }
|
|
|
|
|
public uint Ok { get; set; }
|
|
|
|
|
public uint Bad { get; set; }
|
|
|
|
|
public uint Combo { get; set; }
|
|
|
|
|
public uint Drumroll { get; set; }
|
|
|
|
|
}
|