feat: add component discovery source generator

Introduce an incremental source generator that automatically discovers
component types used with the World API. This allows the
WorldSerializer to perform serialization and deserialization without
relying on reflection, improving performance and stability.
This commit is contained in:
2026-07-18 23:41:28 +08:00
parent 713d578179
commit 96ba037432
12 changed files with 468 additions and 21 deletions
+5
View File
@@ -12,4 +12,9 @@
<ProjectReference Include="..\..\src\OECS\OECS.csproj" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\OECS.SourceGen\OECS.SourceGen.csproj"
OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
</ItemGroup>
</Project>