mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-04-02 20:09:00 +08:00
- 创建了 GFramework.Game 模块的全面文档 - 包含架构模块系统、资产管理、存储系统和序列化系统详解 - 提供了 AbstractModule、AbstractAssetCatalogUtility 等核心组件使用示例 - 添加了分层存储、加密存储和缓存存储的实现方案 - 集成了 JSON 序列化、自定义转换器和版本化数据管理 - 提供了完整的游戏数据管理系统和自动保存系统实现 - 修改了 VitePress 配置文件
33 lines
1.6 KiB
XML
33 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||
<!-- This file is automatically generated by the NuGet package -->
|
||
<!-- It ensures that the source generators are properly registered during build -->
|
||
|
||
<PropertyGroup>
|
||
<!--
|
||
消费项目默认从 schemas/ 目录收集配置 schema。
|
||
这样可以让配置生成器开箱即用,同时保留通过属性重定向目录的余地。
|
||
-->
|
||
<GFrameworkConfigSchemaDirectory Condition="'$(GFrameworkConfigSchemaDirectory)' == ''">schemas</GFrameworkConfigSchemaDirectory>
|
||
</PropertyGroup>
|
||
|
||
<ItemGroup>
|
||
<Analyzer Include="$(MSBuildThisFileDirectory)../analyzers/dotnet/cs/GFramework.SourceGenerators.dll"/>
|
||
<Analyzer Include="$(MSBuildThisFileDirectory)../analyzers/dotnet/cs/GFramework.SourceGenerators.Abstractions.dll"/>
|
||
<Analyzer Include="$(MSBuildThisFileDirectory)../analyzers/dotnet/cs/GFramework.SourceGenerators.Common.dll"/>
|
||
</ItemGroup>
|
||
|
||
<ItemGroup Condition="Exists('$(MSBuildProjectDirectory)/$(GFrameworkConfigSchemaDirectory)')">
|
||
<!--
|
||
将消费者项目中的 schema 文件自动暴露为 AdditionalFiles,
|
||
避免每个游戏项目都手工维护同样的 MSBuild 配置。
|
||
-->
|
||
<AdditionalFiles Include="$(MSBuildProjectDirectory)/$(GFrameworkConfigSchemaDirectory)/**/*.schema.json"/>
|
||
</ItemGroup>
|
||
|
||
<!-- Ensure the analyzers are loaded -->
|
||
<Target Name="EnsureGFrameworkAnalyzers" BeforeTargets="CoreCompile">
|
||
<Message Text="Loading GFramework source generators" Importance="high"/>
|
||
</Target>
|
||
</Project>
|