-
Notifications
You must be signed in to change notification settings - Fork 8
/
DataStucture.cs
52 lines (44 loc) · 1.02 KB
/
DataStucture.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
using System.Collections.Generic;
#pragma warning disable 649 // Suppresses: ___ is never assigned to
// ReSharper disable All
namespace MusicBeePlugin
{
internal class SearchResult
{
public SearchResultResult result;
public int code;
}
internal class SearchResultResult
{
public int songCount;
public IEnumerable<SearchResultSong> songs;
}
internal class SearchResultSong
{
public string name;
public long id;
public long duration; // in ms
public SearchResultAlbum album;
public SearchResultArtist[] artists;
}
internal class SearchResultAlbum
{
public long id;
public string name;
}
internal class SearchResultArtist
{
public long id;
public string name;
}
internal class LyricResult
{
public LyricInner lrc;
public LyricInner tlyric;
public int code;
}
internal class LyricInner
{
public string lyric;
}
}