shipstats

package
v0.0.0-...-d2732b9 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CombinedStat

type CombinedStat struct {
	Stats     *stats.Integers
	Histogram *histogram.Integers
}

func (CombinedStat) String

func (cs CombinedStat) String() string

type Stats

type Stats struct {
	// contains filtered or unexported fields
}

func New

func New() *Stats

func (Stats) EvadeTokens

func (s Stats) EvadeTokens() CombinedStat

func (Stats) FocusTokens

func (s Stats) FocusTokens() CombinedStat

func (Stats) Hull

func (s Stats) Hull() CombinedStat

func (Stats) Shields

func (s Stats) Shields() CombinedStat

func (Stats) StatMap

func (s Stats) StatMap() map[string]*CombinedStat

StatMap returns a map from human readable name to CombinedStats. (because apparently reflection is slow)

func (Stats) String

func (s Stats) String() string

func (Stats) TargetLocks

func (s Stats) TargetLocks() CombinedStat

func (*Stats) Update

func (s *Stats) Update(ship *ship.Ship)

Jump to

Keyboard shortcuts

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