Documentation ¶
Index ¶
- type Contribution
- type Report
- func (r *Report) ContributionOf(target string) *Contribution
- func (r *Report) Finalize(f *fight.Fight) fight.FightReport
- func (r *Report) Interesting() bool
- func (r *Report) Participants(p map[string]struct{})
- func (r *Report) SortedContributors() []*Contribution
- func (r *Report) TotalDamage() int64
- type ReportFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Contribution ¶
func NewContribution ¶
func NewContribution(target string) *Contribution
type Report ¶
type Report struct { Source string LastCharName string Contributions map[string]*Contribution ActivitySet algorithm.TimeIntervalSet }
func (*Report) ContributionOf ¶
func (r *Report) ContributionOf(target string) *Contribution
func (*Report) Interesting ¶
func (*Report) Participants ¶
func (*Report) SortedContributors ¶
func (r *Report) SortedContributors() []*Contribution
func (*Report) TotalDamage ¶
type ReportFactory ¶
type ReportFactory struct{}
func (ReportFactory) Merge ¶
func (rf ReportFactory) Merge(reportsIf []fight.FightReport) fight.FightReport
func (ReportFactory) NewEmpty ¶
func (rf ReportFactory) NewEmpty(source string) fight.FightReport
func (ReportFactory) Type ¶
func (rf ReportFactory) Type() string
Click to show internal directories.
Click to hide internal directories.