Documentation
¶
Index ¶
- type Fflogs
- func (f *Fflogs) GetProgForReport(r string, rankingsToGet []*RankingToGet, char *ffxiv.Character) (*Fights, error)
- func (f *Fflogs) GetRankingsForCharacter(rankingsToGet []*RankingToGet, char *ffxiv.Character) (*Rankings, error)
- func (f *Fflogs) SetCharacterLodestoneID(char *ffxiv.Character) error
- func (f *Fflogs) SetGraphqlClient()
- func (f *Fflogs) Token() (*oauth2.Token, error)
- type Fight
- type Fights
- type Metric
- type Rank
- type Ranking
- func (r *Ranking) BestDPSRank() *Rank
- func (r *Ranking) BestHPSRank() *Rank
- func (r *Ranking) Cleared() bool
- func (r *Ranking) RanksByDPSPercent() []*Rank
- func (r *Ranking) RanksByHPSPercent() []*Rank
- func (r *Ranking) RanksByTime() []*Rank
- func (r *Ranking) WorstDPSRank() *Rank
- func (r *Ranking) WorstHPSRank() *Rank
- type RankingToGet
- type Rankings
- type Report
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fflogs ¶
type Fflogs struct {
// contains filtered or unexported fields
}
func (*Fflogs) GetProgForReport ¶
func (*Fflogs) GetRankingsForCharacter ¶
func (*Fflogs) SetCharacterLodestoneID ¶
func (*Fflogs) SetGraphqlClient ¶
func (f *Fflogs) SetGraphqlClient()
type Rank ¶
type Rank struct {
RankPercent float64 `json:"rankPercent"`
Spec string `json:"spec"`
StartTime int `json:"startTime"`
Report Report `json:"report"`
Job *ffxiv.Job
DPSParseFound bool
HPSParseFound bool
DPSPercent float64
HPSPercent float64
}
func (*Rank) BestDPSParseString ¶
func (*Rank) DPSPercentString ¶
func (*Rank) HPSPercentString ¶
type Ranking ¶
type Ranking struct {
Error string `json:"error"`
TotalKills int `json:"totalKills"`
Metric Metric `json:"metric"`
Ranks []*Rank `json:"ranks"`
// odd partitions are standard comp, even partitions are nonstandard
// if a nonstandard response returns an odd partition,
// it's a copy of the standard counterpart
Partition int `json:"partition"`
Nonstandard bool
}
func (*Ranking) BestDPSRank ¶
func (*Ranking) BestHPSRank ¶
func (*Ranking) RanksByDPSPercent ¶
func (*Ranking) RanksByHPSPercent ¶
func (*Ranking) RanksByTime ¶
func (*Ranking) WorstDPSRank ¶
func (*Ranking) WorstHPSRank ¶
type RankingToGet ¶
Click to show internal directories.
Click to hide internal directories.