- API 15
- Migrate config for API 15 - Migrate database for API 15 - Allow usage of new target source - Implement first tell target option
This commit is contained in:
+12
-8
@@ -28,24 +28,28 @@ public static class EmoteCache
|
||||
private const string Top100Emotes = "{0}/emotes/shared/top?before={1}&limit=100";
|
||||
private const string EmotePath = "https://cdn.betterttv.net/emote/{0}/3x";
|
||||
|
||||
private struct Top100
|
||||
[Serializable]
|
||||
private struct Top100()
|
||||
{
|
||||
[JsonPropertyName("emote")]
|
||||
public Emote Emote { get; set; }
|
||||
public Emote Emote = default;
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public string Id { get; set; }
|
||||
public string Id = string.Empty;
|
||||
}
|
||||
|
||||
public struct Emote
|
||||
[Serializable]
|
||||
public struct Emote()
|
||||
{
|
||||
[JsonPropertyName("id")]
|
||||
public string Id { get; set; }
|
||||
public string Id = string.Empty;
|
||||
|
||||
[JsonPropertyName("code")]
|
||||
public string Code { get; set; }
|
||||
public string Code = string.Empty;
|
||||
|
||||
[JsonPropertyName("imageType")]
|
||||
public string ImageType { get; set; }
|
||||
};
|
||||
public string ImageType = string.Empty;
|
||||
}
|
||||
|
||||
public enum LoadingState
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user