One C# type per Rust type, keys in the crate's slot order. Unions are abstract classes with an internal constructor and sealed arms; unit arms are shared instances. ThingDomain owns the four domains and ThingKeys the key grammar. CommandResult is built by four factories only; its constructor is private. Builds against CultLib b3bd8dd5 through CultLibRoot. Tests follow in the next commit; this one builds. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
22 lines
998 B
XML
22 lines
998 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>netstandard2.1</TargetFramework>
|
|
<Nullable>enable</Nullable>
|
|
<LangVersion>latest</LangVersion>
|
|
<Description>The gamecult.thing.* wire types, held to the Rust crate's goldens.</Description>
|
|
<PackageId>GameCult.Thing.Contract</PackageId>
|
|
<Version>0.1.0</Version>
|
|
<Authors>GameCult</Authors>
|
|
<PackageLicenseExpression>MPL-2.0</PackageLicenseExpression>
|
|
<PackageProjectUrl>https://github.com/GameCult/Eve</PackageProjectUrl>
|
|
<RepositoryUrl>https://github.com/GameCult/Eve</RepositoryUrl>
|
|
<BaseOutputPath>obj\bin\</BaseOutputPath>
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
|
<NoWarn>$(NoWarn);CS1591</NoWarn>
|
|
<CultLibRoot Condition="'$(CultLibRoot)' == ''">$(MSBuildThisFileDirectory)..\..\..\CultLib</CultLibRoot>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="$(CultLibRoot)\src\GameCult.Caching\GameCult.Caching.csproj" />
|
|
</ItemGroup>
|
|
</Project>
|