hots

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package hots implements a plugin to show Heroes of the Storm (HotS) player stats.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(b bot.Bot, players map[string]int)

Register registers the plugin with a bot.

Types

type Score

type Score struct {
	Medal string
	Score int
	MMR   int
}

type Stats

type Stats struct {
	PlayerID   int
	TeamLeague Score
	HeroLeague Score
	QuickMatch Score
}

func NewStats

func NewStats(id int) (*Stats, error)

func (*Stats) String

func (s *Stats) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL