public static PluginSettings CreateDefaultSettings() { PluginSettings instance = new PluginSettings { ServerInfoExists = false, VideoFileName = String.Empty, MuteSound = false, SourceName = String.Empty, HideReplaySeconds = HIDE_REPLAY_SECONDS.ToString(), PlaySpeed = DEFAULT_PLAY_SPEED_PERCENTAGE.ToString() }; return(instance); }
public static PluginSettings CreateDefaultSettings() { PluginSettings instance = new PluginSettings { ServerInfoExists = false, TwitchTokenExists = false, AutoReplay = false, ReplayDirectory = String.Empty, MuteSound = false, SourceName = String.Empty, HideReplaySeconds = HIDE_REPLAY_SECONDS.ToString(), DelayReplaySeconds = DELAY_REPLAY_SECONDS.ToString(), TwitchIntegration = false, TwitchClip = false, ChatReplay = false, ReplayCooldown = "30", AllowedUsers = String.Empty, PlaySpeed = DEFAULT_PLAY_SPEED_PERCENTAGE.ToString() }; return(instance); }