structure

package
v0.0.0-...-559f19e Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseResponse

type BaseResponse struct {
	Status *int   `json:"status"`
	Error  string `json:"error"`
}

type CharacterRanking

type CharacterRanking struct {
	BaseResponse

	EncounterID    int     `json:"encounterID"`
	EncounterName  string  `json:"encounterName"`
	Class          string  `json:"class"`
	Spec           string  `json:"spec"`
	Rank           int64   `json:"rank"`
	OutOf          int64   `json:"outOf"`
	Duration       int64   `json:"duration"`
	StartTime      int64   `json:"startTime"`
	ReportID       string  `json:"reportID"`
	FightID        int     `json:"fightID"`
	Difficulty     int     `json:"difficulty"`
	CharacterID    int64   `json:"characterID"`
	CharacterName  string  `json:"characterName"`
	Server         string  `json:"server"`
	Percentile     float64 `json:"percentile"`
	IlvlKeyOrPatch float64 `json:"ilvlKeyOrPatch"`
	Total          float64 `json:"total"`
	Estimated      *bool   `json:"estimated,omitempty"`
}

type Class

type Class struct {
	BaseResponse

	ID    int         `json:"id"`    // A unique identifier representing this specific class.,
	Name  string      `json:"name"`  // The English name of the class.,
	Specs []ClassSpec `json:"specs"` // The possible specs for this class.
}

type ClassSpec

type ClassSpec struct {
	ID   int    `json:"id"`   // A unique identifier representing this specific spec.,
	Name string `json:"name"` // The English name of the spec.
}

type EncounterRanking

type EncounterRanking struct {
	ServerID     int64   `json:"serverID"`
	ServerName   string  `json:"serverName"`
	RegionName   string  `json:"regionName"`
	Duration     int64   `json:"duration"`
	StartTime    int64   `json:"startTime"`
	ReportStart  int64   `json:"reportStart"`
	DamageTaken  int64   `json:"damageTaken"`
	Deaths       int64   `json:"deaths"`
	FightID      int64   `json:"fightID"`
	ReportID     string  `json:"reportID"`
	Exploit      int64   `json:"exploit"`
	Tanks        int64   `json:"tanks"`
	Healers      int64   `json:"healers"`
	Melee        int64   `json:"melee"`
	Ranged       int64   `json:"ranged"`
	Casters      int64   `json:"casters"`
	GuildFaction int64   `json:"guildFaction"`
	GuildName    string  `json:"guildName"`
	GuildID      int64   `json:"guildID"`
	Bracket      float64 `json:"bracket"`
}

type EncounterRankings

type EncounterRankings struct {
	BaseResponse

	Page         int64              `json:"page"`
	HasMorePages bool               `json:"hasMorePages"`
	Count        int64              `json:"count"`
	Rankings     []EncounterRanking `json:"rankings"`
}

type Fights

type Fights struct {
	BaseResponse

	Fights             []FightsFight       `json:"fights"`
	Lang               string              `json:"lang"`
	Friendlies         []FightsFriendly    `json:"friendlies"`
	Enemies            []FightsEnemy       `json:"enemies"`
	FriendlyPets       []FightsFriendlyPet `json:"friendlyPets"`
	EnemyPets          []interface{}       `json:"enemyPets"`
	Phases             []FightsPhase       `json:"phases"`
	LogVersion         int64               `json:"logVersion"`
	GameVersion        int64               `json:"gameVersion"`
	Title              string              `json:"title"`
	Owner              string              `json:"owner"`
	Start              int64               `json:"start"`
	End                int64               `json:"end"`
	Zone               int64               `json:"zone"`
	ExportedCharacters []interface{}       `json:"exportedCharacters"`
}

type FightsEnemy

type FightsEnemy struct {
	Name   string             `json:"name"`
	ID     int64              `json:"id"`
	GUID   int64              `json:"guid"`
	Type   string             `json:"type"`
	Icon   string             `json:"icon"`
	Fights []FightsEnemyFight `json:"fights"`
}

type FightsEnemyFight

type FightsEnemyFight struct {
	ID        int64  `json:"id"`
	Instances int64  `json:"instances"`
	Groups    *int64 `json:"groups,omitempty"`
}

type FightsFight

type FightsFight struct {
	ID                            int64       `json:"id"`
	Boss                          int64       `json:"boss"`
	StartTime                     int64       `json:"start_time"`
	EndTime                       int64       `json:"end_time"`
	Name                          string      `json:"name"`
	ZoneID                        int64       `json:"zoneID"`
	ZoneName                      string      `json:"zoneName"`
	Size                          *int64      `json:"size,omitempty"`
	Difficulty                    *int64      `json:"difficulty,omitempty"`
	Kill                          *bool       `json:"kill,omitempty"`
	Partial                       *int64      `json:"partial,omitempty"`
	StandardComposition           *bool       `json:"standardComposition,omitempty"`
	HasEcho                       *bool       `json:"hasEcho,omitempty"`
	BossPercentage                *int64      `json:"bossPercentage,omitempty"`
	FightPercentage               *int64      `json:"fightPercentage,omitempty"`
	LastPhaseForPercentageDisplay *int64      `json:"lastPhaseForPercentageDisplay,omitempty"`
	Maps                          []FightsMap `json:"maps,omitempty"`
	OriginalBoss                  *int64      `json:"originalBoss,omitempty"`
}

type FightsFriendly

type FightsFriendly struct {
	Name   string                `json:"name"`
	ID     int64                 `json:"id"`
	GUID   int64                 `json:"guid"`
	Type   string                `json:"type"`
	Server string                `json:"server,omitempty"`
	Icon   string                `json:"icon"`
	Fights []FightsFriendlyFight `json:"fights"`
}

type FightsFriendlyFight

type FightsFriendlyFight struct {
	ID int64 `json:"id"`
}

type FightsFriendlyPet

type FightsFriendlyPet struct {
	Name     string                   `json:"name"`
	ID       int64                    `json:"id"`
	GUID     int64                    `json:"guid"`
	Type     string                   `json:"type"`
	Icon     string                   `json:"icon"`
	PetOwner int64                    `json:"petOwner"`
	Fights   []FightsFriendlyPetFight `json:"fights"`
}

type FightsFriendlyPetFight

type FightsFriendlyPetFight struct {
	ID        int64 `json:"id"`
	Instances int64 `json:"instances"`
}

type FightsMap

type FightsMap struct {
	MapID   int64  `json:"mapID"`
	MapName string `json:"mapName"`
	MapFile string `json:"mapFile"`
}

type FightsPhase

type FightsPhase struct {
	Boss   int64    `json:"boss"`
	Phases []string `json:"phases"`
}

type Report

type Report struct {
	BaseResponse

	ID        string   `json:"id"`        // (optional) The report code. Can be viewed on the site with the URL string of /reports/<code>.,
	Title     string   `json:"title"`     // (optional) The title for the report.,
	Owner     string   `json:"owner"`     // (optional) The name of the user that uploaded the report.,
	Zone      *int     `json:"zone"`      // (optional) The zone that the report is for. A value of -1 indicates that the zone for the report is not known.,
	StartTime *float32 `json:"startTime"` // (optional) A UNIX timestamp with millisecond precision, indicating the start time of the report as far as logged events.,
	EndTime   *float32 `json:"endTime"`   // (optional) A UNIX timestamp with millisecond precision, indicating the end time of the report as far as logged events.
}

type Zone

type Zone struct {
	BaseResponse

	ID         int              `json:"id"`         // A unique identifier representing this specific zone.,
	Name       string           `json:"name"`       // The English name of the raid zone.,
	Frozen     bool             `json:"frozen"`     // Whether or not the rankings and statistics for the zone are frozen. If set, then the results for this zone are never going to change, and you don't have to fetch them again.,
	Encounters []ZoneEncounters `json:"encounters"` // The encounters for this zone.,
	Brackets   ZoneBracket      `json:"brackets"`   // (optional) The brackets for this zone. Rankings and statistics are collected for each bracket.
	Partitions []ZonePartition  `json:"partitions"`
}

type ZoneBracket

type ZoneBracket struct {
	ID   int    `json:"id"`   // A unique identifier representing this specific rankings bracket.,
	Name string `json:"name"` // An explanation of what the bracket contains.
}

type ZoneEncounters

type ZoneEncounters struct {
	Min    int64   `json:"min"`
	Max    float64 `json:"max"`
	Bucket float64 `json:"bucket"`
	Type   string  `json:"type"`
}

type ZonePartition

type ZonePartition struct {
	Name         string  `json:"name"`
	Compact      string  `json:"compact"`
	Area         *int64  `json:"area,omitempty"`
	Default      *bool   `json:"default,omitempty"`
	FilteredName *string `json:"filtered_name,omitempty"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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