mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 10:34:30 +08:00
This PR refactors numerous lambda expressions by removing unnecessary braces and streamlining single-statement lambdas throughout the codebase, improving readability and maintainability. - Consider simplifying lambda when its body has a single statement: DeepSource flagged lambdas written with a block body for only one statement, causing extra verbosity. This update converts those to concise expression-bodied lambdas by stripping out the curly braces, applied across test assertions, event registrations, and unregister logic. The code is now cleaner and more consistent. > This Autofix was generated by AI. Please review the change before merging.
GFramework.Godot
GFramework 框架的 Godot 引擎集成模块,提供Godot特定的功能和扩展。
主要功能
- Extensions - Godot节点扩展方法,简化常见开发任务
- Signal - 流畅的信号连接API,支持链式调用
- Storage - Godot文件存储系统,支持虚拟路径
- Settings - Godot设置系统,管理音频和图形设置
依赖关系
- 依赖 GFramework.Core
- 依赖 GFramework.Core.Abstractions
详细文档
参见 docs/zh-CN/godot/ 目录下的详细文档。