Files
bd2/plugins/Directory.Build.props
T
Flechazo 992fa47fd5 feat(all): add game SDK and harden client login and game rules
- Add costume burst upgrades with durable replay and fix permanent SR equipment gacha.
- Add server game.json rules for optional collaboration UR weapons, with packaging and documentation.
- Add GameNames/GameSdk NuGet tooling, readable types, reobfuscation, complete source/PDB navigation and shared-runtime installation.
- Split plugin responsibilities, prefer typeof/nameof, centralize MSBuild settings and ignore local paths; remove the unused LoginUI test project.
- Fix login recovery and TLS through native platform HTTP and a private game relay; read device region directly from the OS time zone.

Validation: go test ./... -count=1, go vet ./..., plugin Release builds, SDK/runtime self-tests, Roslyn embedded-source navigation, gofmt check and git diff --check.
2026-10-03 23:04:32 +08:00

22 lines
1.7 KiB
XML

<Project>
<!-- Shared repository settings. Machine paths belong in the local import. -->
<PropertyGroup>
<BD2PluginsDir>$(MSBuildThisFileDirectory)</BD2PluginsDir>
<BD2RepositoryDir>$([System.IO.Path]::GetFullPath('$(BD2PluginsDir)..'))/</BD2RepositoryDir>
</PropertyGroup>
<Import Project="$(BD2PluginsDir)Directory.Build.local.props" Condition="Exists('$(BD2PluginsDir)Directory.Build.local.props')" />
<PropertyGroup>
<GameDir Condition="'$(GameDir)' == '' and '$(MSBuildProjectName)' == 'CaptureEnvironment' and '$(BD2CaptureGameDir)' != ''">$(BD2CaptureGameDir)</GameDir>
<GameDir Condition="'$(GameDir)' == ''">$(BD2LocalGameDir)</GameDir>
<BD2ManagedDir Condition="'$(BD2ManagedDir)' == '' and '$(GameDir)' != ''">$(GameDir)/BrownDust II_Data/Managed</BD2ManagedDir>
<BD2BepInExDir Condition="'$(BD2BepInExDir)' == '' and '$(GameDir)' != ''">$(GameDir)/BepInEx</BD2BepInExDir>
<BD2VersionConfig Condition="'$(BD2VersionConfig)' == ''">$(BD2RepositoryDir)versions.json</BD2VersionConfig>
<BD2SdkProject Condition="'$(BD2SdkProject)' == ''">$(BD2PluginsDir)GameSdk/GameSdk.csproj</BD2SdkProject>
<BD2GameNamesProject Condition="'$(BD2GameNamesProject)' == ''">$(BD2PluginsDir)GameNames/GameNames.csproj</BD2GameNamesProject>
<BD2SdkConfiguration Condition="'$(BD2SdkConfiguration)' == ''">Release</BD2SdkConfiguration>
<BD2SdkTool Condition="'$(BD2SdkTool)' == ''">$(BD2PluginsDir)GameSdk/bin/$(BD2SdkConfiguration)/net8.0/GameSdk.dll</BD2SdkTool>
<BD2SdkIntermediateFolder Condition="'$(BD2SdkIntermediateFolder)' == ''">game-sdk</BD2SdkIntermediateFolder>
<BD2GameSdkCache Condition="'$(BD2GameSdkCache)' == ''">$(BD2_GAME_SDK_CACHE)</BD2GameSdkCache>
</PropertyGroup>
</Project>