Exemplo n.º 1
0
 public SettingsVRMenu(QMNestedButton parent, EthosVRButton config) : base(parent, config.X, config.Y, config.Name, config.Tooltip, GeneralUtils.GetColor(config.ColorScheme.Colors[0]), GeneralUtils.GetColor(config.ColorScheme.Colors[1]), GeneralUtils.GetColor(config.ColorScheme.Colors[2]), GeneralUtils.GetColor(config.ColorScheme.Colors[3]))
 {
     new QMToggleButton(this, 1, 0, "Enable\nMenu RGB", delegate
     {
         Configuration.GetConfig().MenuRGB = true;
         Configuration.SaveConfiguration();
     }, "Disable\nMenu RGB", delegate
     {
         Configuration.GetConfig().MenuRGB = false;
         Configuration.SaveConfiguration();
     }, "Toggle whether you want your UI to change colors consistently (Rainbow UI mode basically)", Color.red, Color.white).setToggleState(Configuration.GetConfig().MenuRGB);
     new QMToggleButton(this, 2, 0, "Clear\nConsole", delegate
     {
         Configuration.GetConfig().CleanConsole = true;
         Configuration.SaveConfiguration();
     }, "Don't Clear\nConsole", delegate
     {
         Configuration.GetConfig().CleanConsole = false;
         Configuration.SaveConfiguration();
     }, "Decide whether you want your console to be spammed by useless game information or not.", Color.red, Color.white).setToggleState(Configuration.GetConfig().CleanConsole);
     new QMToggleButton(this, 3, 0, "Log\nTo Console", delegate
     {
         Configuration.GetConfig().DefaultLogToConsole = true;
     }, "Log\nTo HUD", delegate
     {
         Configuration.GetConfig().DefaultLogToConsole = false;
     }, "Decide whether you want to log all moderation/other client information to your console or your hud ingame.", Color.red, Color.white).setToggleState(Configuration.GetConfig().DefaultLogToConsole);
     new QMToggleButton(this, 4, 0, "Enable\nDiscord RPC", delegate
     {
         Configuration.GetConfig().UseRichPresence = true;
     }, "Disable\nDiscord RPC", delegate
     {
         Configuration.GetConfig().UseRichPresence = false;
     }, "Enable/Disable the discord rich presence.", Color.red, Color.white).setToggleState(Configuration.GetConfig().UseRichPresence);
 }
Exemplo n.º 2
0
 public MainMenu(EthosVRButton config) : base(config.Menu, config.X, config.Y, config.Name, config.Tooltip, GeneralUtils.GetColor(config.ColorScheme.Colors[0]), GeneralUtils.GetColor(config.ColorScheme.Colors[1]), GeneralUtils.GetColor(config.ColorScheme.Colors[2]), GeneralUtils.GetColor(config.ColorScheme.Colors[3]))
 {
     new QMSingleButton(this, 1, 0, "GitHub", new Action(() =>
     {
         Process.Start("https://github.com/Yaekith/EthosClient");
     }), "Open the github repository in a new browser window", Color.red, Color.white);
     new QMSingleButton(this, 2, 0, "Discord", new Action(() =>
     {
         Process.Start("https://discord.gg/pY4AN3Q");
     }), "Join the official discord", Color.red, Color.white);
     new QMSingleButton(this, 3, 0, "Credits", new Action(() =>
     {
         GeneralUtils.InformHudText(Color.yellow, "Yaekith - Developer\n404 - Developer");
     }), "Displays who made this cheat", Color.red, Color.white);
     new UtilsVRMenu(this, GeneralUtils.GetEthosVRButton("Utils"));
     new FunVRMenu(this, GeneralUtils.GetEthosVRButton("Fun"));
     new ProtectionsVRMenu(this, GeneralUtils.GetEthosVRButton("Protections"));
     new TargetVRMenu(GeneralUtils.GetEthosVRButton("PlayerOptions"));
     new FavoritesVRMenu(this, GeneralUtils.GetEthosVRButton("ExtendedFavorites"));
     new SettingsVRMenu(this, GeneralUtils.GetEthosVRButton("Settings"));
     new KeybindVRMenu(this, GeneralUtils.GetEthosVRButton("Keybinds"));
     new VRUtilsMenu(this, GeneralUtils.GetEthosVRButton("VRUtils"));
     new QMSingleButton(this, 4, 0, "Select\nYourself", new Action(() =>
     {
         GeneralWrappers.GetQuickMenu().SelectPlayer(GeneralWrappers.GetPlayerManager().GetCurrentPlayer());
     }), "Select your own current player and do some stuff to yourself, I don't know lol.", Color.red, Color.white);
     new QMToggleButton(this, 1, 2, "Hide\nYourself", new Action(() =>
     {
         GeneralWrappers.GetPlayerManager().GetCurrentPlayer().prop_VRCAvatarManager_0.gameObject.SetActive(false);
     }), "Unhide\nYourself", new Action(() =>
     {
         GeneralWrappers.GetPlayerManager().GetCurrentPlayer().prop_VRCAvatarManager_0.gameObject.SetActive(true);
     }), "Hide/Unhide yourself, for safety reasons maybe, who knows.", Color.red, Color.white);
 }
Exemplo n.º 3
0
 public DeveloperVRMenu(EthosVRButton config) : base(config.Menu, config.X, config.Y, config.Name, config.Tooltip, GeneralUtils.GetColor(config.ColorScheme.Colors[0]), GeneralUtils.GetColor(config.ColorScheme.Colors[1]), GeneralUtils.GetColor(config.ColorScheme.Colors[2]), GeneralUtils.GetColor(config.ColorScheme.Colors[3]))
 {
     new QMToggleButton(this, 1, 0, "Go\nAutistic", new Action(() =>
     {
         GeneralUtils.Autism = true;
     }), "Revert\nYour Autism", new Action(() =>
     {
         GeneralUtils.Autism = false;
     }), "Do some crazy shit idk", Color.red, Color.white).setToggleState(GeneralUtils.Autism);
 }
Exemplo n.º 4
0
        public TargetVRMenu(EthosVRButton config) : base(config.Menu, config.X, config.Y, config.Name, config.Tooltip, GeneralUtils.GetColor(config.ColorScheme.Colors[0]), GeneralUtils.GetColor(config.ColorScheme.Colors[1]), GeneralUtils.GetColor(config.ColorScheme.Colors[2]), GeneralUtils.GetColor(config.ColorScheme.Colors[3]))
        {
            new QMSingleButton(this, 1, 0, "Teleport", new Action(() =>
            {
                GeneralWrappers.GetPlayerManager().GetCurrentPlayer().transform.position = PlayerWrappers.GetSelectedPlayer(GeneralWrappers.GetQuickMenu()).transform.position;
            }), "Teleports you to the selected player.", Color.red, Color.white);

            new QMToggleButton(this, 2, 0, "Local\nBlock", delegate
            {
                PlayerWrappers.GetSelectedPlayer(GeneralWrappers.GetQuickMenu()).GetVRCPlayer().GetUSpeaker().gameObject.SetActive(false);
                PlayerWrappers.GetSelectedPlayer(GeneralWrappers.GetQuickMenu()).GetVRCAvatarManager().gameObject.SetActive(false);
                PlayerWrappers.GetSelectedPlayer(GeneralWrappers.GetQuickMenu()).GetVRCPlayer().prop_Boolean_0 = false; //disables the nameplate (always the first public boolean)
                PlayerWrappers.GetSelectedPlayer(GeneralWrappers.GetQuickMenu()).GetVRCPlayer().nameTag_old.gameObject.SetActive(false);
                PlayerWrappers.GetSelectedPlayer(GeneralWrappers.GetQuickMenu()).GetVRCPlayer().namePlate.gameObject.SetActive(false);
            }, "Local\nUnblock", delegate
            {
                PlayerWrappers.GetSelectedPlayer(GeneralWrappers.GetQuickMenu()).GetVRCPlayer().GetUSpeaker().gameObject.SetActive(true);
                PlayerWrappers.GetSelectedPlayer(GeneralWrappers.GetQuickMenu()).GetVRCPlayer().prop_Boolean_0 = true; //enables the nameplate (always the first public boolean)
                PlayerWrappers.GetSelectedPlayer(GeneralWrappers.GetQuickMenu()).GetVRCAvatarManager().gameObject.SetActive(true);
            }, "Decide whether you want to block this user locally, meaning, the blocking doesn't effect them but it also makes them disappear to yourself.", Color.red, Color.white);

            new QMToggleButton(this, 3, 0, "Can't\nHear", delegate
            {
                PlayerWrappers.GetSelectedPlayer(GeneralWrappers.GetQuickMenu()).GetVRCPlayer().field_Internal_Boolean_3 = false;
            }, "Can\nHear", delegate
            {
                //canHear is always the second last internal boolean in the VRCPlayer class
                //canSpeak is 1 before it LOL
                PlayerWrappers.GetSelectedPlayer(GeneralWrappers.GetQuickMenu()).GetVRCPlayer().field_Internal_Boolean_3 = true;
            }, "Decide whether you want this user to be able to hear you or not", Color.red, Color.white);

            new QMToggleButton(this, 4, 0, "Can\nHear Whitelist", delegate
            {
                if (GeneralUtils.CantHearOnNonFriends && !GeneralUtils.WhitelistedCanHearUsers.Contains(PlayerWrappers.GetSelectedPlayer(GeneralWrappers.GetQuickMenu()).GetAPIUser().displayName))
                {
                    GeneralUtils.WhitelistedCanHearUsers.Add(PlayerWrappers.GetSelectedPlayer(GeneralWrappers.GetQuickMenu()).GetAPIUser().displayName);
                    PlayerWrappers.GetSelectedPlayer(GeneralWrappers.GetQuickMenu()).GetVRCPlayer().field_Internal_Boolean_3 = true;
                }
                //this is because you can't get the user id of a person who has left through their vrcplayerapi
            }, "Can't\nHear Blacklist", delegate
            {
                if (GeneralUtils.CantHearOnNonFriends && GeneralUtils.WhitelistedCanHearUsers.Contains(PlayerWrappers.GetSelectedPlayer(GeneralWrappers.GetQuickMenu()).GetAPIUser().displayName))
                {
                    GeneralUtils.WhitelistedCanHearUsers.Remove(PlayerWrappers.GetSelectedPlayer(GeneralWrappers.GetQuickMenu()).GetAPIUser().displayName);
                    PlayerWrappers.GetSelectedPlayer(GeneralWrappers.GetQuickMenu()).GetVRCPlayer().field_Internal_Boolean_3 = false;
                }
                //this is because you can't get the user id of a person who has left through their vrcplayerapi
            }, "This is for when you enable can't hear on everyone but friends, but you also want to whitelist/blacklist this user from being able to hear you aswell. When Can't Hear on Non friends is disabled, this won't do anything when toggled.", Color.red, Color.white);
        }