diff --git a/Bloxstrap/ViewModels/FastFlagsViewModel.cs b/Bloxstrap/ViewModels/FastFlagsViewModel.cs index 5993545..a7b0b7f 100644 --- a/Bloxstrap/ViewModels/FastFlagsViewModel.cs +++ b/Bloxstrap/ViewModels/FastFlagsViewModel.cs @@ -63,6 +63,18 @@ namespace Bloxstrap.ViewModels } } + public bool AlternateGraphicsSelectorEnabled + { + get => App.FastFlags.GetValue("FFlagFixGraphicsQuality") == "True"; + set => App.FastFlags.SetValue("FFlagFixGraphicsQuality", value ? "True" : null); + } + + public bool Pre2022TexturesEnabled + { + get => App.FastFlags.GetValue("FStringPartTexturePackTable2022") == FastFlagManager.OldTexturesFlagValue; + set => App.FastFlags.SetValue("FStringPartTexturePackTable2022", value ? FastFlagManager.OldTexturesFlagValue : null); + } + public IReadOnlyDictionary> IGMenuVersions => FastFlagManager.IGMenuVersions; public string SelectedIGMenuVersion @@ -96,24 +108,6 @@ namespace Bloxstrap.ViewModels } } - public bool AlternateGraphicsSelectorEnabled - { - get => App.FastFlags.GetValue("FFlagFixGraphicsQuality") == "True"; - set => App.FastFlags.SetValue("FFlagFixGraphicsQuality", value ? "True" : null); - } - - public bool Pre2022TexturesEnabled - { - get => App.FastFlags.GetValue("FStringPartTexturePackTable2022") == FastFlagManager.OldTexturesFlagValue; - set => App.FastFlags.SetValue("FStringPartTexturePackTable2022", value ? FastFlagManager.OldTexturesFlagValue : null); - } - - public bool MobileLuaAppInterfaceEnabled - { - get => App.FastFlags.GetValue("FFlagLuaAppSystemBar") == "False"; - set => App.FastFlags.SetValue("FFlagLuaAppSystemBar", value ? "False" : null); - } - public IReadOnlyDictionary LightingTechnologies => FastFlagManager.LightingTechnologies; // this is basically the same as the code for rendering selection, maybe this could be abstracted in some way? @@ -142,5 +136,17 @@ namespace Bloxstrap.ViewModels App.FastFlags.SetValue(LightingTechnologies[value], "True"); } } + + public bool GuiHidingEnabled + { + get => App.FastFlags.GetValue("DFIntCanHideGuiGroupId") == "32380007"; + set => App.FastFlags.SetValue("DFIntCanHideGuiGroupId", value ? "32380007" : null); + } + + public bool MobileLuaAppInterfaceEnabled + { + get => App.FastFlags.GetValue("FFlagLuaAppSystemBar") == "False"; + set => App.FastFlags.SetValue("FFlagLuaAppSystemBar", value ? "False" : null); + } } } diff --git a/Bloxstrap/Views/Pages/FastFlagsPage.xaml b/Bloxstrap/Views/Pages/FastFlagsPage.xaml index 4a66575..4d0ae46 100644 --- a/Bloxstrap/Views/Pages/FastFlagsPage.xaml +++ b/Bloxstrap/Views/Pages/FastFlagsPage.xaml @@ -13,7 +13,8 @@ - + + @@ -91,8 +92,8 @@ - - + + @@ -106,6 +107,17 @@ + + + + + + TODO - add text for wiki page for controls when done. You must be in the Bloxstrap group for it to work. + + + + +