game_service

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_game_service_game_service_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type GCGRequest

type GCGRequest struct {
	GameId string `protobuf:"bytes,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GCGRequest) Descriptor deprecated

func (*GCGRequest) Descriptor() ([]byte, []int)

Deprecated: Use GCGRequest.ProtoReflect.Descriptor instead.

func (*GCGRequest) GetGameId

func (x *GCGRequest) GetGameId() string

func (*GCGRequest) ProtoMessage

func (*GCGRequest) ProtoMessage()

func (*GCGRequest) ProtoReflect

func (x *GCGRequest) ProtoReflect() protoreflect.Message

func (*GCGRequest) Reset

func (x *GCGRequest) Reset()

func (*GCGRequest) String

func (x *GCGRequest) String() string

type GCGResponse

type GCGResponse struct {
	Gcg string `protobuf:"bytes,1,opt,name=gcg,proto3" json:"gcg,omitempty"`
	// contains filtered or unexported fields
}

func (*GCGResponse) Descriptor deprecated

func (*GCGResponse) Descriptor() ([]byte, []int)

Deprecated: Use GCGResponse.ProtoReflect.Descriptor instead.

func (*GCGResponse) GetGcg

func (x *GCGResponse) GetGcg() string

func (*GCGResponse) ProtoMessage

func (*GCGResponse) ProtoMessage()

func (*GCGResponse) ProtoReflect

func (x *GCGResponse) ProtoReflect() protoreflect.Message

func (*GCGResponse) Reset

func (x *GCGResponse) Reset()

func (*GCGResponse) String

func (x *GCGResponse) String() string

type GameDocumentRequest

type GameDocumentRequest struct {
	GameId string `protobuf:"bytes,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GameDocumentRequest) Descriptor deprecated

func (*GameDocumentRequest) Descriptor() ([]byte, []int)

Deprecated: Use GameDocumentRequest.ProtoReflect.Descriptor instead.

func (*GameDocumentRequest) GetGameId

func (x *GameDocumentRequest) GetGameId() string

func (*GameDocumentRequest) ProtoMessage

func (*GameDocumentRequest) ProtoMessage()

func (*GameDocumentRequest) ProtoReflect

func (x *GameDocumentRequest) ProtoReflect() protoreflect.Message

func (*GameDocumentRequest) Reset

func (x *GameDocumentRequest) Reset()

func (*GameDocumentRequest) String

func (x *GameDocumentRequest) String() string

type GameDocumentResponse

type GameDocumentResponse struct {
	Document *ipc.GameDocument `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"`
	// contains filtered or unexported fields
}

func (*GameDocumentResponse) Descriptor deprecated

func (*GameDocumentResponse) Descriptor() ([]byte, []int)

Deprecated: Use GameDocumentResponse.ProtoReflect.Descriptor instead.

func (*GameDocumentResponse) GetDocument

func (x *GameDocumentResponse) GetDocument() *ipc.GameDocument

func (*GameDocumentResponse) ProtoMessage

func (*GameDocumentResponse) ProtoMessage()

func (*GameDocumentResponse) ProtoReflect

func (x *GameDocumentResponse) ProtoReflect() protoreflect.Message

func (*GameDocumentResponse) Reset

func (x *GameDocumentResponse) Reset()

func (*GameDocumentResponse) String

func (x *GameDocumentResponse) String() string

type GameHistoryRequest

type GameHistoryRequest struct {
	GameId string `protobuf:"bytes,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GameHistoryRequest) Descriptor deprecated

func (*GameHistoryRequest) Descriptor() ([]byte, []int)

Deprecated: Use GameHistoryRequest.ProtoReflect.Descriptor instead.

func (*GameHistoryRequest) GetGameId

func (x *GameHistoryRequest) GetGameId() string

func (*GameHistoryRequest) ProtoMessage

func (*GameHistoryRequest) ProtoMessage()

func (*GameHistoryRequest) ProtoReflect

func (x *GameHistoryRequest) ProtoReflect() protoreflect.Message

func (*GameHistoryRequest) Reset

func (x *GameHistoryRequest) Reset()

func (*GameHistoryRequest) String

func (x *GameHistoryRequest) String() string

type GameHistoryResponse

type GameHistoryResponse struct {
	History *macondo.GameHistory `protobuf:"bytes,1,opt,name=history,proto3" json:"history,omitempty"`
	// contains filtered or unexported fields
}

func (*GameHistoryResponse) Descriptor deprecated

func (*GameHistoryResponse) Descriptor() ([]byte, []int)

Deprecated: Use GameHistoryResponse.ProtoReflect.Descriptor instead.

func (*GameHistoryResponse) GetHistory

func (x *GameHistoryResponse) GetHistory() *macondo.GameHistory

func (*GameHistoryResponse) ProtoMessage

func (*GameHistoryResponse) ProtoMessage()

func (*GameHistoryResponse) ProtoReflect

func (x *GameHistoryResponse) ProtoReflect() protoreflect.Message

func (*GameHistoryResponse) Reset

func (x *GameHistoryResponse) Reset()

func (*GameHistoryResponse) String

func (x *GameHistoryResponse) String() string

type GameInfoRequest

type GameInfoRequest struct {
	GameId string `protobuf:"bytes,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
	// contains filtered or unexported fields
}

Meta information about a game, including its players.

func (*GameInfoRequest) Descriptor deprecated

func (*GameInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use GameInfoRequest.ProtoReflect.Descriptor instead.

func (*GameInfoRequest) GetGameId

func (x *GameInfoRequest) GetGameId() string

func (*GameInfoRequest) ProtoMessage

func (*GameInfoRequest) ProtoMessage()

func (*GameInfoRequest) ProtoReflect

func (x *GameInfoRequest) ProtoReflect() protoreflect.Message

func (*GameInfoRequest) Reset

func (x *GameInfoRequest) Reset()

func (*GameInfoRequest) String

func (x *GameInfoRequest) String() string

type RecentGamesRequest

type RecentGamesRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	NumGames int32  `protobuf:"varint,2,opt,name=num_games,json=numGames,proto3" json:"num_games,omitempty"`
	Offset   int32  `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*RecentGamesRequest) Descriptor deprecated

func (*RecentGamesRequest) Descriptor() ([]byte, []int)

Deprecated: Use RecentGamesRequest.ProtoReflect.Descriptor instead.

func (*RecentGamesRequest) GetNumGames

func (x *RecentGamesRequest) GetNumGames() int32

func (*RecentGamesRequest) GetOffset

func (x *RecentGamesRequest) GetOffset() int32

func (*RecentGamesRequest) GetUsername

func (x *RecentGamesRequest) GetUsername() string

func (*RecentGamesRequest) ProtoMessage

func (*RecentGamesRequest) ProtoMessage()

func (*RecentGamesRequest) ProtoReflect

func (x *RecentGamesRequest) ProtoReflect() protoreflect.Message

func (*RecentGamesRequest) Reset

func (x *RecentGamesRequest) Reset()

func (*RecentGamesRequest) String

func (x *RecentGamesRequest) String() string

type RematchStreakRequest

type RematchStreakRequest struct {
	OriginalRequestId string `protobuf:"bytes,1,opt,name=original_request_id,json=originalRequestId,proto3" json:"original_request_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RematchStreakRequest) Descriptor deprecated

func (*RematchStreakRequest) Descriptor() ([]byte, []int)

Deprecated: Use RematchStreakRequest.ProtoReflect.Descriptor instead.

func (*RematchStreakRequest) GetOriginalRequestId

func (x *RematchStreakRequest) GetOriginalRequestId() string

func (*RematchStreakRequest) ProtoMessage

func (*RematchStreakRequest) ProtoMessage()

func (*RematchStreakRequest) ProtoReflect

func (x *RematchStreakRequest) ProtoReflect() protoreflect.Message

func (*RematchStreakRequest) Reset

func (x *RematchStreakRequest) Reset()

func (*RematchStreakRequest) String

func (x *RematchStreakRequest) String() string

type StreakInfoResponse

type StreakInfoResponse struct {
	Streak      []*StreakInfoResponse_SingleGameInfo `protobuf:"bytes,1,rep,name=streak,proto3" json:"streak,omitempty"`
	PlayersInfo []*StreakInfoResponse_PlayerInfo     `protobuf:"bytes,3,rep,name=playersInfo,proto3" json:"playersInfo,omitempty"` // XXX make this snake_case
	// contains filtered or unexported fields
}

func (*StreakInfoResponse) Descriptor deprecated

func (*StreakInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use StreakInfoResponse.ProtoReflect.Descriptor instead.

func (*StreakInfoResponse) GetPlayersInfo

func (x *StreakInfoResponse) GetPlayersInfo() []*StreakInfoResponse_PlayerInfo

func (*StreakInfoResponse) GetStreak

func (*StreakInfoResponse) ProtoMessage

func (*StreakInfoResponse) ProtoMessage()

func (*StreakInfoResponse) ProtoReflect

func (x *StreakInfoResponse) ProtoReflect() protoreflect.Message

func (*StreakInfoResponse) Reset

func (x *StreakInfoResponse) Reset()

func (*StreakInfoResponse) String

func (x *StreakInfoResponse) String() string

type StreakInfoResponse_PlayerInfo

type StreakInfoResponse_PlayerInfo struct {
	Nickname string `protobuf:"bytes,1,opt,name=nickname,proto3" json:"nickname,omitempty"`
	Uuid     string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` // player uuid needed for censoring
	// contains filtered or unexported fields
}

func (*StreakInfoResponse_PlayerInfo) Descriptor deprecated

func (*StreakInfoResponse_PlayerInfo) Descriptor() ([]byte, []int)

Deprecated: Use StreakInfoResponse_PlayerInfo.ProtoReflect.Descriptor instead.

func (*StreakInfoResponse_PlayerInfo) GetNickname

func (x *StreakInfoResponse_PlayerInfo) GetNickname() string

func (*StreakInfoResponse_PlayerInfo) GetUuid

func (*StreakInfoResponse_PlayerInfo) ProtoMessage

func (*StreakInfoResponse_PlayerInfo) ProtoMessage()

func (*StreakInfoResponse_PlayerInfo) ProtoReflect

func (*StreakInfoResponse_PlayerInfo) Reset

func (x *StreakInfoResponse_PlayerInfo) Reset()

func (*StreakInfoResponse_PlayerInfo) String

type StreakInfoResponse_SingleGameInfo

type StreakInfoResponse_SingleGameInfo struct {
	GameId string `protobuf:"bytes,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
	Winner int32  `protobuf:"varint,3,opt,name=winner,proto3" json:"winner,omitempty"` // the index in `players` or -1 if no winner (tie)
	// contains filtered or unexported fields
}

func (*StreakInfoResponse_SingleGameInfo) Descriptor deprecated

func (*StreakInfoResponse_SingleGameInfo) Descriptor() ([]byte, []int)

Deprecated: Use StreakInfoResponse_SingleGameInfo.ProtoReflect.Descriptor instead.

func (*StreakInfoResponse_SingleGameInfo) GetGameId

func (*StreakInfoResponse_SingleGameInfo) GetWinner

func (*StreakInfoResponse_SingleGameInfo) ProtoMessage

func (*StreakInfoResponse_SingleGameInfo) ProtoMessage()

func (*StreakInfoResponse_SingleGameInfo) ProtoReflect

func (*StreakInfoResponse_SingleGameInfo) Reset

func (*StreakInfoResponse_SingleGameInfo) String

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL