Documentation ¶
Overview ¶
Package match contains a high-level parser for demos.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Match ¶
type Match struct { MapName string MapPZero common.Point MapScale float32 HalfStarts []int RoundStarts []int Effects map[int][]common.Effect FrameRate int States []common.OverviewState SmokeEffectLifetime int32 Killfeed map[int][]common.Kill Shots map[int][]common.Shot // contains filtered or unexported fields }
Match contains general information about the demo and all relevant, parsed data from every tick of the demo that will be displayed.
func NewMatch ¶
NewMatch parses the demo at the specified path in the argument and returns a match.Match containing all relevant data from the demo.
Click to show internal directories.
Click to hide internal directories.