예제 #1
0
            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);
            }
예제 #2
0
            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);
            }