Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Category ¶
func NewCategory ¶
type Contribution ¶
type Contribution struct { Source string TotalDamage int64 Categorized map[string]*Category Deaths map[int]struct{} Boosts boosts.BoostSet }
func NewContribution ¶
func NewContribution(source string) *Contribution
func (*Contribution) CategoryOf ¶
func (c *Contribution) CategoryOf(displayName string) *Category
func (*Contribution) Flags ¶
func (c *Contribution) Flags() string
type Report ¶
type Report struct { Target string LastCharName string Contributions map[string]*Contribution ActivitySet algorithm.TimeIntervalSet }
Report is the damage dealt/HPS report
func (*Report) Aggregate ¶
func (r *Report) Aggregate() *aggregateReport
Aggregate combines the contributions of pets with those of their owners
func (*Report) ContributionOf ¶
func (r *Report) ContributionOf(source string) *Contribution
ContributionOf returns a pointer to the contribution record for a specified source, adding such a record to the the report if none yet exists
func (*Report) Interesting ¶
func (*Report) Participants ¶
type ReportFactory ¶
type ReportFactory struct{}
func (ReportFactory) Merge ¶
func (r ReportFactory) Merge(reports []fight.FightReport) fight.FightReport
func (ReportFactory) NewEmpty ¶
func (r ReportFactory) NewEmpty(target string) fight.FightReport
func (ReportFactory) Type ¶
func (r ReportFactory) Type() string
Click to show internal directories.
Click to hide internal directories.