1
0
mirror of synced 2024-11-27 21:10:48 +01:00
TaikoSoundEditor/Collections/WordList.cs
2023-10-01 19:40:41 +03:00

12 lines
449 B
C#

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}");
}
}