From 7e4d93aa2bfa31f267010b0d2bffcdb75efd2745 Mon Sep 17 00:00:00 2001 From: GeWuYou <95328647+GeWuYou@users.noreply.github.com> Date: Thu, 29 Jan 2026 21:12:19 +0800 Subject: [PATCH] =?UTF-8?q?refactor(settings):=20=E4=BF=AE=E6=94=B9Unified?= =?UTF-8?q?SettingsRepository=E7=B1=BB=E8=AE=BF=E9=97=AE=E4=BF=AE=E9=A5=B0?= =?UTF-8?q?=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将UnifiedSettingsRepository类从sealed改为普通class - 移除密封限制以支持继承扩展需求 - [release ci] --- GFramework.Game/data/UnifiedSettingsRepository.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GFramework.Game/data/UnifiedSettingsRepository.cs b/GFramework.Game/data/UnifiedSettingsRepository.cs index 2170c32..84c7b55 100644 --- a/GFramework.Game/data/UnifiedSettingsRepository.cs +++ b/GFramework.Game/data/UnifiedSettingsRepository.cs @@ -23,7 +23,7 @@ namespace GFramework.Game.data; /// /// 使用单一文件存储所有设置数据的仓库实现 /// -public sealed class UnifiedSettingsRepository( +public class UnifiedSettingsRepository( IStorage? storage, IRuntimeTypeSerializer? serializer, DataRepositoryOptions? options = null,