Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDemoSource ¶
func GetDemoSource(demo *Demo) constants.DemoSource
Types ¶
type Demo ¶
type Demo struct { FilePath string FileName string Type constants.DemoType // ! Checksums are not generated reading the whole .dem file but only information for the "header" because it would be slow. Checksum string Filestamp string Date time.Time ServerName string ClientName string MapName string NetworkProtocol int BuildNumber int // Source 2 demos only TickCount int // Not available for Source 2 demos, it's updated during parsing TickRate float64 // Not available for Source 2 demos, it's updated during parsing FrameRate float64 // Not available for Source 2 demos, it's updated during parsing Duration time.Duration // Not available for Source 2 demos, it's updated during parsing }
func GetDemoFromPath ¶
Click to show internal directories.
Click to hide internal directories.