Updated a couple of variables for better memory use. Added Support for ignoring specific streamers Moved to using a SingletonFactory for Singlton Classes No Longer Using MessageBox for disconnected message Added better detection for disconnected to stop it poping with other problems Added Window and menu option to open window to manage ignored streamers
36 lines
901 B
C#
36 lines
901 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Text.Json.Serialization;
|
|
using System.Threading.Tasks;
|
|
using TwitchDesktopNotifications.JsonStructure.Helix;
|
|
|
|
namespace TwitchDesktopNotifications.JsonStructure
|
|
{
|
|
public class Store
|
|
{
|
|
public Store() { }
|
|
|
|
[JsonPropertyName("ignore")]
|
|
public SteamersToIgnore ignore { get; set; }
|
|
|
|
[JsonPropertyName("authentication")]
|
|
public Authentication Authentication { get; set; }
|
|
|
|
[JsonPropertyName("user_data")]
|
|
public UserData UserData { get; set; }
|
|
|
|
[JsonIgnore]
|
|
public SteamersToIgnore SteamersToIgnore {
|
|
get {
|
|
if(ignore == null) { ignore = new SteamersToIgnore(); }
|
|
return ignore;
|
|
}
|
|
set {
|
|
ignore = value;
|
|
}
|
|
}
|
|
}
|
|
}
|