using LinePutScript.Dictionary; using LinePutScript.Localization.WPF; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using VPet_Simulator.Core; using VPet_Simulator.Windows.Interface; namespace VPet_Simulator.Windows; public partial class MainWindow {//主窗口部分数据 public List Foods { get; } = new List(); /// /// 版本号 /// public int version { get; } = 11003; /// /// 版本号 /// public string Version => $"{version / 10000}.{version % 10000 / 100}.{version % 100:00}"; public List LowFoodText { get; set; } = new List(); public List LowDrinkText { get; set; } = new List(); public List SelectTexts { get; set; } = new List(); public List ClickTexts { get; set; } = new List(); public GameSave_v2 GameSavesData { get; set; } public readonly string ModPath = ExtensionValue.BaseDirectory + @"\mod"; public bool IsSteamUser { get; } public LPS_D Args { get; } public string PrefixSave { get; } = ""; private string prefixsavetrans = null; public string PrefixSaveTrans { get { if (prefixsavetrans == null) { if (PrefixSave == "") prefixsavetrans = ""; else prefixsavetrans = '-' + PrefixSave.TrimStart('-').Translate(); } return prefixsavetrans; } } internal Setting Set { get; set; } ISetting IMainWindow.Set => Set; public List Pets { get; set; } = new List(); internal List CoreMODs = new List(); public GameCore Core { get; set; } = new GameCore(); public List Windows { get; set; } = new List(); public Main Main { get; set; } public UIElement TalkBox; public winGameSetting winSetting { get; set; } public winBetterBuy winBetterBuy { get; set; } public winWorkMenu winWorkMenu { get; set; } //public ChatGPTClient CGPTClient; public ImageResources ImageSources { get; set; } = new ImageResources(); /// /// 所有三方插件 /// public List Plugins { get; } = new List(); /// /// 所有字体(位置) /// public List Fonts { get; } = new List(); /// /// 所有主题 /// public List Themes = new List(); /// /// 当前启用主题 /// public Theme Theme = null; }