1
0
mirror of synced 2024-11-30 14:14:29 +01:00
TaikoSoundEditor/Collections/WordList.cs

12 lines
449 B
C#
Raw Normal View History

2023-10-01 18:40:41 +02:00
using TaikoSoundEditor.Data;
namespace TaikoSoundEditor.Collections
{
public class WordList : Collection<IWord>
{
public IWord GetBySong(string song) => Items.Find(i => i.Key == $"song_{song}");
public IWord GetBySongSub(string song) => Items.Find(i => i.Key == $"song_sub_{song}");
public IWord GetBySongDetail(string song) => Items.Find(i => i.Key == $"song_detail_{song}");
}
}