# Packages

Package common contains common types, constants and functions used over different demoinfocs packages.
Package constants contains constants that are used internally across the demoinfocs library.
Package events contains all events that can be sent out from demoinfocs.Parser.
Package fake provides basic mocks for Parser, GameState and Participants.
Package msg contains the generated protobuf demo message code.
Package msg contains the generated protobuf demo message code.
Package sendtables contains code related to decoding sendtables.

# Functions

MatchInfoDecryptionKey extracts the net-message decryption key stored in `match730_*.dem.info`.
NewParser creates a new Parser with the default configuration.
NewParserWithConfig returns a new Parser with a custom configuration.

# Variables

DefaultParserConfig is the default Parser configuration used by NewParser().
ErrBombsiteIndexNotFound indicates that a game-event occurred that contained an unknown bombsite index.
ErrCancelled signals that parsing was cancelled via Parser.Cancel().
ErrInvalidFileType signals that the input isn't a valid CS:GO demo.
ErrUnexpectedEndOfDemo signals that the demo is incomplete / corrupt - these demos may still be useful, check how far the parser got.

# Structs

ParserConfig contains the configuration for creating a new Parser.

# Interfaces

GameRules is an auto-generated interface for gameRules.
GameState is an auto-generated interface for gameState.
Parser is an auto-generated interface for Parser, intended to be used when mockability is needed.
Participants is an auto-generated interface for participants.

# Type aliases

NetMessageCreator creates additional net-messages to be dispatched to net-message handlers.