Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
saul committed Jan 30, 2025
1 parent 511e29e commit d3543a6
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 7 deletions.
1 change: 1 addition & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
### 0.28.1 (2025-01-30)

- Update to latest CS2 schema (v14065)
- Add support for new `DemRecovery` message

### 0.27.1 (2024-11-02)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Expand Down
2 changes: 1 addition & 1 deletion src/DemoFile.Benchmark/DemoFile.Benchmark.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<DefineConstants Condition=" '$(Configuration)' == 'Baseline' ">$(DefineConstants);BASELINE</DefineConstants>
Expand Down
4 changes: 0 additions & 4 deletions src/DemoFile/PacketEvents.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ namespace DemoFile;

public struct PacketEvents
{
public Action<CNETMsg_Disconnect_Legacy>? NetDisconnect;
public Action<CNETMsg_SplitScreenUser>? NetSplitScreenUser;
public Action<CNETMsg_Tick>? NetTick;
public Action<CNETMsg_StringCmd>? NetStringCmd;
Expand Down Expand Up @@ -52,9 +51,6 @@ internal bool ParseNetMessage(int msgType, ReadOnlySpan<byte> buf)
{
switch (msgType)
{
case (int)NET_Messages.NetDisconnectLegacy:
NetDisconnect?.Invoke(CNETMsg_Disconnect_Legacy.Parser.ParseFrom(buf));
return true;
case (int)NET_Messages.NetSplitScreenUser:
NetSplitScreenUser?.Invoke(CNETMsg_SplitScreenUser.Parser.ParseFrom(buf));
return true;
Expand Down

0 comments on commit d3543a6

Please sign in to comment.