CultMathJson is the JSON twin of CultMathResolver: vectors, quaternion and
Color32 are objects keyed by field name, matrices are arrays of row objects,
rect is {min,max}. Consumers add them with AddCultMathConverters(); CultLib owns
no JSON options. CultCircle and CultSphere serialize and deserialize through
them, with [JsonConstructor] so the struct constructor is used. The Caching
README documents each MessagePack and JSON shape in one table.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
15 lines
684 B
XML
15 lines
684 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<Description>File-based MessagePack backing store for CultCache</Description>
|
|
<NoWarn>$(NoWarn);CS1591</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\GameCult.Caching\GameCult.Caching.csproj" />
|
|
<ProjectReference Include="..\..\packages\cultmath\src\CultMath\CultMath.csproj" />
|
|
<PackageReference Include="MessagePack" Version="3.1.7" />
|
|
<PackageReference Include="System.Text.Json" Version="9.0.10" />
|
|
<PackageReference Include="MessagePackAnalyzer" Version="3.1.7" PrivateAssets="all" />
|
|
<InternalsVisibleTo Include="GameCult.Caching.Tests" />
|
|
</ItemGroup>
|
|
</Project>
|