mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 10:34:30 +08:00
refactor(storage): 统一文件存储模块的依赖注入
- 在 FileStorage 中添加 System.IO 和 System.Text 引用 - 在 GodotFileStorage 中整合所有必要的命名空间引用 - 统一并发和序列化接口的依赖注入方式 - 添加 Godot 特定的 FileAccess 类型别名 - 优化 Godot 扩展功能的引用结构
This commit is contained in:
parent
b01867b231
commit
820cdcf0fa
@ -1,4 +1,8 @@
|
|||||||
using GFramework.Core.Concurrency;
|
using System.IO;
|
||||||
|
using System.Text;
|
||||||
|
using GFramework.Core.Abstractions.Concurrency;
|
||||||
|
using GFramework.Core.Abstractions.Serializer;
|
||||||
|
using GFramework.Core.Concurrency;
|
||||||
using GFramework.Game.Abstractions.Storage;
|
using GFramework.Game.Abstractions.Storage;
|
||||||
|
|
||||||
namespace GFramework.Game.Storage;
|
namespace GFramework.Game.Storage;
|
||||||
|
|||||||
@ -1,6 +1,12 @@
|
|||||||
|
using System.IO;
|
||||||
|
using System.Text;
|
||||||
using GFramework.Core.Abstractions.Concurrency;
|
using GFramework.Core.Abstractions.Concurrency;
|
||||||
using GFramework.Core.Abstractions.Serializer;
|
using GFramework.Core.Abstractions.Serializer;
|
||||||
using GFramework.Core.Abstractions.Storage;
|
using GFramework.Core.Abstractions.Storage;
|
||||||
|
using GFramework.Core.Concurrency;
|
||||||
|
using GFramework.Godot.Extensions;
|
||||||
|
using Godot;
|
||||||
|
using FileAccess = Godot.FileAccess;
|
||||||
|
|
||||||
namespace GFramework.Godot.Storage;
|
namespace GFramework.Godot.Storage;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user