From f226a355b2301c649402e5ce7392645300f0e697 Mon Sep 17 00:00:00 2001 From: GeWuYou <95328647+GeWuYou@users.noreply.github.com> Date: Sat, 31 Jan 2026 22:43:55 +0800 Subject: [PATCH] =?UTF-8?q?feat(setting):=20=E6=B7=BB=E5=8A=A0=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E6=95=B0=E6=8D=AE=E5=AD=98=E5=82=A8=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 SettingsModel 中添加了数据存储逻辑 - 实现了应用器数据的自动注册机制 - 确保设置数据与应用器类型的正确关联 - 优化了设置模型的数据管理流程 - [release ci] --- GFramework.Game/setting/SettingsModel.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/GFramework.Game/setting/SettingsModel.cs b/GFramework.Game/setting/SettingsModel.cs index a88b1ab..0e223b9 100644 --- a/GFramework.Game/setting/SettingsModel.cs +++ b/GFramework.Game/setting/SettingsModel.cs @@ -67,6 +67,7 @@ public class SettingsModel(IDataLocationProvider? locationProvider, where T : class, IResetApplyAbleSettings { _applicators[typeof(T)] = applicator; + _data[typeof(T)] = applicator.Data; return this; }