# README

Examples

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

:information_source: 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.

ExampleDescription
heatmapCreating a heatmap from positions where players fired shots from
nade-trajectoriesMap overview with grenade trajectories
voice-captureCapture voice data from players
entitiesUsing unhandled data from entities (Parser.ServerClasses())
net-messagesParsing and handling custom net-messages
encrypted-net-messagesParsing and handling encrypted net-messages (e.g. text chat in MM demos)
print-eventsPrinting kills, scores & chat messages
mockingUsing the fake package to write unit tests for your code
web-assemblyUsing the library from JavaScript (browser/node) with WebAssembly
more examplesA collection of unpolished GitHub Gists based on past requests

# Packages

# Functions

DemoPathFromArgs returns the value of the -demo command line flag.
GetMapMetadata fetches metadata for a specific map version from `https://radar-overviews.csgo.saiko.tech/<map>/<crc>/info.json`.
GetMapRadar fetches the radar image for a specific map version from `https://radar-overviews.csgo.saiko.tech/<map>/<crc>/radar.png`.
RedirectStdout redirects standard output to dev null.

# Structs

Map represents a CS:GO map.