public MainMenu(MClientVRButton 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, 2, 0, "Join Discord Vocal", new Action(() => { Process.Start("https://discord.gg/HCpcqnb"); }), "Join the official discord vocal", Color.red, Color.white); new QMSingleButton(this, 3, 0, "test", new Action(() => { GeneralUtils.InformHudText(Color.yellow, "you gay"); }), "Displays who made this cheat", Color.red, Color.white); new UtilsVRMenu(this, GeneralUtils.GetMClientVRButton("Utils")); new FunVRMenu(this, GeneralUtils.GetMClientVRButton("Fun")); new ProtectionsVRMenu(this, GeneralUtils.GetMClientVRButton("Protections")); new TargetVRMenu(GeneralUtils.GetMClientVRButton("PlayerOptions")); new FavoritesVRMenu(this, GeneralUtils.GetMClientVRButton("ExtendedFavorites")); new SettingsVRMenu(this, GeneralUtils.GetMClientVRButton("Settings")); new VRUtilsMenu(this, GeneralUtils.GetMClientVRButton("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); }
public SettingsVRMenu(QMNestedButton parent, MClientVRButton 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); }
public TargetVRMenu(MClientVRButton 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 Semi\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 = true; //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 Semi\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); }