Skip to content

iiDkRemastered/GorillaMedia

Ownership not verified 0
Open on GitHub

Viewing main at commit e83d85e98d“added tracker telemetry”· 19 days ago

31 lines · 971 BRaw on GitHub
using BepInEx.Configuration;

namespace GorillaMedia
{
    public class ConfigManager
    {
        public static ConfigEntry<int> BackgroundIndex { get; private set; }
        public static ConfigEntry<string> HandChoice { get; private set; }
        public static ConfigEntry<string> OpenMethod { get; private set; }

        public static void LoadConfig(ConfigFile Config)
        {
            BackgroundIndex = Config.Bind<int>("GorillaMedia", "BackgroundColor", 0,
@"The background color of the media UI. This does not affect usage.
0: Default
1: YouTube
2: iTunes
3: VLC Media Player");

            HandChoice = Config.Bind<string>("GorillaMedia", "Hand", "Left",
@"The hand to use for the media UI.
Options: Left, Right
Default: Left");

            OpenMethod = Config.Bind<string>("GorillaMedia", "OpenMethod", "Button Click",
@"How to open the menu.
Options: Look At Hand, Button Click
Default: Button Click");
        }
    }
}

Code is shown from GitHub as-is. Linking a repository doesn’t prove that a release file on Canopy was built from it.