Refactor component registration, update deps, improve JSON

- Updated Misaki.HighPerformance package versions in Core and Graphics projects.
- Added IsTrimmable to Ghost.Engine.csproj for trimming support.
- Renamed GetOrRegisterComponent to GetOrRegisterComponentID and updated all usages.
- Component registration codegen now uses a static class with [ModuleInitializer], no longer requires [EngineEntry].
- Improved JSON serialization: added string support, introduced Utf8JsonObjectScope/ArrayScope, and new extension methods for cleaner JSON writing.
- Removed [SkipLocalsInit] from Hierarchy and LocalToWorld.
- Fixed Entity.Invalid to use INVALID_ID for both fields.
- Minor cleanup: clarified comments, reorganized Ghost.Generator in solution, and disabled component serialization generator.
This commit is contained in:
2025-12-21 22:18:25 +09:00
parent 840cf7dd5a
commit 2881fda112
15 changed files with 90 additions and 137 deletions

View File

@@ -13,7 +13,6 @@
<Platform Solution="*|x86" Project="x86" />
<Deploy />
</Project>
<Project Path="Ghost.Generator/Ghost.Generator.csproj" />
</Folder>
<Folder Name="/Library/">
<Project Path="Ghost.FMOD/Ghost.FMOD.csproj" />
@@ -23,6 +22,7 @@
<Project Path="Ghost.Core/Ghost.Core.csproj" />
<Project Path="Ghost.Engine/Ghost.Engine.csproj" />
<Project Path="Ghost.Entities/Ghost.Entities.csproj" />
<Project Path="Ghost.Generator/Ghost.Generator.csproj" />
<Project Path="Ghost.Graphics/Ghost.Graphics.csproj" />
</Folder>
<Folder Name="/Test/">