1
0
mirror of synced 2024-11-27 21:10:48 +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}");
}
}