What came from the game now comes through YGOLegacy.Bots.BotHost (Host/BotHost.cs): Log (was UnityEngine.Debug), Cards (the SQLite connection; was Mono.Data.Sqlite), Files (locale and the expansions' .cdb; was MDPro3 Language/ResourceManager, GamePaths.PATH_EXPANSIONS), DeckLimits (#ruleset -> caps; was the game's DeckLimits/Rulesets) and BotConf (bot.conf; was SoloLoader). CharacterRegistry loses its UniTask surface and keeps Scan/Publish (now public) and LoadFromDisk. No YGOL_STANDALONE branches are left. Internals stay internal, visible to Assembly-CSharp(-Editor), BotArena and the tests. References the engine release's binding (engine.json pins v1.4.1). No change to how the bots play. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
18 lines
977 B
XML
18 lines
977 B
XML
<Project>
|
|
<!-- Shared by every project. The engine pin (engine.json) and where its release was fetched to (.engine/,
|
|
build/fetch-engine.sh). -->
|
|
<PropertyGroup>
|
|
<RepoRoot>$(MSBuildThisFileDirectory)</RepoRoot>
|
|
<EngineDir Condition="'$(EngineDir)' == ''">$(RepoRoot).engine/</EngineDir>
|
|
<EnginePin>$([System.IO.File]::ReadAllText('$(RepoRoot)engine.json'))</EnginePin>
|
|
<EngineVersion>$([System.Text.RegularExpressions.Regex]::Match($(EnginePin), '"version"\s*:\s*"([^"]+)"').Groups[1].Value)</EngineVersion>
|
|
<BotsVersion Condition="'$(BotsVersion)' == ''">local</BotsVersion>
|
|
<Deterministic>true</Deterministic>
|
|
<Nullable>disable</Nullable>
|
|
<ImplicitUsings>disable</ImplicitUsings>
|
|
<InvariantGlobalization>true</InvariantGlobalization>
|
|
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
|
|
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
|
|
</PropertyGroup>
|
|
</Project>
|