Files
better-genshin-impact/BetterGenshinImpact/GameTask/LogParse/LogParseConfig.cs

19 lines
775 B
C#

using System.Collections.Generic;
using CommunityToolkit.Mvvm.ComponentModel;
namespace LogParse;
public partial class LogParseConfig : ObservableObject
{
[ObservableProperty] string _cookie = "";
[ObservableProperty] private Dictionary<string, GameInfo> _cookieDictionary = new();
[ObservableProperty] private Dictionary<string, ScriptGroupLogParseConfig> _scriptGroupLogDictionary = new();
public partial class ScriptGroupLogParseConfig() : ObservableObject
{
[ObservableProperty] private string _rangeValue = "CurrentConfig";
[ObservableProperty] private string _dayRangeValue = "7";
[ObservableProperty] private bool _hoeingStatsSwitch = false;
[ObservableProperty] private bool _faultStatsSwitch = false;
}
}