kozaka-tv / Rocksmith-Servant

MIT License
6 stars 5 forks source link

Implement/add OBS scene switcher #171

Open kozaka-tv opened 4 months ago

kozaka-tv commented 4 months ago

The already working Scene switcher could be added to switch scenes in OBS according to the state of the game:

Actually in Streamer.bot there is already a solution for that.

Related to #19

skully commented 4 months ago

states are implemented here: https://github.com/kokolihapihvi/RockSnifferLib/blob/057f96b85ff59d89606f8a86a43ee757a46e7deb/Sniffing/SnifferState.cs

namespace RockSnifferLib.Sniffing
{
    /// <summary>
    /// Sniffer states
    /// </summary>
    public enum SnifferState
    {
        /// <summary>
        /// Unknown state
        /// </summary>
        NONE,

        /// <summary>
        /// In menus
        /// </summary>
        IN_MENUS,

        /// <summary>
        /// Song has been selected
        /// </summary>
        SONG_SELECTED,

        /// <summary>
        /// Song timer is starting
        /// </summary>
        SONG_STARTING,

        /// <summary>
        /// Song is playing
        /// </summary>
        SONG_PLAYING,

        /// <summary>
        /// Song is about to end
        /// </summary>
        SONG_ENDING
    }
}