Skip to content

Latest commit

 

History

History

examples

Examples

Here you can find a overview of examples on how to use demoinfocs-golang.

ℹ️ Example code may not be production ready - specifically error handling and such is done in a simplified way and should not be used in critical systems as-is.

Example Description
heatmap Creating a heatmap from positions where players fired shots from
nade-trajectories Map overview with grenade trajectories
voice-capture Capture voice data from players
entities Using unhandled data from entities (Parser.ServerClasses())
net-messages Parsing and handling custom net-messages
encrypted-net-messages Parsing and handling encrypted net-messages (e.g. text chat in MM demos)
print-events Printing kills, scores & chat messages
mocking Using the fake package to write unit tests for your code
web-assembly Using the library from JavaScript (browser/node) with WebAssembly
more examples A collection of unpolished GitHub Gists based on past requests