Documentation ¶
Index ¶
- type Ban
- type BlockPlayer
- type Champion
- type ChatConfig
- type ChatDomain
- type DefaultStatModsPerSubStyle
- type Game
- type Games
- type Item
- type LCUErrorResponse
- type LcuSocial
- type MatchData
- type MatchHistory
- type Participant
- type ParticipantIdentity
- type Perk
- type PerkStyle
- type PerkStyles
- type PlatformToRegionMap
- type Player
- type ProfileIcon
- type Queue
- type QueueMap
- type RankDetails
- type RankedStats
- type RerollPoints
- type Slots
- type Spell
- type Stats
- type SubStyleBonus
- type Summoner
- type Team
- type Tier
- type Timeline
- type WatcherMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockPlayer ¶
type ChatConfig ¶
type ChatConfig struct { ChatDomain ChatDomain `json:"ChatDomain"` LcuSocial LcuSocial `json:"LcuSocial"` }
type ChatDomain ¶
type Game ¶
type Game struct { GameCreation int `json:"gameCreation"` GameCreationDate string `json:"gameCreationDate"` GameDuration int `json:"gameDuration"` GameId int `json:"gameId"` GameMode string `json:"gameMode"` GameType string `json:"gameType"` GameVersion string `json:"gameVersion"` MapId int `json:"mapId"` ParticipantIdentities []ParticipantIdentity `json:"participantIdentities"` Participants []Participant `json:"participants"` PlatformId string `json:"platformId"` QueueId int `json:"queueId"` SeasonId int `json:"seasonId"` Teams []Team `json:"teams"` }
type Item ¶
type Item struct { Id int `json:"id"` Name string `json:"name"` Description string `json:"description"` Active bool `json:"active"` InStore bool `json:"inStore"` From []int `json:"from"` To []int `json:"to"` Categories []string `json:"categories"` MaxStacks int `json:"maxStacks"` RequiredChampion string `json:"requiredChampion"` RequiredAlly string `json:"requiredAlly"` RequiredBuffCurrencyName string `json:"requiredBuffCurrencyName"` RequiredBuffCurrencyCost int `json:"requiredBuffCurrencyCost"` SpecialRecipe int `json:"specialRecipe"` IsEnchantment bool `json:"isEnchantment"` Price int `json:"price"` PriceTotal int `json:"priceTotal"` IconPath string `json:"iconPath"` }
type LCUErrorResponse ¶
type LcuSocial ¶
type LcuSocial struct { AggressiveScanning bool `json:"AggressiveScanning"` ForceChatFilter bool `json:"ForceChatFilter"` QueueJobGraceSeconds int `json:"QueueJobGraceSeconds"` ReplaceRichMessages bool `json:"ReplaceRichMessages"` SilenceChatWhileInGame bool `json:"SilenceChatWhileInGame"` AllowGroupByGame bool `json:"allowGroupByGame"` GameNameTaglineEnabled bool `json:"gameNameTaglineEnabled"` PlatformToRegionMap PlatformToRegionMap `json:"platformToRegionMap"` }
type MatchData ¶
type MatchData struct { GameCreation int `json:"gameCreation"` GameCreationDate string `json:"gameCreationDate"` GameDuration int `json:"gameDuration"` GameId int `json:"gameId"` GameMode string `json:"gameMode"` GameType string `json:"gameType"` GameVersion string `json:"gameVersion"` MapId int `json:"mapId"` ParticipantIdentities []ParticipantIdentity `json:"participantIdentities"` Participants []Participant `json:"participants"` PlatformId string `json:"platformId"` QueueId int `json:"queueId"` QueueObject Queue `json:"queueOb"` SeasonId int `json:"seasonId"` Teams []Team `json:"teams"` }
type MatchHistory ¶
type Participant ¶
type Participant struct { ChampionId int `json:"championId"` ChampionObject Champion `json:"championOb"` HighestAchievedSeasonTier string `json:"highestAchievedSeasonTier"` ParticipantId int `json:"participantId"` Spell1Id int `json:"spell1Id"` Spell1Object Spell `json:"spell1Ob"` Spell2Id int `json:"spell2Id"` Spell2Object Spell `json:"spell2Ob"` Stats Stats `json:"stats"` TeamId int `json:"teamId"` Timeline Timeline `json:"timeline"` }
type ParticipantIdentity ¶
type Perk ¶
type Perk struct { Id int `json:"id"` Name string `json:"name"` MajorChangePatchVersion string `json:"majorChangePatchVersion"` Tooltip string `json:"tooltip"` ShortDesc string `json:"shortDesc"` LongDesc string `json:"longDesc"` RecommendationDescriptor string `json:"recommendationDescriptor"` IconPath string `json:"iconPath"` EndOfGameStatDescs []string `json:"endOfGameStatDescs"` RecommendationAttributes struct{} `json:"recommendationDescriptorAttributes"` }
type PerkStyle ¶
type PerkStyle struct { Id int `json:"id"` Name string `json:"name"` Tooltip string `json:"tooltip"` IconPath string `json:"iconPath"` AssetMap map[string]string `json:"assetMap"` IsAdvanced bool `json:"isAdvanced"` AllowedSubStyles []int `json:"allowedSubStyles"` SubStyleBonus []SubStyleBonus `json:"subStyleBonus"` Slots []Slots `json:"slots"` DefaultPageName string `json:"defaultPageName"` DefaultSubStyle int `json:"defaultSubStyle"` DefaultPerks []int `json:"defaultPerks"` DefaultPerksWhenSplashed []int `json:"defaultPerksWhenSplashed"` DefaultStatModsPerSubStyle []DefaultStatModsPerSubStyle `json:"defaultStatModsPerSubStyle"` }
type PerkStyles ¶
type PlatformToRegionMap ¶
type Player ¶
type Player struct { AccountId int `json:"accountId"` CurrentAccountId int `json:"currentAccountId"` CurrentPlatformId string `json:"currentPlatformId"` MatchHistoryUri string `json:"matchHistoryUri"` PlatformId string `json:"platformId"` ProfileIcon int `json:"profileIcon"` ProfileIconOb ProfileIcon `json:"profileIconOb"` Puuid string `json:"puuid"` SummonerId int `json:"summonerId"` SummonerName string `json:"summonerName"` }
type ProfileIcon ¶
type QueueMap ¶
type QueueMap struct { CHERRY RankDetails `json:"CHERRY"` RANKEDFLEXSR RankDetails `json:"RANKED_FLEX_SR"` RANKEDSOLO5X5 RankDetails `json:"RANKED_SOLO_5x5"` RANKEDTFT RankDetails `json:"RANKED_TFT"` RANKEDTFTDOUBLEUP RankDetails `json:"RANKED_TFT_DOUBLE_UP"` RANKEDTFTTURBO RankDetails `json:"RANKED_TFT_TURBO"` }
type RankDetails ¶
type RankDetails struct { Division string `json:"division"` HighestDivision string `json:"highestDivision"` HighestTier string `json:"highestTier"` IsProvisional bool `json:"isProvisional"` LeaguePoints int `json:"leaguePoints"` Losses int `json:"losses"` MiniSeriesProgress string `json:"miniSeriesProgress"` PreviousSeasonAchievedDivision string `json:"previousSeasonAchievedDivision"` PreviousSeasonAchievedTier string `json:"previousSeasonAchievedTier"` PreviousSeasonEndDivision string `json:"previousSeasonEndDivision"` PreviousSeasonEndTier string `json:"previousSeasonEndTier"` ProvisionalGameThreshold int `json:"provisionalGameThreshold"` ProvisionalGamesRemaining int `json:"provisionalGamesRemaining"` QueueType string `json:"queueType"` RatedRating int `json:"ratedRating"` RatedTier string `json:"ratedTier"` Tier string `json:"tier"` TierOb Tier `json:"tierOb"` Warnings interface{} `json:"warnings"` // 使用 interface{} 表示可能是任何类型 Wins int `json:"wins"` }
type RankedStats ¶
type RankedStats struct {
QueueMap QueueMap `json:"queueMap"`
}
type RerollPoints ¶
type Stats ¶
type Stats struct { Assists int `json:"assists"` CausedEarlySurrender bool `json:"causedEarlySurrender"` ChampLevel int `json:"champLevel"` CombatPlayerScore int `json:"combatPlayerScore"` DamageDealtToObjectives int `json:"damageDealtToObjectives"` DamageDealtToTurrets int `json:"damageDealtToTurrets"` DamageSelfMitigated int `json:"damageSelfMitigated"` Deaths int `json:"deaths"` DoubleKills int `json:"doubleKills"` EarlySurrenderAccomplice bool `json:"earlySurrenderAccomplice"` FirstBloodAssist bool `json:"firstBloodAssist"` FirstBloodKill bool `json:"firstBloodKill"` FirstInhibitorAssist bool `json:"firstInhibitorAssist"` FirstInhibitorKill bool `json:"firstInhibitorKill"` FirstTowerAssist bool `json:"firstTowerAssist"` FirstTowerKill bool `json:"firstTowerKill"` GameEndedInEarlySurrender bool `json:"gameEndedInEarlySurrender"` GameEndedInSurrender bool `json:"gameEndedInSurrender"` GoldEarned int `json:"goldEarned"` GoldSpent int `json:"goldSpent"` InhibitorKills int `json:"inhibitorKills"` Item0 int `json:"item0"` Item0Object Item `json:"item0Ob"` Item1 int `json:"item1"` Item1Object Item `json:"item1Ob"` Item2 int `json:"item2"` Item2Object Item `json:"item2Ob"` Item3 int `json:"item3"` Item3Object Item `json:"item3Ob"` Item4 int `json:"item4"` Item4Object Item `json:"item4Ob"` Item5 int `json:"item5"` Item5Object Item `json:"item5Ob"` Item6 int `json:"item6"` Item6Object Item `json:"item6Ob"` KillingSprees int `json:"killingSprees"` Kills int `json:"kills"` LargestCriticalStrike int `json:"largestCriticalStrike"` LargestKillingSpree int `json:"largestKillingSpree"` LargestMultiKill int `json:"largestMultiKill"` LongestTimeSpentLiving int `json:"longestTimeSpentLiving"` MagicDamageDealt int `json:"magicDamageDealt"` MagicDamageDealtToChampions int `json:"magicDamageDealtToChampions"` MagicalDamageTaken int `json:"magicalDamageTaken"` NeutralMinionsKilled int `json:"neutralMinionsKilled"` NeutralMinionsKilledEnemyJungle int `json:"neutralMinionsKilledEnemyJungle"` NeutralMinionsKilledTeamJungle int `json:"neutralMinionsKilledTeamJungle"` ObjectivePlayerScore int `json:"objectivePlayerScore"` ParticipantId int `json:"participantId"` PentaKills int `json:"pentaKills"` Perk0 int `json:"perk0"` Perk0Object Perk `json:"perk0Ob"` Perk0Var1 int `json:"perk0Var1"` Perk0Var2 int `json:"perk0Var2"` Perk0Var3 int `json:"perk0Var3"` Perk1 int `json:"perk1"` Perk1Var1 int `json:"perk1Var1"` Perk1Var2 int `json:"perk1Var2"` Perk1Var3 int `json:"perk1Var3"` Perk2 int `json:"perk2"` Perk2Var1 int `json:"perk2Var1"` Perk2Var2 int `json:"perk2Var2"` Perk2Var3 int `json:"perk2Var3"` Perk3 int `json:"perk3"` Perk3Var1 int `json:"perk3Var1"` Perk3Var2 int `json:"perk3Var2"` Perk3Var3 int `json:"perk3Var3"` Perk4 int `json:"perk4"` Perk4Var1 int `json:"perk4Var1"` Perk4Var2 int `json:"perk4Var2"` Perk4Var3 int `json:"perk4Var3"` Perk5 int `json:"perk5"` Perk5Var1 int `json:"perk5Var1"` Perk5Var2 int `json:"perk5Var2"` Perk5Var3 int `json:"perk5Var3"` PerkPrimaryStyle int `json:"perkPrimaryStyle"` PerkSubStyle int `json:"perkSubStyle"` PerkSubStyleObject PerkStyle `json:"perkSubStyleOb"` PhysicalDamageDealt int `json:"physicalDamageDealt"` PhysicalDamageDealtToChampions int `json:"physicalDamageDealtToChampions"` PhysicalDamageTaken int `json:"physicalDamageTaken"` PlayerScore0 int `json:"playerScore0"` PlayerScore1 int `json:"playerScore1"` PlayerScore2 int `json:"playerScore2"` PlayerScore3 int `json:"playerScore3"` PlayerScore4 int `json:"playerScore4"` PlayerScore5 int `json:"playerScore5"` PlayerScore6 int `json:"playerScore6"` PlayerScore7 int `json:"playerScore7"` PlayerScore8 int `json:"playerScore8"` PlayerScore9 int `json:"playerScore9"` QuadraKills int `json:"quadraKills"` SightWardsBoughtInGame int `json:"sightWardsBoughtInGame"` TeamEarlySurrendered bool `json:"teamEarlySurrendered"` TimeCCingOthers int `json:"timeCCingOthers"` TotalDamageDealt int `json:"totalDamageDealt"` TotalDamageDealtToChampions int `json:"totalDamageDealtToChampions"` TotalDamageTaken int `json:"totalDamageTaken"` TotalHeal int `json:"totalHeal"` TotalMinionsKilled int `json:"totalMinionsKilled"` TotalPlayerScore int `json:"totalPlayerScore"` TotalScoreRank int `json:"totalScoreRank"` TotalTimeCrowdControlDealt int `json:"totalTimeCrowdControlDealt"` TotalUnitsHealed int `json:"totalUnitsHealed"` TripleKills int `json:"tripleKills"` TrueDamageDealt int `json:"trueDamageDealt"` TrueDamageDealtToChampions int `json:"trueDamageDealtToChampions"` TrueDamageTaken int `json:"trueDamageTaken"` TurretKills int `json:"turretKills"` UnrealKills int `json:"unrealKills"` VisionScore int `json:"visionScore"` VisionWardsBoughtInGame int `json:"visionWardsBoughtInGame"` WardsKilled int `json:"wardsKilled"` WardsPlaced int `json:"wardsPlaced"` Win bool `json:"win"` }
type SubStyleBonus ¶
type Summoner ¶
type Summoner struct { AccountId int `json:"accountId"` DisplayName string `json:"displayName"` GameName string `json:"gameName"` InternalName string `json:"internalName"` NameChangeFlag bool `json:"nameChangeFlag"` PercentCompleteForNextLevel int `json:"percentCompleteForNextLevel"` Privacy string `json:"privacy"` ProfileIconOb ProfileIcon `json:"profileIconOb"` ProfileIconId int `json:"profileIconId"` Puuid string `json:"puuid"` RerollPoints RerollPoints `json:"rerollPoints"` SummonerId int `json:"summonerId"` SummonerLevel int `json:"summonerLevel"` TagLine string `json:"tagLine"` Unnamed bool `json:"unnamed"` XpSinceLastLevel int `json:"xpSinceLastLevel"` XpUntilNextLevel int `json:"xpUntilNextLevel"` }
type Team ¶
type Team struct { Bans []Ban `json:"bans"` BaronKills int `json:"baronKills"` DominionVictoryScore int `json:"dominionVictoryScore"` DragonKills int `json:"dragonKills"` FirstBaron bool `json:"firstBaron"` FirstBlood bool `json:"firstBlood"` FirstDragon bool `json:"firstDragon"` FirstInhibitor bool `json:"firstInhibitor"` FirstTower bool `json:"firstTower"` InhibitorKills int `json:"inhibitorKills"` RiftHeraldKills int `json:"riftHeraldKills"` TeamId int `json:"teamId"` TowerKills int `json:"towerKills"` VilemawKills int `json:"vilemawKills"` Win string `json:"win"` }
type Timeline ¶
type Timeline struct { CreepsPerMinDeltas map[string]float64 `json:"creepsPerMinDeltas"` CsDiffPerMinDeltas map[string]float64 `json:"csDiffPerMinDeltas"` DamageTakenDiffPerMinDeltas map[string]float64 `json:"damageTakenDiffPerMinDeltas"` DamageTakenPerMinDeltas map[string]float64 `json:"damageTakenPerMinDeltas"` GoldPerMinDeltas map[string]float64 `json:"goldPerMinDeltas"` Lane string `json:"lane"` Role string `json:"role"` ParticipantId int `json:"participantId"` XpDiffPerMinDeltas map[string]float64 `json:"xpDiffPerMinDeltas"` XpPerMinDeltas map[string]float64 `json:"xpPerMinDeltas"` }
type WatcherMsg ¶
Click to show internal directories.
Click to hide internal directories.