Merge branch 'MaaAssistantArknights:dev' into dev

This commit is contained in:
Sherkey
2023-09-30 20:56:34 +08:00
committed by GitHub
23 changed files with 476 additions and 576 deletions

View File

@@ -1752,6 +1752,21 @@ namespace MaaWpfGui.ViewModels.UI
}
}
private string _roguelikeInvestmentEnterSecondFloor = ConfigurationHelper.GetValue(ConfigurationKeys.RoguelikeInvestmentEnterSecondFloor, true.ToString());
/// <summary>
/// Gets or sets a value indicating whether investment is enabled.
/// </summary>
public bool RoguelikeInvestmentEnterSecondFloor
{
get => bool.Parse(_roguelikeInvestmentEnterSecondFloor);
set
{
SetAndNotify(ref _roguelikeInvestmentEnterSecondFloor, value.ToString());
ConfigurationHelper.SetValue(ConfigurationKeys.RoguelikeInvestmentEnterSecondFloor, value.ToString());
}
}
private string _roguelikeRefreshTraderWithDice = ConfigurationHelper.GetValue(ConfigurationKeys.RoguelikeRefreshTraderWithDice, false.ToString());
public bool RoguelikeRefreshTraderWithDice