1
0
mirror of synced 2024-11-15 00:57:36 +01:00
TaikoSoundEditor/Data/MusicOrders.cs

18 lines
436 B
C#
Raw Normal View History

2023-07-17 10:20:00 +02:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace TaikoSoundEditor.Data
{
public class MusicOrders
{
[JsonPropertyName("items")]
public List<MusicOrder> Items { get; set; } = new List<MusicOrder>();
public MusicOrder GetByUniqueId(int id) => Items.Find(i => i.UniqueId == id);
}
}