Documentation ¶
Index ¶
- func GetPlayerBestWeapon(weaponsKills map[string]int) string
- func GetPlayersName(players map[uint64]*DemoPlayer) []string
- func GetPlayersToAnalyse(players map[uint64]*DemoPlayer, playersToAnalyse []string) map[uint64]*DemoPlayer
- type AssistStats
- type DemoPlayer
- type KillStats
- type MapData
- type PlayerMapStats
- type ProcessedDemo
- type RoundData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPlayerBestWeapon ¶
func GetPlayersName ¶
func GetPlayersName(players map[uint64]*DemoPlayer) []string
func GetPlayersToAnalyse ¶
func GetPlayersToAnalyse(players map[uint64]*DemoPlayer, playersToAnalyse []string) map[uint64]*DemoPlayer
Types ¶
type AssistStats ¶
type DemoPlayer ¶
type DemoPlayer struct { SteamID uint64 `json:"steam_id"` Name string `json:"name"` UserID int `json:"user_id"` Deaths int `json:"deaths"` KillStats KillStats `json:"kill_stats"` AssistStats AssistStats `json:"assist_stats"` PlayerMapStats PlayerMapStats `json:"player_map_stats"` RoundData []RoundData `json:"round_data"` }
func (DemoPlayer) String ¶
func (p DemoPlayer) String() string
type PlayerMapStats ¶
type ProcessedDemo ¶
type ProcessedDemo struct { Players map[uint64]*DemoPlayer `json:"players"` Map MapData `json:"map_data"` GameMode string `json:"game_mode"` }
func ProcessDemo ¶
func ProcessDemo(demoPath string) *ProcessedDemo
Click to show internal directories.
Click to hide internal directories.