feat(battlenode): reference SVSim.BattleEngine (Phase 2 N0 wire-up)
Aliased (extern alias 'engine') to confine the decompiled engine's large global-namespace type surface, which would otherwise collide with node types (BattlePlayer, MessagePackSerializer). Also expose internals to SVSim.BattleEngine.Tests for the upcoming N0/N1 tests. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -8,7 +8,14 @@
|
||||
<FrameworkReference Include="Microsoft.AspNetCore.App" />
|
||||
<PackageReference Include="MessagePack" Version="2.5.172" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<!-- Aliased: the copied decompiled engine puts a huge type surface in the GLOBAL namespace
|
||||
(BattlePlayer, MessagePackSerializer, ...) which would otherwise leak into and collide
|
||||
with every node file. The extern alias confines it; only Sessions/Engine/* opts in. -->
|
||||
<ProjectReference Include="..\SVSim.BattleEngine\SVSim.BattleEngine.csproj" Aliases="engine" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<InternalsVisibleTo Include="SVSim.UnitTests" />
|
||||
<InternalsVisibleTo Include="SVSim.BattleEngine.Tests" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user