Documentation ¶
Overview ¶
Package protobufs is a generated protocol buffer package.
It is generated from these files:
buffers/eros.proto
It has these top-level messages:
Handshake Division HandshakeResponse UserRegionStats UserStats MapPool Map SimulationResult MatchmakingQueue MatchmakingResult ChatRoomInfo ChatRoomIndex ChatMessage ChatRoomMessage ChatPrivateMessage ChatHistoryMessages ChatRoomUser ChatRoomRequest MatchmakingStats ServerStats Character OAuthRequest OAuthUrl MatchParticipant MatchResult BroadcastAlert
Index ¶
- Variables
- type BroadcastAlert
- type Character
- func (m *Character) GetCharacterCode() int32
- func (m *Character) GetCharacterName() string
- func (m *Character) GetIngameProfileLink() string
- func (m *Character) GetProfileId() int32
- func (m *Character) GetProfileLink() string
- func (m *Character) GetRegion() Region
- func (m *Character) GetSubregion() int32
- func (m *Character) GetVerificationPortrait() int32
- func (m *Character) GetVerified() bool
- func (*Character) ProtoMessage()
- func (m *Character) Reset()
- func (m *Character) String() string
- type ChatHistoryMessages
- type ChatMessage
- type ChatPrivateMessage
- type ChatRoomIndex
- type ChatRoomInfo
- func (m *ChatRoomInfo) GetFixed() bool
- func (m *ChatRoomInfo) GetForced() bool
- func (m *ChatRoomInfo) GetJoinable() bool
- func (m *ChatRoomInfo) GetKey() string
- func (m *ChatRoomInfo) GetName() string
- func (m *ChatRoomInfo) GetParticipant() []*UserStats
- func (m *ChatRoomInfo) GetPassworded() bool
- func (m *ChatRoomInfo) GetUsers() int64
- func (*ChatRoomInfo) ProtoMessage()
- func (m *ChatRoomInfo) Reset()
- func (m *ChatRoomInfo) String() string
- type ChatRoomMessage
- func (m *ChatRoomMessage) GetMessage() string
- func (m *ChatRoomMessage) GetRoom() *ChatRoomInfo
- func (m *ChatRoomMessage) GetSender() *UserStats
- func (m *ChatRoomMessage) GetTimestamp() int64
- func (*ChatRoomMessage) ProtoMessage()
- func (m *ChatRoomMessage) Reset()
- func (m *ChatRoomMessage) String() string
- type ChatRoomRequest
- type ChatRoomUser
- type Division
- func (m *Division) GetDemotionThreshold() float64
- func (m *Division) GetIconUrl() string
- func (m *Division) GetId() int64
- func (m *Division) GetName() string
- func (m *Division) GetPromotionThreshold() float64
- func (m *Division) GetSmallIconUrl() string
- func (*Division) ProtoMessage()
- func (m *Division) Reset()
- func (m *Division) String() string
- type Handshake
- type HandshakeResponse
- func (m *HandshakeResponse) GetActiveRegion() []Region
- func (m *HandshakeResponse) GetCharacter() []*Character
- func (m *HandshakeResponse) GetDivision() []*Division
- func (m *HandshakeResponse) GetId() int64
- func (m *HandshakeResponse) GetMapPool() *MapPool
- func (m *HandshakeResponse) GetMaxVetoes() int64
- func (m *HandshakeResponse) GetStatus() HandshakeResponse_HandshakeStatus
- func (m *HandshakeResponse) GetUser() *UserStats
- func (*HandshakeResponse) ProtoMessage()
- func (m *HandshakeResponse) Reset()
- func (m *HandshakeResponse) String() string
- type HandshakeResponse_HandshakeStatus
- type Map
- type MapPool
- type MatchParticipant
- func (m *MatchParticipant) GetCharacter() *Character
- func (m *MatchParticipant) GetPointsAfter() int64
- func (m *MatchParticipant) GetPointsBefore() int64
- func (m *MatchParticipant) GetPointsDifference() int64
- func (m *MatchParticipant) GetRace() string
- func (m *MatchParticipant) GetUser() *UserStats
- func (m *MatchParticipant) GetVictory() bool
- func (*MatchParticipant) ProtoMessage()
- func (m *MatchParticipant) Reset()
- func (m *MatchParticipant) String() string
- type MatchResult
- type MatchmakingQueue
- type MatchmakingResult
- func (m *MatchmakingResult) GetChannel() string
- func (m *MatchmakingResult) GetChatRoom() string
- func (m *MatchmakingResult) GetLongResponseTime() int64
- func (m *MatchmakingResult) GetLongUnlockTime() int64
- func (m *MatchmakingResult) GetMap() *Map
- func (m *MatchmakingResult) GetOpponent() *UserStats
- func (m *MatchmakingResult) GetOpponentLatency() int64
- func (m *MatchmakingResult) GetQuality() float64
- func (m *MatchmakingResult) GetTimespan() int64
- func (*MatchmakingResult) ProtoMessage()
- func (m *MatchmakingResult) Reset()
- func (m *MatchmakingResult) String() string
- type MatchmakingStats
- type OAuthRequest
- type OAuthUrl
- type Region
- type ServerStats
- type SimulationResult
- type UserRegionStats
- func (m *UserRegionStats) GetDivision() int64
- func (m *UserRegionStats) GetDivisionRank() int64
- func (m *UserRegionStats) GetForfeits() int64
- func (m *UserRegionStats) GetLosses() int64
- func (m *UserRegionStats) GetMmr() float64
- func (m *UserRegionStats) GetPlacementsRemaining() int64
- func (m *UserRegionStats) GetPoints() int64
- func (m *UserRegionStats) GetRegion() Region
- func (m *UserRegionStats) GetWalkovers() int64
- func (m *UserRegionStats) GetWins() int64
- func (*UserRegionStats) ProtoMessage()
- func (m *UserRegionStats) Reset()
- func (m *UserRegionStats) String() string
- type UserStats
- func (m *UserStats) GetDivision() int64
- func (m *UserStats) GetDivisionRank() int64
- func (m *UserStats) GetForfeits() int64
- func (m *UserStats) GetId() int64
- func (m *UserStats) GetLosses() int64
- func (m *UserStats) GetMmr() float64
- func (m *UserStats) GetPlacementsRemaining() int64
- func (m *UserStats) GetPoints() int64
- func (m *UserStats) GetRegion() []*UserRegionStats
- func (m *UserStats) GetSearchRadius() int64
- func (m *UserStats) GetUsername() string
- func (m *UserStats) GetVetoes() []*Map
- func (m *UserStats) GetWalkovers() int64
- func (m *UserStats) GetWins() int64
- func (*UserStats) ProtoMessage()
- func (m *UserStats) Reset()
- func (m *UserStats) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var HandshakeResponse_HandshakeStatus_name = map[int32]string{
0: "FAIL",
1: "SUCCESS",
2: "ALREADY_LOGGED_IN",
}
View Source
var HandshakeResponse_HandshakeStatus_value = map[string]int32{
"FAIL": 0,
"SUCCESS": 1,
"ALREADY_LOGGED_IN": 2,
}
View Source
var Region_name = map[int32]string{
1: "NA",
2: "EU",
3: "KR",
5: "CN",
6: "SEA",
}
View Source
var Region_value = map[string]int32{
"NA": 1,
"EU": 2,
"KR": 3,
"CN": 5,
"SEA": 6,
}
Functions ¶
This section is empty.
Types ¶
type BroadcastAlert ¶
type BroadcastAlert struct { Message *string `protobuf:"bytes,2,req,name=message" json:"message,omitempty"` Predefined *int32 `protobuf:"varint,1,req,name=predefined" json:"predefined,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BroadcastAlert) GetMessage ¶
func (m *BroadcastAlert) GetMessage() string
func (*BroadcastAlert) GetPredefined ¶
func (m *BroadcastAlert) GetPredefined() int32
func (*BroadcastAlert) ProtoMessage ¶
func (*BroadcastAlert) ProtoMessage()
func (*BroadcastAlert) Reset ¶
func (m *BroadcastAlert) Reset()
func (*BroadcastAlert) String ¶
func (m *BroadcastAlert) String() string
type Character ¶
type Character struct { Region *Region `protobuf:"varint,1,req,name=region,enum=protobufs.Region" json:"region,omitempty"` Subregion *int32 `protobuf:"varint,2,req,name=subregion" json:"subregion,omitempty"` ProfileId *int32 `protobuf:"varint,3,req,name=profile_id" json:"profile_id,omitempty"` CharacterName *string `protobuf:"bytes,4,req,name=character_name" json:"character_name,omitempty"` CharacterCode *int32 `protobuf:"varint,5,opt,name=character_code" json:"character_code,omitempty"` ProfileLink *string `protobuf:"bytes,6,opt,name=profile_link" json:"profile_link,omitempty"` IngameProfileLink *string `protobuf:"bytes,7,opt,name=ingame_profile_link" json:"ingame_profile_link,omitempty"` Verified *bool `protobuf:"varint,8,opt,name=verified" json:"verified,omitempty"` VerificationPortrait *int32 `protobuf:"varint,9,opt,name=verification_portrait" json:"verification_portrait,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Character) GetCharacterCode ¶
func (*Character) GetCharacterName ¶
func (*Character) GetIngameProfileLink ¶
func (*Character) GetProfileId ¶
func (*Character) GetProfileLink ¶
func (*Character) GetSubregion ¶
func (*Character) GetVerificationPortrait ¶
func (*Character) GetVerified ¶
func (*Character) ProtoMessage ¶
func (*Character) ProtoMessage()
type ChatHistoryMessages ¶
type ChatHistoryMessages struct { Message []*ChatRoomMessage `protobuf:"bytes,1,rep,name=message" json:"message,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ChatHistoryMessages) GetMessage ¶
func (m *ChatHistoryMessages) GetMessage() []*ChatRoomMessage
func (*ChatHistoryMessages) ProtoMessage ¶
func (*ChatHistoryMessages) ProtoMessage()
func (*ChatHistoryMessages) Reset ¶
func (m *ChatHistoryMessages) Reset()
func (*ChatHistoryMessages) String ¶
func (m *ChatHistoryMessages) String() string
type ChatMessage ¶
type ChatMessage struct { Sender *string `protobuf:"bytes,1,req,name=sender" json:"sender,omitempty"` Target *string `protobuf:"bytes,2,req,name=target" json:"target,omitempty"` Message *string `protobuf:"bytes,3,req,name=message" json:"message,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ChatMessage) GetMessage ¶
func (m *ChatMessage) GetMessage() string
func (*ChatMessage) GetSender ¶
func (m *ChatMessage) GetSender() string
func (*ChatMessage) GetTarget ¶
func (m *ChatMessage) GetTarget() string
func (*ChatMessage) ProtoMessage ¶
func (*ChatMessage) ProtoMessage()
func (*ChatMessage) Reset ¶
func (m *ChatMessage) Reset()
func (*ChatMessage) String ¶
func (m *ChatMessage) String() string
type ChatPrivateMessage ¶
type ChatPrivateMessage struct { Sender *UserStats `protobuf:"bytes,1,req,name=sender" json:"sender,omitempty"` Message *string `protobuf:"bytes,2,req,name=message" json:"message,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ChatPrivateMessage) GetMessage ¶
func (m *ChatPrivateMessage) GetMessage() string
func (*ChatPrivateMessage) GetSender ¶
func (m *ChatPrivateMessage) GetSender() *UserStats
func (*ChatPrivateMessage) ProtoMessage ¶
func (*ChatPrivateMessage) ProtoMessage()
func (*ChatPrivateMessage) Reset ¶
func (m *ChatPrivateMessage) Reset()
func (*ChatPrivateMessage) String ¶
func (m *ChatPrivateMessage) String() string
type ChatRoomIndex ¶
type ChatRoomIndex struct { Room []*ChatRoomInfo `protobuf:"bytes,1,rep,name=room" json:"room,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ChatRoomIndex) GetRoom ¶
func (m *ChatRoomIndex) GetRoom() []*ChatRoomInfo
func (*ChatRoomIndex) ProtoMessage ¶
func (*ChatRoomIndex) ProtoMessage()
func (*ChatRoomIndex) Reset ¶
func (m *ChatRoomIndex) Reset()
func (*ChatRoomIndex) String ¶
func (m *ChatRoomIndex) String() string
type ChatRoomInfo ¶
type ChatRoomInfo struct { Key *string `protobuf:"bytes,1,req,name=key" json:"key,omitempty"` Name *string `protobuf:"bytes,2,req,name=name" json:"name,omitempty"` Passworded *bool `protobuf:"varint,3,req,name=passworded" json:"passworded,omitempty"` Joinable *bool `protobuf:"varint,4,req,name=joinable" json:"joinable,omitempty"` Fixed *bool `protobuf:"varint,5,req,name=fixed" json:"fixed,omitempty"` Users *int64 `protobuf:"varint,6,req,name=users" json:"users,omitempty"` Participant []*UserStats `protobuf:"bytes,7,rep,name=participant" json:"participant,omitempty"` Forced *bool `protobuf:"varint,8,req,name=forced" json:"forced,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ChatRoomInfo) GetFixed ¶
func (m *ChatRoomInfo) GetFixed() bool
func (*ChatRoomInfo) GetForced ¶
func (m *ChatRoomInfo) GetForced() bool
func (*ChatRoomInfo) GetJoinable ¶
func (m *ChatRoomInfo) GetJoinable() bool
func (*ChatRoomInfo) GetKey ¶
func (m *ChatRoomInfo) GetKey() string
func (*ChatRoomInfo) GetName ¶
func (m *ChatRoomInfo) GetName() string
func (*ChatRoomInfo) GetParticipant ¶
func (m *ChatRoomInfo) GetParticipant() []*UserStats
func (*ChatRoomInfo) GetPassworded ¶
func (m *ChatRoomInfo) GetPassworded() bool
func (*ChatRoomInfo) GetUsers ¶
func (m *ChatRoomInfo) GetUsers() int64
func (*ChatRoomInfo) ProtoMessage ¶
func (*ChatRoomInfo) ProtoMessage()
func (*ChatRoomInfo) Reset ¶
func (m *ChatRoomInfo) Reset()
func (*ChatRoomInfo) String ¶
func (m *ChatRoomInfo) String() string
type ChatRoomMessage ¶
type ChatRoomMessage struct { Room *ChatRoomInfo `protobuf:"bytes,1,req,name=room" json:"room,omitempty"` Sender *UserStats `protobuf:"bytes,2,req,name=sender" json:"sender,omitempty"` Message *string `protobuf:"bytes,3,req,name=message" json:"message,omitempty"` Timestamp *int64 `protobuf:"varint,4,opt,name=timestamp" json:"timestamp,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ChatRoomMessage) GetMessage ¶
func (m *ChatRoomMessage) GetMessage() string
func (*ChatRoomMessage) GetRoom ¶
func (m *ChatRoomMessage) GetRoom() *ChatRoomInfo
func (*ChatRoomMessage) GetSender ¶
func (m *ChatRoomMessage) GetSender() *UserStats
func (*ChatRoomMessage) GetTimestamp ¶
func (m *ChatRoomMessage) GetTimestamp() int64
func (*ChatRoomMessage) ProtoMessage ¶
func (*ChatRoomMessage) ProtoMessage()
func (*ChatRoomMessage) Reset ¶
func (m *ChatRoomMessage) Reset()
func (*ChatRoomMessage) String ¶
func (m *ChatRoomMessage) String() string
type ChatRoomRequest ¶
type ChatRoomRequest struct { Room *string `protobuf:"bytes,1,req,name=room" json:"room,omitempty"` Password *string `protobuf:"bytes,2,req,name=password" json:"password,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ChatRoomRequest) GetPassword ¶
func (m *ChatRoomRequest) GetPassword() string
func (*ChatRoomRequest) GetRoom ¶
func (m *ChatRoomRequest) GetRoom() string
func (*ChatRoomRequest) ProtoMessage ¶
func (*ChatRoomRequest) ProtoMessage()
func (*ChatRoomRequest) Reset ¶
func (m *ChatRoomRequest) Reset()
func (*ChatRoomRequest) String ¶
func (m *ChatRoomRequest) String() string
type ChatRoomUser ¶
type ChatRoomUser struct { Room *ChatRoomInfo `protobuf:"bytes,1,req,name=room" json:"room,omitempty"` User *UserStats `protobuf:"bytes,2,req,name=user" json:"user,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ChatRoomUser) GetRoom ¶
func (m *ChatRoomUser) GetRoom() *ChatRoomInfo
func (*ChatRoomUser) GetUser ¶
func (m *ChatRoomUser) GetUser() *UserStats
func (*ChatRoomUser) ProtoMessage ¶
func (*ChatRoomUser) ProtoMessage()
func (*ChatRoomUser) Reset ¶
func (m *ChatRoomUser) Reset()
func (*ChatRoomUser) String ¶
func (m *ChatRoomUser) String() string
type Division ¶
type Division struct { Id *int64 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Name *string `protobuf:"bytes,2,req,name=name" json:"name,omitempty"` PromotionThreshold *float64 `protobuf:"fixed64,3,req,name=promotion_threshold" json:"promotion_threshold,omitempty"` DemotionThreshold *float64 `protobuf:"fixed64,4,req,name=demotion_threshold" json:"demotion_threshold,omitempty"` IconUrl *string `protobuf:"bytes,5,req,name=icon_url" json:"icon_url,omitempty"` SmallIconUrl *string `protobuf:"bytes,6,req,name=small_icon_url" json:"small_icon_url,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Division) GetDemotionThreshold ¶
func (*Division) GetIconUrl ¶
func (*Division) GetPromotionThreshold ¶
func (*Division) GetSmallIconUrl ¶
func (*Division) ProtoMessage ¶
func (*Division) ProtoMessage()
type Handshake ¶
type Handshake struct { Username *string `protobuf:"bytes,1,opt,name=username" json:"username,omitempty"` AuthKey *string `protobuf:"bytes,2,opt,name=auth_key" json:"auth_key,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Handshake) GetAuthKey ¶
func (*Handshake) GetUsername ¶
func (*Handshake) ProtoMessage ¶
func (*Handshake) ProtoMessage()
type HandshakeResponse ¶
type HandshakeResponse struct { Status *HandshakeResponse_HandshakeStatus `protobuf:"varint,1,req,name=status,enum=protobufs.HandshakeResponse_HandshakeStatus" json:"status,omitempty"` User *UserStats `protobuf:"bytes,2,opt,name=user" json:"user,omitempty"` Id *int64 `protobuf:"varint,3,opt,name=id" json:"id,omitempty"` Character []*Character `protobuf:"bytes,4,rep,name=character" json:"character,omitempty"` Division []*Division `protobuf:"bytes,5,rep,name=division" json:"division,omitempty"` ActiveRegion []Region `protobuf:"varint,6,rep,name=active_region,enum=protobufs.Region" json:"active_region,omitempty"` MapPool *MapPool `protobuf:"bytes,7,opt,name=map_pool" json:"map_pool,omitempty"` MaxVetoes *int64 `protobuf:"varint,8,opt,name=max_vetoes" json:"max_vetoes,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*HandshakeResponse) GetActiveRegion ¶
func (m *HandshakeResponse) GetActiveRegion() []Region
func (*HandshakeResponse) GetCharacter ¶
func (m *HandshakeResponse) GetCharacter() []*Character
func (*HandshakeResponse) GetDivision ¶
func (m *HandshakeResponse) GetDivision() []*Division
func (*HandshakeResponse) GetId ¶
func (m *HandshakeResponse) GetId() int64
func (*HandshakeResponse) GetMapPool ¶
func (m *HandshakeResponse) GetMapPool() *MapPool
func (*HandshakeResponse) GetMaxVetoes ¶
func (m *HandshakeResponse) GetMaxVetoes() int64
func (*HandshakeResponse) GetStatus ¶
func (m *HandshakeResponse) GetStatus() HandshakeResponse_HandshakeStatus
func (*HandshakeResponse) GetUser ¶
func (m *HandshakeResponse) GetUser() *UserStats
func (*HandshakeResponse) ProtoMessage ¶
func (*HandshakeResponse) ProtoMessage()
func (*HandshakeResponse) Reset ¶
func (m *HandshakeResponse) Reset()
func (*HandshakeResponse) String ¶
func (m *HandshakeResponse) String() string
type HandshakeResponse_HandshakeStatus ¶
type HandshakeResponse_HandshakeStatus int32
const ( HandshakeResponse_FAIL HandshakeResponse_HandshakeStatus = 0 HandshakeResponse_SUCCESS HandshakeResponse_HandshakeStatus = 1 HandshakeResponse_ALREADY_LOGGED_IN HandshakeResponse_HandshakeStatus = 2 )
func (HandshakeResponse_HandshakeStatus) Enum ¶
func (x HandshakeResponse_HandshakeStatus) Enum() *HandshakeResponse_HandshakeStatus
func (HandshakeResponse_HandshakeStatus) String ¶
func (x HandshakeResponse_HandshakeStatus) String() string
func (*HandshakeResponse_HandshakeStatus) UnmarshalJSON ¶
func (x *HandshakeResponse_HandshakeStatus) UnmarshalJSON(data []byte) error
type Map ¶
type Map struct { Region *Region `protobuf:"varint,1,req,name=region,enum=protobufs.Region" json:"region,omitempty"` BattleNetName *string `protobuf:"bytes,2,req,name=battle_net_name" json:"battle_net_name,omitempty"` BattleNetId *int32 `protobuf:"varint,3,req,name=battle_net_id" json:"battle_net_id,omitempty"` Description *string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"` InfoUrl *string `protobuf:"bytes,5,opt,name=info_url" json:"info_url,omitempty"` PreviewUrl *string `protobuf:"bytes,6,opt,name=preview_url" json:"preview_url,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Map) GetBattleNetId ¶
func (*Map) GetBattleNetName ¶
func (*Map) GetDescription ¶
func (*Map) GetInfoUrl ¶
func (*Map) GetPreviewUrl ¶
func (*Map) ProtoMessage ¶
func (*Map) ProtoMessage()
type MapPool ¶
type MapPool struct { Map []*Map `protobuf:"bytes,1,rep,name=map" json:"map,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*MapPool) ProtoMessage ¶
func (*MapPool) ProtoMessage()
type MatchParticipant ¶
type MatchParticipant struct { User *UserStats `protobuf:"bytes,1,opt,name=user" json:"user,omitempty"` Character *Character `protobuf:"bytes,2,opt,name=character" json:"character,omitempty"` PointsBefore *int64 `protobuf:"varint,3,req,name=points_before" json:"points_before,omitempty"` PointsAfter *int64 `protobuf:"varint,4,req,name=points_after" json:"points_after,omitempty"` PointsDifference *int64 `protobuf:"varint,5,req,name=points_difference" json:"points_difference,omitempty"` Victory *bool `protobuf:"varint,6,req,name=victory" json:"victory,omitempty"` Race *string `protobuf:"bytes,7,req,name=race" json:"race,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*MatchParticipant) GetCharacter ¶
func (m *MatchParticipant) GetCharacter() *Character
func (*MatchParticipant) GetPointsAfter ¶
func (m *MatchParticipant) GetPointsAfter() int64
func (*MatchParticipant) GetPointsBefore ¶
func (m *MatchParticipant) GetPointsBefore() int64
func (*MatchParticipant) GetPointsDifference ¶
func (m *MatchParticipant) GetPointsDifference() int64
func (*MatchParticipant) GetRace ¶
func (m *MatchParticipant) GetRace() string
func (*MatchParticipant) GetUser ¶
func (m *MatchParticipant) GetUser() *UserStats
func (*MatchParticipant) GetVictory ¶
func (m *MatchParticipant) GetVictory() bool
func (*MatchParticipant) ProtoMessage ¶
func (*MatchParticipant) ProtoMessage()
func (*MatchParticipant) Reset ¶
func (m *MatchParticipant) Reset()
func (*MatchParticipant) String ¶
func (m *MatchParticipant) String() string
type MatchResult ¶
type MatchResult struct { Region *Region `protobuf:"varint,1,req,name=region,enum=protobufs.Region" json:"region,omitempty"` Map *Map `protobuf:"bytes,2,req,name=map" json:"map,omitempty"` Participant []*MatchParticipant `protobuf:"bytes,3,rep,name=participant" json:"participant,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*MatchResult) GetMap ¶
func (m *MatchResult) GetMap() *Map
func (*MatchResult) GetParticipant ¶
func (m *MatchResult) GetParticipant() []*MatchParticipant
func (*MatchResult) GetRegion ¶
func (m *MatchResult) GetRegion() Region
func (*MatchResult) ProtoMessage ¶
func (*MatchResult) ProtoMessage()
func (*MatchResult) Reset ¶
func (m *MatchResult) Reset()
func (*MatchResult) String ¶
func (m *MatchResult) String() string
type MatchmakingQueue ¶
type MatchmakingQueue struct { Region []Region `protobuf:"varint,1,rep,name=region,enum=protobufs.Region" json:"region,omitempty"` Radius *int64 `protobuf:"varint,2,req,name=radius" json:"radius,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*MatchmakingQueue) GetRadius ¶
func (m *MatchmakingQueue) GetRadius() int64
func (*MatchmakingQueue) GetRegion ¶
func (m *MatchmakingQueue) GetRegion() []Region
func (*MatchmakingQueue) ProtoMessage ¶
func (*MatchmakingQueue) ProtoMessage()
func (*MatchmakingQueue) Reset ¶
func (m *MatchmakingQueue) Reset()
func (*MatchmakingQueue) String ¶
func (m *MatchmakingQueue) String() string
type MatchmakingResult ¶
type MatchmakingResult struct { Timespan *int64 `protobuf:"varint,1,req,name=timespan" json:"timespan,omitempty"` Quality *float64 `protobuf:"fixed64,2,req,name=quality" json:"quality,omitempty"` Opponent *UserStats `protobuf:"bytes,3,req,name=opponent" json:"opponent,omitempty"` OpponentLatency *int64 `protobuf:"varint,4,opt,name=opponent_latency" json:"opponent_latency,omitempty"` Channel *string `protobuf:"bytes,5,req,name=channel" json:"channel,omitempty"` ChatRoom *string `protobuf:"bytes,6,req,name=chat_room" json:"chat_room,omitempty"` Map *Map `protobuf:"bytes,7,req,name=map" json:"map,omitempty"` LongUnlockTime *int64 `protobuf:"varint,8,req,name=long_unlock_time" json:"long_unlock_time,omitempty"` LongResponseTime *int64 `protobuf:"varint,9,req,name=long_response_time" json:"long_response_time,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*MatchmakingResult) GetChannel ¶
func (m *MatchmakingResult) GetChannel() string
func (*MatchmakingResult) GetChatRoom ¶
func (m *MatchmakingResult) GetChatRoom() string
func (*MatchmakingResult) GetLongResponseTime ¶
func (m *MatchmakingResult) GetLongResponseTime() int64
func (*MatchmakingResult) GetLongUnlockTime ¶
func (m *MatchmakingResult) GetLongUnlockTime() int64
func (*MatchmakingResult) GetMap ¶
func (m *MatchmakingResult) GetMap() *Map
func (*MatchmakingResult) GetOpponent ¶
func (m *MatchmakingResult) GetOpponent() *UserStats
func (*MatchmakingResult) GetOpponentLatency ¶
func (m *MatchmakingResult) GetOpponentLatency() int64
func (*MatchmakingResult) GetQuality ¶
func (m *MatchmakingResult) GetQuality() float64
func (*MatchmakingResult) GetTimespan ¶
func (m *MatchmakingResult) GetTimespan() int64
func (*MatchmakingResult) ProtoMessage ¶
func (*MatchmakingResult) ProtoMessage()
func (*MatchmakingResult) Reset ¶
func (m *MatchmakingResult) Reset()
func (*MatchmakingResult) String ¶
func (m *MatchmakingResult) String() string
type MatchmakingStats ¶
type MatchmakingStats struct { Region *Region `protobuf:"varint,1,req,name=region,enum=protobufs.Region" json:"region,omitempty"` SearchingUsers *int64 `protobuf:"varint,2,req,name=searching_users" json:"searching_users,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*MatchmakingStats) GetRegion ¶
func (m *MatchmakingStats) GetRegion() Region
func (*MatchmakingStats) GetSearchingUsers ¶
func (m *MatchmakingStats) GetSearchingUsers() int64
func (*MatchmakingStats) ProtoMessage ¶
func (*MatchmakingStats) ProtoMessage()
func (*MatchmakingStats) Reset ¶
func (m *MatchmakingStats) Reset()
func (*MatchmakingStats) String ¶
func (m *MatchmakingStats) String() string
type OAuthRequest ¶
type OAuthRequest struct { Region *Region `protobuf:"varint,1,req,name=region,enum=protobufs.Region" json:"region,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*OAuthRequest) GetRegion ¶
func (m *OAuthRequest) GetRegion() Region
func (*OAuthRequest) ProtoMessage ¶
func (*OAuthRequest) ProtoMessage()
func (*OAuthRequest) Reset ¶
func (m *OAuthRequest) Reset()
func (*OAuthRequest) String ¶
func (m *OAuthRequest) String() string
type OAuthUrl ¶
type OAuthUrl struct { Url *string `protobuf:"bytes,1,req,name=url" json:"url,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*OAuthUrl) ProtoMessage ¶
func (*OAuthUrl) ProtoMessage()
type ServerStats ¶
type ServerStats struct { ActiveUsers *int64 `protobuf:"varint,1,req,name=active_users" json:"active_users,omitempty"` SearchingUsers *int64 `protobuf:"varint,2,req,name=searching_users" json:"searching_users,omitempty"` Region []*MatchmakingStats `protobuf:"bytes,3,rep,name=region" json:"region,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ServerStats) GetActiveUsers ¶
func (m *ServerStats) GetActiveUsers() int64
func (*ServerStats) GetRegion ¶
func (m *ServerStats) GetRegion() []*MatchmakingStats
func (*ServerStats) GetSearchingUsers ¶
func (m *ServerStats) GetSearchingUsers() int64
func (*ServerStats) ProtoMessage ¶
func (*ServerStats) ProtoMessage()
func (*ServerStats) Reset ¶
func (m *ServerStats) Reset()
func (*ServerStats) String ¶
func (m *ServerStats) String() string
type SimulationResult ¶
type SimulationResult struct { Opponent *UserStats `protobuf:"bytes,1,req,name=opponent" json:"opponent,omitempty"` Victory *bool `protobuf:"varint,2,req,name=victory" json:"victory,omitempty"` MatchQuality *float64 `protobuf:"fixed64,3,req,name=match_quality" json:"match_quality,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SimulationResult) GetMatchQuality ¶
func (m *SimulationResult) GetMatchQuality() float64
func (*SimulationResult) GetOpponent ¶
func (m *SimulationResult) GetOpponent() *UserStats
func (*SimulationResult) GetVictory ¶
func (m *SimulationResult) GetVictory() bool
func (*SimulationResult) ProtoMessage ¶
func (*SimulationResult) ProtoMessage()
func (*SimulationResult) Reset ¶
func (m *SimulationResult) Reset()
func (*SimulationResult) String ¶
func (m *SimulationResult) String() string
type UserRegionStats ¶
type UserRegionStats struct { Region *Region `protobuf:"varint,1,req,name=region,enum=protobufs.Region" json:"region,omitempty"` Points *int64 `protobuf:"varint,2,req,name=points" json:"points,omitempty"` Wins *int64 `protobuf:"varint,3,req,name=wins" json:"wins,omitempty"` Losses *int64 `protobuf:"varint,4,req,name=losses" json:"losses,omitempty"` Forfeits *int64 `protobuf:"varint,5,req,name=forfeits" json:"forfeits,omitempty"` Walkovers *int64 `protobuf:"varint,6,req,name=walkovers" json:"walkovers,omitempty"` Mmr *float64 `protobuf:"fixed64,7,req,name=mmr" json:"mmr,omitempty"` PlacementsRemaining *int64 `protobuf:"varint,8,req,name=placements_remaining" json:"placements_remaining,omitempty"` Division *int64 `protobuf:"varint,9,req,name=division" json:"division,omitempty"` DivisionRank *int64 `protobuf:"varint,10,opt,name=division_rank" json:"division_rank,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*UserRegionStats) GetDivision ¶
func (m *UserRegionStats) GetDivision() int64
func (*UserRegionStats) GetDivisionRank ¶
func (m *UserRegionStats) GetDivisionRank() int64
func (*UserRegionStats) GetForfeits ¶
func (m *UserRegionStats) GetForfeits() int64
func (*UserRegionStats) GetLosses ¶
func (m *UserRegionStats) GetLosses() int64
func (*UserRegionStats) GetMmr ¶
func (m *UserRegionStats) GetMmr() float64
func (*UserRegionStats) GetPlacementsRemaining ¶
func (m *UserRegionStats) GetPlacementsRemaining() int64
func (*UserRegionStats) GetPoints ¶
func (m *UserRegionStats) GetPoints() int64
func (*UserRegionStats) GetRegion ¶
func (m *UserRegionStats) GetRegion() Region
func (*UserRegionStats) GetWalkovers ¶
func (m *UserRegionStats) GetWalkovers() int64
func (*UserRegionStats) GetWins ¶
func (m *UserRegionStats) GetWins() int64
func (*UserRegionStats) ProtoMessage ¶
func (*UserRegionStats) ProtoMessage()
func (*UserRegionStats) Reset ¶
func (m *UserRegionStats) Reset()
func (*UserRegionStats) String ¶
func (m *UserRegionStats) String() string
type UserStats ¶
type UserStats struct { Username *string `protobuf:"bytes,1,req,name=username" json:"username,omitempty"` SearchRadius *int64 `protobuf:"varint,2,req,name=search_radius" json:"search_radius,omitempty"` Points *int64 `protobuf:"varint,3,req,name=points" json:"points,omitempty"` Wins *int64 `protobuf:"varint,4,req,name=wins" json:"wins,omitempty"` Losses *int64 `protobuf:"varint,5,req,name=losses" json:"losses,omitempty"` Forfeits *int64 `protobuf:"varint,6,req,name=forfeits" json:"forfeits,omitempty"` Walkovers *int64 `protobuf:"varint,7,req,name=walkovers" json:"walkovers,omitempty"` Region []*UserRegionStats `protobuf:"bytes,8,rep,name=region" json:"region,omitempty"` Vetoes []*Map `protobuf:"bytes,9,rep,name=vetoes" json:"vetoes,omitempty"` Id *int64 `protobuf:"varint,10,req,name=id" json:"id,omitempty"` Mmr *float64 `protobuf:"fixed64,11,req,name=mmr" json:"mmr,omitempty"` PlacementsRemaining *int64 `protobuf:"varint,12,req,name=placements_remaining" json:"placements_remaining,omitempty"` Division *int64 `protobuf:"varint,13,req,name=division" json:"division,omitempty"` DivisionRank *int64 `protobuf:"varint,14,req,name=division_rank" json:"division_rank,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*UserStats) GetDivision ¶
func (*UserStats) GetDivisionRank ¶
func (*UserStats) GetForfeits ¶
func (*UserStats) GetPlacementsRemaining ¶
func (*UserStats) GetRegion ¶
func (m *UserStats) GetRegion() []*UserRegionStats
func (*UserStats) GetSearchRadius ¶
func (*UserStats) GetUsername ¶
func (*UserStats) GetWalkovers ¶
func (*UserStats) ProtoMessage ¶
func (*UserStats) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.