mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 10:34:30 +08:00
refactor(core): 调整命名空间结构以优化模块组织
- 将 IRegistry 接口从 GFramework.Game.Abstractions.registry 移至 GFramework.Core.Abstractions.registries - 移除 KeyValueRegistryBase 中对旧命名空间的引用 - 将 IsExternalInit 类从 System.Runtime.CompilerServices 移至 GFramework.Game.Abstractions.internals - 更新 IGameSceneRegistry 对新注册表命名空间的引用 - 将音频和图形设置类移至 GFramework.Game.Abstractions.setting.data 子命名空间 - 将资产注册表接口更新为使用新的核心注册表命名空间 - 调整 Godot 模块中的音频总线映射命名空间至 data 子目录 - 更新 Godot 音频和图形设置类以引用正确的设置数据命名空间
This commit is contained in:
parent
9531cd0883
commit
31045f305c
@ -1,6 +1,6 @@
|
||||
using GFramework.Core.Abstractions.bases;
|
||||
|
||||
namespace GFramework.Game.Abstractions.registry;
|
||||
namespace GFramework.Core.Abstractions.registries;
|
||||
|
||||
/// <summary>
|
||||
/// 表示一个通用的注册表接口,用于根据键类型T获取值类型TR的对象
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
using GFramework.Core.Abstractions.bases;
|
||||
using GFramework.Game.Abstractions.registry;
|
||||
|
||||
namespace GFramework.Core.Abstractions.registries;
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
// when targeting netstandard2.0 or older frameworks.
|
||||
|
||||
#pragma warning disable S2094 // Remove this empty class
|
||||
namespace System.Runtime.CompilerServices;
|
||||
namespace GFramework.Game.Abstractions.internals;
|
||||
|
||||
internal static class IsExternalInit
|
||||
{
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
using GFramework.Game.Abstractions.registry;
|
||||
using GFramework.Core.Abstractions.registries;
|
||||
|
||||
namespace GFramework.Game.Abstractions.scene;
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using GFramework.Core.Abstractions.versioning;
|
||||
|
||||
namespace GFramework.Game.Abstractions.setting;
|
||||
namespace GFramework.Game.Abstractions.setting.data;
|
||||
|
||||
/// <summary>
|
||||
/// 音频设置类,用于管理游戏中的音频配置
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using GFramework.Core.Abstractions.versioning;
|
||||
|
||||
namespace GFramework.Game.Abstractions.setting;
|
||||
namespace GFramework.Game.Abstractions.setting.data;
|
||||
|
||||
/// <summary>
|
||||
/// 图形设置类,用于管理游戏的图形相关配置
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
using GFramework.Core.Abstractions.utility;
|
||||
using GFramework.Game.Abstractions.registry;
|
||||
using GFramework.Core.Abstractions.registries;
|
||||
using GFramework.Core.Abstractions.utility;
|
||||
|
||||
namespace GFramework.Game.Abstractions.ui;
|
||||
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
using GFramework.Game.Abstractions.setting;
|
||||
using GFramework.Game.Abstractions.setting.data;
|
||||
using GFramework.Godot.setting.data;
|
||||
using Godot;
|
||||
|
||||
namespace GFramework.Godot.setting;
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
using GFramework.Game.Abstractions.setting;
|
||||
using GFramework.Game.Abstractions.setting.data;
|
||||
using Godot;
|
||||
|
||||
namespace GFramework.Godot.setting;
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
namespace GFramework.Godot.setting;
|
||||
namespace GFramework.Godot.setting.data;
|
||||
|
||||
/// <summary>
|
||||
/// 音频总线映射设置
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user