Documentation
¶
Index ¶
- Variables
- func GetBestRegexIntValue(srcStr string, patterns []*regexp.Regexp, matchIdx int) int
- func GetRegexIntValue(srcStr string, pattern *regexp.Regexp, matchIdx int) int
- func GetRegexStringValue(srcStr string, pattern *regexp.Regexp, matchIdx int) string
- func ParseWagoDB(dbContents string) map[int32]WagoDbItem
- type BlizzardAuthResponse
- type BlizzardItemResponse
- type ClassMask
- type EnchantDBKey
- type FactionConfig
- type ItemResponse
- type Stats
- type TooltipManager
- type WagoDbItem
- type WeaponSkills
- type WowDatabase
- func (db *WowDatabase) AddItemIcon(id int32, tooltips map[int32]WowheadItemResponse)
- func (db *WowDatabase) AddSpellIcon(id int32, tooltips map[int32]WowheadItemResponse)
- func (db *WowDatabase) Clone() *WowDatabase
- func (db *WowDatabase) MergeEnchant(src *proto.UIEnchant)
- func (db *WowDatabase) MergeEnchants(arr []*proto.UIEnchant)
- func (db *WowDatabase) MergeFaction(src *proto.UIFaction)
- func (db *WowDatabase) MergeFactions(arr []*proto.UIFaction)
- func (db *WowDatabase) MergeItem(src *proto.UIItem)
- func (db *WowDatabase) MergeItems(arr []*proto.UIItem)
- func (db *WowDatabase) MergeNpc(src *proto.UINPC)
- func (db *WowDatabase) MergeNpcs(arr []*proto.UINPC)
- func (db *WowDatabase) MergeSpellIcon(src *proto.IconData)
- func (db *WowDatabase) MergeSpellIcons(arr []*proto.IconData)
- func (db *WowDatabase) MergeZone(src *proto.UIZone)
- func (db *WowDatabase) MergeZones(arr []*proto.UIZone)
- func (db *WowDatabase) ToUIProto() *proto.UIDatabase
- func (db *WowDatabase) WriteBinary(binFilePath string)
- func (db *WowDatabase) WriteBinaryAndJson(binFilePath, jsonFilePath string)
- func (db *WowDatabase) WriteJson(jsonFilePath string)
- type WowheadDatabase
- type WowheadItem
- type WowheadItemResponse
- func (item WowheadItemResponse) GetArmorType() proto.ArmorType
- func (item WowheadItemResponse) GetArmorValues() (int, int)
- func (item WowheadItemResponse) GetHandType() proto.HandType
- func (item WowheadItemResponse) GetIcon() string
- func (item WowheadItemResponse) GetIntValue(pattern *regexp.Regexp) int
- func (item WowheadItemResponse) GetItemLevel() int
- func (item WowheadItemResponse) GetItemSetID() int
- func (item WowheadItemResponse) GetItemSetName() string
- func (item WowheadItemResponse) GetItemType() proto.ItemType
- func (item WowheadItemResponse) GetName() string
- func (item WowheadItemResponse) GetPhase() int
- func (item WowheadItemResponse) GetPhysicalBonusDamage() float64
- func (item WowheadItemResponse) GetQuality() int
- func (item WowheadItemResponse) GetRangedWeaponType() proto.RangedWeaponType
- func (item WowheadItemResponse) GetRequiredClass() proto.Class
- func (item WowheadItemResponse) GetRequiredItemSlot() proto.ItemType
- func (item WowheadItemResponse) GetRequiredProfession() proto.Profession
- func (item WowheadItemResponse) GetRequiresLevel() int
- func (item WowheadItemResponse) GetSpellRank() int
- func (item WowheadItemResponse) GetStats() Stats
- func (item WowheadItemResponse) GetTooltipRegexString(pattern *regexp.Regexp, matchIdx int) string
- func (item WowheadItemResponse) GetTooltipRegexValue(pattern *regexp.Regexp, matchIdx int) int
- func (item WowheadItemResponse) GetUnique() bool
- func (item WowheadItemResponse) GetWeaponDamage() (float64, float64)
- func (item WowheadItemResponse) GetWeaponSkills() WeaponSkills
- func (item WowheadItemResponse) GetWeaponSpeed() float64
- func (item WowheadItemResponse) GetWeaponType() proto.WeaponType
- func (item WowheadItemResponse) HasBuff() bool
- func (item WowheadItemResponse) IsEquippable() bool
- func (item WowheadItemResponse) IsHeroic() bool
- func (item WowheadItemResponse) IsPattern() bool
- func (item WowheadItemResponse) IsRandomEnchant() bool
- func (item WowheadItemResponse) IsScalableArmorSlot() bool
- func (item WowheadItemResponse) ToItemProto() *proto.UIItem
- func (item WowheadItemResponse) TooltipWithoutSetBonus() string
- type WowheadItemSource
- type WowheadItemStats
- type WowheadRandomSuffix
- type WowheadRandomSuffixStats
- type WowheadTooltipManager
Constants ¶
This section is empty.
Variables ¶
View Source
var AtlasLootDifficulties = map[string]proto.DungeonDifficulty{ "NORMAL_DIFF": proto.DungeonDifficulty_DifficultyNormal, }
View Source
var AtlasLootPVPFactions = map[int]map[string]int32{
3277: {
"ALLIANCE": 890,
"HORDE": 889,
},
3358: {
"ALLIANCE": 509,
"HORDE": 510,
},
2597: {
"ALLIANCE": 730,
"HORDE": 729,
},
}
View Source
var AtlasLootProfessionIDs = map[int]proto.Profession{ 3: proto.Profession_Leatherworking, 5: proto.Profession_Blacksmithing, 6: proto.Profession_Leatherworking, 7: proto.Profession_Alchemy, 10: proto.Profession_Mining, 11: proto.Profession_Tailoring, 12: proto.Profession_Engineering, 13: proto.Profession_Enchanting, }
View Source
var AtlasLootRepLevels = map[string]proto.RepLevel{ "Hated": proto.RepLevel_RepLevelHated, "Hostile": proto.RepLevel_RepLevelHostile, "Unfriendly": proto.RepLevel_RepLevelUnfriendly, "Neutral": proto.RepLevel_RepLevelNeutral, "Friendly": proto.RepLevel_RepLevelFriendly, "Honored": proto.RepLevel_RepLevelHonored, "Revered": proto.RepLevel_RepLevelRevered, "Exalted": proto.RepLevel_RepLevelExalted, }
View Source
var DenyListNameRegexes = []*regexp.Regexp{ regexp.MustCompile(`30 Epic`), regexp.MustCompile(`63 Blue`), regexp.MustCompile(`63 Green`), regexp.MustCompile(`66 Epic`), regexp.MustCompile(`90 Epic`), regexp.MustCompile(`90 Green`), regexp.MustCompile(`Boots 1`), regexp.MustCompile(`Boots 2`), regexp.MustCompile(`Boots 3`), regexp.MustCompile(`Bracer 1`), regexp.MustCompile(`Bracer 2`), regexp.MustCompile(`Bracer 3`), regexp.MustCompile(`DB\d`), regexp.MustCompile(`DEPRECATED`), regexp.MustCompile(`Deprecated: Keanna`), regexp.MustCompile(`Indalamar`), regexp.MustCompile(`Monster -`), regexp.MustCompile(`NEW`), regexp.MustCompile(`PH`), regexp.MustCompile(`QR XXXX`), regexp.MustCompile(`TEST`), regexp.MustCompile(`Test`), regexp.MustCompile(`zOLD`), }
If any of these match the item name, don't include it.
View Source
var EnchantOverrides = []*proto.UIEnchant{}/* 173 elements not displayed */
View Source
var ExtraItemIcons = []int32{
12662,
13180,
11566,
8956,
10646,
18641,
15993,
16040,
13928,
20452,
13931,
18254,
21023,
13813,
13810,
13510,
13511,
13512,
13513,
20079,
8412,
8423,
8424,
8411,
13452,
9187,
20007,
20004,
9088,
3389,
8951,
13445,
2458,
3825,
12451,
9206,
12460,
12820,
5206,
13454,
9264,
21546,
17708,
11564,
18284,
18269,
20709,
21114,
21151,
13444,
7676,
20748,
20749,
12404,
18262,
}
Item icons to include in the DB, so they don't need to be separately loaded in the UI.
View Source
var ItemAllowList = map[int32]struct{}{}
Keep these sorted by item ID.
View Source
var ItemDenyList = map[int32]struct{}{
9653: {},
12104: {},
12805: {},
17782: {},
17783: {},
17802: {},
20522: {},
22736: {},
16482: {},
16447: {},
16458: {},
16470: {},
17585: {},
17609: {},
16439: {},
16464: {},
16481: {},
17606: {},
16438: {},
16445: {},
16460: {},
16469: {},
17582: {},
16461: {},
16572: {},
16557: {},
16547: {},
16556: {},
16575: {},
17589: {},
17621: {},
16537: {},
16553: {},
16546: {},
16576: {},
16538: {},
16559: {},
16570: {},
17587: {},
17619: {},
14550: {},
}
Items to remove from the UI
View Source
var ItemOverrides = []*proto.UIItem{
{Id: 20615, Phase: 4},
{Id: 22657, Phase: 6},
{Id: 22667, Phase: 6},
{Id: 22668, Phase: 6},
{Id: 22659, Phase: 6},
{Id: 22678, Phase: 6},
{Id: 22656, Phase: 6},
{Id: 22681, Phase: 6},
{Id: 22680, Phase: 6},
{Id: 22688, Phase: 6},
{Id: 22679, Phase: 6},
{Id: 22690, Phase: 6},
{Id: 22689, Phase: 6},
{Id: 19383, Phase: 3},
{Id: 19366, Phase: 3},
{Id: 19384, Phase: 3},
{Id: 18504, Phase: 2},
{Id: 18506, Phase: 2},
{Id: 18508, Phase: 2},
{Id: 18509, Phase: 2},
{Id: 18510, Phase: 2},
{Id: 18511, Phase: 2},
{Id: 18405, Phase: 2},
{Id: 18407, Phase: 2},
{Id: 18408, Phase: 2},
{Id: 18409, Phase: 2},
{Id: 18413, Phase: 2},
{Id: 22274, Phase: 3},
{Id: 22272, Phase: 3},
{Id: 22458, Phase: 3},
{Id: 20083, Phase: 3},
{Id: 19991, Phase: 3},
{Id: 19992, Phase: 3},
{Id: 20035, Phase: 3},
{Id: 20037, Phase: 3},
{Id: 20036, Phase: 3},
{Id: 20504, Phase: 3},
{Id: 20512, Phase: 3},
{Id: 20505, Phase: 3},
{Id: 19990, Phase: 3},
{Id: 20082, Phase: 3},
{Id: 20006, Phase: 3},
{Id: 19984, Phase: 3},
{Id: 20255, Phase: 3},
{Id: 19982, Phase: 3},
{Id: 20369, Phase: 3},
{Id: 20556, Phase: 3},
{Id: 20503, Phase: 3},
{Id: 20536, Phase: 3},
{Id: 20534, Phase: 3},
{Id: 20530, Phase: 3},
{Id: 20130, Phase: 3},
{Id: 20521, Phase: 3},
{Id: 20517, Phase: 3},
{Id: 23199, Phase: 5},
{Id: 23200, Phase: 5},
{Id: 22345, Phase: 5},
{Id: 22395, Phase: 5},
{Id: 22191, Phase: 5},
{Id: 22195, Phase: 5},
}
View Source
var OtherItemIdsToFetch = []string{}
Raid buffs / debuffs
View Source
var SoDVersionRegex = regexp.MustCompile(`115[0-9]+`)
View Source
var SpellIconoverrides = []*proto.IconData{}
Functions ¶
func GetBestRegexIntValue ¶
func GetRegexIntValue ¶
func GetRegexStringValue ¶
func ParseWagoDB ¶
func ParseWagoDB(dbContents string) map[int32]WagoDbItem
Types ¶
type BlizzardAuthResponse ¶
type BlizzardAuthResponse struct {
AccessToken string `json:"access_token"`
}
type BlizzardItemResponse ¶
type BlizzardItemResponse struct {
ID int `json:"id"`
Name string `json:"name"`
Quality struct {
Type string `json:"type"`
} `json:"quality"`
ItemClass struct {
Id int `json:"id"`
} `json:"item_class"`
ItemSubclass struct {
Id int `json:"id"`
} `json:"item_subclass"`
InventoryType struct {
Type string `json:"type"`
} `json:"inventory_type"`
PreviewItem struct {
Armor struct {
Value int `json:"value"`
} `json:"armor"`
Stats []struct {
Type struct {
Type string `json:"type"`
} `json:"type"`
Value int `json:"value"`
} `json:"stats"`
} `json:"preview_item"`
}
There are more fields, these are just the ones we care about
func (BlizzardItemResponse) GetStatValue ¶
func (item BlizzardItemResponse) GetStatValue(statType string) int
type EnchantDBKey ¶
func EnchantToDBKey ¶
func EnchantToDBKey(enchant *proto.UIEnchant) EnchantDBKey
type FactionConfig ¶
type ItemResponse ¶
type ItemResponse interface {
GetName() string
GetQuality() int
GetIcon() string
HasBuff() bool
TooltipWithoutSetBonus() string
GetTooltipRegexString(pattern *regexp.Regexp, matchIdx int) string
GetTooltipRegexValue(pattern *regexp.Regexp, matchIdx int) int
GetIntValue(pattern *regexp.Regexp) int
GetStats() Stats
GetWeaponSkills() []float64
IsEquippable() bool
GetItemLevel() int
GetRequiresLevel() int
GetRequiredClass() proto.Class
GetRequiredItemSlot() proto.ItemSlot
GetSpellRank() int
GetPhase() int
GetUnique() bool
GetItemType() proto.ItemType
GetArmorType() proto.ArmorType
GetWeaponType() proto.WeaponType
GetHandType() proto.HandType
GetRangedWeaponType() proto.RangedWeaponType
GetWeaponDamage() (float64, float64)
GetWeaponSpeed() float64
GetItemSetID() string
GetItemSetName() string
IsHeroic() bool
GetRequiredProfession() proto.Profession
}
type TooltipManager ¶
Generic class for fetching tooltip info from the web.
func (*TooltipManager) Fetch ¶
func (tm *TooltipManager) Fetch(minId, maxId int32, otherIds []string)
func (*TooltipManager) FetchFromWeb ¶
func (tm *TooltipManager) FetchFromWeb(idsToFetch []string) map[string]string
func (*TooltipManager) Read ¶
func (tm *TooltipManager) Read() map[int32]string
type WagoDbItem ¶
type WagoDbItem struct {
FactionRestriction proto.UIItem_FactionRestriction
ItemSetID int32
}
type WeaponSkills ¶
type WeaponSkills [stats.WeaponSkillLen]float64
type WowDatabase ¶
type WowDatabase struct {
Items map[int32]*proto.UIItem
RandomSuffixes map[int32]*proto.ItemRandomSuffix
Enchants map[EnchantDBKey]*proto.UIEnchant
Zones map[int32]*proto.UIZone
Npcs map[int32]*proto.UINPC
Factions map[int32]*proto.UIFaction
ItemIcons map[int32]*proto.IconData
SpellIcons map[int32]*proto.IconData
Encounters []*proto.PresetEncounter
}
func NewWowDatabase ¶
func NewWowDatabase() *WowDatabase
func ReadAtlasLootData ¶
func ReadAtlasLootData(inputsDir string) *WowDatabase
func ReadDatabaseFromJson ¶
func ReadDatabaseFromJson(jsonStr string) *WowDatabase
func (*WowDatabase) AddItemIcon ¶
func (db *WowDatabase) AddItemIcon(id int32, tooltips map[int32]WowheadItemResponse)
func (*WowDatabase) AddSpellIcon ¶
func (db *WowDatabase) AddSpellIcon(id int32, tooltips map[int32]WowheadItemResponse)
func (*WowDatabase) Clone ¶
func (db *WowDatabase) Clone() *WowDatabase
func (*WowDatabase) MergeEnchant ¶
func (db *WowDatabase) MergeEnchant(src *proto.UIEnchant)
func (*WowDatabase) MergeEnchants ¶
func (db *WowDatabase) MergeEnchants(arr []*proto.UIEnchant)
func (*WowDatabase) MergeFaction ¶
func (db *WowDatabase) MergeFaction(src *proto.UIFaction)
func (*WowDatabase) MergeFactions ¶
func (db *WowDatabase) MergeFactions(arr []*proto.UIFaction)
func (*WowDatabase) MergeItem ¶
func (db *WowDatabase) MergeItem(src *proto.UIItem)
func (*WowDatabase) MergeItems ¶
func (db *WowDatabase) MergeItems(arr []*proto.UIItem)
func (*WowDatabase) MergeNpc ¶
func (db *WowDatabase) MergeNpc(src *proto.UINPC)
func (*WowDatabase) MergeNpcs ¶
func (db *WowDatabase) MergeNpcs(arr []*proto.UINPC)
func (*WowDatabase) MergeSpellIcon ¶
func (db *WowDatabase) MergeSpellIcon(src *proto.IconData)
func (*WowDatabase) MergeSpellIcons ¶
func (db *WowDatabase) MergeSpellIcons(arr []*proto.IconData)
func (*WowDatabase) MergeZone ¶
func (db *WowDatabase) MergeZone(src *proto.UIZone)
func (*WowDatabase) MergeZones ¶
func (db *WowDatabase) MergeZones(arr []*proto.UIZone)
func (*WowDatabase) ToUIProto ¶
func (db *WowDatabase) ToUIProto() *proto.UIDatabase
func (*WowDatabase) WriteBinary ¶
func (db *WowDatabase) WriteBinary(binFilePath string)
func (*WowDatabase) WriteBinaryAndJson ¶
func (db *WowDatabase) WriteBinaryAndJson(binFilePath, jsonFilePath string)
func (*WowDatabase) WriteJson ¶
func (db *WowDatabase) WriteJson(jsonFilePath string)
type WowheadDatabase ¶
type WowheadDatabase struct {
Items map[string]WowheadItem
RandomSuffixes map[string]WowheadRandomSuffix
}
func ParseWowheadDB ¶
func ParseWowheadDB(dbContents string) WowheadDatabase
type WowheadItem ¶
type WowheadItem struct {
ID int32 `json:"id"`
Name string `json:"name"`
Icon string `json:"icon"`
Version int32 `json:"versionNum"`
Quality int32 `json:"quality"`
Ilvl int32 `json:"itemLevel"`
Phase int32 `json:"contentPhase"`
RequiresLevel int32 `json:"requiredLevel"`
RaceMask uint16 `json:"raceMask"`
ClassMask uint16 `json:"classMask"`
Stats WowheadItemStats `json:"stats"`
RandomSuffixOptions []int32 `json:"randomEnchants"`
SourceTypes []int32 `json:"source"` // 1 = Crafted, 2 = Dropped by, 3 = sold by zone vendor? barely used, 4 = Quest, 5 = Sold by
SourceDetails []WowheadItemSource `json:"sourcemore"`
}
func (WowheadItem) ToProto ¶
func (wi WowheadItem) ToProto() *proto.UIItem
type WowheadItemResponse ¶
type WowheadItemResponse struct {
ID int32
Name string `json:"name"`
Quality int `json:"quality"`
Icon string `json:"icon"`
Tooltip string `json:"tooltip"`
Buff string `json:"buff"`
}
func NewWowheadItemResponse ¶
func NewWowheadItemResponse(id int32, tooltip string) WowheadItemResponse
func (WowheadItemResponse) GetArmorType ¶
func (item WowheadItemResponse) GetArmorType() proto.ArmorType
func (WowheadItemResponse) GetArmorValues ¶
func (item WowheadItemResponse) GetArmorValues() (int, int)
In Vanilla and TBC, both Armor and Bonus Armor scale with gear armor multipliers on all equipment.
func (WowheadItemResponse) GetHandType ¶
func (item WowheadItemResponse) GetHandType() proto.HandType
func (WowheadItemResponse) GetIcon ¶
func (item WowheadItemResponse) GetIcon() string
func (WowheadItemResponse) GetIntValue ¶
func (item WowheadItemResponse) GetIntValue(pattern *regexp.Regexp) int
func (WowheadItemResponse) GetItemLevel ¶
func (item WowheadItemResponse) GetItemLevel() int
func (WowheadItemResponse) GetItemSetID ¶
func (item WowheadItemResponse) GetItemSetID() int
func (WowheadItemResponse) GetItemSetName ¶
func (item WowheadItemResponse) GetItemSetName() string
func (WowheadItemResponse) GetItemType ¶
func (item WowheadItemResponse) GetItemType() proto.ItemType
func (WowheadItemResponse) GetName ¶
func (item WowheadItemResponse) GetName() string
func (WowheadItemResponse) GetPhase ¶
func (item WowheadItemResponse) GetPhase() int
func (WowheadItemResponse) GetPhysicalBonusDamage ¶
func (item WowheadItemResponse) GetPhysicalBonusDamage() float64
func (WowheadItemResponse) GetQuality ¶
func (item WowheadItemResponse) GetQuality() int
func (WowheadItemResponse) GetRangedWeaponType ¶
func (item WowheadItemResponse) GetRangedWeaponType() proto.RangedWeaponType
func (WowheadItemResponse) GetRequiredClass ¶
func (item WowheadItemResponse) GetRequiredClass() proto.Class
func (WowheadItemResponse) GetRequiredItemSlot ¶
func (item WowheadItemResponse) GetRequiredItemSlot() proto.ItemType
func (WowheadItemResponse) GetRequiredProfession ¶
func (item WowheadItemResponse) GetRequiredProfession() proto.Profession
func (WowheadItemResponse) GetRequiresLevel ¶
func (item WowheadItemResponse) GetRequiresLevel() int
func (WowheadItemResponse) GetSpellRank ¶
func (item WowheadItemResponse) GetSpellRank() int
func (WowheadItemResponse) GetStats ¶
func (item WowheadItemResponse) GetStats() Stats
func (WowheadItemResponse) GetTooltipRegexString ¶
func (item WowheadItemResponse) GetTooltipRegexString(pattern *regexp.Regexp, matchIdx int) string
func (WowheadItemResponse) GetTooltipRegexValue ¶
func (item WowheadItemResponse) GetTooltipRegexValue(pattern *regexp.Regexp, matchIdx int) int
func (WowheadItemResponse) GetUnique ¶
func (item WowheadItemResponse) GetUnique() bool
func (WowheadItemResponse) GetWeaponDamage ¶
func (item WowheadItemResponse) GetWeaponDamage() (float64, float64)
Returns min/max of weapon damage
func (WowheadItemResponse) GetWeaponSkills ¶
func (item WowheadItemResponse) GetWeaponSkills() WeaponSkills
func (WowheadItemResponse) GetWeaponSpeed ¶
func (item WowheadItemResponse) GetWeaponSpeed() float64
func (WowheadItemResponse) GetWeaponType ¶
func (item WowheadItemResponse) GetWeaponType() proto.WeaponType
func (WowheadItemResponse) HasBuff ¶
func (item WowheadItemResponse) HasBuff() bool
func (WowheadItemResponse) IsEquippable ¶
func (item WowheadItemResponse) IsEquippable() bool
func (WowheadItemResponse) IsHeroic ¶
func (item WowheadItemResponse) IsHeroic() bool
func (WowheadItemResponse) IsPattern ¶
func (item WowheadItemResponse) IsPattern() bool
func (WowheadItemResponse) IsRandomEnchant ¶
func (item WowheadItemResponse) IsRandomEnchant() bool
func (WowheadItemResponse) IsScalableArmorSlot ¶
func (item WowheadItemResponse) IsScalableArmorSlot() bool
func (WowheadItemResponse) ToItemProto ¶
func (item WowheadItemResponse) ToItemProto() *proto.UIItem
func (WowheadItemResponse) TooltipWithoutSetBonus ¶
func (item WowheadItemResponse) TooltipWithoutSetBonus() string
type WowheadItemSource ¶
type WowheadItemSource struct {
C int32 `json:"c"`
Name string `json:"n"` // Name of crafting spell
Icon string `json:"icon"` // Icon corresponding to the named entity
EntityID int32 `json:"ti"` // Crafting Spell ID / NPC ID / ?? / Quest ID
ZoneID int32 `json:"z"` // Only for drop / sold by sources
}
type WowheadItemStats ¶
type WowheadItemStats struct {
Armor int32 `json:"armor"`
}
type WowheadRandomSuffix ¶
type WowheadRandomSuffix struct {
ID int32 `json:"id"`
Name string `json:"name"`
Stats WowheadRandomSuffixStats `json:"stats"`
}
func (WowheadRandomSuffix) ToProto ¶
func (wrs WowheadRandomSuffix) ToProto() *proto.ItemRandomSuffix
type WowheadRandomSuffixStats ¶
type WowheadRandomSuffixStats struct {
Armor int32 `json:"armor"`
Strength int32 `json:"str"`
Agility int32 `json:"agi"`
Stamina int32 `json:"sta"`
Intellect int32 `json:"int"`
Spirit int32 `json:"spi"`
SpellPower int32 `json:"spldmg"`
ArcanePower int32 `json:"arcsplpwr"`
FirePower int32 `json:"firsplpwr"`
FrostPower int32 `json:"frosplpwr"`
HolyPower int32 `json:"holsplpwr"`
NaturePower int32 `json:"natsplpwr"`
ShadowPower int32 `json:"shasplpwr"`
MeleeCrit int32 `json:"mlecritstrkpct"`
MP5 int32 `json:"manargn"`
AttackPower int32 `json:"mleatkpwr"`
RangedAttackPower int32 `json:"rgdatkpwr"`
Defense int32 `json:"def"`
Block int32 `json:"blockpct"`
Dodge int32 `json:"dodgepct"`
ArcaneResistance int32 `json:"arcres"`
FireResistance int32 `json:"firres"`
FrostResistance int32 `json:"frores"`
NatureResistance int32 `json:"natres"`
ShadowResistance int32 `json:"shares"`
Healing int32 `json:"splheal"`
}
type WowheadTooltipManager ¶
type WowheadTooltipManager struct {
TooltipManager
}
func NewWowheadItemTooltipManager ¶
func NewWowheadItemTooltipManager(filePath string) *WowheadTooltipManager
func NewWowheadSpellTooltipManager ¶
func NewWowheadSpellTooltipManager(filePath string) *WowheadTooltipManager
func (*WowheadTooltipManager) Read ¶
func (wtm *WowheadTooltipManager) Read() map[int32]WowheadItemResponse
Source Files
¶
Click to show internal directories.
Click to hide internal directories.