Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hero ¶
type Hero struct {
HeroId string `json:"heroId"`
Name string `json:"name"`
Alias string `json:"alias"`
Title string `json:"title"`
Roles []string `json:"roles"`
IsWeekFree string `json:"isWeekFree"`
Attack string `json:"attack"`
Defense string `json:"defense"`
Magic string `json:"magic"`
Difficulty string `json:"difficulty"`
SelectAudio string `json:"selectAudio"`
BanAudio string `json:"banAudio"`
IsARAMweekfree string `json:"isARAMweekfree"`
Ispermanentweekfree string `json:"ispermanentweekfree"`
ChangeLabel string `json:"changeLabel"`
GoldPrice string `json:"goldPrice"`
CouponPrice string `json:"couponPrice"`
Camp string `json:"camp"`
CampId string `json:"campId"`
Keywords string `json:"keywords"`
InstanceId string `json:"instance_id"`
Yt []YuanTu
Zl X
}
func GetLolHeroForName ¶
type T ¶
type T struct {
Hero []Hero `json:"hero"`
Version string `json:"version"`
FileName string `json:"fileName"`
FileTime string `json:"fileTime"`
}
var (
Data T
)
type X ¶
type X struct {
Hero struct {
HeroId string `json:"heroId"`
Name string `json:"name"`
Alias string `json:"alias"`
Title string `json:"title"`
Roles []string `json:"roles"`
Camp string `json:"camp"`
CampId string `json:"campId"`
Attack string `json:"attack"`
Defense string `json:"defense"`
Magic string `json:"magic"`
Difficulty string `json:"difficulty"`
Hp string `json:"hp"`
Hpperlevel string `json:"hpperlevel"`
Mp string `json:"mp"`
Mpperlevel string `json:"mpperlevel"`
Movespeed string `json:"movespeed"`
Armor string `json:"armor"`
Armorperlevel string `json:"armorperlevel"`
Spellblock string `json:"spellblock"`
Spellblockperlevel string `json:"spellblockperlevel"`
Attackrange string `json:"attackrange"`
Hpregen string `json:"hpregen"`
Hpregenperlevel string `json:"hpregenperlevel"`
Mpregen string `json:"mpregen"`
Mpregenperlevel string `json:"mpregenperlevel"`
Crit string `json:"crit"`
Critperlevel string `json:"critperlevel"`
Attackdamage string `json:"attackdamage"`
Attackdamageperlevel string `json:"attackdamageperlevel"`
Attackspeed string `json:"attackspeed"`
Attackspeedperlevel string `json:"attackspeedperlevel"`
HeroVideoPath string `json:"heroVideoPath"`
IsWeekFree string `json:"isWeekFree"`
DamageType string `json:"damageType"`
Style string `json:"style"`
DifficultyL string `json:"difficultyL"`
Damage string `json:"damage"`
Durability string `json:"durability"`
CrowdControl string `json:"crowdControl"`
Mobility string `json:"mobility"`
Utility string `json:"utility"`
SelectAudio string `json:"selectAudio"`
BanAudio string `json:"banAudio"`
ChangeLabel string `json:"changeLabel"`
GoldPrice string `json:"goldPrice"`
CouponPrice string `json:"couponPrice"`
Keywords string `json:"keywords"`
Introduce string `json:"introduce"`
PalmHeroHeadImg string `json:"palmHeroHeadImg"`
Relations []interface{} `json:"relations"`
} `json:"hero"`
Skins []struct {
SkinId string `json:"skinId"`
HeroId string `json:"heroId"`
HeroName string `json:"heroName"`
HeroTitle string `json:"heroTitle"`
Name string `json:"name"`
Chromas string `json:"chromas"`
ChromasBelongId string `json:"chromasBelongId"`
IsBase string `json:"isBase"`
EmblemsName string `json:"emblemsName"`
MainImg string `json:"mainImg"`
IconImg string `json:"iconImg"`
LoadingImg string `json:"loadingImg"`
VideoImg string `json:"videoImg"`
SourceImg string `json:"sourceImg"`
VedioPath string `json:"vedioPath"`
SuitType string `json:"suitType"`
PublishTime string `json:"publishTime"`
ChromaImg string `json:"chromaImg"`
} `json:"skins"`
Spells []struct {
HeroId string `json:"heroId"`
SpellKey string `json:"spellKey"`
Name string `json:"name"`
Description string `json:"description"`
AbilityIconPath string `json:"abilityIconPath"`
AbilityVideoPath string `json:"abilityVideoPath"`
DynamicDescription string `json:"dynamicDescription"`
Cost interface{} `json:"cost"`
Costburn string `json:"costburn"`
Cooldown interface{} `json:"cooldown"`
Cooldownburn string `json:"cooldownburn"`
Range interface{} `json:"range"`
} `json:"spells"`
Version string `json:"version"`
FileName string `json:"fileName"`
FileTime string `json:"fileTime"`
}
Click to show internal directories.
Click to hide internal directories.