Documentation ¶
Index ¶
- Variables
- type AbilityID
- type AccountID
- type BuildingState
- type BuildingType
- func (BuildingType) Descriptor() protoreflect.EnumDescriptor
- func (x BuildingType) Enum() *BuildingType
- func (BuildingType) EnumDescriptor() ([]byte, []int)deprecated
- func (x BuildingType) Number() protoreflect.EnumNumber
- func (x BuildingType) String() string
- func (BuildingType) Type() protoreflect.EnumType
- type CDNLeagueImageVersion
- func (CDNLeagueImageVersion) Descriptor() protoreflect.EnumDescriptor
- func (x CDNLeagueImageVersion) Enum() *CDNLeagueImageVersion
- func (CDNLeagueImageVersion) EnumDescriptor() ([]byte, []int)deprecated
- func (x CDNLeagueImageVersion) Number() protoreflect.EnumNumber
- func (x CDNLeagueImageVersion) String() string
- func (CDNLeagueImageVersion) Type() protoreflect.EnumType
- type CollectionOp
- func (CollectionOp) Descriptor() protoreflect.EnumDescriptor
- func (x CollectionOp) Enum() *CollectionOp
- func (CollectionOp) EnumDescriptor() ([]byte, []int)deprecated
- func (x CollectionOp) Number() protoreflect.EnumNumber
- func (x CollectionOp) String() string
- func (CollectionOp) Type() protoreflect.EnumType
- type DotaAttribute
- func (DotaAttribute) Descriptor() protoreflect.EnumDescriptor
- func (x DotaAttribute) Enum() *DotaAttribute
- func (DotaAttribute) EnumDescriptor() ([]byte, []int)deprecated
- func (x DotaAttribute) Number() protoreflect.EnumNumber
- func (x DotaAttribute) String() string
- func (DotaAttribute) Type() protoreflect.EnumType
- type DotaUnitCap
- func (DotaUnitCap) Descriptor() protoreflect.EnumDescriptor
- func (x DotaUnitCap) Enum() *DotaUnitCap
- func (DotaUnitCap) EnumDescriptor() ([]byte, []int)deprecated
- func (x DotaUnitCap) Number() protoreflect.EnumNumber
- func (x DotaUnitCap) String() string
- func (DotaUnitCap) Type() protoreflect.EnumType
- type FantasyRole
- func (FantasyRole) Descriptor() protoreflect.EnumDescriptor
- func (x FantasyRole) Enum() *FantasyRole
- func (FantasyRole) EnumDescriptor() ([]byte, []int)deprecated
- func (x FantasyRole) Number() protoreflect.EnumNumber
- func (x FantasyRole) String() string
- func (FantasyRole) Type() protoreflect.EnumType
- type GameMode
- type GamePlayerIndex
- type GamePlayerSlot
- type GameState
- type GameTeam
- type Hero
- func (*Hero) Descriptor() ([]byte, []int)deprecated
- func (x *Hero) GetAliases() []string
- func (x *Hero) GetAttackCapabilities() DotaUnitCap
- func (x *Hero) GetAttributePrimary() DotaAttribute
- func (x *Hero) GetComplexity() int64
- func (x *Hero) GetId() uint64
- func (x *Hero) GetLegs() int64
- func (x *Hero) GetLocalizedName() string
- func (x *Hero) GetName() string
- func (x *Hero) GetRoleLevels() []int64
- func (x *Hero) GetRoles() []HeroRole
- func (x *Hero) GetSlug() string
- func (*Hero) ProtoMessage()
- func (x *Hero) ProtoReflect() protoreflect.Message
- func (x *Hero) Reset()
- func (x *Hero) String() string
- type HeroID
- type HeroMatches
- func (*HeroMatches) Descriptor() ([]byte, []int)deprecated
- func (x *HeroMatches) GetHero() *Hero
- func (x *HeroMatches) GetKnownPlayers() []*Player
- func (x *HeroMatches) GetMatches() []*Match
- func (*HeroMatches) ProtoMessage()
- func (x *HeroMatches) ProtoReflect() protoreflect.Message
- func (x *HeroMatches) Reset()
- func (x *HeroMatches) String() string
- type HeroRole
- type Heroes
- type ItemID
- type LaneType
- type League
- func (*League) Descriptor() ([]byte, []int)deprecated
- func (x *League) GetFinishAt() *timestamp.Timestamp
- func (x *League) GetId() uint64
- func (x *League) GetLastActivityAt() *timestamp.Timestamp
- func (x *League) GetName() string
- func (x *League) GetRegion() LeagueRegion
- func (x *League) GetStartAt() *timestamp.Timestamp
- func (x *League) GetStatus() LeagueStatus
- func (x *League) GetTier() LeagueTier
- func (x *League) GetTotalPrizePool() uint32
- func (*League) ProtoMessage()
- func (x *League) ProtoReflect() protoreflect.Message
- func (x *League) Reset()
- func (x *League) String() string
- type LeagueID
- type LeagueNodeID
- type LeagueRegion
- func (LeagueRegion) Descriptor() protoreflect.EnumDescriptor
- func (x LeagueRegion) Enum() *LeagueRegion
- func (LeagueRegion) EnumDescriptor() ([]byte, []int)deprecated
- func (x LeagueRegion) Number() protoreflect.EnumNumber
- func (x LeagueRegion) String() string
- func (LeagueRegion) Type() protoreflect.EnumType
- type LeagueStatus
- func (LeagueStatus) Descriptor() protoreflect.EnumDescriptor
- func (x LeagueStatus) Enum() *LeagueStatus
- func (LeagueStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x LeagueStatus) Number() protoreflect.EnumNumber
- func (x LeagueStatus) String() string
- func (LeagueStatus) Type() protoreflect.EnumType
- type LeagueTier
- type LeagueTierCategory
- func (LeagueTierCategory) Descriptor() protoreflect.EnumDescriptor
- func (x LeagueTierCategory) Enum() *LeagueTierCategory
- func (LeagueTierCategory) EnumDescriptor() ([]byte, []int)deprecated
- func (x LeagueTierCategory) Number() protoreflect.EnumNumber
- func (x LeagueTierCategory) String() string
- func (LeagueTierCategory) Type() protoreflect.EnumType
- type Leagues
- type LiveMatch
- func (*LiveMatch) Descriptor() ([]byte, []int)deprecated
- func (x *LiveMatch) GetActivateTime() *timestamp.Timestamp
- func (x *LiveMatch) GetAverageMmr() uint32
- func (x *LiveMatch) GetBuildingState() uint32
- func (x *LiveMatch) GetDeactivateTime() *timestamp.Timestamp
- func (x *LiveMatch) GetDelay() uint32
- func (x *LiveMatch) GetDireNetWorth() uint32
- func (x *LiveMatch) GetDireScore() uint32
- func (x *LiveMatch) GetDireTeamId() uint64
- func (x *LiveMatch) GetDireTeamLogo() uint64
- func (x *LiveMatch) GetDireTeamLogoUrl() string
- func (x *LiveMatch) GetDireTeamName() string
- func (x *LiveMatch) GetDireTeamTag() string
- func (x *LiveMatch) GetGameMode() GameMode
- func (x *LiveMatch) GetGameState() GameState
- func (x *LiveMatch) GetGameTime() int32
- func (x *LiveMatch) GetGameTimestamp() uint32
- func (x *LiveMatch) GetLastUpdateTime() *timestamp.Timestamp
- func (x *LiveMatch) GetLeagueId() uint64
- func (x *LiveMatch) GetLobbyId() uint64
- func (x *LiveMatch) GetLobbyType() LobbyType
- func (x *LiveMatch) GetMatchId() uint64
- func (x *LiveMatch) GetPlayers() []*LiveMatch_Player
- func (x *LiveMatch) GetRadiantLead() int32
- func (x *LiveMatch) GetRadiantNetWorth() uint32
- func (x *LiveMatch) GetRadiantScore() uint32
- func (x *LiveMatch) GetRadiantTeamId() uint64
- func (x *LiveMatch) GetRadiantTeamLogo() uint64
- func (x *LiveMatch) GetRadiantTeamLogoUrl() string
- func (x *LiveMatch) GetRadiantTeamName() string
- func (x *LiveMatch) GetRadiantTeamTag() string
- func (x *LiveMatch) GetSeriesId() uint64
- func (x *LiveMatch) GetServerId() uint64
- func (x *LiveMatch) GetSortScore() float64
- func (x *LiveMatch) GetSpectators() uint32
- func (x *LiveMatch) GetWeekendTourneyBracketRound() uint32
- func (x *LiveMatch) GetWeekendTourneyDivision() uint32
- func (x *LiveMatch) GetWeekendTourneySkillLevel() uint32
- func (x *LiveMatch) GetWeekendTourneyTournamentId() uint32
- func (*LiveMatch) ProtoMessage()
- func (x *LiveMatch) ProtoReflect() protoreflect.Message
- func (x *LiveMatch) Reset()
- func (x *LiveMatch) String() string
- type LiveMatch_Player
- func (*LiveMatch_Player) Descriptor() ([]byte, []int)deprecated
- func (x *LiveMatch_Player) GetAccountId() uint32
- func (x *LiveMatch_Player) GetAssists() uint32
- func (x *LiveMatch_Player) GetAvatarFullUrl() string
- func (x *LiveMatch_Player) GetAvatarMediumUrl() string
- func (x *LiveMatch_Player) GetAvatarUrl() string
- func (x *LiveMatch_Player) GetDeaths() uint32
- func (x *LiveMatch_Player) GetDenies() uint32
- func (x *LiveMatch_Player) GetGold() uint32
- func (x *LiveMatch_Player) GetHeroId() uint64
- func (x *LiveMatch_Player) GetIsPro() bool
- func (x *LiveMatch_Player) GetKills() uint32
- func (x *LiveMatch_Player) GetLabel() string
- func (x *LiveMatch_Player) GetLastHits() uint32
- func (x *LiveMatch_Player) GetLevel() uint32
- func (x *LiveMatch_Player) GetName() string
- func (x *LiveMatch_Player) GetNetWorth() uint32
- func (x *LiveMatch_Player) GetPersonaName() string
- func (x *LiveMatch_Player) GetPlayerSlot() uint32
- func (x *LiveMatch_Player) GetSlug() string
- func (x *LiveMatch_Player) GetTeam() GameTeam
- func (*LiveMatch_Player) ProtoMessage()
- func (x *LiveMatch_Player) ProtoReflect() protoreflect.Message
- func (x *LiveMatch_Player) Reset()
- func (x *LiveMatch_Player) String() string
- type LiveMatches
- type LiveMatchesChange
- func (*LiveMatchesChange) Descriptor() ([]byte, []int)deprecated
- func (x *LiveMatchesChange) GetChange() *LiveMatches
- func (x *LiveMatchesChange) GetOp() CollectionOp
- func (*LiveMatchesChange) ProtoMessage()
- func (x *LiveMatchesChange) ProtoReflect() protoreflect.Message
- func (x *LiveMatchesChange) Reset()
- func (x *LiveMatchesChange) String() string
- type LobbyID
- type LobbyType
- type Match
- func (*Match) Descriptor() ([]byte, []int)deprecated
- func (x *Match) GetActivateTime() *timestamp.Timestamp
- func (x *Match) GetAverageMmr() uint32
- func (x *Match) GetDeactivateTime() *timestamp.Timestamp
- func (x *Match) GetDireScore() uint32
- func (x *Match) GetDireTeamId() uint64
- func (x *Match) GetDireTeamLogo() uint64
- func (x *Match) GetDireTeamLogoUrl() string
- func (x *Match) GetDireTeamName() string
- func (x *Match) GetDireTeamTag() string
- func (x *Match) GetDuration() uint32
- func (x *Match) GetGameMode() GameMode
- func (x *Match) GetLastUpdateTime() *timestamp.Timestamp
- func (x *Match) GetLeagueId() uint64
- func (x *Match) GetLobbyId() uint64
- func (x *Match) GetLobbyType() LobbyType
- func (x *Match) GetMatchId() uint64
- func (x *Match) GetOutcome() MatchOutcome
- func (x *Match) GetPlayers() []*Match_Player
- func (x *Match) GetRadiantScore() uint32
- func (x *Match) GetRadiantTeamId() uint64
- func (x *Match) GetRadiantTeamLogo() uint64
- func (x *Match) GetRadiantTeamLogoUrl() string
- func (x *Match) GetRadiantTeamName() string
- func (x *Match) GetRadiantTeamTag() string
- func (x *Match) GetSeriesGame() uint32
- func (x *Match) GetSeriesId() uint64
- func (x *Match) GetSeriesType() uint32
- func (x *Match) GetStartTime() *timestamp.Timestamp
- func (*Match) ProtoMessage()
- func (x *Match) ProtoReflect() protoreflect.Message
- func (x *Match) Reset()
- func (x *Match) String() string
- type MatchID
- type MatchOutcome
- func (MatchOutcome) Descriptor() protoreflect.EnumDescriptor
- func (x MatchOutcome) Enum() *MatchOutcome
- func (MatchOutcome) EnumDescriptor() ([]byte, []int)deprecated
- func (x MatchOutcome) Number() protoreflect.EnumNumber
- func (x MatchOutcome) String() string
- func (MatchOutcome) Type() protoreflect.EnumType
- type Match_Player
- func (*Match_Player) Descriptor() ([]byte, []int)deprecated
- func (x *Match_Player) GetAccountId() uint32
- func (x *Match_Player) GetAssists() uint32
- func (x *Match_Player) GetDeaths() uint32
- func (x *Match_Player) GetHeroId() uint64
- func (x *Match_Player) GetItems() []uint64
- func (x *Match_Player) GetKills() uint32
- func (x *Match_Player) GetPlayerSlot() uint32
- func (x *Match_Player) GetProName() string
- func (*Match_Player) ProtoMessage()
- func (x *Match_Player) ProtoReflect() protoreflect.Message
- func (x *Match_Player) Reset()
- func (x *Match_Player) String() string
- type Player
- func (*Player) Descriptor() ([]byte, []int)deprecated
- func (x *Player) GetAccountId() uint32
- func (x *Player) GetAvatarFullUrl() string
- func (x *Player) GetAvatarMediumUrl() string
- func (x *Player) GetAvatarUrl() string
- func (x *Player) GetIsPro() bool
- func (x *Player) GetName() string
- func (x *Player) GetPersonaName() string
- func (x *Player) GetSlug() string
- func (x *Player) GetTeam() *Team
- func (*Player) ProtoMessage()
- func (x *Player) ProtoReflect() protoreflect.Message
- func (x *Player) Reset()
- func (x *Player) String() string
- type PlayerMatches
- func (*PlayerMatches) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerMatches) GetKnownPlayers() []*Player
- func (x *PlayerMatches) GetMatches() []*Match
- func (x *PlayerMatches) GetPlayer() *Player
- func (*PlayerMatches) ProtoMessage()
- func (x *PlayerMatches) ProtoReflect() protoreflect.Message
- func (x *PlayerMatches) Reset()
- func (x *PlayerMatches) String() string
- type Search
- type Search_Player
- func (*Search_Player) Descriptor() ([]byte, []int)deprecated
- func (x *Search_Player) GetAccountId() uint32
- func (x *Search_Player) GetAvatarFullUrl() string
- func (x *Search_Player) GetAvatarMediumUrl() string
- func (x *Search_Player) GetAvatarUrl() string
- func (x *Search_Player) GetIsPro() bool
- func (x *Search_Player) GetName() string
- func (x *Search_Player) GetPersonaName() string
- func (x *Search_Player) GetSlug() string
- func (*Search_Player) ProtoMessage()
- func (x *Search_Player) ProtoReflect() protoreflect.Message
- func (x *Search_Player) Reset()
- func (x *Search_Player) String() string
- type SeriesID
- type SeriesType
- type SteamAccountFlags
- type SteamID
- type Team
- func (*Team) Descriptor() ([]byte, []int)deprecated
- func (x *Team) GetId() uint64
- func (x *Team) GetLogoUrl() string
- func (x *Team) GetName() string
- func (x *Team) GetTag() string
- func (*Team) ProtoMessage()
- func (x *Team) ProtoReflect() protoreflect.Message
- func (x *Team) Reset()
- func (x *Team) String() string
- type TeamID
Constants ¶
This section is empty.
Variables ¶
var ( CollectionOp_name = map[int32]string{ 0: "COLLECTION_OP_UNSPECIFIED", 1: "COLLECTION_OP_REPLACE", 2: "COLLECTION_OP_ADD", 3: "COLLECTION_OP_UPDATE", 4: "COLLECTION_OP_REMOVE", } CollectionOp_value = map[string]int32{ "COLLECTION_OP_UNSPECIFIED": 0, "COLLECTION_OP_REPLACE": 1, "COLLECTION_OP_ADD": 2, "COLLECTION_OP_UPDATE": 3, "COLLECTION_OP_REMOVE": 4, } )
Enum value maps for CollectionOp.
var ( LobbyType_name = map[int32]string{ 0: "LOBBY_TYPE_CASUAL_MATCH", 1: "LOBBY_TYPE_PRACTICE", 4: "LOBBY_TYPE_COOP_BOT_MATCH", 5: "LOBBY_TYPE_LEGACY_TEAM_MATCH", 6: "LOBBY_TYPE_LEGACY_SOLO_QUEUE_MATCH", 7: "LOBBY_TYPE_COMPETITIVE_MATCH", 8: "LOBBY_TYPE_CASUAL_1V1_MATCH", 9: "LOBBY_TYPE_WEEKEND_TOURNEY", 10: "LOBBY_TYPE_LOCAL_BOT_MATCH", 11: "LOBBY_TYPE_SPECTATOR", 12: "LOBBY_TYPE_EVENT_MATCH", } LobbyType_value = map[string]int32{ "LOBBY_TYPE_CASUAL_MATCH": 0, "LOBBY_TYPE_PRACTICE": 1, "LOBBY_TYPE_COOP_BOT_MATCH": 4, "LOBBY_TYPE_LEGACY_TEAM_MATCH": 5, "LOBBY_TYPE_LEGACY_SOLO_QUEUE_MATCH": 6, "LOBBY_TYPE_COMPETITIVE_MATCH": 7, "LOBBY_TYPE_CASUAL_1V1_MATCH": 8, "LOBBY_TYPE_WEEKEND_TOURNEY": 9, "LOBBY_TYPE_LOCAL_BOT_MATCH": 10, "LOBBY_TYPE_SPECTATOR": 11, "LOBBY_TYPE_EVENT_MATCH": 12, } )
Enum value maps for LobbyType.
var ( GameMode_name = map[int32]string{ 0: "GAME_MODE_NONE", 1: "GAME_MODE_AP", 2: "GAME_MODE_CM", 3: "GAME_MODE_RD", 4: "GAME_MODE_SD", 5: "GAME_MODE_AR", 6: "GAME_MODE_INTRO", 7: "GAME_MODE_HW", 8: "GAME_MODE_REVERSE_CM", 9: "GAME_MODE_XMAS", 10: "GAME_MODE_TUTORIAL", 11: "GAME_MODE_MO", 12: "GAME_MODE_LP", 13: "GAME_MODE_POOL1", 14: "GAME_MODE_FH", 15: "GAME_MODE_CUSTOM", 16: "GAME_MODE_CD", 17: "GAME_MODE_BD", 18: "GAME_MODE_ABILITY_DRAFT", 19: "GAME_MODE_EVENT", 20: "GAME_MODE_ARDM", 21: "GAME_MODE_1V1_MID", 22: "GAME_MODE_ALL_DRAFT", 23: "GAME_MODE_TURBO", 24: "GAME_MODE_MUTATION", 25: "GAME_MODE_COACHES_CHALLENGE", } GameMode_value = map[string]int32{ "GAME_MODE_NONE": 0, "GAME_MODE_AP": 1, "GAME_MODE_CM": 2, "GAME_MODE_RD": 3, "GAME_MODE_SD": 4, "GAME_MODE_AR": 5, "GAME_MODE_INTRO": 6, "GAME_MODE_HW": 7, "GAME_MODE_REVERSE_CM": 8, "GAME_MODE_XMAS": 9, "GAME_MODE_TUTORIAL": 10, "GAME_MODE_MO": 11, "GAME_MODE_LP": 12, "GAME_MODE_POOL1": 13, "GAME_MODE_FH": 14, "GAME_MODE_CUSTOM": 15, "GAME_MODE_CD": 16, "GAME_MODE_BD": 17, "GAME_MODE_ABILITY_DRAFT": 18, "GAME_MODE_EVENT": 19, "GAME_MODE_ARDM": 20, "GAME_MODE_1V1_MID": 21, "GAME_MODE_ALL_DRAFT": 22, "GAME_MODE_TURBO": 23, "GAME_MODE_MUTATION": 24, "GAME_MODE_COACHES_CHALLENGE": 25, } )
Enum value maps for GameMode.
var ( GameState_name = map[int32]string{ 0: "GAME_STATE_INIT", 1: "GAME_STATE_WAIT_FOR_PLAYERS_TO_LOAD", 2: "GAME_STATE_HERO_SELECTION", 3: "GAME_STATE_STRATEGY_TIME", 4: "GAME_STATE_PRE_GAME", 5: "GAME_STATE_GAME_IN_PROGRESS", 6: "GAME_STATE_POST_GAME", 7: "GAME_STATE_DISCONNECT", 8: "GAME_STATE_TEAM_SHOWCASE", 9: "GAME_STATE_CUSTOM_GAME_SETUP", 10: "GAME_STATE_WAIT_FOR_MAP_TO_LOAD", 11: "GAME_STATE_LAST", } GameState_value = map[string]int32{ "GAME_STATE_INIT": 0, "GAME_STATE_WAIT_FOR_PLAYERS_TO_LOAD": 1, "GAME_STATE_HERO_SELECTION": 2, "GAME_STATE_STRATEGY_TIME": 3, "GAME_STATE_PRE_GAME": 4, "GAME_STATE_GAME_IN_PROGRESS": 5, "GAME_STATE_POST_GAME": 6, "GAME_STATE_DISCONNECT": 7, "GAME_STATE_TEAM_SHOWCASE": 8, "GAME_STATE_CUSTOM_GAME_SETUP": 9, "GAME_STATE_WAIT_FOR_MAP_TO_LOAD": 10, "GAME_STATE_LAST": 11, } )
Enum value maps for GameState.
var ( GameTeam_name = map[int32]string{ 0: "GAME_TEAM_UNKNOWN", 2: "GAME_TEAM_GOODGUYS", 3: "GAME_TEAM_BADGUYS", 4: "GAME_TEAM_NEUTRALS", 5: "GAME_TEAM_NOTEAM", 6: "GAME_TEAM_CUSTOM1", 7: "GAME_TEAM_CUSTOM2", 8: "GAME_TEAM_CUSTOM3", 9: "GAME_TEAM_CUSTOM4", 10: "GAME_TEAM_CUSTOM5", 11: "GAME_TEAM_CUSTOM6", 12: "GAME_TEAM_CUSTOM7", 13: "GAME_TEAM_CUSTOM8", } GameTeam_value = map[string]int32{ "GAME_TEAM_UNKNOWN": 0, "GAME_TEAM_GOODGUYS": 2, "GAME_TEAM_BADGUYS": 3, "GAME_TEAM_NEUTRALS": 4, "GAME_TEAM_NOTEAM": 5, "GAME_TEAM_CUSTOM1": 6, "GAME_TEAM_CUSTOM2": 7, "GAME_TEAM_CUSTOM3": 8, "GAME_TEAM_CUSTOM4": 9, "GAME_TEAM_CUSTOM5": 10, "GAME_TEAM_CUSTOM6": 11, "GAME_TEAM_CUSTOM7": 12, "GAME_TEAM_CUSTOM8": 13, } )
Enum value maps for GameTeam.
var ( BuildingType_name = map[int32]string{ 0: "BUILDING_TYPE_TOWER", 1: "BUILDING_TYPE_BARRACKS", 2: "BUILDING_TYPE_ANCIENT", } BuildingType_value = map[string]int32{ "BUILDING_TYPE_TOWER": 0, "BUILDING_TYPE_BARRACKS": 1, "BUILDING_TYPE_ANCIENT": 2, } )
Enum value maps for BuildingType.
var ( FantasyRole_name = map[int32]string{ 0: "FANTASY_ROLE_UNDEFINED", 1: "FANTASY_ROLE_CORE", 2: "FANTASY_ROLE_SUPPORT", 3: "FANTASY_ROLE_OFFLANE", 4: "FANTASY_ROLE_MID", } FantasyRole_value = map[string]int32{ "FANTASY_ROLE_UNDEFINED": 0, "FANTASY_ROLE_CORE": 1, "FANTASY_ROLE_SUPPORT": 2, "FANTASY_ROLE_OFFLANE": 3, "FANTASY_ROLE_MID": 4, } )
Enum value maps for FantasyRole.
var ( LaneType_name = map[int32]string{ 0: "LANE_TYPE_UNKNOWN", 1: "LANE_TYPE_SAFE", 2: "LANE_TYPE_OFF", 3: "LANE_TYPE_MID", 4: "LANE_TYPE_JUNGLE", 5: "LANE_TYPE_ROAM", } LaneType_value = map[string]int32{ "LANE_TYPE_UNKNOWN": 0, "LANE_TYPE_SAFE": 1, "LANE_TYPE_OFF": 2, "LANE_TYPE_MID": 3, "LANE_TYPE_JUNGLE": 4, "LANE_TYPE_ROAM": 5, } )
Enum value maps for LaneType.
var ( MatchOutcome_name = map[int32]string{ 0: "MATCH_OUTCOME_UNKNOWN", 2: "MATCH_OUTCOME_RAD_VICTORY", 3: "MATCH_OUTCOME_DIRE_VICTORY", 64: "MATCH_OUTCOME_NOT_SCORED_POOR_NETWORK_CONDITIONS", 65: "MATCH_OUTCOME_NOT_SCORED_LEAVER", 66: "MATCH_OUTCOME_NOT_SCORED_SERVER_CRASH", 67: "MATCH_OUTCOME_NOT_SCORED_NEVER_STARTED", 68: "MATCH_OUTCOME_NOT_SCORED_CANCELED", } MatchOutcome_value = map[string]int32{ "MATCH_OUTCOME_UNKNOWN": 0, "MATCH_OUTCOME_RAD_VICTORY": 2, "MATCH_OUTCOME_DIRE_VICTORY": 3, "MATCH_OUTCOME_NOT_SCORED_POOR_NETWORK_CONDITIONS": 64, "MATCH_OUTCOME_NOT_SCORED_LEAVER": 65, "MATCH_OUTCOME_NOT_SCORED_SERVER_CRASH": 66, "MATCH_OUTCOME_NOT_SCORED_NEVER_STARTED": 67, "MATCH_OUTCOME_NOT_SCORED_CANCELED": 68, } )
Enum value maps for MatchOutcome.
var ( DotaAttribute_name = map[int32]string{ 0: "DOTA_ATTRIBUTE_UNSPECIFIED", 1: "DOTA_ATTRIBUTE_STRENGTH", 2: "DOTA_ATTRIBUTE_AGILITY", 3: "DOTA_ATTRIBUTE_INTELLECT", } DotaAttribute_value = map[string]int32{ "DOTA_ATTRIBUTE_UNSPECIFIED": 0, "DOTA_ATTRIBUTE_STRENGTH": 1, "DOTA_ATTRIBUTE_AGILITY": 2, "DOTA_ATTRIBUTE_INTELLECT": 3, } )
Enum value maps for DotaAttribute.
var ( DotaUnitCap_name = map[int32]string{ 0: "DOTA_UNIT_CAP_NO_ATTACK", 1: "DOTA_UNIT_CAP_MELEE_ATTACK", 2: "DOTA_UNIT_CAP_RANGED_ATTACK", } DotaUnitCap_value = map[string]int32{ "DOTA_UNIT_CAP_NO_ATTACK": 0, "DOTA_UNIT_CAP_MELEE_ATTACK": 1, "DOTA_UNIT_CAP_RANGED_ATTACK": 2, } )
Enum value maps for DotaUnitCap.
var ( HeroRole_name = map[int32]string{ 0: "HERO_ROLE_UNSPECIFIED", 1: "HERO_ROLE_CARRY", 2: "HERO_ROLE_DISABLER", 3: "HERO_ROLE_DURABLE", 4: "HERO_ROLE_ESCAPE", 5: "HERO_ROLE_INITIATOR", 6: "HERO_ROLE_JUNGLER", 7: "HERO_ROLE_NUKER", 8: "HERO_ROLE_PUSHER", 9: "HERO_ROLE_SUPPORT", } HeroRole_value = map[string]int32{ "HERO_ROLE_UNSPECIFIED": 0, "HERO_ROLE_CARRY": 1, "HERO_ROLE_DISABLER": 2, "HERO_ROLE_DURABLE": 3, "HERO_ROLE_ESCAPE": 4, "HERO_ROLE_INITIATOR": 5, "HERO_ROLE_JUNGLER": 6, "HERO_ROLE_NUKER": 7, "HERO_ROLE_PUSHER": 8, "HERO_ROLE_SUPPORT": 9, } )
Enum value maps for HeroRole.
var ( LeagueStatus_name = map[int32]string{ 0: "LEAGUE_STATUS_UNSET", 1: "LEAGUE_STATUS_UNSUBMITTED", 2: "LEAGUE_STATUS_SUBMITTED", 3: "LEAGUE_STATUS_ACCEPTED", 4: "LEAGUE_STATUS_REJECTED", 5: "LEAGUE_STATUS_CONCLUDED", 6: "LEAGUE_STATUS_DELETED", } LeagueStatus_value = map[string]int32{ "LEAGUE_STATUS_UNSET": 0, "LEAGUE_STATUS_UNSUBMITTED": 1, "LEAGUE_STATUS_SUBMITTED": 2, "LEAGUE_STATUS_ACCEPTED": 3, "LEAGUE_STATUS_REJECTED": 4, "LEAGUE_STATUS_CONCLUDED": 5, "LEAGUE_STATUS_DELETED": 6, } )
Enum value maps for LeagueStatus.
var ( LeagueRegion_name = map[int32]string{ 0: "LEAGUE_REGION_UNSET", 1: "LEAGUE_REGION_NA", 2: "LEAGUE_REGION_SA", 3: "LEAGUE_REGION_EUROPE", 4: "LEAGUE_REGION_CIS", 5: "LEAGUE_REGION_CHINA", 6: "LEAGUE_REGION_SEA", } LeagueRegion_value = map[string]int32{ "LEAGUE_REGION_UNSET": 0, "LEAGUE_REGION_NA": 1, "LEAGUE_REGION_SA": 2, "LEAGUE_REGION_EUROPE": 3, "LEAGUE_REGION_CIS": 4, "LEAGUE_REGION_CHINA": 5, "LEAGUE_REGION_SEA": 6, } )
Enum value maps for LeagueRegion.
var ( LeagueTier_name = map[int32]string{ 0: "LEAGUE_TIER_UNSET", 1: "LEAGUE_TIER_AMATEUR", 2: "LEAGUE_TIER_PROFESSIONAL", 3: "LEAGUE_TIER_MINOR", 4: "LEAGUE_TIER_MAJOR", 5: "LEAGUE_TIER_INTERNATIONAL", 6: "LEAGUE_TIER_DPC_QUALIFIER", } LeagueTier_value = map[string]int32{ "LEAGUE_TIER_UNSET": 0, "LEAGUE_TIER_AMATEUR": 1, "LEAGUE_TIER_PROFESSIONAL": 2, "LEAGUE_TIER_MINOR": 3, "LEAGUE_TIER_MAJOR": 4, "LEAGUE_TIER_INTERNATIONAL": 5, "LEAGUE_TIER_DPC_QUALIFIER": 6, } )
Enum value maps for LeagueTier.
var ( LeagueTierCategory_name = map[int32]string{ 0: "LEAGUE_TIER_CATEGORY_UNSPECIFIED", 1: "LEAGUE_TIER_CATEGORY_AMATEUR", 2: "LEAGUE_TIER_CATEGORY_PROFESSIONAL", 3: "LEAGUE_TIER_CATEGORY_DPC", } LeagueTierCategory_value = map[string]int32{ "LEAGUE_TIER_CATEGORY_UNSPECIFIED": 0, "LEAGUE_TIER_CATEGORY_AMATEUR": 1, "LEAGUE_TIER_CATEGORY_PROFESSIONAL": 2, "LEAGUE_TIER_CATEGORY_DPC": 3, } )
Enum value maps for LeagueTierCategory.
var ( CDNLeagueImageVersion_name = map[int32]string{ 0: "CDN_LEAGUE_IMAGE_VERSION_UNSPECIFIED", 1: "CDN_LEAGUE_IMAGE_VERSION_LOGO_LANDSCAPE", 8: "CDN_LEAGUE_IMAGE_VERSION_BANNER", 9: "CDN_LEAGUE_IMAGE_VERSION_LOGO_PORTRAIT", } CDNLeagueImageVersion_value = map[string]int32{ "CDN_LEAGUE_IMAGE_VERSION_UNSPECIFIED": 0, "CDN_LEAGUE_IMAGE_VERSION_LOGO_LANDSCAPE": 1, "CDN_LEAGUE_IMAGE_VERSION_BANNER": 8, "CDN_LEAGUE_IMAGE_VERSION_LOGO_PORTRAIT": 9, } )
Enum value maps for CDNLeagueImageVersion.
var ( SeriesType_name = map[int32]string{ 0: "SERIES_TYPE_UNSPECIFIED", 1: "SERIES_TYPE_BEST_OF_THREE", 2: "SERIES_TYPE_BEST_OF_FIVE", } SeriesType_value = map[string]int32{ "SERIES_TYPE_UNSPECIFIED": 0, "SERIES_TYPE_BEST_OF_THREE": 1, "SERIES_TYPE_BEST_OF_FIVE": 2, } )
Enum value maps for SeriesType.
var File_protocol_collections_proto protoreflect.FileDescriptor
var File_protocol_enums_proto protoreflect.FileDescriptor
var File_protocol_hero_proto protoreflect.FileDescriptor
var File_protocol_league_proto protoreflect.FileDescriptor
var File_protocol_live_match_proto protoreflect.FileDescriptor
var File_protocol_match_proto protoreflect.FileDescriptor
var File_protocol_player_proto protoreflect.FileDescriptor
var File_protocol_search_proto protoreflect.FileDescriptor
var File_protocol_team_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BuildingState ¶
type BuildingState uint32
type BuildingType ¶
type BuildingType int32
const ( BuildingType_BUILDING_TYPE_TOWER BuildingType = 0 BuildingType_BUILDING_TYPE_BARRACKS BuildingType = 1 BuildingType_BUILDING_TYPE_ANCIENT BuildingType = 2 )
func (BuildingType) Descriptor ¶
func (BuildingType) Descriptor() protoreflect.EnumDescriptor
func (BuildingType) Enum ¶
func (x BuildingType) Enum() *BuildingType
func (BuildingType) EnumDescriptor
deprecated
func (BuildingType) EnumDescriptor() ([]byte, []int)
Deprecated: Use BuildingType.Descriptor instead.
func (BuildingType) Number ¶
func (x BuildingType) Number() protoreflect.EnumNumber
func (BuildingType) String ¶
func (x BuildingType) String() string
func (BuildingType) Type ¶
func (BuildingType) Type() protoreflect.EnumType
type CDNLeagueImageVersion ¶
type CDNLeagueImageVersion int32
const ( CDNLeagueImageVersion_CDN_LEAGUE_IMAGE_VERSION_UNSPECIFIED CDNLeagueImageVersion = 0 CDNLeagueImageVersion_CDN_LEAGUE_IMAGE_VERSION_LOGO_LANDSCAPE CDNLeagueImageVersion = 1 CDNLeagueImageVersion_CDN_LEAGUE_IMAGE_VERSION_BANNER CDNLeagueImageVersion = 8 CDNLeagueImageVersion_CDN_LEAGUE_IMAGE_VERSION_LOGO_PORTRAIT CDNLeagueImageVersion = 9 )
func (CDNLeagueImageVersion) Descriptor ¶
func (CDNLeagueImageVersion) Descriptor() protoreflect.EnumDescriptor
func (CDNLeagueImageVersion) Enum ¶
func (x CDNLeagueImageVersion) Enum() *CDNLeagueImageVersion
func (CDNLeagueImageVersion) EnumDescriptor
deprecated
func (CDNLeagueImageVersion) EnumDescriptor() ([]byte, []int)
Deprecated: Use CDNLeagueImageVersion.Descriptor instead.
func (CDNLeagueImageVersion) Number ¶
func (x CDNLeagueImageVersion) Number() protoreflect.EnumNumber
func (CDNLeagueImageVersion) String ¶
func (x CDNLeagueImageVersion) String() string
func (CDNLeagueImageVersion) Type ¶
func (CDNLeagueImageVersion) Type() protoreflect.EnumType
type CollectionOp ¶
type CollectionOp int32
const ( CollectionOp_COLLECTION_OP_UNSPECIFIED CollectionOp = 0 CollectionOp_COLLECTION_OP_REPLACE CollectionOp = 1 CollectionOp_COLLECTION_OP_ADD CollectionOp = 2 CollectionOp_COLLECTION_OP_UPDATE CollectionOp = 3 CollectionOp_COLLECTION_OP_REMOVE CollectionOp = 4 )
func (CollectionOp) Descriptor ¶
func (CollectionOp) Descriptor() protoreflect.EnumDescriptor
func (CollectionOp) Enum ¶
func (x CollectionOp) Enum() *CollectionOp
func (CollectionOp) EnumDescriptor
deprecated
func (CollectionOp) EnumDescriptor() ([]byte, []int)
Deprecated: Use CollectionOp.Descriptor instead.
func (CollectionOp) Number ¶
func (x CollectionOp) Number() protoreflect.EnumNumber
func (CollectionOp) String ¶
func (x CollectionOp) String() string
func (CollectionOp) Type ¶
func (CollectionOp) Type() protoreflect.EnumType
type DotaAttribute ¶
type DotaAttribute int32
const ( DotaAttribute_DOTA_ATTRIBUTE_UNSPECIFIED DotaAttribute = 0 DotaAttribute_DOTA_ATTRIBUTE_STRENGTH DotaAttribute = 1 DotaAttribute_DOTA_ATTRIBUTE_AGILITY DotaAttribute = 2 DotaAttribute_DOTA_ATTRIBUTE_INTELLECT DotaAttribute = 3 )
func (DotaAttribute) Descriptor ¶
func (DotaAttribute) Descriptor() protoreflect.EnumDescriptor
func (DotaAttribute) Enum ¶
func (x DotaAttribute) Enum() *DotaAttribute
func (DotaAttribute) EnumDescriptor
deprecated
func (DotaAttribute) EnumDescriptor() ([]byte, []int)
Deprecated: Use DotaAttribute.Descriptor instead.
func (DotaAttribute) Number ¶
func (x DotaAttribute) Number() protoreflect.EnumNumber
func (DotaAttribute) String ¶
func (x DotaAttribute) String() string
func (DotaAttribute) Type ¶
func (DotaAttribute) Type() protoreflect.EnumType
type DotaUnitCap ¶
type DotaUnitCap int32
const ( DotaUnitCap_DOTA_UNIT_CAP_NO_ATTACK DotaUnitCap = 0 DotaUnitCap_DOTA_UNIT_CAP_MELEE_ATTACK DotaUnitCap = 1 DotaUnitCap_DOTA_UNIT_CAP_RANGED_ATTACK DotaUnitCap = 2 )
func (DotaUnitCap) Descriptor ¶
func (DotaUnitCap) Descriptor() protoreflect.EnumDescriptor
func (DotaUnitCap) Enum ¶
func (x DotaUnitCap) Enum() *DotaUnitCap
func (DotaUnitCap) EnumDescriptor
deprecated
func (DotaUnitCap) EnumDescriptor() ([]byte, []int)
Deprecated: Use DotaUnitCap.Descriptor instead.
func (DotaUnitCap) Number ¶
func (x DotaUnitCap) Number() protoreflect.EnumNumber
func (DotaUnitCap) String ¶
func (x DotaUnitCap) String() string
func (DotaUnitCap) Type ¶
func (DotaUnitCap) Type() protoreflect.EnumType
type FantasyRole ¶
type FantasyRole int32
const ( FantasyRole_FANTASY_ROLE_UNDEFINED FantasyRole = 0 FantasyRole_FANTASY_ROLE_CORE FantasyRole = 1 FantasyRole_FANTASY_ROLE_SUPPORT FantasyRole = 2 FantasyRole_FANTASY_ROLE_OFFLANE FantasyRole = 3 FantasyRole_FANTASY_ROLE_MID FantasyRole = 4 )
func (FantasyRole) Descriptor ¶
func (FantasyRole) Descriptor() protoreflect.EnumDescriptor
func (FantasyRole) Enum ¶
func (x FantasyRole) Enum() *FantasyRole
func (FantasyRole) EnumDescriptor
deprecated
func (FantasyRole) EnumDescriptor() ([]byte, []int)
Deprecated: Use FantasyRole.Descriptor instead.
func (FantasyRole) Number ¶
func (x FantasyRole) Number() protoreflect.EnumNumber
func (FantasyRole) String ¶
func (x FantasyRole) String() string
func (FantasyRole) Type ¶
func (FantasyRole) Type() protoreflect.EnumType
type GameMode ¶
type GameMode int32
const ( GameMode_GAME_MODE_NONE GameMode = 0 GameMode_GAME_MODE_AP GameMode = 1 GameMode_GAME_MODE_CM GameMode = 2 GameMode_GAME_MODE_RD GameMode = 3 GameMode_GAME_MODE_SD GameMode = 4 GameMode_GAME_MODE_AR GameMode = 5 GameMode_GAME_MODE_INTRO GameMode = 6 GameMode_GAME_MODE_HW GameMode = 7 GameMode_GAME_MODE_REVERSE_CM GameMode = 8 GameMode_GAME_MODE_XMAS GameMode = 9 GameMode_GAME_MODE_TUTORIAL GameMode = 10 GameMode_GAME_MODE_MO GameMode = 11 GameMode_GAME_MODE_LP GameMode = 12 GameMode_GAME_MODE_POOL1 GameMode = 13 GameMode_GAME_MODE_FH GameMode = 14 GameMode_GAME_MODE_CUSTOM GameMode = 15 GameMode_GAME_MODE_CD GameMode = 16 GameMode_GAME_MODE_BD GameMode = 17 GameMode_GAME_MODE_ABILITY_DRAFT GameMode = 18 GameMode_GAME_MODE_EVENT GameMode = 19 GameMode_GAME_MODE_ARDM GameMode = 20 GameMode_GAME_MODE_1V1_MID GameMode = 21 GameMode_GAME_MODE_ALL_DRAFT GameMode = 22 GameMode_GAME_MODE_TURBO GameMode = 23 GameMode_GAME_MODE_MUTATION GameMode = 24 GameMode_GAME_MODE_COACHES_CHALLENGE GameMode = 25 )
func (GameMode) Descriptor ¶
func (GameMode) Descriptor() protoreflect.EnumDescriptor
func (GameMode) EnumDescriptor
deprecated
func (GameMode) Number ¶
func (x GameMode) Number() protoreflect.EnumNumber
func (GameMode) Type ¶
func (GameMode) Type() protoreflect.EnumType
type GamePlayerIndex ¶
type GamePlayerIndex uint32
func (GamePlayerIndex) GamePlayerSlot ¶
func (i GamePlayerIndex) GamePlayerSlot() GamePlayerSlot
type GamePlayerSlot ¶
type GamePlayerSlot uint32
type GameState ¶
type GameState int32
const ( GameState_GAME_STATE_INIT GameState = 0 GameState_GAME_STATE_WAIT_FOR_PLAYERS_TO_LOAD GameState = 1 GameState_GAME_STATE_HERO_SELECTION GameState = 2 GameState_GAME_STATE_STRATEGY_TIME GameState = 3 GameState_GAME_STATE_PRE_GAME GameState = 4 GameState_GAME_STATE_GAME_IN_PROGRESS GameState = 5 GameState_GAME_STATE_POST_GAME GameState = 6 GameState_GAME_STATE_DISCONNECT GameState = 7 GameState_GAME_STATE_TEAM_SHOWCASE GameState = 8 GameState_GAME_STATE_CUSTOM_GAME_SETUP GameState = 9 GameState_GAME_STATE_WAIT_FOR_MAP_TO_LOAD GameState = 10 GameState_GAME_STATE_LAST GameState = 11 )
func (GameState) Descriptor ¶
func (GameState) Descriptor() protoreflect.EnumDescriptor
func (GameState) EnumDescriptor
deprecated
func (GameState) Number ¶
func (x GameState) Number() protoreflect.EnumNumber
func (GameState) Type ¶
func (GameState) Type() protoreflect.EnumType
type GameTeam ¶
type GameTeam int32
const ( GameTeam_GAME_TEAM_UNKNOWN GameTeam = 0 GameTeam_GAME_TEAM_GOODGUYS GameTeam = 2 GameTeam_GAME_TEAM_BADGUYS GameTeam = 3 GameTeam_GAME_TEAM_NEUTRALS GameTeam = 4 GameTeam_GAME_TEAM_NOTEAM GameTeam = 5 GameTeam_GAME_TEAM_CUSTOM1 GameTeam = 6 GameTeam_GAME_TEAM_CUSTOM2 GameTeam = 7 GameTeam_GAME_TEAM_CUSTOM3 GameTeam = 8 GameTeam_GAME_TEAM_CUSTOM4 GameTeam = 9 GameTeam_GAME_TEAM_CUSTOM5 GameTeam = 10 GameTeam_GAME_TEAM_CUSTOM6 GameTeam = 11 GameTeam_GAME_TEAM_CUSTOM7 GameTeam = 12 GameTeam_GAME_TEAM_CUSTOM8 GameTeam = 13 )
func (GameTeam) Descriptor ¶
func (GameTeam) Descriptor() protoreflect.EnumDescriptor
func (GameTeam) EnumDescriptor
deprecated
func (GameTeam) Number ¶
func (x GameTeam) Number() protoreflect.EnumNumber
func (GameTeam) Type ¶
func (GameTeam) Type() protoreflect.EnumType
type Hero ¶
type Hero struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` LocalizedName string `protobuf:"bytes,3,opt,name=localized_name,json=localizedName,proto3" json:"localized_name,omitempty"` Slug string `protobuf:"bytes,4,opt,name=slug,proto3" json:"slug,omitempty"` Aliases []string `protobuf:"bytes,5,rep,name=aliases,proto3" json:"aliases,omitempty"` Roles []HeroRole `protobuf:"varint,6,rep,packed,name=roles,proto3,enum=ns.protocol.HeroRole" json:"roles,omitempty"` RoleLevels []int64 `protobuf:"varint,7,rep,packed,name=role_levels,json=roleLevels,proto3" json:"role_levels,omitempty"` Complexity int64 `protobuf:"varint,8,opt,name=complexity,proto3" json:"complexity,omitempty"` Legs int64 `protobuf:"varint,9,opt,name=legs,proto3" json:"legs,omitempty"` AttributePrimary DotaAttribute `` /* 142-byte string literal not displayed */ AttackCapabilities DotaUnitCap `` /* 146-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Hero) Descriptor
deprecated
func (*Hero) GetAliases ¶
func (*Hero) GetAttackCapabilities ¶
func (x *Hero) GetAttackCapabilities() DotaUnitCap
func (*Hero) GetAttributePrimary ¶
func (x *Hero) GetAttributePrimary() DotaAttribute
func (*Hero) GetComplexity ¶
func (*Hero) GetLocalizedName ¶
func (*Hero) GetRoleLevels ¶
func (*Hero) ProtoMessage ¶
func (*Hero) ProtoMessage()
func (*Hero) ProtoReflect ¶
func (x *Hero) ProtoReflect() protoreflect.Message
type HeroMatches ¶
type HeroMatches struct { Hero *Hero `protobuf:"bytes,100,opt,name=hero,proto3" json:"hero,omitempty"` Matches []*Match `protobuf:"bytes,101,rep,name=matches,proto3" json:"matches,omitempty"` KnownPlayers []*Player `protobuf:"bytes,102,rep,name=known_players,json=knownPlayers,proto3" json:"known_players,omitempty"` // contains filtered or unexported fields }
func (*HeroMatches) Descriptor
deprecated
func (*HeroMatches) Descriptor() ([]byte, []int)
Deprecated: Use HeroMatches.ProtoReflect.Descriptor instead.
func (*HeroMatches) GetHero ¶
func (x *HeroMatches) GetHero() *Hero
func (*HeroMatches) GetKnownPlayers ¶
func (x *HeroMatches) GetKnownPlayers() []*Player
func (*HeroMatches) GetMatches ¶
func (x *HeroMatches) GetMatches() []*Match
func (*HeroMatches) ProtoMessage ¶
func (*HeroMatches) ProtoMessage()
func (*HeroMatches) ProtoReflect ¶
func (x *HeroMatches) ProtoReflect() protoreflect.Message
func (*HeroMatches) Reset ¶
func (x *HeroMatches) Reset()
func (*HeroMatches) String ¶
func (x *HeroMatches) String() string
type HeroRole ¶
type HeroRole int32
const ( HeroRole_HERO_ROLE_UNSPECIFIED HeroRole = 0 HeroRole_HERO_ROLE_CARRY HeroRole = 1 HeroRole_HERO_ROLE_DISABLER HeroRole = 2 HeroRole_HERO_ROLE_DURABLE HeroRole = 3 HeroRole_HERO_ROLE_ESCAPE HeroRole = 4 HeroRole_HERO_ROLE_INITIATOR HeroRole = 5 HeroRole_HERO_ROLE_JUNGLER HeroRole = 6 HeroRole_HERO_ROLE_NUKER HeroRole = 7 HeroRole_HERO_ROLE_PUSHER HeroRole = 8 HeroRole_HERO_ROLE_SUPPORT HeroRole = 9 )
func (HeroRole) Descriptor ¶
func (HeroRole) Descriptor() protoreflect.EnumDescriptor
func (HeroRole) EnumDescriptor
deprecated
func (HeroRole) Number ¶
func (x HeroRole) Number() protoreflect.EnumNumber
func (HeroRole) Type ¶
func (HeroRole) Type() protoreflect.EnumType
type Heroes ¶
type Heroes struct { Heroes []*Hero `protobuf:"bytes,100,rep,name=heroes,proto3" json:"heroes,omitempty"` // contains filtered or unexported fields }
func (*Heroes) Descriptor
deprecated
func (*Heroes) ProtoMessage ¶
func (*Heroes) ProtoMessage()
func (*Heroes) ProtoReflect ¶
func (x *Heroes) ProtoReflect() protoreflect.Message
type LaneType ¶
type LaneType int32
func (LaneType) Descriptor ¶
func (LaneType) Descriptor() protoreflect.EnumDescriptor
func (LaneType) EnumDescriptor
deprecated
func (LaneType) Number ¶
func (x LaneType) Number() protoreflect.EnumNumber
func (LaneType) Type ¶
func (LaneType) Type() protoreflect.EnumType
type League ¶
type League struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Tier LeagueTier `protobuf:"varint,3,opt,name=tier,proto3,enum=ns.protocol.LeagueTier" json:"tier,omitempty"` Region LeagueRegion `protobuf:"varint,4,opt,name=region,proto3,enum=ns.protocol.LeagueRegion" json:"region,omitempty"` Status LeagueStatus `protobuf:"varint,5,opt,name=status,proto3,enum=ns.protocol.LeagueStatus" json:"status,omitempty"` TotalPrizePool uint32 `protobuf:"varint,6,opt,name=total_prize_pool,json=totalPrizePool,proto3" json:"total_prize_pool,omitempty"` LastActivityAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=last_activity_at,json=lastActivityAt,proto3" json:"last_activity_at,omitempty"` StartAt *timestamp.Timestamp `protobuf:"bytes,8,opt,name=start_at,json=startAt,proto3" json:"start_at,omitempty"` FinishAt *timestamp.Timestamp `protobuf:"bytes,9,opt,name=finish_at,json=finishAt,proto3" json:"finish_at,omitempty"` // contains filtered or unexported fields }
func (*League) Descriptor
deprecated
func (*League) GetFinishAt ¶
func (*League) GetLastActivityAt ¶
func (*League) GetRegion ¶
func (x *League) GetRegion() LeagueRegion
func (*League) GetStartAt ¶
func (*League) GetStatus ¶
func (x *League) GetStatus() LeagueStatus
func (*League) GetTier ¶
func (x *League) GetTier() LeagueTier
func (*League) GetTotalPrizePool ¶
func (*League) ProtoMessage ¶
func (*League) ProtoMessage()
func (*League) ProtoReflect ¶
func (x *League) ProtoReflect() protoreflect.Message
type LeagueNodeID ¶
type LeagueNodeID uint32
type LeagueRegion ¶
type LeagueRegion int32
const ( LeagueRegion_LEAGUE_REGION_UNSET LeagueRegion = 0 LeagueRegion_LEAGUE_REGION_NA LeagueRegion = 1 LeagueRegion_LEAGUE_REGION_SA LeagueRegion = 2 LeagueRegion_LEAGUE_REGION_EUROPE LeagueRegion = 3 LeagueRegion_LEAGUE_REGION_CIS LeagueRegion = 4 LeagueRegion_LEAGUE_REGION_CHINA LeagueRegion = 5 LeagueRegion_LEAGUE_REGION_SEA LeagueRegion = 6 )
func (LeagueRegion) Descriptor ¶
func (LeagueRegion) Descriptor() protoreflect.EnumDescriptor
func (LeagueRegion) Enum ¶
func (x LeagueRegion) Enum() *LeagueRegion
func (LeagueRegion) EnumDescriptor
deprecated
func (LeagueRegion) EnumDescriptor() ([]byte, []int)
Deprecated: Use LeagueRegion.Descriptor instead.
func (LeagueRegion) Number ¶
func (x LeagueRegion) Number() protoreflect.EnumNumber
func (LeagueRegion) String ¶
func (x LeagueRegion) String() string
func (LeagueRegion) Type ¶
func (LeagueRegion) Type() protoreflect.EnumType
type LeagueStatus ¶
type LeagueStatus int32
const ( LeagueStatus_LEAGUE_STATUS_UNSET LeagueStatus = 0 LeagueStatus_LEAGUE_STATUS_UNSUBMITTED LeagueStatus = 1 LeagueStatus_LEAGUE_STATUS_SUBMITTED LeagueStatus = 2 LeagueStatus_LEAGUE_STATUS_ACCEPTED LeagueStatus = 3 LeagueStatus_LEAGUE_STATUS_REJECTED LeagueStatus = 4 LeagueStatus_LEAGUE_STATUS_CONCLUDED LeagueStatus = 5 LeagueStatus_LEAGUE_STATUS_DELETED LeagueStatus = 6 )
func (LeagueStatus) Descriptor ¶
func (LeagueStatus) Descriptor() protoreflect.EnumDescriptor
func (LeagueStatus) Enum ¶
func (x LeagueStatus) Enum() *LeagueStatus
func (LeagueStatus) EnumDescriptor
deprecated
func (LeagueStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use LeagueStatus.Descriptor instead.
func (LeagueStatus) Number ¶
func (x LeagueStatus) Number() protoreflect.EnumNumber
func (LeagueStatus) String ¶
func (x LeagueStatus) String() string
func (LeagueStatus) Type ¶
func (LeagueStatus) Type() protoreflect.EnumType
type LeagueTier ¶
type LeagueTier int32
const ( LeagueTier_LEAGUE_TIER_UNSET LeagueTier = 0 LeagueTier_LEAGUE_TIER_AMATEUR LeagueTier = 1 LeagueTier_LEAGUE_TIER_PROFESSIONAL LeagueTier = 2 LeagueTier_LEAGUE_TIER_MINOR LeagueTier = 3 LeagueTier_LEAGUE_TIER_MAJOR LeagueTier = 4 LeagueTier_LEAGUE_TIER_INTERNATIONAL LeagueTier = 5 LeagueTier_LEAGUE_TIER_DPC_QUALIFIER LeagueTier = 6 )
func (LeagueTier) Descriptor ¶
func (LeagueTier) Descriptor() protoreflect.EnumDescriptor
func (LeagueTier) Enum ¶
func (x LeagueTier) Enum() *LeagueTier
func (LeagueTier) EnumDescriptor
deprecated
func (LeagueTier) EnumDescriptor() ([]byte, []int)
Deprecated: Use LeagueTier.Descriptor instead.
func (LeagueTier) Number ¶
func (x LeagueTier) Number() protoreflect.EnumNumber
func (LeagueTier) String ¶
func (x LeagueTier) String() string
func (LeagueTier) Type ¶
func (LeagueTier) Type() protoreflect.EnumType
type LeagueTierCategory ¶
type LeagueTierCategory int32
const ( LeagueTierCategory_LEAGUE_TIER_CATEGORY_UNSPECIFIED LeagueTierCategory = 0 LeagueTierCategory_LEAGUE_TIER_CATEGORY_AMATEUR LeagueTierCategory = 1 LeagueTierCategory_LEAGUE_TIER_CATEGORY_PROFESSIONAL LeagueTierCategory = 2 LeagueTierCategory_LEAGUE_TIER_CATEGORY_DPC LeagueTierCategory = 3 )
func (LeagueTierCategory) Descriptor ¶
func (LeagueTierCategory) Descriptor() protoreflect.EnumDescriptor
func (LeagueTierCategory) Enum ¶
func (x LeagueTierCategory) Enum() *LeagueTierCategory
func (LeagueTierCategory) EnumDescriptor
deprecated
func (LeagueTierCategory) EnumDescriptor() ([]byte, []int)
Deprecated: Use LeagueTierCategory.Descriptor instead.
func (LeagueTierCategory) Number ¶
func (x LeagueTierCategory) Number() protoreflect.EnumNumber
func (LeagueTierCategory) String ¶
func (x LeagueTierCategory) String() string
func (LeagueTierCategory) Type ¶
func (LeagueTierCategory) Type() protoreflect.EnumType
type Leagues ¶
type Leagues struct { Leagues []*League `protobuf:"bytes,100,rep,name=leagues,proto3" json:"leagues,omitempty"` // contains filtered or unexported fields }
func (*Leagues) Descriptor
deprecated
func (*Leagues) GetLeagues ¶
func (*Leagues) ProtoMessage ¶
func (*Leagues) ProtoMessage()
func (*Leagues) ProtoReflect ¶
func (x *Leagues) ProtoReflect() protoreflect.Message
type LiveMatch ¶
type LiveMatch struct { MatchId uint64 `protobuf:"varint,1,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"` ServerId uint64 `protobuf:"varint,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` LobbyId uint64 `protobuf:"varint,3,opt,name=lobby_id,json=lobbyId,proto3" json:"lobby_id,omitempty"` LobbyType LobbyType `protobuf:"varint,4,opt,name=lobby_type,json=lobbyType,proto3,enum=ns.protocol.LobbyType" json:"lobby_type,omitempty"` LeagueId uint64 `protobuf:"varint,5,opt,name=league_id,json=leagueId,proto3" json:"league_id,omitempty"` SeriesId uint64 `protobuf:"varint,6,opt,name=series_id,json=seriesId,proto3" json:"series_id,omitempty"` GameMode GameMode `protobuf:"varint,7,opt,name=game_mode,json=gameMode,proto3,enum=ns.protocol.GameMode" json:"game_mode,omitempty"` GameState GameState `protobuf:"varint,8,opt,name=game_state,json=gameState,proto3,enum=ns.protocol.GameState" json:"game_state,omitempty"` GameTimestamp uint32 `protobuf:"varint,9,opt,name=game_timestamp,json=gameTimestamp,proto3" json:"game_timestamp,omitempty"` GameTime int32 `protobuf:"varint,10,opt,name=game_time,json=gameTime,proto3" json:"game_time,omitempty"` AverageMmr uint32 `protobuf:"varint,11,opt,name=average_mmr,json=averageMmr,proto3" json:"average_mmr,omitempty"` Delay uint32 `protobuf:"varint,12,opt,name=delay,proto3" json:"delay,omitempty"` Spectators uint32 `protobuf:"varint,13,opt,name=spectators,proto3" json:"spectators,omitempty"` SortScore float64 `protobuf:"fixed64,14,opt,name=sort_score,json=sortScore,proto3" json:"sort_score,omitempty"` RadiantLead int32 `protobuf:"varint,15,opt,name=radiant_lead,json=radiantLead,proto3" json:"radiant_lead,omitempty"` RadiantScore uint32 `protobuf:"varint,16,opt,name=radiant_score,json=radiantScore,proto3" json:"radiant_score,omitempty"` RadiantTeamId uint64 `protobuf:"varint,17,opt,name=radiant_team_id,json=radiantTeamId,proto3" json:"radiant_team_id,omitempty"` RadiantTeamName string `protobuf:"bytes,18,opt,name=radiant_team_name,json=radiantTeamName,proto3" json:"radiant_team_name,omitempty"` RadiantTeamTag string `protobuf:"bytes,19,opt,name=radiant_team_tag,json=radiantTeamTag,proto3" json:"radiant_team_tag,omitempty"` RadiantTeamLogo uint64 `protobuf:"varint,20,opt,name=radiant_team_logo,json=radiantTeamLogo,proto3" json:"radiant_team_logo,omitempty"` RadiantTeamLogoUrl string `protobuf:"bytes,21,opt,name=radiant_team_logo_url,json=radiantTeamLogoUrl,proto3" json:"radiant_team_logo_url,omitempty"` RadiantNetWorth uint32 `protobuf:"varint,22,opt,name=radiant_net_worth,json=radiantNetWorth,proto3" json:"radiant_net_worth,omitempty"` DireScore uint32 `protobuf:"varint,23,opt,name=dire_score,json=direScore,proto3" json:"dire_score,omitempty"` DireTeamId uint64 `protobuf:"varint,24,opt,name=dire_team_id,json=direTeamId,proto3" json:"dire_team_id,omitempty"` DireTeamName string `protobuf:"bytes,25,opt,name=dire_team_name,json=direTeamName,proto3" json:"dire_team_name,omitempty"` DireTeamTag string `protobuf:"bytes,26,opt,name=dire_team_tag,json=direTeamTag,proto3" json:"dire_team_tag,omitempty"` DireTeamLogo uint64 `protobuf:"varint,27,opt,name=dire_team_logo,json=direTeamLogo,proto3" json:"dire_team_logo,omitempty"` DireTeamLogoUrl string `protobuf:"bytes,28,opt,name=dire_team_logo_url,json=direTeamLogoUrl,proto3" json:"dire_team_logo_url,omitempty"` DireNetWorth uint32 `protobuf:"varint,29,opt,name=dire_net_worth,json=direNetWorth,proto3" json:"dire_net_worth,omitempty"` BuildingState uint32 `protobuf:"varint,30,opt,name=building_state,json=buildingState,proto3" json:"building_state,omitempty"` WeekendTourneyTournamentId uint32 `` /* 145-byte string literal not displayed */ WeekendTourneyDivision uint32 `` /* 131-byte string literal not displayed */ WeekendTourneySkillLevel uint32 `` /* 139-byte string literal not displayed */ WeekendTourneyBracketRound uint32 `` /* 145-byte string literal not displayed */ ActivateTime *timestamp.Timestamp `protobuf:"bytes,35,opt,name=activate_time,json=activateTime,proto3" json:"activate_time,omitempty"` DeactivateTime *timestamp.Timestamp `protobuf:"bytes,36,opt,name=deactivate_time,json=deactivateTime,proto3" json:"deactivate_time,omitempty"` LastUpdateTime *timestamp.Timestamp `protobuf:"bytes,37,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"` Players []*LiveMatch_Player `protobuf:"bytes,100,rep,name=players,proto3" json:"players,omitempty"` // contains filtered or unexported fields }
func (*LiveMatch) Descriptor
deprecated
func (*LiveMatch) GetActivateTime ¶
func (*LiveMatch) GetAverageMmr ¶
func (*LiveMatch) GetBuildingState ¶
func (*LiveMatch) GetDeactivateTime ¶
func (*LiveMatch) GetDireNetWorth ¶
func (*LiveMatch) GetDireScore ¶
func (*LiveMatch) GetDireTeamId ¶
func (*LiveMatch) GetDireTeamLogo ¶
func (*LiveMatch) GetDireTeamLogoUrl ¶
func (*LiveMatch) GetDireTeamName ¶
func (*LiveMatch) GetDireTeamTag ¶
func (*LiveMatch) GetGameMode ¶
func (*LiveMatch) GetGameState ¶
func (*LiveMatch) GetGameTime ¶
func (*LiveMatch) GetGameTimestamp ¶
func (*LiveMatch) GetLastUpdateTime ¶
func (*LiveMatch) GetLeagueId ¶
func (*LiveMatch) GetLobbyId ¶
func (*LiveMatch) GetLobbyType ¶
func (*LiveMatch) GetMatchId ¶
func (*LiveMatch) GetPlayers ¶
func (x *LiveMatch) GetPlayers() []*LiveMatch_Player
func (*LiveMatch) GetRadiantLead ¶
func (*LiveMatch) GetRadiantNetWorth ¶
func (*LiveMatch) GetRadiantScore ¶
func (*LiveMatch) GetRadiantTeamId ¶
func (*LiveMatch) GetRadiantTeamLogo ¶
func (*LiveMatch) GetRadiantTeamLogoUrl ¶
func (*LiveMatch) GetRadiantTeamName ¶
func (*LiveMatch) GetRadiantTeamTag ¶
func (*LiveMatch) GetSeriesId ¶
func (*LiveMatch) GetServerId ¶
func (*LiveMatch) GetSortScore ¶
func (*LiveMatch) GetSpectators ¶
func (*LiveMatch) GetWeekendTourneyBracketRound ¶
func (*LiveMatch) GetWeekendTourneyDivision ¶
func (*LiveMatch) GetWeekendTourneySkillLevel ¶
func (*LiveMatch) GetWeekendTourneyTournamentId ¶
func (*LiveMatch) ProtoMessage ¶
func (*LiveMatch) ProtoMessage()
func (*LiveMatch) ProtoReflect ¶
func (x *LiveMatch) ProtoReflect() protoreflect.Message
type LiveMatch_Player ¶
type LiveMatch_Player struct { AccountId uint32 `protobuf:"varint,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` PersonaName string `protobuf:"bytes,3,opt,name=persona_name,json=personaName,proto3" json:"persona_name,omitempty"` AvatarUrl string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` AvatarMediumUrl string `protobuf:"bytes,5,opt,name=avatar_medium_url,json=avatarMediumUrl,proto3" json:"avatar_medium_url,omitempty"` AvatarFullUrl string `protobuf:"bytes,6,opt,name=avatar_full_url,json=avatarFullUrl,proto3" json:"avatar_full_url,omitempty"` IsPro bool `protobuf:"varint,7,opt,name=is_pro,json=isPro,proto3" json:"is_pro,omitempty"` HeroId uint64 `protobuf:"varint,8,opt,name=hero_id,json=heroId,proto3" json:"hero_id,omitempty"` PlayerSlot uint32 `protobuf:"varint,9,opt,name=player_slot,json=playerSlot,proto3" json:"player_slot,omitempty"` Team GameTeam `protobuf:"varint,10,opt,name=team,proto3,enum=ns.protocol.GameTeam" json:"team,omitempty"` Level uint32 `protobuf:"varint,11,opt,name=level,proto3" json:"level,omitempty"` Kills uint32 `protobuf:"varint,12,opt,name=kills,proto3" json:"kills,omitempty"` Deaths uint32 `protobuf:"varint,13,opt,name=deaths,proto3" json:"deaths,omitempty"` Assists uint32 `protobuf:"varint,14,opt,name=assists,proto3" json:"assists,omitempty"` Denies uint32 `protobuf:"varint,15,opt,name=denies,proto3" json:"denies,omitempty"` LastHits uint32 `protobuf:"varint,16,opt,name=last_hits,json=lastHits,proto3" json:"last_hits,omitempty"` Gold uint32 `protobuf:"varint,17,opt,name=gold,proto3" json:"gold,omitempty"` NetWorth uint32 `protobuf:"varint,18,opt,name=net_worth,json=netWorth,proto3" json:"net_worth,omitempty"` Label string `protobuf:"bytes,19,opt,name=label,proto3" json:"label,omitempty"` Slug string `protobuf:"bytes,20,opt,name=slug,proto3" json:"slug,omitempty"` // contains filtered or unexported fields }
func (*LiveMatch_Player) Descriptor
deprecated
func (*LiveMatch_Player) Descriptor() ([]byte, []int)
Deprecated: Use LiveMatch_Player.ProtoReflect.Descriptor instead.
func (*LiveMatch_Player) GetAccountId ¶
func (x *LiveMatch_Player) GetAccountId() uint32
func (*LiveMatch_Player) GetAssists ¶
func (x *LiveMatch_Player) GetAssists() uint32
func (*LiveMatch_Player) GetAvatarFullUrl ¶
func (x *LiveMatch_Player) GetAvatarFullUrl() string
func (*LiveMatch_Player) GetAvatarMediumUrl ¶
func (x *LiveMatch_Player) GetAvatarMediumUrl() string
func (*LiveMatch_Player) GetAvatarUrl ¶
func (x *LiveMatch_Player) GetAvatarUrl() string
func (*LiveMatch_Player) GetDeaths ¶
func (x *LiveMatch_Player) GetDeaths() uint32
func (*LiveMatch_Player) GetDenies ¶
func (x *LiveMatch_Player) GetDenies() uint32
func (*LiveMatch_Player) GetGold ¶
func (x *LiveMatch_Player) GetGold() uint32
func (*LiveMatch_Player) GetHeroId ¶
func (x *LiveMatch_Player) GetHeroId() uint64
func (*LiveMatch_Player) GetIsPro ¶
func (x *LiveMatch_Player) GetIsPro() bool
func (*LiveMatch_Player) GetKills ¶
func (x *LiveMatch_Player) GetKills() uint32
func (*LiveMatch_Player) GetLabel ¶
func (x *LiveMatch_Player) GetLabel() string
func (*LiveMatch_Player) GetLastHits ¶
func (x *LiveMatch_Player) GetLastHits() uint32
func (*LiveMatch_Player) GetLevel ¶
func (x *LiveMatch_Player) GetLevel() uint32
func (*LiveMatch_Player) GetName ¶
func (x *LiveMatch_Player) GetName() string
func (*LiveMatch_Player) GetNetWorth ¶
func (x *LiveMatch_Player) GetNetWorth() uint32
func (*LiveMatch_Player) GetPersonaName ¶
func (x *LiveMatch_Player) GetPersonaName() string
func (*LiveMatch_Player) GetPlayerSlot ¶
func (x *LiveMatch_Player) GetPlayerSlot() uint32
func (*LiveMatch_Player) GetSlug ¶
func (x *LiveMatch_Player) GetSlug() string
func (*LiveMatch_Player) GetTeam ¶
func (x *LiveMatch_Player) GetTeam() GameTeam
func (*LiveMatch_Player) ProtoMessage ¶
func (*LiveMatch_Player) ProtoMessage()
func (*LiveMatch_Player) ProtoReflect ¶
func (x *LiveMatch_Player) ProtoReflect() protoreflect.Message
func (*LiveMatch_Player) Reset ¶
func (x *LiveMatch_Player) Reset()
func (*LiveMatch_Player) String ¶
func (x *LiveMatch_Player) String() string
type LiveMatches ¶
type LiveMatches struct { Matches []*LiveMatch `protobuf:"bytes,1,rep,name=matches,proto3" json:"matches,omitempty"` // contains filtered or unexported fields }
func (*LiveMatches) Descriptor
deprecated
func (*LiveMatches) Descriptor() ([]byte, []int)
Deprecated: Use LiveMatches.ProtoReflect.Descriptor instead.
func (*LiveMatches) GetMatches ¶
func (x *LiveMatches) GetMatches() []*LiveMatch
func (*LiveMatches) ProtoMessage ¶
func (*LiveMatches) ProtoMessage()
func (*LiveMatches) ProtoReflect ¶
func (x *LiveMatches) ProtoReflect() protoreflect.Message
func (*LiveMatches) Reset ¶
func (x *LiveMatches) Reset()
func (*LiveMatches) String ¶
func (x *LiveMatches) String() string
type LiveMatchesChange ¶
type LiveMatchesChange struct { Op CollectionOp `protobuf:"varint,1,opt,name=op,proto3,enum=ns.protocol.CollectionOp" json:"op,omitempty"` Change *LiveMatches `protobuf:"bytes,2,opt,name=change,proto3" json:"change,omitempty"` // contains filtered or unexported fields }
func (*LiveMatchesChange) Descriptor
deprecated
func (*LiveMatchesChange) Descriptor() ([]byte, []int)
Deprecated: Use LiveMatchesChange.ProtoReflect.Descriptor instead.
func (*LiveMatchesChange) GetChange ¶
func (x *LiveMatchesChange) GetChange() *LiveMatches
func (*LiveMatchesChange) GetOp ¶
func (x *LiveMatchesChange) GetOp() CollectionOp
func (*LiveMatchesChange) ProtoMessage ¶
func (*LiveMatchesChange) ProtoMessage()
func (*LiveMatchesChange) ProtoReflect ¶
func (x *LiveMatchesChange) ProtoReflect() protoreflect.Message
func (*LiveMatchesChange) Reset ¶
func (x *LiveMatchesChange) Reset()
func (*LiveMatchesChange) String ¶
func (x *LiveMatchesChange) String() string
type LobbyType ¶
type LobbyType int32
const ( LobbyType_LOBBY_TYPE_CASUAL_MATCH LobbyType = 0 LobbyType_LOBBY_TYPE_PRACTICE LobbyType = 1 LobbyType_LOBBY_TYPE_COOP_BOT_MATCH LobbyType = 4 LobbyType_LOBBY_TYPE_LEGACY_TEAM_MATCH LobbyType = 5 LobbyType_LOBBY_TYPE_LEGACY_SOLO_QUEUE_MATCH LobbyType = 6 LobbyType_LOBBY_TYPE_COMPETITIVE_MATCH LobbyType = 7 LobbyType_LOBBY_TYPE_CASUAL_1V1_MATCH LobbyType = 8 LobbyType_LOBBY_TYPE_WEEKEND_TOURNEY LobbyType = 9 LobbyType_LOBBY_TYPE_LOCAL_BOT_MATCH LobbyType = 10 LobbyType_LOBBY_TYPE_SPECTATOR LobbyType = 11 LobbyType_LOBBY_TYPE_EVENT_MATCH LobbyType = 12 )
func (LobbyType) Descriptor ¶
func (LobbyType) Descriptor() protoreflect.EnumDescriptor
func (LobbyType) EnumDescriptor
deprecated
func (LobbyType) Number ¶
func (x LobbyType) Number() protoreflect.EnumNumber
func (LobbyType) Type ¶
func (LobbyType) Type() protoreflect.EnumType
type Match ¶
type Match struct { MatchId uint64 `protobuf:"varint,1,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"` LobbyId uint64 `protobuf:"varint,2,opt,name=lobby_id,json=lobbyId,proto3" json:"lobby_id,omitempty"` LobbyType LobbyType `protobuf:"varint,3,opt,name=lobby_type,json=lobbyType,proto3,enum=ns.protocol.LobbyType" json:"lobby_type,omitempty"` LeagueId uint64 `protobuf:"varint,4,opt,name=league_id,json=leagueId,proto3" json:"league_id,omitempty"` SeriesId uint64 `protobuf:"varint,5,opt,name=series_id,json=seriesId,proto3" json:"series_id,omitempty"` GameMode GameMode `protobuf:"varint,6,opt,name=game_mode,json=gameMode,proto3,enum=ns.protocol.GameMode" json:"game_mode,omitempty"` AverageMmr uint32 `protobuf:"varint,7,opt,name=average_mmr,json=averageMmr,proto3" json:"average_mmr,omitempty"` RadiantTeamId uint64 `protobuf:"varint,8,opt,name=radiant_team_id,json=radiantTeamId,proto3" json:"radiant_team_id,omitempty"` RadiantTeamName string `protobuf:"bytes,9,opt,name=radiant_team_name,json=radiantTeamName,proto3" json:"radiant_team_name,omitempty"` RadiantTeamTag string `protobuf:"bytes,10,opt,name=radiant_team_tag,json=radiantTeamTag,proto3" json:"radiant_team_tag,omitempty"` RadiantTeamLogo uint64 `protobuf:"varint,11,opt,name=radiant_team_logo,json=radiantTeamLogo,proto3" json:"radiant_team_logo,omitempty"` RadiantTeamLogoUrl string `protobuf:"bytes,12,opt,name=radiant_team_logo_url,json=radiantTeamLogoUrl,proto3" json:"radiant_team_logo_url,omitempty"` DireTeamId uint64 `protobuf:"varint,13,opt,name=dire_team_id,json=direTeamId,proto3" json:"dire_team_id,omitempty"` DireTeamName string `protobuf:"bytes,14,opt,name=dire_team_name,json=direTeamName,proto3" json:"dire_team_name,omitempty"` DireTeamTag string `protobuf:"bytes,15,opt,name=dire_team_tag,json=direTeamTag,proto3" json:"dire_team_tag,omitempty"` DireTeamLogo uint64 `protobuf:"varint,16,opt,name=dire_team_logo,json=direTeamLogo,proto3" json:"dire_team_logo,omitempty"` DireTeamLogoUrl string `protobuf:"bytes,17,opt,name=dire_team_logo_url,json=direTeamLogoUrl,proto3" json:"dire_team_logo_url,omitempty"` ActivateTime *timestamp.Timestamp `protobuf:"bytes,18,opt,name=activate_time,json=activateTime,proto3" json:"activate_time,omitempty"` DeactivateTime *timestamp.Timestamp `protobuf:"bytes,19,opt,name=deactivate_time,json=deactivateTime,proto3" json:"deactivate_time,omitempty"` LastUpdateTime *timestamp.Timestamp `protobuf:"bytes,20,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"` StartTime *timestamp.Timestamp `protobuf:"bytes,21,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` SeriesType uint32 `protobuf:"varint,22,opt,name=series_type,json=seriesType,proto3" json:"series_type,omitempty"` SeriesGame uint32 `protobuf:"varint,23,opt,name=series_game,json=seriesGame,proto3" json:"series_game,omitempty"` Duration uint32 `protobuf:"varint,24,opt,name=duration,proto3" json:"duration,omitempty"` RadiantScore uint32 `protobuf:"varint,25,opt,name=radiant_score,json=radiantScore,proto3" json:"radiant_score,omitempty"` DireScore uint32 `protobuf:"varint,26,opt,name=dire_score,json=direScore,proto3" json:"dire_score,omitempty"` Outcome MatchOutcome `protobuf:"varint,27,opt,name=outcome,proto3,enum=ns.protocol.MatchOutcome" json:"outcome,omitempty"` Players []*Match_Player `protobuf:"bytes,100,rep,name=players,proto3" json:"players,omitempty"` // contains filtered or unexported fields }
func (*Match) Descriptor
deprecated
func (*Match) GetActivateTime ¶
func (*Match) GetAverageMmr ¶
func (*Match) GetDeactivateTime ¶
func (*Match) GetDireScore ¶
func (*Match) GetDireTeamId ¶
func (*Match) GetDireTeamLogo ¶
func (*Match) GetDireTeamLogoUrl ¶
func (*Match) GetDireTeamName ¶
func (*Match) GetDireTeamTag ¶
func (*Match) GetDuration ¶
func (*Match) GetGameMode ¶
func (*Match) GetLastUpdateTime ¶
func (*Match) GetLeagueId ¶
func (*Match) GetLobbyId ¶
func (*Match) GetLobbyType ¶
func (*Match) GetMatchId ¶
func (*Match) GetOutcome ¶
func (x *Match) GetOutcome() MatchOutcome
func (*Match) GetPlayers ¶
func (x *Match) GetPlayers() []*Match_Player
func (*Match) GetRadiantScore ¶
func (*Match) GetRadiantTeamId ¶
func (*Match) GetRadiantTeamLogo ¶
func (*Match) GetRadiantTeamLogoUrl ¶
func (*Match) GetRadiantTeamName ¶
func (*Match) GetRadiantTeamTag ¶
func (*Match) GetSeriesGame ¶
func (*Match) GetSeriesId ¶
func (*Match) GetSeriesType ¶
func (*Match) GetStartTime ¶
func (*Match) ProtoMessage ¶
func (*Match) ProtoMessage()
func (*Match) ProtoReflect ¶
func (x *Match) ProtoReflect() protoreflect.Message
type MatchOutcome ¶
type MatchOutcome int32
const ( MatchOutcome_MATCH_OUTCOME_UNKNOWN MatchOutcome = 0 MatchOutcome_MATCH_OUTCOME_RAD_VICTORY MatchOutcome = 2 MatchOutcome_MATCH_OUTCOME_DIRE_VICTORY MatchOutcome = 3 MatchOutcome_MATCH_OUTCOME_NOT_SCORED_POOR_NETWORK_CONDITIONS MatchOutcome = 64 MatchOutcome_MATCH_OUTCOME_NOT_SCORED_LEAVER MatchOutcome = 65 MatchOutcome_MATCH_OUTCOME_NOT_SCORED_SERVER_CRASH MatchOutcome = 66 MatchOutcome_MATCH_OUTCOME_NOT_SCORED_NEVER_STARTED MatchOutcome = 67 MatchOutcome_MATCH_OUTCOME_NOT_SCORED_CANCELED MatchOutcome = 68 )
func (MatchOutcome) Descriptor ¶
func (MatchOutcome) Descriptor() protoreflect.EnumDescriptor
func (MatchOutcome) Enum ¶
func (x MatchOutcome) Enum() *MatchOutcome
func (MatchOutcome) EnumDescriptor
deprecated
func (MatchOutcome) EnumDescriptor() ([]byte, []int)
Deprecated: Use MatchOutcome.Descriptor instead.
func (MatchOutcome) Number ¶
func (x MatchOutcome) Number() protoreflect.EnumNumber
func (MatchOutcome) String ¶
func (x MatchOutcome) String() string
func (MatchOutcome) Type ¶
func (MatchOutcome) Type() protoreflect.EnumType
type Match_Player ¶
type Match_Player struct { AccountId uint32 `protobuf:"varint,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` HeroId uint64 `protobuf:"varint,2,opt,name=hero_id,json=heroId,proto3" json:"hero_id,omitempty"` PlayerSlot uint32 `protobuf:"varint,3,opt,name=player_slot,json=playerSlot,proto3" json:"player_slot,omitempty"` ProName string `protobuf:"bytes,4,opt,name=pro_name,json=proName,proto3" json:"pro_name,omitempty"` Kills uint32 `protobuf:"varint,5,opt,name=kills,proto3" json:"kills,omitempty"` Deaths uint32 `protobuf:"varint,6,opt,name=deaths,proto3" json:"deaths,omitempty"` Assists uint32 `protobuf:"varint,7,opt,name=assists,proto3" json:"assists,omitempty"` Items []uint64 `protobuf:"varint,8,rep,packed,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*Match_Player) Descriptor
deprecated
func (*Match_Player) Descriptor() ([]byte, []int)
Deprecated: Use Match_Player.ProtoReflect.Descriptor instead.
func (*Match_Player) GetAccountId ¶
func (x *Match_Player) GetAccountId() uint32
func (*Match_Player) GetAssists ¶
func (x *Match_Player) GetAssists() uint32
func (*Match_Player) GetDeaths ¶
func (x *Match_Player) GetDeaths() uint32
func (*Match_Player) GetHeroId ¶
func (x *Match_Player) GetHeroId() uint64
func (*Match_Player) GetItems ¶
func (x *Match_Player) GetItems() []uint64
func (*Match_Player) GetKills ¶
func (x *Match_Player) GetKills() uint32
func (*Match_Player) GetPlayerSlot ¶
func (x *Match_Player) GetPlayerSlot() uint32
func (*Match_Player) GetProName ¶
func (x *Match_Player) GetProName() string
func (*Match_Player) ProtoMessage ¶
func (*Match_Player) ProtoMessage()
func (*Match_Player) ProtoReflect ¶
func (x *Match_Player) ProtoReflect() protoreflect.Message
func (*Match_Player) Reset ¶
func (x *Match_Player) Reset()
func (*Match_Player) String ¶
func (x *Match_Player) String() string
type Player ¶
type Player struct { AccountId uint32 `protobuf:"varint,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` PersonaName string `protobuf:"bytes,3,opt,name=persona_name,json=personaName,proto3" json:"persona_name,omitempty"` AvatarUrl string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` AvatarMediumUrl string `protobuf:"bytes,5,opt,name=avatar_medium_url,json=avatarMediumUrl,proto3" json:"avatar_medium_url,omitempty"` AvatarFullUrl string `protobuf:"bytes,6,opt,name=avatar_full_url,json=avatarFullUrl,proto3" json:"avatar_full_url,omitempty"` IsPro bool `protobuf:"varint,7,opt,name=is_pro,json=isPro,proto3" json:"is_pro,omitempty"` Slug string `protobuf:"bytes,8,opt,name=slug,proto3" json:"slug,omitempty"` Team *Team `protobuf:"bytes,100,opt,name=team,proto3" json:"team,omitempty"` // contains filtered or unexported fields }
func (*Player) Descriptor
deprecated
func (*Player) GetAccountId ¶
func (*Player) GetAvatarFullUrl ¶
func (*Player) GetAvatarMediumUrl ¶
func (*Player) GetAvatarUrl ¶
func (*Player) GetPersonaName ¶
func (*Player) ProtoMessage ¶
func (*Player) ProtoMessage()
func (*Player) ProtoReflect ¶
func (x *Player) ProtoReflect() protoreflect.Message
type PlayerMatches ¶
type PlayerMatches struct { Player *Player `protobuf:"bytes,100,opt,name=player,proto3" json:"player,omitempty"` Matches []*Match `protobuf:"bytes,101,rep,name=matches,proto3" json:"matches,omitempty"` KnownPlayers []*Player `protobuf:"bytes,102,rep,name=known_players,json=knownPlayers,proto3" json:"known_players,omitempty"` // contains filtered or unexported fields }
func (*PlayerMatches) Descriptor
deprecated
func (*PlayerMatches) Descriptor() ([]byte, []int)
Deprecated: Use PlayerMatches.ProtoReflect.Descriptor instead.
func (*PlayerMatches) GetKnownPlayers ¶
func (x *PlayerMatches) GetKnownPlayers() []*Player
func (*PlayerMatches) GetMatches ¶
func (x *PlayerMatches) GetMatches() []*Match
func (*PlayerMatches) GetPlayer ¶
func (x *PlayerMatches) GetPlayer() *Player
func (*PlayerMatches) ProtoMessage ¶
func (*PlayerMatches) ProtoMessage()
func (*PlayerMatches) ProtoReflect ¶
func (x *PlayerMatches) ProtoReflect() protoreflect.Message
func (*PlayerMatches) Reset ¶
func (x *PlayerMatches) Reset()
func (*PlayerMatches) String ¶
func (x *PlayerMatches) String() string
type Search ¶
type Search struct { Players []*Search_Player `protobuf:"bytes,1,rep,name=players,proto3" json:"players,omitempty"` HeroIds []uint64 `protobuf:"varint,2,rep,packed,name=hero_ids,json=heroIds,proto3" json:"hero_ids,omitempty"` // contains filtered or unexported fields }
func (*Search) Descriptor
deprecated
func (*Search) GetHeroIds ¶
func (*Search) GetPlayers ¶
func (x *Search) GetPlayers() []*Search_Player
func (*Search) ProtoMessage ¶
func (*Search) ProtoMessage()
func (*Search) ProtoReflect ¶
func (x *Search) ProtoReflect() protoreflect.Message
type Search_Player ¶
type Search_Player struct { AccountId uint32 `protobuf:"varint,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` PersonaName string `protobuf:"bytes,3,opt,name=persona_name,json=personaName,proto3" json:"persona_name,omitempty"` AvatarUrl string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` AvatarMediumUrl string `protobuf:"bytes,5,opt,name=avatar_medium_url,json=avatarMediumUrl,proto3" json:"avatar_medium_url,omitempty"` AvatarFullUrl string `protobuf:"bytes,6,opt,name=avatar_full_url,json=avatarFullUrl,proto3" json:"avatar_full_url,omitempty"` IsPro bool `protobuf:"varint,7,opt,name=is_pro,json=isPro,proto3" json:"is_pro,omitempty"` Slug string `protobuf:"bytes,8,opt,name=slug,proto3" json:"slug,omitempty"` // contains filtered or unexported fields }
func (*Search_Player) Descriptor
deprecated
func (*Search_Player) Descriptor() ([]byte, []int)
Deprecated: Use Search_Player.ProtoReflect.Descriptor instead.
func (*Search_Player) GetAccountId ¶
func (x *Search_Player) GetAccountId() uint32
func (*Search_Player) GetAvatarFullUrl ¶
func (x *Search_Player) GetAvatarFullUrl() string
func (*Search_Player) GetAvatarMediumUrl ¶
func (x *Search_Player) GetAvatarMediumUrl() string
func (*Search_Player) GetAvatarUrl ¶
func (x *Search_Player) GetAvatarUrl() string
func (*Search_Player) GetIsPro ¶
func (x *Search_Player) GetIsPro() bool
func (*Search_Player) GetName ¶
func (x *Search_Player) GetName() string
func (*Search_Player) GetPersonaName ¶
func (x *Search_Player) GetPersonaName() string
func (*Search_Player) GetSlug ¶
func (x *Search_Player) GetSlug() string
func (*Search_Player) ProtoMessage ¶
func (*Search_Player) ProtoMessage()
func (*Search_Player) ProtoReflect ¶
func (x *Search_Player) ProtoReflect() protoreflect.Message
func (*Search_Player) Reset ¶
func (x *Search_Player) Reset()
func (*Search_Player) String ¶
func (x *Search_Player) String() string
type SeriesType ¶
type SeriesType int32
const ( SeriesType_SERIES_TYPE_UNSPECIFIED SeriesType = 0 SeriesType_SERIES_TYPE_BEST_OF_THREE SeriesType = 1 SeriesType_SERIES_TYPE_BEST_OF_FIVE SeriesType = 2 )
func (SeriesType) Descriptor ¶
func (SeriesType) Descriptor() protoreflect.EnumDescriptor
func (SeriesType) Enum ¶
func (x SeriesType) Enum() *SeriesType
func (SeriesType) EnumDescriptor
deprecated
func (SeriesType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SeriesType.Descriptor instead.
func (SeriesType) Number ¶
func (x SeriesType) Number() protoreflect.EnumNumber
func (SeriesType) String ¶
func (x SeriesType) String() string
func (SeriesType) Type ¶
func (SeriesType) Type() protoreflect.EnumType
type SteamAccountFlags ¶
type SteamAccountFlags uint32
type Team ¶
type Team struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Tag string `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"` LogoUrl string `protobuf:"bytes,4,opt,name=logo_url,json=logoUrl,proto3" json:"logo_url,omitempty"` // contains filtered or unexported fields }
func (*Team) Descriptor
deprecated
func (*Team) GetLogoUrl ¶
func (*Team) ProtoMessage ¶
func (*Team) ProtoMessage()
func (*Team) ProtoReflect ¶
func (x *Team) ProtoReflect() protoreflect.Message