DemoFile.Game.Deadlock
0.22.3
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package DemoFile.Game.Deadlock --version 0.22.3
NuGet\Install-Package DemoFile.Game.Deadlock -Version 0.22.3
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DemoFile.Game.Deadlock" Version="0.22.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DemoFile.Game.Deadlock --version 0.22.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DemoFile.Game.Deadlock, 0.22.3"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install DemoFile.Game.Deadlock as a Cake Addin #addin nuget:?package=DemoFile.Game.Deadlock&version=0.22.3 // Install DemoFile.Game.Deadlock as a Cake Tool #tool nuget:?package=DemoFile.Game.Deadlock&version=0.22.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
DemoFile.Game.Deadlock
DemoFile.Net is a blazing fast demo parser library for Source 2 games, written in C#. It is cross-platform, and can be used on Windows, Mac or Linux.
[!IMPORTANT] This
DemoFile.Game.Deadlock
package provides support for parsing Deadlock demos. See DemoFile on NuGet for more information about the base library.
Features
Feature | Availability |
---|---|
TV demos | ✅ Full support |
POV demos | ✅ Full support |
HTTP broadcasts | ✅ Full support |
Game events (e.g. zipline_player_attached ) |
✅ Full support |
Entity updates (player positions, abilities, etc.) | ✅ Full support |
Seeking forwards/backwards through the demo | ✅ Full support |
Examples
using DemoFile;
internal class Program
{
public static async Task Main(string[] args)
{
var path = args.SingleOrDefault() ?? throw new Exception("Expected a single argument: <path to .dem>");
var demo = new DeadlockDemoParser();
demo.Source1GameEvents.PlayerDeath += e =>
{
Console.WriteLine($"{e.Attacker?.PlayerName} [{e.Weapon}] {e.Player?.PlayerName}");
};
var reader = DemoFileReader.Create(demo, File.OpenRead(path));
await reader.ReadAllAsync();
Console.WriteLine("\nFinished!");
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0
- DemoFile (>= 0.22.3)
- Google.Protobuf (>= 3.22.1)
- NerdBank.GitVersioning (>= 3.6.133)
- protobuf-net (>= 3.2.16)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.27.1 | 169 | 11/2/2024 |
0.26.1 | 93 | 10/29/2024 |
0.25.1 | 122 | 10/12/2024 |
0.24.1 | 96 | 10/7/2024 |
0.23.1 | 125 | 9/27/2024 |
0.22.3 | 109 | 9/23/2024 |
0.22.1 | 105 | 9/22/2024 |
0.21.1 | 108 | 9/14/2024 |
0.21.1-g27b712d66f | 86 | 9/14/2024 |
0.0.0-g27b712d66f | 86 | 9/14/2024 |