-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmythicplusaffixes.go
18 lines (16 loc) · 1.14 KB
/
mythicplusaffixes.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package raideriogo
// ViewMythicPlusAffixesResponse defines the schema for tracking mythic+ affixes.
type ViewMythicPlusAffixesResponse struct {
Region string `json:"region"` // Region that affixes are for
Title string `json:"title"` // Human readable title for the current affixes
LeaderboardURL string `json:"leaderboard_url"` // URL for the leaderboard
RecentRun KeystoneRun `json:"recent_run"` // KeystoneRun, optional
AffixDetails []IDNameDescriptionWowheadModel `json:"affix_details"` // List of details for each active affix
}
// IDNameDescriptionWowheadModel defines the schema for mythic+ affixes via Wowhead data pulled into Raider.io.
type IDNameDescriptionWowheadModel struct {
ID int `json:"id"` // Blizzard's ID for this affix
Name string `json:"name"` // Friendly name for this affix
Description string `json:"description"` // Description of the effects of this affix
WowheadURL string `json:"wowhead_url"` // URL to open details on this affix on Wowhead
}