Skip to content

Commit 02abae6

Browse files
committed
update deps
1 parent 131ecea commit 02abae6

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<ItemGroup Condition="'$(MSBuildProjectExtension)' == '.csproj'">
4949
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All"/>
5050

51-
<PackageReference Include="SonarAnalyzer.CSharp" Version="10.8.*">
51+
<PackageReference Include="SonarAnalyzer.CSharp" Version="10.12.*">
5252
<PrivateAssets>all</PrivateAssets>
5353
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
5454
</PackageReference>

global.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"sdk": {
3-
"version": "8.0.407",
4-
"rollForward": "latestMinor",
3+
"version": "8.0.411",
4+
"rollForward": "latestFeature",
55
"allowPrerelease": false
66
}
77
}

src/Backdash/Session/NetcodeSessionBuilder.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,12 @@ public NetcodeSessionBuilder<TInput> WithPackageStats(bool enabled = true) =>
316316
public NetcodeSessionBuilder<TInput> WithPlayerStats(bool enabled = true) =>
317317
ConfigureProtocol(o => o.CalculateRemotePlayerStats = enabled);
318318

319+
/// <summary>
320+
/// Sets <see cref="NetcodeOptions.Protocol"/>.<see cref="ProtocolOptions.ConsistencyCheckEnabled" /> option
321+
/// </summary>
322+
public NetcodeSessionBuilder<TInput> WithConsistencyCheck(bool enabled) =>
323+
ConfigureProtocol(o => o.ConsistencyCheckEnabled = enabled);
324+
319325
/// <summary>
320326
/// Set the logger <see cref="ServicesConfig{TInput}.LogWriter" />
321327
/// </summary>

0 commit comments

Comments
 (0)