2697 lines
85 KiB
Go
2697 lines
85 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v7.34.0
|
|
// source: stalker.proto
|
|
|
|
package stalker
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
emptypb "google.golang.org/protobuf/types/known/emptypb"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
// Player represents a FaceIT player
|
|
type Player struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PlayerId string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
|
|
Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"`
|
|
Avatar string `protobuf:"bytes,3,opt,name=avatar,proto3" json:"avatar,omitempty"`
|
|
Country string `protobuf:"bytes,4,opt,name=country,proto3" json:"country,omitempty"`
|
|
FaceitUrl string `protobuf:"bytes,5,opt,name=faceit_url,json=faceitUrl,proto3" json:"faceit_url,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Player) Reset() {
|
|
*x = Player{}
|
|
mi := &file_stalker_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Player) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Player) ProtoMessage() {}
|
|
|
|
func (x *Player) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stalker_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Player.ProtoReflect.Descriptor instead.
|
|
func (*Player) Descriptor() ([]byte, []int) {
|
|
return file_stalker_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *Player) GetPlayerId() string {
|
|
if x != nil {
|
|
return x.PlayerId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Player) GetNickname() string {
|
|
if x != nil {
|
|
return x.Nickname
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Player) GetAvatar() string {
|
|
if x != nil {
|
|
return x.Avatar
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Player) GetCountry() string {
|
|
if x != nil {
|
|
return x.Country
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Player) GetFaceitUrl() string {
|
|
if x != nil {
|
|
return x.FaceitUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// MatchStats represents individual player statistics in a match
|
|
type MatchStats struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Kills int32 `protobuf:"varint,1,opt,name=kills,proto3" json:"kills,omitempty"`
|
|
Deaths int32 `protobuf:"varint,2,opt,name=deaths,proto3" json:"deaths,omitempty"`
|
|
Assists int32 `protobuf:"varint,3,opt,name=assists,proto3" json:"assists,omitempty"`
|
|
SkillLevel int32 `protobuf:"varint,4,opt,name=skill_level,json=skillLevel,proto3" json:"skill_level,omitempty"`
|
|
Elo int32 `protobuf:"varint,5,opt,name=elo,proto3" json:"elo,omitempty"`
|
|
Headshots int32 `protobuf:"varint,6,opt,name=headshots,proto3" json:"headshots,omitempty"`
|
|
HeadshotsPct int32 `protobuf:"varint,7,opt,name=headshots_pct,json=headshotsPct,proto3" json:"headshots_pct,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MatchStats) Reset() {
|
|
*x = MatchStats{}
|
|
mi := &file_stalker_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MatchStats) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MatchStats) ProtoMessage() {}
|
|
|
|
func (x *MatchStats) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stalker_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MatchStats.ProtoReflect.Descriptor instead.
|
|
func (*MatchStats) Descriptor() ([]byte, []int) {
|
|
return file_stalker_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *MatchStats) GetKills() int32 {
|
|
if x != nil {
|
|
return x.Kills
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MatchStats) GetDeaths() int32 {
|
|
if x != nil {
|
|
return x.Deaths
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MatchStats) GetAssists() int32 {
|
|
if x != nil {
|
|
return x.Assists
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MatchStats) GetSkillLevel() int32 {
|
|
if x != nil {
|
|
return x.SkillLevel
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MatchStats) GetElo() int32 {
|
|
if x != nil {
|
|
return x.Elo
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MatchStats) GetHeadshots() int32 {
|
|
if x != nil {
|
|
return x.Headshots
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MatchStats) GetHeadshotsPct() int32 {
|
|
if x != nil {
|
|
return x.HeadshotsPct
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// TeamPlayer represents a player in a team
|
|
type TeamPlayer struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PlayerId string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
|
|
Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"`
|
|
Avatar string `protobuf:"bytes,3,opt,name=avatar,proto3" json:"avatar,omitempty"`
|
|
SkillLevel int32 `protobuf:"varint,4,opt,name=skill_level,json=skillLevel,proto3" json:"skill_level,omitempty"`
|
|
GamePlayerId string `protobuf:"bytes,5,opt,name=game_player_id,json=gamePlayerId,proto3" json:"game_player_id,omitempty"`
|
|
GamePlayerName string `protobuf:"bytes,6,opt,name=game_player_name,json=gamePlayerName,proto3" json:"game_player_name,omitempty"`
|
|
FaceitUrl string `protobuf:"bytes,7,opt,name=faceit_url,json=faceitUrl,proto3" json:"faceit_url,omitempty"`
|
|
Stats *MatchStats `protobuf:"bytes,8,opt,name=stats,proto3" json:"stats,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TeamPlayer) Reset() {
|
|
*x = TeamPlayer{}
|
|
mi := &file_stalker_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TeamPlayer) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TeamPlayer) ProtoMessage() {}
|
|
|
|
func (x *TeamPlayer) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stalker_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TeamPlayer.ProtoReflect.Descriptor instead.
|
|
func (*TeamPlayer) Descriptor() ([]byte, []int) {
|
|
return file_stalker_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *TeamPlayer) GetPlayerId() string {
|
|
if x != nil {
|
|
return x.PlayerId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TeamPlayer) GetNickname() string {
|
|
if x != nil {
|
|
return x.Nickname
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TeamPlayer) GetAvatar() string {
|
|
if x != nil {
|
|
return x.Avatar
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TeamPlayer) GetSkillLevel() int32 {
|
|
if x != nil {
|
|
return x.SkillLevel
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TeamPlayer) GetGamePlayerId() string {
|
|
if x != nil {
|
|
return x.GamePlayerId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TeamPlayer) GetGamePlayerName() string {
|
|
if x != nil {
|
|
return x.GamePlayerName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TeamPlayer) GetFaceitUrl() string {
|
|
if x != nil {
|
|
return x.FaceitUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TeamPlayer) GetStats() *MatchStats {
|
|
if x != nil {
|
|
return x.Stats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Team represents a team in a match
|
|
type Team struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TeamId string `protobuf:"bytes,1,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"`
|
|
Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"`
|
|
Avatar string `protobuf:"bytes,3,opt,name=avatar,proto3" json:"avatar,omitempty"`
|
|
Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
|
|
Players []*TeamPlayer `protobuf:"bytes,5,rep,name=players,proto3" json:"players,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Team) Reset() {
|
|
*x = Team{}
|
|
mi := &file_stalker_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Team) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Team) ProtoMessage() {}
|
|
|
|
func (x *Team) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stalker_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Team.ProtoReflect.Descriptor instead.
|
|
func (*Team) Descriptor() ([]byte, []int) {
|
|
return file_stalker_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *Team) GetTeamId() string {
|
|
if x != nil {
|
|
return x.TeamId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Team) GetNickname() string {
|
|
if x != nil {
|
|
return x.Nickname
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Team) GetAvatar() string {
|
|
if x != nil {
|
|
return x.Avatar
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Team) GetType() string {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Team) GetPlayers() []*TeamPlayer {
|
|
if x != nil {
|
|
return x.Players
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// MatchResult represents a single match result
|
|
type MatchResult struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
MatchId string `protobuf:"bytes,1,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"`
|
|
GameId string `protobuf:"bytes,2,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
|
|
Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"`
|
|
MatchType string `protobuf:"bytes,4,opt,name=match_type,json=matchType,proto3" json:"match_type,omitempty"`
|
|
GameMode string `protobuf:"bytes,5,opt,name=game_mode,json=gameMode,proto3" json:"game_mode,omitempty"`
|
|
MaxPlayers int32 `protobuf:"varint,6,opt,name=max_players,json=maxPlayers,proto3" json:"max_players,omitempty"`
|
|
TeamsSize int32 `protobuf:"varint,7,opt,name=teams_size,json=teamsSize,proto3" json:"teams_size,omitempty"`
|
|
Teams map[string]*Team `protobuf:"bytes,8,rep,name=teams,proto3" json:"teams,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
PlayingPlayers []string `protobuf:"bytes,9,rep,name=playing_players,json=playingPlayers,proto3" json:"playing_players,omitempty"`
|
|
CompetitionId string `protobuf:"bytes,10,opt,name=competition_id,json=competitionId,proto3" json:"competition_id,omitempty"`
|
|
CompetitionName string `protobuf:"bytes,11,opt,name=competition_name,json=competitionName,proto3" json:"competition_name,omitempty"`
|
|
CompetitionType string `protobuf:"bytes,12,opt,name=competition_type,json=competitionType,proto3" json:"competition_type,omitempty"`
|
|
OrganizerId string `protobuf:"bytes,13,opt,name=organizer_id,json=organizerId,proto3" json:"organizer_id,omitempty"`
|
|
Status string `protobuf:"bytes,14,opt,name=status,proto3" json:"status,omitempty"`
|
|
StartedAt int64 `protobuf:"varint,15,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
|
|
FinishedAt int64 `protobuf:"varint,16,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"`
|
|
Results *MatchResults `protobuf:"bytes,17,opt,name=results,proto3" json:"results,omitempty"`
|
|
FaceitUrl string `protobuf:"bytes,18,opt,name=faceit_url,json=faceitUrl,proto3" json:"faceit_url,omitempty"`
|
|
// Player-specific data
|
|
PlayerStats *MatchStats `protobuf:"bytes,19,opt,name=player_stats,json=playerStats,proto3" json:"player_stats,omitempty"`
|
|
PlayerFaction string `protobuf:"bytes,20,opt,name=player_faction,json=playerFaction,proto3" json:"player_faction,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MatchResult) Reset() {
|
|
*x = MatchResult{}
|
|
mi := &file_stalker_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MatchResult) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MatchResult) ProtoMessage() {}
|
|
|
|
func (x *MatchResult) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stalker_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MatchResult.ProtoReflect.Descriptor instead.
|
|
func (*MatchResult) Descriptor() ([]byte, []int) {
|
|
return file_stalker_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *MatchResult) GetMatchId() string {
|
|
if x != nil {
|
|
return x.MatchId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MatchResult) GetGameId() string {
|
|
if x != nil {
|
|
return x.GameId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MatchResult) GetRegion() string {
|
|
if x != nil {
|
|
return x.Region
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MatchResult) GetMatchType() string {
|
|
if x != nil {
|
|
return x.MatchType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MatchResult) GetGameMode() string {
|
|
if x != nil {
|
|
return x.GameMode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MatchResult) GetMaxPlayers() int32 {
|
|
if x != nil {
|
|
return x.MaxPlayers
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MatchResult) GetTeamsSize() int32 {
|
|
if x != nil {
|
|
return x.TeamsSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MatchResult) GetTeams() map[string]*Team {
|
|
if x != nil {
|
|
return x.Teams
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *MatchResult) GetPlayingPlayers() []string {
|
|
if x != nil {
|
|
return x.PlayingPlayers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *MatchResult) GetCompetitionId() string {
|
|
if x != nil {
|
|
return x.CompetitionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MatchResult) GetCompetitionName() string {
|
|
if x != nil {
|
|
return x.CompetitionName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MatchResult) GetCompetitionType() string {
|
|
if x != nil {
|
|
return x.CompetitionType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MatchResult) GetOrganizerId() string {
|
|
if x != nil {
|
|
return x.OrganizerId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MatchResult) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MatchResult) GetStartedAt() int64 {
|
|
if x != nil {
|
|
return x.StartedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MatchResult) GetFinishedAt() int64 {
|
|
if x != nil {
|
|
return x.FinishedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MatchResult) GetResults() *MatchResults {
|
|
if x != nil {
|
|
return x.Results
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *MatchResult) GetFaceitUrl() string {
|
|
if x != nil {
|
|
return x.FaceitUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MatchResult) GetPlayerStats() *MatchStats {
|
|
if x != nil {
|
|
return x.PlayerStats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *MatchResult) GetPlayerFaction() string {
|
|
if x != nil {
|
|
return x.PlayerFaction
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// MatchResults represents match results
|
|
type MatchResults struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Winner string `protobuf:"bytes,1,opt,name=winner,proto3" json:"winner,omitempty"`
|
|
Score map[string]int32 `protobuf:"bytes,2,rep,name=score,proto3" json:"score,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MatchResults) Reset() {
|
|
*x = MatchResults{}
|
|
mi := &file_stalker_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MatchResults) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MatchResults) ProtoMessage() {}
|
|
|
|
func (x *MatchResults) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stalker_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MatchResults.ProtoReflect.Descriptor instead.
|
|
func (*MatchResults) Descriptor() ([]byte, []int) {
|
|
return file_stalker_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *MatchResults) GetWinner() string {
|
|
if x != nil {
|
|
return x.Winner
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MatchResults) GetScore() map[string]int32 {
|
|
if x != nil {
|
|
return x.Score
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// MatchDetails represents detailed match information
|
|
type MatchDetails struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
MatchId string `protobuf:"bytes,1,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"`
|
|
GameId string `protobuf:"bytes,2,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
|
|
Teams map[string]*Team `protobuf:"bytes,3,rep,name=teams,proto3" json:"teams,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
PlayingPlayers []string `protobuf:"bytes,4,rep,name=playing_players,json=playingPlayers,proto3" json:"playing_players,omitempty"`
|
|
Results *MatchResults `protobuf:"bytes,5,opt,name=results,proto3" json:"results,omitempty"`
|
|
Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
|
|
StartedAt int64 `protobuf:"varint,7,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
|
|
FinishedAt int64 `protobuf:"varint,8,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MatchDetails) Reset() {
|
|
*x = MatchDetails{}
|
|
mi := &file_stalker_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MatchDetails) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MatchDetails) ProtoMessage() {}
|
|
|
|
func (x *MatchDetails) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stalker_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MatchDetails.ProtoReflect.Descriptor instead.
|
|
func (*MatchDetails) Descriptor() ([]byte, []int) {
|
|
return file_stalker_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *MatchDetails) GetMatchId() string {
|
|
if x != nil {
|
|
return x.MatchId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MatchDetails) GetGameId() string {
|
|
if x != nil {
|
|
return x.GameId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MatchDetails) GetTeams() map[string]*Team {
|
|
if x != nil {
|
|
return x.Teams
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *MatchDetails) GetPlayingPlayers() []string {
|
|
if x != nil {
|
|
return x.PlayingPlayers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *MatchDetails) GetResults() *MatchResults {
|
|
if x != nil {
|
|
return x.Results
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *MatchDetails) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MatchDetails) GetStartedAt() int64 {
|
|
if x != nil {
|
|
return x.StartedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MatchDetails) GetFinishedAt() int64 {
|
|
if x != nil {
|
|
return x.FinishedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// FaceITMatch represents a match stored in the database
|
|
type FaceITMatch struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
GlobalUserId int64 `protobuf:"varint,2,opt,name=global_user_id,json=globalUserId,proto3" json:"global_user_id,omitempty"`
|
|
FaceitPlayerId string `protobuf:"bytes,3,opt,name=faceit_player_id,json=faceitPlayerId,proto3" json:"faceit_player_id,omitempty"`
|
|
MatchId string `protobuf:"bytes,4,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"`
|
|
Game string `protobuf:"bytes,5,opt,name=game,proto3" json:"game,omitempty"`
|
|
Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
|
|
Result string `protobuf:"bytes,7,opt,name=result,proto3" json:"result,omitempty"`
|
|
SkillLevel int32 `protobuf:"varint,8,opt,name=skill_level,json=skillLevel,proto3" json:"skill_level,omitempty"`
|
|
MatchStartTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=match_start_time,json=matchStartTime,proto3" json:"match_start_time,omitempty"`
|
|
MatchEndTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=match_end_time,json=matchEndTime,proto3" json:"match_end_time,omitempty"`
|
|
SyncedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=synced_at,json=syncedAt,proto3" json:"synced_at,omitempty"`
|
|
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FaceITMatch) Reset() {
|
|
*x = FaceITMatch{}
|
|
mi := &file_stalker_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FaceITMatch) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FaceITMatch) ProtoMessage() {}
|
|
|
|
func (x *FaceITMatch) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stalker_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FaceITMatch.ProtoReflect.Descriptor instead.
|
|
func (*FaceITMatch) Descriptor() ([]byte, []int) {
|
|
return file_stalker_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *FaceITMatch) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FaceITMatch) GetGlobalUserId() int64 {
|
|
if x != nil {
|
|
return x.GlobalUserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FaceITMatch) GetFaceitPlayerId() string {
|
|
if x != nil {
|
|
return x.FaceitPlayerId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FaceITMatch) GetMatchId() string {
|
|
if x != nil {
|
|
return x.MatchId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FaceITMatch) GetGame() string {
|
|
if x != nil {
|
|
return x.Game
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FaceITMatch) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FaceITMatch) GetResult() string {
|
|
if x != nil {
|
|
return x.Result
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FaceITMatch) GetSkillLevel() int32 {
|
|
if x != nil {
|
|
return x.SkillLevel
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FaceITMatch) GetMatchStartTime() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.MatchStartTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FaceITMatch) GetMatchEndTime() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.MatchEndTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FaceITMatch) GetSyncedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.SyncedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FaceITMatch) GetUpdatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// LinkedAccount represents a linked FaceIT account
|
|
type LinkedAccount struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
GlobalUserId int64 `protobuf:"varint,2,opt,name=global_user_id,json=globalUserId,proto3" json:"global_user_id,omitempty"`
|
|
Platform string `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty"`
|
|
AccountId string `protobuf:"bytes,4,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
|
|
AccountUsername string `protobuf:"bytes,5,opt,name=account_username,json=accountUsername,proto3" json:"account_username,omitempty"`
|
|
AccountUrl string `protobuf:"bytes,6,opt,name=account_url,json=accountUrl,proto3" json:"account_url,omitempty"`
|
|
LinkedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=linked_at,json=linkedAt,proto3" json:"linked_at,omitempty"`
|
|
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LinkedAccount) Reset() {
|
|
*x = LinkedAccount{}
|
|
mi := &file_stalker_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LinkedAccount) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LinkedAccount) ProtoMessage() {}
|
|
|
|
func (x *LinkedAccount) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stalker_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LinkedAccount.ProtoReflect.Descriptor instead.
|
|
func (*LinkedAccount) Descriptor() ([]byte, []int) {
|
|
return file_stalker_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *LinkedAccount) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LinkedAccount) GetGlobalUserId() int64 {
|
|
if x != nil {
|
|
return x.GlobalUserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LinkedAccount) GetPlatform() string {
|
|
if x != nil {
|
|
return x.Platform
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LinkedAccount) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LinkedAccount) GetAccountUsername() string {
|
|
if x != nil {
|
|
return x.AccountUsername
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LinkedAccount) GetAccountUrl() string {
|
|
if x != nil {
|
|
return x.AccountUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LinkedAccount) GetLinkedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.LinkedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *LinkedAccount) GetUpdatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// UserMatchStats represents aggregated user statistics
|
|
type UserMatchStats struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TotalMatches int32 `protobuf:"varint,1,opt,name=total_matches,json=totalMatches,proto3" json:"total_matches,omitempty"`
|
|
Wins int32 `protobuf:"varint,2,opt,name=wins,proto3" json:"wins,omitempty"`
|
|
Losses int32 `protobuf:"varint,3,opt,name=losses,proto3" json:"losses,omitempty"`
|
|
AvgKills float32 `protobuf:"fixed32,4,opt,name=avg_kills,json=avgKills,proto3" json:"avg_kills,omitempty"`
|
|
AvgDeaths float32 `protobuf:"fixed32,5,opt,name=avg_deaths,json=avgDeaths,proto3" json:"avg_deaths,omitempty"`
|
|
AvgAssists float32 `protobuf:"fixed32,6,opt,name=avg_assists,json=avgAssists,proto3" json:"avg_assists,omitempty"`
|
|
WinRate float32 `protobuf:"fixed32,7,opt,name=win_rate,json=winRate,proto3" json:"win_rate,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserMatchStats) Reset() {
|
|
*x = UserMatchStats{}
|
|
mi := &file_stalker_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserMatchStats) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserMatchStats) ProtoMessage() {}
|
|
|
|
func (x *UserMatchStats) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stalker_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserMatchStats.ProtoReflect.Descriptor instead.
|
|
func (*UserMatchStats) Descriptor() ([]byte, []int) {
|
|
return file_stalker_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *UserMatchStats) GetTotalMatches() int32 {
|
|
if x != nil {
|
|
return x.TotalMatches
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserMatchStats) GetWins() int32 {
|
|
if x != nil {
|
|
return x.Wins
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserMatchStats) GetLosses() int32 {
|
|
if x != nil {
|
|
return x.Losses
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserMatchStats) GetAvgKills() float32 {
|
|
if x != nil {
|
|
return x.AvgKills
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserMatchStats) GetAvgDeaths() float32 {
|
|
if x != nil {
|
|
return x.AvgDeaths
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserMatchStats) GetAvgAssists() float32 {
|
|
if x != nil {
|
|
return x.AvgAssists
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserMatchStats) GetWinRate() float32 {
|
|
if x != nil {
|
|
return x.WinRate
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Request/Response messages
|
|
type SearchPlayerRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Nickname string `protobuf:"bytes,1,opt,name=nickname,proto3" json:"nickname,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SearchPlayerRequest) Reset() {
|
|
*x = SearchPlayerRequest{}
|
|
mi := &file_stalker_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SearchPlayerRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SearchPlayerRequest) ProtoMessage() {}
|
|
|
|
func (x *SearchPlayerRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stalker_proto_msgTypes[10]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SearchPlayerRequest.ProtoReflect.Descriptor instead.
|
|
func (*SearchPlayerRequest) Descriptor() ([]byte, []int) {
|
|
return file_stalker_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *SearchPlayerRequest) GetNickname() string {
|
|
if x != nil {
|
|
return x.Nickname
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetPlayerByIDRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PlayerId string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetPlayerByIDRequest) Reset() {
|
|
*x = GetPlayerByIDRequest{}
|
|
mi := &file_stalker_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPlayerByIDRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPlayerByIDRequest) ProtoMessage() {}
|
|
|
|
func (x *GetPlayerByIDRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stalker_proto_msgTypes[11]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetPlayerByIDRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetPlayerByIDRequest) Descriptor() ([]byte, []int) {
|
|
return file_stalker_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *GetPlayerByIDRequest) GetPlayerId() string {
|
|
if x != nil {
|
|
return x.PlayerId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetPlayerMatchesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PlayerId string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"`
|
|
Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetPlayerMatchesRequest) Reset() {
|
|
*x = GetPlayerMatchesRequest{}
|
|
mi := &file_stalker_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPlayerMatchesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPlayerMatchesRequest) ProtoMessage() {}
|
|
|
|
func (x *GetPlayerMatchesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stalker_proto_msgTypes[12]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetPlayerMatchesRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetPlayerMatchesRequest) Descriptor() ([]byte, []int) {
|
|
return file_stalker_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *GetPlayerMatchesRequest) GetPlayerId() string {
|
|
if x != nil {
|
|
return x.PlayerId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetPlayerMatchesRequest) GetLimit() int32 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetPlayerMatchesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Matches []*MatchResult `protobuf:"bytes,1,rep,name=matches,proto3" json:"matches,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetPlayerMatchesResponse) Reset() {
|
|
*x = GetPlayerMatchesResponse{}
|
|
mi := &file_stalker_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPlayerMatchesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPlayerMatchesResponse) ProtoMessage() {}
|
|
|
|
func (x *GetPlayerMatchesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stalker_proto_msgTypes[13]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetPlayerMatchesResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetPlayerMatchesResponse) Descriptor() ([]byte, []int) {
|
|
return file_stalker_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *GetPlayerMatchesResponse) GetMatches() []*MatchResult {
|
|
if x != nil {
|
|
return x.Matches
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetMatchDetailsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
MatchId string `protobuf:"bytes,1,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetMatchDetailsRequest) Reset() {
|
|
*x = GetMatchDetailsRequest{}
|
|
mi := &file_stalker_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetMatchDetailsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetMatchDetailsRequest) ProtoMessage() {}
|
|
|
|
func (x *GetMatchDetailsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stalker_proto_msgTypes[14]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetMatchDetailsRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetMatchDetailsRequest) Descriptor() ([]byte, []int) {
|
|
return file_stalker_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *GetMatchDetailsRequest) GetMatchId() string {
|
|
if x != nil {
|
|
return x.MatchId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SaveMatchesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Matches []*FaceITMatch `protobuf:"bytes,1,rep,name=matches,proto3" json:"matches,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SaveMatchesRequest) Reset() {
|
|
*x = SaveMatchesRequest{}
|
|
mi := &file_stalker_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SaveMatchesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SaveMatchesRequest) ProtoMessage() {}
|
|
|
|
func (x *SaveMatchesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stalker_proto_msgTypes[15]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SaveMatchesRequest.ProtoReflect.Descriptor instead.
|
|
func (*SaveMatchesRequest) Descriptor() ([]byte, []int) {
|
|
return file_stalker_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *SaveMatchesRequest) GetMatches() []*FaceITMatch {
|
|
if x != nil {
|
|
return x.Matches
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetUserMatchesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
GlobalUserId int64 `protobuf:"varint,1,opt,name=global_user_id,json=globalUserId,proto3" json:"global_user_id,omitempty"`
|
|
Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetUserMatchesRequest) Reset() {
|
|
*x = GetUserMatchesRequest{}
|
|
mi := &file_stalker_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetUserMatchesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetUserMatchesRequest) ProtoMessage() {}
|
|
|
|
func (x *GetUserMatchesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stalker_proto_msgTypes[16]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetUserMatchesRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetUserMatchesRequest) Descriptor() ([]byte, []int) {
|
|
return file_stalker_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *GetUserMatchesRequest) GetGlobalUserId() int64 {
|
|
if x != nil {
|
|
return x.GlobalUserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetUserMatchesRequest) GetLimit() int32 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetUserMatchesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Matches []*FaceITMatch `protobuf:"bytes,1,rep,name=matches,proto3" json:"matches,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetUserMatchesResponse) Reset() {
|
|
*x = GetUserMatchesResponse{}
|
|
mi := &file_stalker_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetUserMatchesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetUserMatchesResponse) ProtoMessage() {}
|
|
|
|
func (x *GetUserMatchesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stalker_proto_msgTypes[17]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetUserMatchesResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetUserMatchesResponse) Descriptor() ([]byte, []int) {
|
|
return file_stalker_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *GetUserMatchesResponse) GetMatches() []*FaceITMatch {
|
|
if x != nil {
|
|
return x.Matches
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetUserMatchStatsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
GlobalUserId int64 `protobuf:"varint,1,opt,name=global_user_id,json=globalUserId,proto3" json:"global_user_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetUserMatchStatsRequest) Reset() {
|
|
*x = GetUserMatchStatsRequest{}
|
|
mi := &file_stalker_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetUserMatchStatsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetUserMatchStatsRequest) ProtoMessage() {}
|
|
|
|
func (x *GetUserMatchStatsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stalker_proto_msgTypes[18]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetUserMatchStatsRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetUserMatchStatsRequest) Descriptor() ([]byte, []int) {
|
|
return file_stalker_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *GetUserMatchStatsRequest) GetGlobalUserId() int64 {
|
|
if x != nil {
|
|
return x.GlobalUserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetMatchesSinceRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
GlobalUserId int64 `protobuf:"varint,1,opt,name=global_user_id,json=globalUserId,proto3" json:"global_user_id,omitempty"`
|
|
Since *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=since,proto3" json:"since,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetMatchesSinceRequest) Reset() {
|
|
*x = GetMatchesSinceRequest{}
|
|
mi := &file_stalker_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetMatchesSinceRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetMatchesSinceRequest) ProtoMessage() {}
|
|
|
|
func (x *GetMatchesSinceRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stalker_proto_msgTypes[19]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetMatchesSinceRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetMatchesSinceRequest) Descriptor() ([]byte, []int) {
|
|
return file_stalker_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *GetMatchesSinceRequest) GetGlobalUserId() int64 {
|
|
if x != nil {
|
|
return x.GlobalUserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetMatchesSinceRequest) GetSince() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.Since
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetMatchesLastNDaysRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
GlobalUserId int64 `protobuf:"varint,1,opt,name=global_user_id,json=globalUserId,proto3" json:"global_user_id,omitempty"`
|
|
Days int32 `protobuf:"varint,2,opt,name=days,proto3" json:"days,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetMatchesLastNDaysRequest) Reset() {
|
|
*x = GetMatchesLastNDaysRequest{}
|
|
mi := &file_stalker_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetMatchesLastNDaysRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetMatchesLastNDaysRequest) ProtoMessage() {}
|
|
|
|
func (x *GetMatchesLastNDaysRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stalker_proto_msgTypes[20]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetMatchesLastNDaysRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetMatchesLastNDaysRequest) Descriptor() ([]byte, []int) {
|
|
return file_stalker_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *GetMatchesLastNDaysRequest) GetGlobalUserId() int64 {
|
|
if x != nil {
|
|
return x.GlobalUserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetMatchesLastNDaysRequest) GetDays() int32 {
|
|
if x != nil {
|
|
return x.Days
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type LinkFaceITAccountRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
GlobalUserId int64 `protobuf:"varint,1,opt,name=global_user_id,json=globalUserId,proto3" json:"global_user_id,omitempty"`
|
|
AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
|
|
AccountUsername string `protobuf:"bytes,3,opt,name=account_username,json=accountUsername,proto3" json:"account_username,omitempty"`
|
|
AccountUrl string `protobuf:"bytes,4,opt,name=account_url,json=accountUrl,proto3" json:"account_url,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LinkFaceITAccountRequest) Reset() {
|
|
*x = LinkFaceITAccountRequest{}
|
|
mi := &file_stalker_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LinkFaceITAccountRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LinkFaceITAccountRequest) ProtoMessage() {}
|
|
|
|
func (x *LinkFaceITAccountRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stalker_proto_msgTypes[21]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LinkFaceITAccountRequest.ProtoReflect.Descriptor instead.
|
|
func (*LinkFaceITAccountRequest) Descriptor() ([]byte, []int) {
|
|
return file_stalker_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *LinkFaceITAccountRequest) GetGlobalUserId() int64 {
|
|
if x != nil {
|
|
return x.GlobalUserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LinkFaceITAccountRequest) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LinkFaceITAccountRequest) GetAccountUsername() string {
|
|
if x != nil {
|
|
return x.AccountUsername
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LinkFaceITAccountRequest) GetAccountUrl() string {
|
|
if x != nil {
|
|
return x.AccountUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetLinkedFaceITAccountRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
GlobalUserId int64 `protobuf:"varint,1,opt,name=global_user_id,json=globalUserId,proto3" json:"global_user_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetLinkedFaceITAccountRequest) Reset() {
|
|
*x = GetLinkedFaceITAccountRequest{}
|
|
mi := &file_stalker_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetLinkedFaceITAccountRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetLinkedFaceITAccountRequest) ProtoMessage() {}
|
|
|
|
func (x *GetLinkedFaceITAccountRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stalker_proto_msgTypes[22]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetLinkedFaceITAccountRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetLinkedFaceITAccountRequest) Descriptor() ([]byte, []int) {
|
|
return file_stalker_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *GetLinkedFaceITAccountRequest) GetGlobalUserId() int64 {
|
|
if x != nil {
|
|
return x.GlobalUserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type LinkSteamAccountRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
GlobalUserId int64 `protobuf:"varint,1,opt,name=global_user_id,json=globalUserId,proto3" json:"global_user_id,omitempty"`
|
|
SteamId string `protobuf:"bytes,2,opt,name=steam_id,json=steamId,proto3" json:"steam_id,omitempty"`
|
|
Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
|
|
ProfileUrl string `protobuf:"bytes,4,opt,name=profile_url,json=profileUrl,proto3" json:"profile_url,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LinkSteamAccountRequest) Reset() {
|
|
*x = LinkSteamAccountRequest{}
|
|
mi := &file_stalker_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LinkSteamAccountRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LinkSteamAccountRequest) ProtoMessage() {}
|
|
|
|
func (x *LinkSteamAccountRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stalker_proto_msgTypes[23]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LinkSteamAccountRequest.ProtoReflect.Descriptor instead.
|
|
func (*LinkSteamAccountRequest) Descriptor() ([]byte, []int) {
|
|
return file_stalker_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
func (x *LinkSteamAccountRequest) GetGlobalUserId() int64 {
|
|
if x != nil {
|
|
return x.GlobalUserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LinkSteamAccountRequest) GetSteamId() string {
|
|
if x != nil {
|
|
return x.SteamId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LinkSteamAccountRequest) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LinkSteamAccountRequest) GetProfileUrl() string {
|
|
if x != nil {
|
|
return x.ProfileUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetLinkedSteamAccountRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
GlobalUserId int64 `protobuf:"varint,1,opt,name=global_user_id,json=globalUserId,proto3" json:"global_user_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetLinkedSteamAccountRequest) Reset() {
|
|
*x = GetLinkedSteamAccountRequest{}
|
|
mi := &file_stalker_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetLinkedSteamAccountRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetLinkedSteamAccountRequest) ProtoMessage() {}
|
|
|
|
func (x *GetLinkedSteamAccountRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stalker_proto_msgTypes[24]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetLinkedSteamAccountRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetLinkedSteamAccountRequest) Descriptor() ([]byte, []int) {
|
|
return file_stalker_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
func (x *GetLinkedSteamAccountRequest) GetGlobalUserId() int64 {
|
|
if x != nil {
|
|
return x.GlobalUserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// SteamOnlineSession represents a period when a user was online on Steam
|
|
type SteamOnlineSession struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
GlobalUserId int64 `protobuf:"varint,2,opt,name=global_user_id,json=globalUserId,proto3" json:"global_user_id,omitempty"`
|
|
SteamId string `protobuf:"bytes,3,opt,name=steam_id,json=steamId,proto3" json:"steam_id,omitempty"`
|
|
StartedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
|
|
EndedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SteamOnlineSession) Reset() {
|
|
*x = SteamOnlineSession{}
|
|
mi := &file_stalker_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SteamOnlineSession) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SteamOnlineSession) ProtoMessage() {}
|
|
|
|
func (x *SteamOnlineSession) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stalker_proto_msgTypes[25]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SteamOnlineSession.ProtoReflect.Descriptor instead.
|
|
func (*SteamOnlineSession) Descriptor() ([]byte, []int) {
|
|
return file_stalker_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
func (x *SteamOnlineSession) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SteamOnlineSession) GetGlobalUserId() int64 {
|
|
if x != nil {
|
|
return x.GlobalUserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SteamOnlineSession) GetSteamId() string {
|
|
if x != nil {
|
|
return x.SteamId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SteamOnlineSession) GetStartedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.StartedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SteamOnlineSession) GetEndedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.EndedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// SteamGameSession represents a period when a user was playing a specific game
|
|
type SteamGameSession struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
GlobalUserId int64 `protobuf:"varint,2,opt,name=global_user_id,json=globalUserId,proto3" json:"global_user_id,omitempty"`
|
|
SteamId string `protobuf:"bytes,3,opt,name=steam_id,json=steamId,proto3" json:"steam_id,omitempty"`
|
|
OnlineSessionId int64 `protobuf:"varint,4,opt,name=online_session_id,json=onlineSessionId,proto3" json:"online_session_id,omitempty"`
|
|
GameId string `protobuf:"bytes,5,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
|
|
GameName string `protobuf:"bytes,6,opt,name=game_name,json=gameName,proto3" json:"game_name,omitempty"`
|
|
StartedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
|
|
EndedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SteamGameSession) Reset() {
|
|
*x = SteamGameSession{}
|
|
mi := &file_stalker_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SteamGameSession) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SteamGameSession) ProtoMessage() {}
|
|
|
|
func (x *SteamGameSession) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stalker_proto_msgTypes[26]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SteamGameSession.ProtoReflect.Descriptor instead.
|
|
func (*SteamGameSession) Descriptor() ([]byte, []int) {
|
|
return file_stalker_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
func (x *SteamGameSession) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SteamGameSession) GetGlobalUserId() int64 {
|
|
if x != nil {
|
|
return x.GlobalUserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SteamGameSession) GetSteamId() string {
|
|
if x != nil {
|
|
return x.SteamId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SteamGameSession) GetOnlineSessionId() int64 {
|
|
if x != nil {
|
|
return x.OnlineSessionId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SteamGameSession) GetGameId() string {
|
|
if x != nil {
|
|
return x.GameId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SteamGameSession) GetGameName() string {
|
|
if x != nil {
|
|
return x.GameName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SteamGameSession) GetStartedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.StartedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SteamGameSession) GetEndedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.EndedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// SteamStats represents aggregated Steam activity statistics
|
|
type SteamStats struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TotalOnlineSessions int64 `protobuf:"varint,1,opt,name=total_online_sessions,json=totalOnlineSessions,proto3" json:"total_online_sessions,omitempty"`
|
|
TotalOnlineMinutes int64 `protobuf:"varint,2,opt,name=total_online_minutes,json=totalOnlineMinutes,proto3" json:"total_online_minutes,omitempty"`
|
|
TotalGameSessions int64 `protobuf:"varint,3,opt,name=total_game_sessions,json=totalGameSessions,proto3" json:"total_game_sessions,omitempty"`
|
|
TotalGameMinutes int64 `protobuf:"varint,4,opt,name=total_game_minutes,json=totalGameMinutes,proto3" json:"total_game_minutes,omitempty"`
|
|
FavoriteGameId string `protobuf:"bytes,5,opt,name=favorite_game_id,json=favoriteGameId,proto3" json:"favorite_game_id,omitempty"`
|
|
FavoriteGameName string `protobuf:"bytes,6,opt,name=favorite_game_name,json=favoriteGameName,proto3" json:"favorite_game_name,omitempty"`
|
|
FavoriteGameMinutes int64 `protobuf:"varint,7,opt,name=favorite_game_minutes,json=favoriteGameMinutes,proto3" json:"favorite_game_minutes,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SteamStats) Reset() {
|
|
*x = SteamStats{}
|
|
mi := &file_stalker_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SteamStats) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SteamStats) ProtoMessage() {}
|
|
|
|
func (x *SteamStats) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stalker_proto_msgTypes[27]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SteamStats.ProtoReflect.Descriptor instead.
|
|
func (*SteamStats) Descriptor() ([]byte, []int) {
|
|
return file_stalker_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
func (x *SteamStats) GetTotalOnlineSessions() int64 {
|
|
if x != nil {
|
|
return x.TotalOnlineSessions
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SteamStats) GetTotalOnlineMinutes() int64 {
|
|
if x != nil {
|
|
return x.TotalOnlineMinutes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SteamStats) GetTotalGameSessions() int64 {
|
|
if x != nil {
|
|
return x.TotalGameSessions
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SteamStats) GetTotalGameMinutes() int64 {
|
|
if x != nil {
|
|
return x.TotalGameMinutes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SteamStats) GetFavoriteGameId() string {
|
|
if x != nil {
|
|
return x.FavoriteGameId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SteamStats) GetFavoriteGameName() string {
|
|
if x != nil {
|
|
return x.FavoriteGameName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SteamStats) GetFavoriteGameMinutes() int64 {
|
|
if x != nil {
|
|
return x.FavoriteGameMinutes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetSteamSessionsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
GlobalUserId int64 `protobuf:"varint,1,opt,name=global_user_id,json=globalUserId,proto3" json:"global_user_id,omitempty"`
|
|
From *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
|
|
To *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetSteamSessionsRequest) Reset() {
|
|
*x = GetSteamSessionsRequest{}
|
|
mi := &file_stalker_proto_msgTypes[28]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetSteamSessionsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetSteamSessionsRequest) ProtoMessage() {}
|
|
|
|
func (x *GetSteamSessionsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stalker_proto_msgTypes[28]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetSteamSessionsRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetSteamSessionsRequest) Descriptor() ([]byte, []int) {
|
|
return file_stalker_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
func (x *GetSteamSessionsRequest) GetGlobalUserId() int64 {
|
|
if x != nil {
|
|
return x.GlobalUserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetSteamSessionsRequest) GetFrom() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.From
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetSteamSessionsRequest) GetTo() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.To
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetSteamSessionsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Sessions []*SteamOnlineSession `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetSteamSessionsResponse) Reset() {
|
|
*x = GetSteamSessionsResponse{}
|
|
mi := &file_stalker_proto_msgTypes[29]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetSteamSessionsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetSteamSessionsResponse) ProtoMessage() {}
|
|
|
|
func (x *GetSteamSessionsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stalker_proto_msgTypes[29]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetSteamSessionsResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetSteamSessionsResponse) Descriptor() ([]byte, []int) {
|
|
return file_stalker_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
func (x *GetSteamSessionsResponse) GetSessions() []*SteamOnlineSession {
|
|
if x != nil {
|
|
return x.Sessions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetSteamGameSessionsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
GlobalUserId int64 `protobuf:"varint,1,opt,name=global_user_id,json=globalUserId,proto3" json:"global_user_id,omitempty"`
|
|
From *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
|
|
To *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetSteamGameSessionsRequest) Reset() {
|
|
*x = GetSteamGameSessionsRequest{}
|
|
mi := &file_stalker_proto_msgTypes[30]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetSteamGameSessionsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetSteamGameSessionsRequest) ProtoMessage() {}
|
|
|
|
func (x *GetSteamGameSessionsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stalker_proto_msgTypes[30]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetSteamGameSessionsRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetSteamGameSessionsRequest) Descriptor() ([]byte, []int) {
|
|
return file_stalker_proto_rawDescGZIP(), []int{30}
|
|
}
|
|
|
|
func (x *GetSteamGameSessionsRequest) GetGlobalUserId() int64 {
|
|
if x != nil {
|
|
return x.GlobalUserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetSteamGameSessionsRequest) GetFrom() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.From
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetSteamGameSessionsRequest) GetTo() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.To
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetSteamGameSessionsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Sessions []*SteamGameSession `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetSteamGameSessionsResponse) Reset() {
|
|
*x = GetSteamGameSessionsResponse{}
|
|
mi := &file_stalker_proto_msgTypes[31]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetSteamGameSessionsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetSteamGameSessionsResponse) ProtoMessage() {}
|
|
|
|
func (x *GetSteamGameSessionsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stalker_proto_msgTypes[31]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetSteamGameSessionsResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetSteamGameSessionsResponse) Descriptor() ([]byte, []int) {
|
|
return file_stalker_proto_rawDescGZIP(), []int{31}
|
|
}
|
|
|
|
func (x *GetSteamGameSessionsResponse) GetSessions() []*SteamGameSession {
|
|
if x != nil {
|
|
return x.Sessions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetSteamStatsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
GlobalUserId int64 `protobuf:"varint,1,opt,name=global_user_id,json=globalUserId,proto3" json:"global_user_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetSteamStatsRequest) Reset() {
|
|
*x = GetSteamStatsRequest{}
|
|
mi := &file_stalker_proto_msgTypes[32]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetSteamStatsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetSteamStatsRequest) ProtoMessage() {}
|
|
|
|
func (x *GetSteamStatsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stalker_proto_msgTypes[32]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetSteamStatsRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetSteamStatsRequest) Descriptor() ([]byte, []int) {
|
|
return file_stalker_proto_rawDescGZIP(), []int{32}
|
|
}
|
|
|
|
func (x *GetSteamStatsRequest) GetGlobalUserId() int64 {
|
|
if x != nil {
|
|
return x.GlobalUserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_stalker_proto protoreflect.FileDescriptor
|
|
|
|
const file_stalker_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\rstalker.proto\x12\astalker\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/protobuf/empty.proto\"\x92\x01\n" +
|
|
"\x06Player\x12\x1b\n" +
|
|
"\tplayer_id\x18\x01 \x01(\tR\bplayerId\x12\x1a\n" +
|
|
"\bnickname\x18\x02 \x01(\tR\bnickname\x12\x16\n" +
|
|
"\x06avatar\x18\x03 \x01(\tR\x06avatar\x12\x18\n" +
|
|
"\acountry\x18\x04 \x01(\tR\acountry\x12\x1d\n" +
|
|
"\n" +
|
|
"faceit_url\x18\x05 \x01(\tR\tfaceitUrl\"\xca\x01\n" +
|
|
"\n" +
|
|
"MatchStats\x12\x14\n" +
|
|
"\x05kills\x18\x01 \x01(\x05R\x05kills\x12\x16\n" +
|
|
"\x06deaths\x18\x02 \x01(\x05R\x06deaths\x12\x18\n" +
|
|
"\aassists\x18\x03 \x01(\x05R\aassists\x12\x1f\n" +
|
|
"\vskill_level\x18\x04 \x01(\x05R\n" +
|
|
"skillLevel\x12\x10\n" +
|
|
"\x03elo\x18\x05 \x01(\x05R\x03elo\x12\x1c\n" +
|
|
"\theadshots\x18\x06 \x01(\x05R\theadshots\x12#\n" +
|
|
"\rheadshots_pct\x18\a \x01(\x05R\fheadshotsPct\"\x98\x02\n" +
|
|
"\n" +
|
|
"TeamPlayer\x12\x1b\n" +
|
|
"\tplayer_id\x18\x01 \x01(\tR\bplayerId\x12\x1a\n" +
|
|
"\bnickname\x18\x02 \x01(\tR\bnickname\x12\x16\n" +
|
|
"\x06avatar\x18\x03 \x01(\tR\x06avatar\x12\x1f\n" +
|
|
"\vskill_level\x18\x04 \x01(\x05R\n" +
|
|
"skillLevel\x12$\n" +
|
|
"\x0egame_player_id\x18\x05 \x01(\tR\fgamePlayerId\x12(\n" +
|
|
"\x10game_player_name\x18\x06 \x01(\tR\x0egamePlayerName\x12\x1d\n" +
|
|
"\n" +
|
|
"faceit_url\x18\a \x01(\tR\tfaceitUrl\x12)\n" +
|
|
"\x05stats\x18\b \x01(\v2\x13.stalker.MatchStatsR\x05stats\"\x96\x01\n" +
|
|
"\x04Team\x12\x17\n" +
|
|
"\ateam_id\x18\x01 \x01(\tR\x06teamId\x12\x1a\n" +
|
|
"\bnickname\x18\x02 \x01(\tR\bnickname\x12\x16\n" +
|
|
"\x06avatar\x18\x03 \x01(\tR\x06avatar\x12\x12\n" +
|
|
"\x04type\x18\x04 \x01(\tR\x04type\x12-\n" +
|
|
"\aplayers\x18\x05 \x03(\v2\x13.stalker.TeamPlayerR\aplayers\"\xa5\x06\n" +
|
|
"\vMatchResult\x12\x19\n" +
|
|
"\bmatch_id\x18\x01 \x01(\tR\amatchId\x12\x17\n" +
|
|
"\agame_id\x18\x02 \x01(\tR\x06gameId\x12\x16\n" +
|
|
"\x06region\x18\x03 \x01(\tR\x06region\x12\x1d\n" +
|
|
"\n" +
|
|
"match_type\x18\x04 \x01(\tR\tmatchType\x12\x1b\n" +
|
|
"\tgame_mode\x18\x05 \x01(\tR\bgameMode\x12\x1f\n" +
|
|
"\vmax_players\x18\x06 \x01(\x05R\n" +
|
|
"maxPlayers\x12\x1d\n" +
|
|
"\n" +
|
|
"teams_size\x18\a \x01(\x05R\tteamsSize\x125\n" +
|
|
"\x05teams\x18\b \x03(\v2\x1f.stalker.MatchResult.TeamsEntryR\x05teams\x12'\n" +
|
|
"\x0fplaying_players\x18\t \x03(\tR\x0eplayingPlayers\x12%\n" +
|
|
"\x0ecompetition_id\x18\n" +
|
|
" \x01(\tR\rcompetitionId\x12)\n" +
|
|
"\x10competition_name\x18\v \x01(\tR\x0fcompetitionName\x12)\n" +
|
|
"\x10competition_type\x18\f \x01(\tR\x0fcompetitionType\x12!\n" +
|
|
"\forganizer_id\x18\r \x01(\tR\vorganizerId\x12\x16\n" +
|
|
"\x06status\x18\x0e \x01(\tR\x06status\x12\x1d\n" +
|
|
"\n" +
|
|
"started_at\x18\x0f \x01(\x03R\tstartedAt\x12\x1f\n" +
|
|
"\vfinished_at\x18\x10 \x01(\x03R\n" +
|
|
"finishedAt\x12/\n" +
|
|
"\aresults\x18\x11 \x01(\v2\x15.stalker.MatchResultsR\aresults\x12\x1d\n" +
|
|
"\n" +
|
|
"faceit_url\x18\x12 \x01(\tR\tfaceitUrl\x126\n" +
|
|
"\fplayer_stats\x18\x13 \x01(\v2\x13.stalker.MatchStatsR\vplayerStats\x12%\n" +
|
|
"\x0eplayer_faction\x18\x14 \x01(\tR\rplayerFaction\x1aG\n" +
|
|
"\n" +
|
|
"TeamsEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12#\n" +
|
|
"\x05value\x18\x02 \x01(\v2\r.stalker.TeamR\x05value:\x028\x01\"\x98\x01\n" +
|
|
"\fMatchResults\x12\x16\n" +
|
|
"\x06winner\x18\x01 \x01(\tR\x06winner\x126\n" +
|
|
"\x05score\x18\x02 \x03(\v2 .stalker.MatchResults.ScoreEntryR\x05score\x1a8\n" +
|
|
"\n" +
|
|
"ScoreEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01\"\xf5\x02\n" +
|
|
"\fMatchDetails\x12\x19\n" +
|
|
"\bmatch_id\x18\x01 \x01(\tR\amatchId\x12\x17\n" +
|
|
"\agame_id\x18\x02 \x01(\tR\x06gameId\x126\n" +
|
|
"\x05teams\x18\x03 \x03(\v2 .stalker.MatchDetails.TeamsEntryR\x05teams\x12'\n" +
|
|
"\x0fplaying_players\x18\x04 \x03(\tR\x0eplayingPlayers\x12/\n" +
|
|
"\aresults\x18\x05 \x01(\v2\x15.stalker.MatchResultsR\aresults\x12\x16\n" +
|
|
"\x06status\x18\x06 \x01(\tR\x06status\x12\x1d\n" +
|
|
"\n" +
|
|
"started_at\x18\a \x01(\x03R\tstartedAt\x12\x1f\n" +
|
|
"\vfinished_at\x18\b \x01(\x03R\n" +
|
|
"finishedAt\x1aG\n" +
|
|
"\n" +
|
|
"TeamsEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12#\n" +
|
|
"\x05value\x18\x02 \x01(\v2\r.stalker.TeamR\x05value:\x028\x01\"\xe9\x03\n" +
|
|
"\vFaceITMatch\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12$\n" +
|
|
"\x0eglobal_user_id\x18\x02 \x01(\x03R\fglobalUserId\x12(\n" +
|
|
"\x10faceit_player_id\x18\x03 \x01(\tR\x0efaceitPlayerId\x12\x19\n" +
|
|
"\bmatch_id\x18\x04 \x01(\tR\amatchId\x12\x12\n" +
|
|
"\x04game\x18\x05 \x01(\tR\x04game\x12\x16\n" +
|
|
"\x06status\x18\x06 \x01(\tR\x06status\x12\x16\n" +
|
|
"\x06result\x18\a \x01(\tR\x06result\x12\x1f\n" +
|
|
"\vskill_level\x18\b \x01(\x05R\n" +
|
|
"skillLevel\x12D\n" +
|
|
"\x10match_start_time\x18\t \x01(\v2\x1a.google.protobuf.TimestampR\x0ematchStartTime\x12@\n" +
|
|
"\x0ematch_end_time\x18\n" +
|
|
" \x01(\v2\x1a.google.protobuf.TimestampR\fmatchEndTime\x127\n" +
|
|
"\tsynced_at\x18\v \x01(\v2\x1a.google.protobuf.TimestampR\bsyncedAt\x129\n" +
|
|
"\n" +
|
|
"updated_at\x18\f \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\"\xc0\x02\n" +
|
|
"\rLinkedAccount\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12$\n" +
|
|
"\x0eglobal_user_id\x18\x02 \x01(\x03R\fglobalUserId\x12\x1a\n" +
|
|
"\bplatform\x18\x03 \x01(\tR\bplatform\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\x04 \x01(\tR\taccountId\x12)\n" +
|
|
"\x10account_username\x18\x05 \x01(\tR\x0faccountUsername\x12\x1f\n" +
|
|
"\vaccount_url\x18\x06 \x01(\tR\n" +
|
|
"accountUrl\x127\n" +
|
|
"\tlinked_at\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\blinkedAt\x129\n" +
|
|
"\n" +
|
|
"updated_at\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\"\xd9\x01\n" +
|
|
"\x0eUserMatchStats\x12#\n" +
|
|
"\rtotal_matches\x18\x01 \x01(\x05R\ftotalMatches\x12\x12\n" +
|
|
"\x04wins\x18\x02 \x01(\x05R\x04wins\x12\x16\n" +
|
|
"\x06losses\x18\x03 \x01(\x05R\x06losses\x12\x1b\n" +
|
|
"\tavg_kills\x18\x04 \x01(\x02R\bavgKills\x12\x1d\n" +
|
|
"\n" +
|
|
"avg_deaths\x18\x05 \x01(\x02R\tavgDeaths\x12\x1f\n" +
|
|
"\vavg_assists\x18\x06 \x01(\x02R\n" +
|
|
"avgAssists\x12\x19\n" +
|
|
"\bwin_rate\x18\a \x01(\x02R\awinRate\"1\n" +
|
|
"\x13SearchPlayerRequest\x12\x1a\n" +
|
|
"\bnickname\x18\x01 \x01(\tR\bnickname\"3\n" +
|
|
"\x14GetPlayerByIDRequest\x12\x1b\n" +
|
|
"\tplayer_id\x18\x01 \x01(\tR\bplayerId\"L\n" +
|
|
"\x17GetPlayerMatchesRequest\x12\x1b\n" +
|
|
"\tplayer_id\x18\x01 \x01(\tR\bplayerId\x12\x14\n" +
|
|
"\x05limit\x18\x02 \x01(\x05R\x05limit\"J\n" +
|
|
"\x18GetPlayerMatchesResponse\x12.\n" +
|
|
"\amatches\x18\x01 \x03(\v2\x14.stalker.MatchResultR\amatches\"3\n" +
|
|
"\x16GetMatchDetailsRequest\x12\x19\n" +
|
|
"\bmatch_id\x18\x01 \x01(\tR\amatchId\"D\n" +
|
|
"\x12SaveMatchesRequest\x12.\n" +
|
|
"\amatches\x18\x01 \x03(\v2\x14.stalker.FaceITMatchR\amatches\"S\n" +
|
|
"\x15GetUserMatchesRequest\x12$\n" +
|
|
"\x0eglobal_user_id\x18\x01 \x01(\x03R\fglobalUserId\x12\x14\n" +
|
|
"\x05limit\x18\x02 \x01(\x05R\x05limit\"H\n" +
|
|
"\x16GetUserMatchesResponse\x12.\n" +
|
|
"\amatches\x18\x01 \x03(\v2\x14.stalker.FaceITMatchR\amatches\"@\n" +
|
|
"\x18GetUserMatchStatsRequest\x12$\n" +
|
|
"\x0eglobal_user_id\x18\x01 \x01(\x03R\fglobalUserId\"p\n" +
|
|
"\x16GetMatchesSinceRequest\x12$\n" +
|
|
"\x0eglobal_user_id\x18\x01 \x01(\x03R\fglobalUserId\x120\n" +
|
|
"\x05since\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\x05since\"V\n" +
|
|
"\x1aGetMatchesLastNDaysRequest\x12$\n" +
|
|
"\x0eglobal_user_id\x18\x01 \x01(\x03R\fglobalUserId\x12\x12\n" +
|
|
"\x04days\x18\x02 \x01(\x05R\x04days\"\xab\x01\n" +
|
|
"\x18LinkFaceITAccountRequest\x12$\n" +
|
|
"\x0eglobal_user_id\x18\x01 \x01(\x03R\fglobalUserId\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\x02 \x01(\tR\taccountId\x12)\n" +
|
|
"\x10account_username\x18\x03 \x01(\tR\x0faccountUsername\x12\x1f\n" +
|
|
"\vaccount_url\x18\x04 \x01(\tR\n" +
|
|
"accountUrl\"E\n" +
|
|
"\x1dGetLinkedFaceITAccountRequest\x12$\n" +
|
|
"\x0eglobal_user_id\x18\x01 \x01(\x03R\fglobalUserId\"\x97\x01\n" +
|
|
"\x17LinkSteamAccountRequest\x12$\n" +
|
|
"\x0eglobal_user_id\x18\x01 \x01(\x03R\fglobalUserId\x12\x19\n" +
|
|
"\bsteam_id\x18\x02 \x01(\tR\asteamId\x12\x1a\n" +
|
|
"\busername\x18\x03 \x01(\tR\busername\x12\x1f\n" +
|
|
"\vprofile_url\x18\x04 \x01(\tR\n" +
|
|
"profileUrl\"D\n" +
|
|
"\x1cGetLinkedSteamAccountRequest\x12$\n" +
|
|
"\x0eglobal_user_id\x18\x01 \x01(\x03R\fglobalUserId\"\xd7\x01\n" +
|
|
"\x12SteamOnlineSession\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12$\n" +
|
|
"\x0eglobal_user_id\x18\x02 \x01(\x03R\fglobalUserId\x12\x19\n" +
|
|
"\bsteam_id\x18\x03 \x01(\tR\asteamId\x129\n" +
|
|
"\n" +
|
|
"started_at\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\tstartedAt\x125\n" +
|
|
"\bended_at\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\aendedAt\"\xb7\x02\n" +
|
|
"\x10SteamGameSession\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12$\n" +
|
|
"\x0eglobal_user_id\x18\x02 \x01(\x03R\fglobalUserId\x12\x19\n" +
|
|
"\bsteam_id\x18\x03 \x01(\tR\asteamId\x12*\n" +
|
|
"\x11online_session_id\x18\x04 \x01(\x03R\x0fonlineSessionId\x12\x17\n" +
|
|
"\agame_id\x18\x05 \x01(\tR\x06gameId\x12\x1b\n" +
|
|
"\tgame_name\x18\x06 \x01(\tR\bgameName\x129\n" +
|
|
"\n" +
|
|
"started_at\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\tstartedAt\x125\n" +
|
|
"\bended_at\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\aendedAt\"\xdc\x02\n" +
|
|
"\n" +
|
|
"SteamStats\x122\n" +
|
|
"\x15total_online_sessions\x18\x01 \x01(\x03R\x13totalOnlineSessions\x120\n" +
|
|
"\x14total_online_minutes\x18\x02 \x01(\x03R\x12totalOnlineMinutes\x12.\n" +
|
|
"\x13total_game_sessions\x18\x03 \x01(\x03R\x11totalGameSessions\x12,\n" +
|
|
"\x12total_game_minutes\x18\x04 \x01(\x03R\x10totalGameMinutes\x12(\n" +
|
|
"\x10favorite_game_id\x18\x05 \x01(\tR\x0efavoriteGameId\x12,\n" +
|
|
"\x12favorite_game_name\x18\x06 \x01(\tR\x10favoriteGameName\x122\n" +
|
|
"\x15favorite_game_minutes\x18\a \x01(\x03R\x13favoriteGameMinutes\"\x9b\x01\n" +
|
|
"\x17GetSteamSessionsRequest\x12$\n" +
|
|
"\x0eglobal_user_id\x18\x01 \x01(\x03R\fglobalUserId\x12.\n" +
|
|
"\x04from\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\x04from\x12*\n" +
|
|
"\x02to\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\x02to\"S\n" +
|
|
"\x18GetSteamSessionsResponse\x127\n" +
|
|
"\bsessions\x18\x01 \x03(\v2\x1b.stalker.SteamOnlineSessionR\bsessions\"\x9f\x01\n" +
|
|
"\x1bGetSteamGameSessionsRequest\x12$\n" +
|
|
"\x0eglobal_user_id\x18\x01 \x01(\x03R\fglobalUserId\x12.\n" +
|
|
"\x04from\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\x04from\x12*\n" +
|
|
"\x02to\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\x02to\"U\n" +
|
|
"\x1cGetSteamGameSessionsResponse\x125\n" +
|
|
"\bsessions\x18\x01 \x03(\v2\x19.stalker.SteamGameSessionR\bsessions\"<\n" +
|
|
"\x14GetSteamStatsRequest\x12$\n" +
|
|
"\x0eglobal_user_id\x18\x01 \x01(\x03R\fglobalUserId2\xa1\n" +
|
|
"\n" +
|
|
"\x0eStalkerService\x12=\n" +
|
|
"\fSearchPlayer\x12\x1c.stalker.SearchPlayerRequest\x1a\x0f.stalker.Player\x12?\n" +
|
|
"\rGetPlayerByID\x12\x1d.stalker.GetPlayerByIDRequest\x1a\x0f.stalker.Player\x12W\n" +
|
|
"\x10GetPlayerMatches\x12 .stalker.GetPlayerMatchesRequest\x1a!.stalker.GetPlayerMatchesResponse\x12I\n" +
|
|
"\x0fGetMatchDetails\x12\x1f.stalker.GetMatchDetailsRequest\x1a\x15.stalker.MatchDetails\x12B\n" +
|
|
"\vSaveMatches\x12\x1b.stalker.SaveMatchesRequest\x1a\x16.google.protobuf.Empty\x12Q\n" +
|
|
"\x0eGetUserMatches\x12\x1e.stalker.GetUserMatchesRequest\x1a\x1f.stalker.GetUserMatchesResponse\x12O\n" +
|
|
"\x11GetUserMatchStats\x12!.stalker.GetUserMatchStatsRequest\x1a\x17.stalker.UserMatchStats\x12S\n" +
|
|
"\x0fGetMatchesSince\x12\x1f.stalker.GetMatchesSinceRequest\x1a\x1f.stalker.GetUserMatchesResponse\x12[\n" +
|
|
"\x13GetMatchesLastNDays\x12#.stalker.GetMatchesLastNDaysRequest\x1a\x1f.stalker.GetUserMatchesResponse\x12N\n" +
|
|
"\x11LinkFaceITAccount\x12!.stalker.LinkFaceITAccountRequest\x1a\x16.stalker.LinkedAccount\x12X\n" +
|
|
"\x16GetLinkedFaceITAccount\x12&.stalker.GetLinkedFaceITAccountRequest\x1a\x16.stalker.LinkedAccount\x12L\n" +
|
|
"\x10LinkSteamAccount\x12 .stalker.LinkSteamAccountRequest\x1a\x16.stalker.LinkedAccount\x12V\n" +
|
|
"\x15GetLinkedSteamAccount\x12%.stalker.GetLinkedSteamAccountRequest\x1a\x16.stalker.LinkedAccount\x12W\n" +
|
|
"\x10GetSteamSessions\x12 .stalker.GetSteamSessionsRequest\x1a!.stalker.GetSteamSessionsResponse\x12c\n" +
|
|
"\x14GetSteamGameSessions\x12$.stalker.GetSteamGameSessionsRequest\x1a%.stalker.GetSteamGameSessionsResponse\x12C\n" +
|
|
"\rGetSteamStats\x12\x1d.stalker.GetSteamStatsRequest\x1a\x13.stalker.SteamStatsB\x1fZ\x1dstalker-service/proto/stalkerb\x06proto3"
|
|
|
|
var (
|
|
file_stalker_proto_rawDescOnce sync.Once
|
|
file_stalker_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_stalker_proto_rawDescGZIP() []byte {
|
|
file_stalker_proto_rawDescOnce.Do(func() {
|
|
file_stalker_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_stalker_proto_rawDesc), len(file_stalker_proto_rawDesc)))
|
|
})
|
|
return file_stalker_proto_rawDescData
|
|
}
|
|
|
|
var file_stalker_proto_msgTypes = make([]protoimpl.MessageInfo, 36)
|
|
var file_stalker_proto_goTypes = []any{
|
|
(*Player)(nil), // 0: stalker.Player
|
|
(*MatchStats)(nil), // 1: stalker.MatchStats
|
|
(*TeamPlayer)(nil), // 2: stalker.TeamPlayer
|
|
(*Team)(nil), // 3: stalker.Team
|
|
(*MatchResult)(nil), // 4: stalker.MatchResult
|
|
(*MatchResults)(nil), // 5: stalker.MatchResults
|
|
(*MatchDetails)(nil), // 6: stalker.MatchDetails
|
|
(*FaceITMatch)(nil), // 7: stalker.FaceITMatch
|
|
(*LinkedAccount)(nil), // 8: stalker.LinkedAccount
|
|
(*UserMatchStats)(nil), // 9: stalker.UserMatchStats
|
|
(*SearchPlayerRequest)(nil), // 10: stalker.SearchPlayerRequest
|
|
(*GetPlayerByIDRequest)(nil), // 11: stalker.GetPlayerByIDRequest
|
|
(*GetPlayerMatchesRequest)(nil), // 12: stalker.GetPlayerMatchesRequest
|
|
(*GetPlayerMatchesResponse)(nil), // 13: stalker.GetPlayerMatchesResponse
|
|
(*GetMatchDetailsRequest)(nil), // 14: stalker.GetMatchDetailsRequest
|
|
(*SaveMatchesRequest)(nil), // 15: stalker.SaveMatchesRequest
|
|
(*GetUserMatchesRequest)(nil), // 16: stalker.GetUserMatchesRequest
|
|
(*GetUserMatchesResponse)(nil), // 17: stalker.GetUserMatchesResponse
|
|
(*GetUserMatchStatsRequest)(nil), // 18: stalker.GetUserMatchStatsRequest
|
|
(*GetMatchesSinceRequest)(nil), // 19: stalker.GetMatchesSinceRequest
|
|
(*GetMatchesLastNDaysRequest)(nil), // 20: stalker.GetMatchesLastNDaysRequest
|
|
(*LinkFaceITAccountRequest)(nil), // 21: stalker.LinkFaceITAccountRequest
|
|
(*GetLinkedFaceITAccountRequest)(nil), // 22: stalker.GetLinkedFaceITAccountRequest
|
|
(*LinkSteamAccountRequest)(nil), // 23: stalker.LinkSteamAccountRequest
|
|
(*GetLinkedSteamAccountRequest)(nil), // 24: stalker.GetLinkedSteamAccountRequest
|
|
(*SteamOnlineSession)(nil), // 25: stalker.SteamOnlineSession
|
|
(*SteamGameSession)(nil), // 26: stalker.SteamGameSession
|
|
(*SteamStats)(nil), // 27: stalker.SteamStats
|
|
(*GetSteamSessionsRequest)(nil), // 28: stalker.GetSteamSessionsRequest
|
|
(*GetSteamSessionsResponse)(nil), // 29: stalker.GetSteamSessionsResponse
|
|
(*GetSteamGameSessionsRequest)(nil), // 30: stalker.GetSteamGameSessionsRequest
|
|
(*GetSteamGameSessionsResponse)(nil), // 31: stalker.GetSteamGameSessionsResponse
|
|
(*GetSteamStatsRequest)(nil), // 32: stalker.GetSteamStatsRequest
|
|
nil, // 33: stalker.MatchResult.TeamsEntry
|
|
nil, // 34: stalker.MatchResults.ScoreEntry
|
|
nil, // 35: stalker.MatchDetails.TeamsEntry
|
|
(*timestamppb.Timestamp)(nil), // 36: google.protobuf.Timestamp
|
|
(*emptypb.Empty)(nil), // 37: google.protobuf.Empty
|
|
}
|
|
var file_stalker_proto_depIdxs = []int32{
|
|
1, // 0: stalker.TeamPlayer.stats:type_name -> stalker.MatchStats
|
|
2, // 1: stalker.Team.players:type_name -> stalker.TeamPlayer
|
|
33, // 2: stalker.MatchResult.teams:type_name -> stalker.MatchResult.TeamsEntry
|
|
5, // 3: stalker.MatchResult.results:type_name -> stalker.MatchResults
|
|
1, // 4: stalker.MatchResult.player_stats:type_name -> stalker.MatchStats
|
|
34, // 5: stalker.MatchResults.score:type_name -> stalker.MatchResults.ScoreEntry
|
|
35, // 6: stalker.MatchDetails.teams:type_name -> stalker.MatchDetails.TeamsEntry
|
|
5, // 7: stalker.MatchDetails.results:type_name -> stalker.MatchResults
|
|
36, // 8: stalker.FaceITMatch.match_start_time:type_name -> google.protobuf.Timestamp
|
|
36, // 9: stalker.FaceITMatch.match_end_time:type_name -> google.protobuf.Timestamp
|
|
36, // 10: stalker.FaceITMatch.synced_at:type_name -> google.protobuf.Timestamp
|
|
36, // 11: stalker.FaceITMatch.updated_at:type_name -> google.protobuf.Timestamp
|
|
36, // 12: stalker.LinkedAccount.linked_at:type_name -> google.protobuf.Timestamp
|
|
36, // 13: stalker.LinkedAccount.updated_at:type_name -> google.protobuf.Timestamp
|
|
4, // 14: stalker.GetPlayerMatchesResponse.matches:type_name -> stalker.MatchResult
|
|
7, // 15: stalker.SaveMatchesRequest.matches:type_name -> stalker.FaceITMatch
|
|
7, // 16: stalker.GetUserMatchesResponse.matches:type_name -> stalker.FaceITMatch
|
|
36, // 17: stalker.GetMatchesSinceRequest.since:type_name -> google.protobuf.Timestamp
|
|
36, // 18: stalker.SteamOnlineSession.started_at:type_name -> google.protobuf.Timestamp
|
|
36, // 19: stalker.SteamOnlineSession.ended_at:type_name -> google.protobuf.Timestamp
|
|
36, // 20: stalker.SteamGameSession.started_at:type_name -> google.protobuf.Timestamp
|
|
36, // 21: stalker.SteamGameSession.ended_at:type_name -> google.protobuf.Timestamp
|
|
36, // 22: stalker.GetSteamSessionsRequest.from:type_name -> google.protobuf.Timestamp
|
|
36, // 23: stalker.GetSteamSessionsRequest.to:type_name -> google.protobuf.Timestamp
|
|
25, // 24: stalker.GetSteamSessionsResponse.sessions:type_name -> stalker.SteamOnlineSession
|
|
36, // 25: stalker.GetSteamGameSessionsRequest.from:type_name -> google.protobuf.Timestamp
|
|
36, // 26: stalker.GetSteamGameSessionsRequest.to:type_name -> google.protobuf.Timestamp
|
|
26, // 27: stalker.GetSteamGameSessionsResponse.sessions:type_name -> stalker.SteamGameSession
|
|
3, // 28: stalker.MatchResult.TeamsEntry.value:type_name -> stalker.Team
|
|
3, // 29: stalker.MatchDetails.TeamsEntry.value:type_name -> stalker.Team
|
|
10, // 30: stalker.StalkerService.SearchPlayer:input_type -> stalker.SearchPlayerRequest
|
|
11, // 31: stalker.StalkerService.GetPlayerByID:input_type -> stalker.GetPlayerByIDRequest
|
|
12, // 32: stalker.StalkerService.GetPlayerMatches:input_type -> stalker.GetPlayerMatchesRequest
|
|
14, // 33: stalker.StalkerService.GetMatchDetails:input_type -> stalker.GetMatchDetailsRequest
|
|
15, // 34: stalker.StalkerService.SaveMatches:input_type -> stalker.SaveMatchesRequest
|
|
16, // 35: stalker.StalkerService.GetUserMatches:input_type -> stalker.GetUserMatchesRequest
|
|
18, // 36: stalker.StalkerService.GetUserMatchStats:input_type -> stalker.GetUserMatchStatsRequest
|
|
19, // 37: stalker.StalkerService.GetMatchesSince:input_type -> stalker.GetMatchesSinceRequest
|
|
20, // 38: stalker.StalkerService.GetMatchesLastNDays:input_type -> stalker.GetMatchesLastNDaysRequest
|
|
21, // 39: stalker.StalkerService.LinkFaceITAccount:input_type -> stalker.LinkFaceITAccountRequest
|
|
22, // 40: stalker.StalkerService.GetLinkedFaceITAccount:input_type -> stalker.GetLinkedFaceITAccountRequest
|
|
23, // 41: stalker.StalkerService.LinkSteamAccount:input_type -> stalker.LinkSteamAccountRequest
|
|
24, // 42: stalker.StalkerService.GetLinkedSteamAccount:input_type -> stalker.GetLinkedSteamAccountRequest
|
|
28, // 43: stalker.StalkerService.GetSteamSessions:input_type -> stalker.GetSteamSessionsRequest
|
|
30, // 44: stalker.StalkerService.GetSteamGameSessions:input_type -> stalker.GetSteamGameSessionsRequest
|
|
32, // 45: stalker.StalkerService.GetSteamStats:input_type -> stalker.GetSteamStatsRequest
|
|
0, // 46: stalker.StalkerService.SearchPlayer:output_type -> stalker.Player
|
|
0, // 47: stalker.StalkerService.GetPlayerByID:output_type -> stalker.Player
|
|
13, // 48: stalker.StalkerService.GetPlayerMatches:output_type -> stalker.GetPlayerMatchesResponse
|
|
6, // 49: stalker.StalkerService.GetMatchDetails:output_type -> stalker.MatchDetails
|
|
37, // 50: stalker.StalkerService.SaveMatches:output_type -> google.protobuf.Empty
|
|
17, // 51: stalker.StalkerService.GetUserMatches:output_type -> stalker.GetUserMatchesResponse
|
|
9, // 52: stalker.StalkerService.GetUserMatchStats:output_type -> stalker.UserMatchStats
|
|
17, // 53: stalker.StalkerService.GetMatchesSince:output_type -> stalker.GetUserMatchesResponse
|
|
17, // 54: stalker.StalkerService.GetMatchesLastNDays:output_type -> stalker.GetUserMatchesResponse
|
|
8, // 55: stalker.StalkerService.LinkFaceITAccount:output_type -> stalker.LinkedAccount
|
|
8, // 56: stalker.StalkerService.GetLinkedFaceITAccount:output_type -> stalker.LinkedAccount
|
|
8, // 57: stalker.StalkerService.LinkSteamAccount:output_type -> stalker.LinkedAccount
|
|
8, // 58: stalker.StalkerService.GetLinkedSteamAccount:output_type -> stalker.LinkedAccount
|
|
29, // 59: stalker.StalkerService.GetSteamSessions:output_type -> stalker.GetSteamSessionsResponse
|
|
31, // 60: stalker.StalkerService.GetSteamGameSessions:output_type -> stalker.GetSteamGameSessionsResponse
|
|
27, // 61: stalker.StalkerService.GetSteamStats:output_type -> stalker.SteamStats
|
|
46, // [46:62] is the sub-list for method output_type
|
|
30, // [30:46] is the sub-list for method input_type
|
|
30, // [30:30] is the sub-list for extension type_name
|
|
30, // [30:30] is the sub-list for extension extendee
|
|
0, // [0:30] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_stalker_proto_init() }
|
|
func file_stalker_proto_init() {
|
|
if File_stalker_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_stalker_proto_rawDesc), len(file_stalker_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 36,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_stalker_proto_goTypes,
|
|
DependencyIndexes: file_stalker_proto_depIdxs,
|
|
MessageInfos: file_stalker_proto_msgTypes,
|
|
}.Build()
|
|
File_stalker_proto = out.File
|
|
file_stalker_proto_goTypes = nil
|
|
file_stalker_proto_depIdxs = nil
|
|
}
|