mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-22 18:41:26 -07:00
26 lines
874 B
C#
26 lines
874 B
C#
namespace Bloxstrap.UI.ViewModels.Settings
|
|
{
|
|
public class BehaviourViewModel : NotifyPropertyChangedViewModel
|
|
{
|
|
public bool ConfirmLaunches
|
|
{
|
|
get => App.Settings.Prop.ConfirmLaunches;
|
|
set => App.Settings.Prop.ConfirmLaunches = value;
|
|
}
|
|
|
|
public bool ForceRobloxLanguage
|
|
{
|
|
get => App.Settings.Prop.ForceRobloxLanguage;
|
|
set => App.Settings.Prop.ForceRobloxLanguage = value;
|
|
}
|
|
|
|
public bool IsRobloxInstallationMissing => String.IsNullOrEmpty(App.RobloxState.Prop.Player.VersionGuid) && String.IsNullOrEmpty(App.RobloxState.Prop.Studio.VersionGuid);
|
|
|
|
public bool ForceRobloxReinstallation
|
|
{
|
|
get => App.State.Prop.ForceReinstall || IsRobloxInstallationMissing;
|
|
set => App.State.Prop.ForceReinstall = value;
|
|
}
|
|
}
|
|
}
|