Documentation ¶
Index ¶
- Variables
- type ActiveGameEntry
- func (*ActiveGameEntry) Descriptor() ([]byte, []int)deprecated
- func (x *ActiveGameEntry) GetId() string
- func (x *ActiveGameEntry) GetPlayer() []*ActiveGamePlayer
- func (x *ActiveGameEntry) GetTtl() int64
- func (*ActiveGameEntry) ProtoMessage()
- func (x *ActiveGameEntry) ProtoReflect() protoreflect.Message
- func (x *ActiveGameEntry) Reset()
- func (x *ActiveGameEntry) String() string
- type ActiveGamePlayer
- func (*ActiveGamePlayer) Descriptor() ([]byte, []int)deprecated
- func (x *ActiveGamePlayer) GetUserId() string
- func (x *ActiveGamePlayer) GetUsername() string
- func (*ActiveGamePlayer) ProtoMessage()
- func (x *ActiveGamePlayer) ProtoReflect() protoreflect.Message
- func (x *ActiveGamePlayer) Reset()
- func (x *ActiveGamePlayer) String() string
- type ChatMessage
- func (*ChatMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ChatMessage) GetAvatarUrl() string
- func (x *ChatMessage) GetChannel() string
- func (x *ChatMessage) GetCountryCode() string
- func (x *ChatMessage) GetId() string
- func (x *ChatMessage) GetMessage() string
- func (x *ChatMessage) GetTimestamp() int64
- func (x *ChatMessage) GetUserId() string
- func (x *ChatMessage) GetUsername() string
- func (*ChatMessage) ProtoMessage()
- func (x *ChatMessage) ProtoReflect() protoreflect.Message
- func (x *ChatMessage) Reset()
- func (x *ChatMessage) String() string
- type ChatMessageDeleted
- func (*ChatMessageDeleted) Descriptor() ([]byte, []int)deprecated
- func (x *ChatMessageDeleted) GetChannel() string
- func (x *ChatMessageDeleted) GetId() string
- func (*ChatMessageDeleted) ProtoMessage()
- func (x *ChatMessageDeleted) ProtoReflect() protoreflect.Message
- func (x *ChatMessageDeleted) Reset()
- func (x *ChatMessageDeleted) String() string
- type ChatMessages
- type ChildStatus
- func (ChildStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ChildStatus) Enum() *ChildStatus
- func (ChildStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ChildStatus) Number() protoreflect.EnumNumber
- func (x ChildStatus) String() string
- func (ChildStatus) Type() protoreflect.EnumType
- type ClientGameplayEvent
- func (*ClientGameplayEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ClientGameplayEvent) GetGameId() string
- func (x *ClientGameplayEvent) GetPositionCoords() string
- func (x *ClientGameplayEvent) GetTiles() string
- func (x *ClientGameplayEvent) GetType() ClientGameplayEvent_EventType
- func (*ClientGameplayEvent) ProtoMessage()
- func (x *ClientGameplayEvent) ProtoReflect() protoreflect.Message
- func (x *ClientGameplayEvent) Reset()
- func (x *ClientGameplayEvent) String() string
- type ClientGameplayEvent_EventType
- func (ClientGameplayEvent_EventType) Descriptor() protoreflect.EnumDescriptor
- func (x ClientGameplayEvent_EventType) Enum() *ClientGameplayEvent_EventType
- func (ClientGameplayEvent_EventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClientGameplayEvent_EventType) Number() protoreflect.EnumNumber
- func (x ClientGameplayEvent_EventType) String() string
- func (ClientGameplayEvent_EventType) Type() protoreflect.EnumType
- type DeclineSeekRequest
- func (*DeclineSeekRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeclineSeekRequest) GetRequestId() string
- func (*DeclineSeekRequest) ProtoMessage()
- func (x *DeclineSeekRequest) ProtoReflect() protoreflect.Message
- func (x *DeclineSeekRequest) Reset()
- func (x *DeclineSeekRequest) String() string
- type DivisionControls
- func (*DivisionControls) Descriptor() ([]byte, []int)deprecated
- func (x *DivisionControls) GetAutoStart() bool
- func (x *DivisionControls) GetDivision() string
- func (x *DivisionControls) GetGameRequest() *GameRequest
- func (x *DivisionControls) GetGibsonSpread() int32
- func (x *DivisionControls) GetGibsonize() bool
- func (x *DivisionControls) GetId() string
- func (x *DivisionControls) GetMaximumByePlacement() int32
- func (x *DivisionControls) GetMinimumPlacement() int32
- func (x *DivisionControls) GetSpreadCap() int32
- func (x *DivisionControls) GetSuspendedResult() TournamentGameResult
- func (x *DivisionControls) GetSuspendedSpread() int32
- func (*DivisionControls) ProtoMessage()
- func (x *DivisionControls) ProtoReflect() protoreflect.Message
- func (x *DivisionControls) Reset()
- func (x *DivisionControls) String() string
- type DivisionControlsResponse
- func (*DivisionControlsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DivisionControlsResponse) GetDivision() string
- func (x *DivisionControlsResponse) GetDivisionControls() *DivisionControls
- func (x *DivisionControlsResponse) GetDivisionStandings() map[int32]*RoundStandings
- func (x *DivisionControlsResponse) GetId() string
- func (*DivisionControlsResponse) ProtoMessage()
- func (x *DivisionControlsResponse) ProtoReflect() protoreflect.Message
- func (x *DivisionControlsResponse) Reset()
- func (x *DivisionControlsResponse) String() string
- type DivisionPairingsDeletedResponse
- func (*DivisionPairingsDeletedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DivisionPairingsDeletedResponse) GetDivision() string
- func (x *DivisionPairingsDeletedResponse) GetId() string
- func (x *DivisionPairingsDeletedResponse) GetRound() int32
- func (*DivisionPairingsDeletedResponse) ProtoMessage()
- func (x *DivisionPairingsDeletedResponse) ProtoReflect() protoreflect.Message
- func (x *DivisionPairingsDeletedResponse) Reset()
- func (x *DivisionPairingsDeletedResponse) String() string
- type DivisionPairingsResponse
- func (*DivisionPairingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DivisionPairingsResponse) GetDivision() string
- func (x *DivisionPairingsResponse) GetDivisionPairings() []*Pairing
- func (x *DivisionPairingsResponse) GetDivisionStandings() map[int32]*RoundStandings
- func (x *DivisionPairingsResponse) GetId() string
- func (*DivisionPairingsResponse) ProtoMessage()
- func (x *DivisionPairingsResponse) ProtoReflect() protoreflect.Message
- func (x *DivisionPairingsResponse) Reset()
- func (x *DivisionPairingsResponse) String() string
- type DivisionRoundControls
- func (*DivisionRoundControls) Descriptor() ([]byte, []int)deprecated
- func (x *DivisionRoundControls) GetDivision() string
- func (x *DivisionRoundControls) GetDivisionPairings() []*Pairing
- func (x *DivisionRoundControls) GetDivisionStandings() map[int32]*RoundStandings
- func (x *DivisionRoundControls) GetId() string
- func (x *DivisionRoundControls) GetRoundControls() []*RoundControl
- func (*DivisionRoundControls) ProtoMessage()
- func (x *DivisionRoundControls) ProtoReflect() protoreflect.Message
- func (x *DivisionRoundControls) Reset()
- func (x *DivisionRoundControls) String() string
- type ErrorMessage
- type FirstMethod
- func (FirstMethod) Descriptor() protoreflect.EnumDescriptor
- func (x FirstMethod) Enum() *FirstMethod
- func (FirstMethod) EnumDescriptor() ([]byte, []int)deprecated
- func (x FirstMethod) Number() protoreflect.EnumNumber
- func (x FirstMethod) String() string
- func (FirstMethod) Type() protoreflect.EnumType
- type FullTournamentDivisions
- func (*FullTournamentDivisions) Descriptor() ([]byte, []int)deprecated
- func (x *FullTournamentDivisions) GetDivisions() map[string]*TournamentDivisionDataResponse
- func (x *FullTournamentDivisions) GetStarted() bool
- func (*FullTournamentDivisions) ProtoMessage()
- func (x *FullTournamentDivisions) ProtoReflect() protoreflect.Message
- func (x *FullTournamentDivisions) Reset()
- func (x *FullTournamentDivisions) String() string
- type GameDeletion
- type GameEndReason
- func (GameEndReason) Descriptor() protoreflect.EnumDescriptor
- func (x GameEndReason) Enum() *GameEndReason
- func (GameEndReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x GameEndReason) Number() protoreflect.EnumNumber
- func (x GameEndReason) String() string
- func (GameEndReason) Type() protoreflect.EnumType
- type GameEndedEvent
- func (*GameEndedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *GameEndedEvent) GetEndReason() GameEndReason
- func (x *GameEndedEvent) GetHistory() *macondo.GameHistory
- func (x *GameEndedEvent) GetLoser() string
- func (x *GameEndedEvent) GetNewRatings() map[string]int32
- func (x *GameEndedEvent) GetRatingDeltas() map[string]int32
- func (x *GameEndedEvent) GetScores() map[string]int32
- func (x *GameEndedEvent) GetTie() bool
- func (x *GameEndedEvent) GetTime() int64
- func (x *GameEndedEvent) GetWinner() string
- func (*GameEndedEvent) ProtoMessage()
- func (x *GameEndedEvent) ProtoReflect() protoreflect.Message
- func (x *GameEndedEvent) Reset()
- func (x *GameEndedEvent) String() string
- type GameHistoryRefresher
- func (*GameHistoryRefresher) Descriptor() ([]byte, []int)deprecated
- func (x *GameHistoryRefresher) GetHistory() *macondo.GameHistory
- func (x *GameHistoryRefresher) GetMaxOvertimeMinutes() int32
- func (x *GameHistoryRefresher) GetOutstandingEvent() *GameMetaEvent
- func (x *GameHistoryRefresher) GetTimePlayer1() int32
- func (x *GameHistoryRefresher) GetTimePlayer2() int32
- func (*GameHistoryRefresher) ProtoMessage()
- func (x *GameHistoryRefresher) ProtoReflect() protoreflect.Message
- func (x *GameHistoryRefresher) Reset()
- func (x *GameHistoryRefresher) String() string
- type GameInfoResponse
- func (*GameInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GameInfoResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *GameInfoResponse) GetGameEndReason() GameEndReason
- func (x *GameInfoResponse) GetGameId() string
- func (x *GameInfoResponse) GetGameRequest() *GameRequest
- func (x *GameInfoResponse) GetLastUpdate() *timestamppb.Timestamp
- func (x *GameInfoResponse) GetPlayers() []*PlayerInfo
- func (x *GameInfoResponse) GetScores() []int32
- func (x *GameInfoResponse) GetTimeControlName() string
- func (x *GameInfoResponse) GetTournamentDivision() string
- func (x *GameInfoResponse) GetTournamentGameIndex() int32
- func (x *GameInfoResponse) GetTournamentId() string
- func (x *GameInfoResponse) GetTournamentRound() int32
- func (x *GameInfoResponse) GetWinner() int32
- func (*GameInfoResponse) ProtoMessage()
- func (x *GameInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GameInfoResponse) Reset()
- func (x *GameInfoResponse) String() string
- type GameInfoResponses
- func (*GameInfoResponses) Descriptor() ([]byte, []int)deprecated
- func (x *GameInfoResponses) GetGameInfo() []*GameInfoResponse
- func (*GameInfoResponses) ProtoMessage()
- func (x *GameInfoResponses) ProtoReflect() protoreflect.Message
- func (x *GameInfoResponses) Reset()
- func (x *GameInfoResponses) String() string
- type GameMetaEvent
- func (*GameMetaEvent) Descriptor() ([]byte, []int)deprecated
- func (x *GameMetaEvent) GetExpiry() int32
- func (x *GameMetaEvent) GetGameId() string
- func (x *GameMetaEvent) GetOrigEventId() string
- func (x *GameMetaEvent) GetPlayerId() string
- func (x *GameMetaEvent) GetTimestamp() *timestamppb.Timestamp
- func (x *GameMetaEvent) GetType() GameMetaEvent_EventType
- func (*GameMetaEvent) ProtoMessage()
- func (x *GameMetaEvent) ProtoReflect() protoreflect.Message
- func (x *GameMetaEvent) Reset()
- func (x *GameMetaEvent) String() string
- type GameMetaEvent_EventType
- func (GameMetaEvent_EventType) Descriptor() protoreflect.EnumDescriptor
- func (x GameMetaEvent_EventType) Enum() *GameMetaEvent_EventType
- func (GameMetaEvent_EventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x GameMetaEvent_EventType) Number() protoreflect.EnumNumber
- func (x GameMetaEvent_EventType) String() string
- func (GameMetaEvent_EventType) Type() protoreflect.EnumType
- type GameMode
- type GameRequest
- func (*GameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GameRequest) GetBotType() macondo.BotRequest_BotCode
- func (x *GameRequest) GetChallengeRule() macondo.ChallengeRule
- func (x *GameRequest) GetGameMode() GameMode
- func (x *GameRequest) GetIncrementSeconds() int32
- func (x *GameRequest) GetInitialTimeSeconds() int32
- func (x *GameRequest) GetLexicon() string
- func (x *GameRequest) GetMaxOvertimeMinutes() int32
- func (x *GameRequest) GetOriginalRequestId() string
- func (x *GameRequest) GetPlayerVsBot() bool
- func (x *GameRequest) GetRatingMode() RatingMode
- func (x *GameRequest) GetRequestId() string
- func (x *GameRequest) GetRules() *GameRules
- func (*GameRequest) ProtoMessage()
- func (x *GameRequest) ProtoReflect() protoreflect.Message
- func (x *GameRequest) Reset()
- func (x *GameRequest) String() string
- type GameRules
- func (*GameRules) Descriptor() ([]byte, []int)deprecated
- func (x *GameRules) GetBoardLayoutName() string
- func (x *GameRules) GetLetterDistributionName() string
- func (x *GameRules) GetVariantName() string
- func (*GameRules) ProtoMessage()
- func (x *GameRules) ProtoReflect() protoreflect.Message
- func (x *GameRules) Reset()
- func (x *GameRules) String() string
- type InitRealmInfo
- func (*InitRealmInfo) Descriptor() ([]byte, []int)deprecated
- func (x *InitRealmInfo) GetRealms() []string
- func (x *InitRealmInfo) GetUserId() string
- func (*InitRealmInfo) ProtoMessage()
- func (x *InitRealmInfo) ProtoReflect() protoreflect.Message
- func (x *InitRealmInfo) Reset()
- func (x *InitRealmInfo) String() string
- type InstantiateGame
- func (*InstantiateGame) Descriptor() ([]byte, []int)deprecated
- func (x *InstantiateGame) GetAssignedFirst() int32
- func (x *InstantiateGame) GetGameRequest() *GameRequest
- func (x *InstantiateGame) GetTournamentData() *TournamentDataForGame
- func (x *InstantiateGame) GetUserIds() []string
- func (*InstantiateGame) ProtoMessage()
- func (x *InstantiateGame) ProtoReflect() protoreflect.Message
- func (x *InstantiateGame) Reset()
- func (x *InstantiateGame) String() string
- type JoinPath
- type LagMeasurement
- type MatchUser
- func (*MatchUser) Descriptor() ([]byte, []int)deprecated
- func (x *MatchUser) GetDisplayName() string
- func (x *MatchUser) GetIsAnonymous() bool
- func (x *MatchUser) GetRelevantRating() string
- func (x *MatchUser) GetUserId() string
- func (*MatchUser) ProtoMessage()
- func (x *MatchUser) ProtoReflect() protoreflect.Message
- func (x *MatchUser) Reset()
- func (x *MatchUser) String() string
- type MessageType
- func (MessageType) Descriptor() protoreflect.EnumDescriptor
- func (x MessageType) Enum() *MessageType
- func (MessageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x MessageType) Number() protoreflect.EnumNumber
- func (x MessageType) String() string
- func (MessageType) Type() protoreflect.EnumType
- type NewGameEvent
- func (*NewGameEvent) Descriptor() ([]byte, []int)deprecated
- func (x *NewGameEvent) GetAccepterCid() string
- func (x *NewGameEvent) GetGameId() string
- func (x *NewGameEvent) GetRequesterCid() string
- func (*NewGameEvent) ProtoMessage()
- func (x *NewGameEvent) ProtoReflect() protoreflect.Message
- func (x *NewGameEvent) Reset()
- func (x *NewGameEvent) String() string
- type Pairing
- func (*Pairing) Descriptor() ([]byte, []int)deprecated
- func (x *Pairing) GetGames() []*TournamentGame
- func (x *Pairing) GetOutcomes() []TournamentGameResult
- func (x *Pairing) GetPlayers() []int32
- func (x *Pairing) GetReadyStates() []string
- func (x *Pairing) GetRound() int32
- func (*Pairing) ProtoMessage()
- func (x *Pairing) ProtoReflect() protoreflect.Message
- func (x *Pairing) Reset()
- func (x *Pairing) String() string
- type PairingMethod
- func (PairingMethod) Descriptor() protoreflect.EnumDescriptor
- func (x PairingMethod) Enum() *PairingMethod
- func (PairingMethod) EnumDescriptor() ([]byte, []int)deprecated
- func (x PairingMethod) Number() protoreflect.EnumNumber
- func (x PairingMethod) String() string
- func (PairingMethod) Type() protoreflect.EnumType
- type PlayerInfo
- func (*PlayerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerInfo) GetCountryCode() string
- func (x *PlayerInfo) GetFirst() bool
- func (x *PlayerInfo) GetFullName() string
- func (x *PlayerInfo) GetIsBot() bool
- func (x *PlayerInfo) GetNickname() string
- func (x *PlayerInfo) GetRating() string
- func (x *PlayerInfo) GetTitle() string
- func (x *PlayerInfo) GetUserId() string
- func (*PlayerInfo) ProtoMessage()
- func (x *PlayerInfo) ProtoReflect() protoreflect.Message
- func (x *PlayerInfo) Reset()
- func (x *PlayerInfo) String() string
- type PlayerStanding
- func (*PlayerStanding) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerStanding) GetDraws() int32
- func (x *PlayerStanding) GetGibsonized() bool
- func (x *PlayerStanding) GetLosses() int32
- func (x *PlayerStanding) GetPlayerId() string
- func (x *PlayerStanding) GetSpread() int32
- func (x *PlayerStanding) GetWins() int32
- func (*PlayerStanding) ProtoMessage()
- func (x *PlayerStanding) ProtoReflect() protoreflect.Message
- func (x *PlayerStanding) Reset()
- func (x *PlayerStanding) String() string
- type PlayersAddedOrRemovedResponse
- func (*PlayersAddedOrRemovedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PlayersAddedOrRemovedResponse) GetDivision() string
- func (x *PlayersAddedOrRemovedResponse) GetDivisionPairings() []*Pairing
- func (x *PlayersAddedOrRemovedResponse) GetDivisionStandings() map[int32]*RoundStandings
- func (x *PlayersAddedOrRemovedResponse) GetId() string
- func (x *PlayersAddedOrRemovedResponse) GetPlayers() *TournamentPersons
- func (*PlayersAddedOrRemovedResponse) ProtoMessage()
- func (x *PlayersAddedOrRemovedResponse) ProtoReflect() protoreflect.Message
- func (x *PlayersAddedOrRemovedResponse) Reset()
- func (x *PlayersAddedOrRemovedResponse) String() string
- type Pong
- type PresenceEntry
- func (*PresenceEntry) Descriptor() ([]byte, []int)deprecated
- func (x *PresenceEntry) GetChannel() []string
- func (x *PresenceEntry) GetUserId() string
- func (x *PresenceEntry) GetUsername() string
- func (*PresenceEntry) ProtoMessage()
- func (x *PresenceEntry) ProtoReflect() protoreflect.Message
- func (x *PresenceEntry) Reset()
- func (x *PresenceEntry) String() string
- type ProfileUpdate
- func (*ProfileUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *ProfileUpdate) GetRatings() map[string]*ProfileUpdate_Rating
- func (x *ProfileUpdate) GetUserId() string
- func (*ProfileUpdate) ProtoMessage()
- func (x *ProfileUpdate) ProtoReflect() protoreflect.Message
- func (x *ProfileUpdate) Reset()
- func (x *ProfileUpdate) String() string
- type ProfileUpdate_Rating
- func (*ProfileUpdate_Rating) Descriptor() ([]byte, []int)deprecated
- func (x *ProfileUpdate_Rating) GetDeviation() float64
- func (x *ProfileUpdate_Rating) GetRating() float64
- func (*ProfileUpdate_Rating) ProtoMessage()
- func (x *ProfileUpdate_Rating) ProtoReflect() protoreflect.Message
- func (x *ProfileUpdate_Rating) Reset()
- func (x *ProfileUpdate_Rating) String() string
- type RatingMode
- type ReadyForGame
- type ReadyForTournamentGame
- func (*ReadyForTournamentGame) Descriptor() ([]byte, []int)deprecated
- func (x *ReadyForTournamentGame) GetDivision() string
- func (x *ReadyForTournamentGame) GetGameIndex() int32
- func (x *ReadyForTournamentGame) GetPlayerId() string
- func (x *ReadyForTournamentGame) GetRound() int32
- func (x *ReadyForTournamentGame) GetTournamentId() string
- func (x *ReadyForTournamentGame) GetUnready() bool
- func (*ReadyForTournamentGame) ProtoMessage()
- func (x *ReadyForTournamentGame) ProtoReflect() protoreflect.Message
- func (x *ReadyForTournamentGame) Reset()
- func (x *ReadyForTournamentGame) String() string
- type RegisterRealmRequest
- func (*RegisterRealmRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterRealmRequest) GetPath() string
- func (x *RegisterRealmRequest) GetUserId() string
- func (*RegisterRealmRequest) ProtoMessage()
- func (x *RegisterRealmRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterRealmRequest) Reset()
- func (x *RegisterRealmRequest) String() string
- type RegisterRealmResponse
- func (*RegisterRealmResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterRealmResponse) GetRealms() []string
- func (*RegisterRealmResponse) ProtoMessage()
- func (x *RegisterRealmResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterRealmResponse) Reset()
- func (x *RegisterRealmResponse) String() string
- type RematchStartedEvent
- func (*RematchStartedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *RematchStartedEvent) GetRematchGameId() string
- func (*RematchStartedEvent) ProtoMessage()
- func (x *RematchStartedEvent) ProtoReflect() protoreflect.Message
- func (x *RematchStartedEvent) Reset()
- func (x *RematchStartedEvent) String() string
- type RoundControl
- func (*RoundControl) Descriptor() ([]byte, []int)deprecated
- func (x *RoundControl) GetAllowOverMaxRepeats() bool
- func (x *RoundControl) GetFactor() int32
- func (x *RoundControl) GetFirstMethod() FirstMethod
- func (x *RoundControl) GetGamesPerRound() int32
- func (x *RoundControl) GetInitialFontes() int32
- func (x *RoundControl) GetMaxRepeats() int32
- func (x *RoundControl) GetPairingMethod() PairingMethod
- func (x *RoundControl) GetRepeatRelativeWeight() int32
- func (x *RoundControl) GetRound() int32
- func (x *RoundControl) GetWinDifferenceRelativeWeight() int32
- func (*RoundControl) ProtoMessage()
- func (x *RoundControl) ProtoReflect() protoreflect.Message
- func (x *RoundControl) Reset()
- func (x *RoundControl) String() string
- type RoundStandings
- type SeekRequest
- func (*SeekRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SeekRequest) GetBootedReceivers() []string
- func (x *SeekRequest) GetGameRequest() *GameRequest
- func (x *SeekRequest) GetMaximumRatingRange() int32
- func (x *SeekRequest) GetMinimumRatingRange() int32
- func (x *SeekRequest) GetRatingKey() string
- func (x *SeekRequest) GetReceiverConnectionId() string
- func (x *SeekRequest) GetReceiverIsPermanent() bool
- func (x *SeekRequest) GetReceiverState() SeekState
- func (x *SeekRequest) GetReceivingUser() *MatchUser
- func (x *SeekRequest) GetRematchFor() string
- func (x *SeekRequest) GetSeekerConnectionId() string
- func (x *SeekRequest) GetTournamentId() string
- func (x *SeekRequest) GetUser() *MatchUser
- func (x *SeekRequest) GetUserState() SeekState
- func (*SeekRequest) ProtoMessage()
- func (x *SeekRequest) ProtoReflect() protoreflect.Message
- func (x *SeekRequest) Reset()
- func (x *SeekRequest) String() string
- type SeekRequests
- type SeekState
- type ServerChallengeResultEvent
- func (*ServerChallengeResultEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ServerChallengeResultEvent) GetChallengeRule() macondo.ChallengeRule
- func (x *ServerChallengeResultEvent) GetChallenger() string
- func (x *ServerChallengeResultEvent) GetReturnedTiles() string
- func (x *ServerChallengeResultEvent) GetValid() bool
- func (*ServerChallengeResultEvent) ProtoMessage()
- func (x *ServerChallengeResultEvent) ProtoReflect() protoreflect.Message
- func (x *ServerChallengeResultEvent) Reset()
- func (x *ServerChallengeResultEvent) String() string
- type ServerGameplayEvent
- func (*ServerGameplayEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ServerGameplayEvent) GetEvent() *macondo.GameEvent
- func (x *ServerGameplayEvent) GetGameId() string
- func (x *ServerGameplayEvent) GetNewRack() string
- func (x *ServerGameplayEvent) GetPlaying() macondo.PlayState
- func (x *ServerGameplayEvent) GetTimeRemaining() int32
- func (x *ServerGameplayEvent) GetUserId() string
- func (*ServerGameplayEvent) ProtoMessage()
- func (x *ServerGameplayEvent) ProtoReflect() protoreflect.Message
- func (x *ServerGameplayEvent) Reset()
- func (x *ServerGameplayEvent) String() string
- type ServerMessage
- type SoughtGameProcessEvent
- func (*SoughtGameProcessEvent) Descriptor() ([]byte, []int)deprecated
- func (x *SoughtGameProcessEvent) GetRequestId() string
- func (*SoughtGameProcessEvent) ProtoMessage()
- func (x *SoughtGameProcessEvent) ProtoReflect() protoreflect.Message
- func (x *SoughtGameProcessEvent) Reset()
- func (x *SoughtGameProcessEvent) String() string
- type TimedOut
- type TournamentDataForGame
- func (*TournamentDataForGame) Descriptor() ([]byte, []int)deprecated
- func (x *TournamentDataForGame) GetDivision() string
- func (x *TournamentDataForGame) GetGameIndex() int32
- func (x *TournamentDataForGame) GetRound() int32
- func (x *TournamentDataForGame) GetTid() string
- func (*TournamentDataForGame) ProtoMessage()
- func (x *TournamentDataForGame) ProtoReflect() protoreflect.Message
- func (x *TournamentDataForGame) Reset()
- func (x *TournamentDataForGame) String() string
- type TournamentDataResponse
- func (*TournamentDataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TournamentDataResponse) GetDescription() string
- func (x *TournamentDataResponse) GetDirectors() *TournamentPersons
- func (x *TournamentDataResponse) GetExecutiveDirector() string
- func (x *TournamentDataResponse) GetId() string
- func (x *TournamentDataResponse) GetIsStarted() bool
- func (x *TournamentDataResponse) GetName() string
- func (x *TournamentDataResponse) GetStartTime() *timestamppb.Timestamp
- func (*TournamentDataResponse) ProtoMessage()
- func (x *TournamentDataResponse) ProtoReflect() protoreflect.Message
- func (x *TournamentDataResponse) Reset()
- func (x *TournamentDataResponse) String() string
- type TournamentDivisionDataResponse
- func (*TournamentDivisionDataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TournamentDivisionDataResponse) GetControls() *DivisionControls
- func (x *TournamentDivisionDataResponse) GetCurrentRound() int32
- func (x *TournamentDivisionDataResponse) GetDivision() string
- func (x *TournamentDivisionDataResponse) GetId() string
- func (x *TournamentDivisionDataResponse) GetPairingMap() map[string]*Pairing
- func (x *TournamentDivisionDataResponse) GetPlayers() *TournamentPersons
- func (x *TournamentDivisionDataResponse) GetRoundControls() []*RoundControl
- func (x *TournamentDivisionDataResponse) GetStandings() map[int32]*RoundStandings
- func (*TournamentDivisionDataResponse) ProtoMessage()
- func (x *TournamentDivisionDataResponse) ProtoReflect() protoreflect.Message
- func (x *TournamentDivisionDataResponse) Reset()
- func (x *TournamentDivisionDataResponse) String() string
- type TournamentDivisionDeletedResponse
- func (*TournamentDivisionDeletedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TournamentDivisionDeletedResponse) GetDivision() string
- func (x *TournamentDivisionDeletedResponse) GetId() string
- func (*TournamentDivisionDeletedResponse) ProtoMessage()
- func (x *TournamentDivisionDeletedResponse) ProtoReflect() protoreflect.Message
- func (x *TournamentDivisionDeletedResponse) Reset()
- func (x *TournamentDivisionDeletedResponse) String() string
- type TournamentFinishedResponse
- func (*TournamentFinishedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TournamentFinishedResponse) GetId() string
- func (*TournamentFinishedResponse) ProtoMessage()
- func (x *TournamentFinishedResponse) ProtoReflect() protoreflect.Message
- func (x *TournamentFinishedResponse) Reset()
- func (x *TournamentFinishedResponse) String() string
- type TournamentGame
- func (*TournamentGame) Descriptor() ([]byte, []int)deprecated
- func (x *TournamentGame) GetGameEndReason() GameEndReason
- func (x *TournamentGame) GetId() string
- func (x *TournamentGame) GetResults() []TournamentGameResult
- func (x *TournamentGame) GetScores() []int32
- func (*TournamentGame) ProtoMessage()
- func (x *TournamentGame) ProtoReflect() protoreflect.Message
- func (x *TournamentGame) Reset()
- func (x *TournamentGame) String() string
- type TournamentGameEndedEvent
- func (*TournamentGameEndedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *TournamentGameEndedEvent) GetDivision() string
- func (x *TournamentGameEndedEvent) GetEndReason() GameEndReason
- func (x *TournamentGameEndedEvent) GetGameId() string
- func (x *TournamentGameEndedEvent) GetGameIndex() int32
- func (x *TournamentGameEndedEvent) GetPlayers() []*TournamentGameEndedEvent_Player
- func (x *TournamentGameEndedEvent) GetRound() int32
- func (x *TournamentGameEndedEvent) GetTime() int64
- func (*TournamentGameEndedEvent) ProtoMessage()
- func (x *TournamentGameEndedEvent) ProtoReflect() protoreflect.Message
- func (x *TournamentGameEndedEvent) Reset()
- func (x *TournamentGameEndedEvent) String() string
- type TournamentGameEndedEvent_Player
- func (*TournamentGameEndedEvent_Player) Descriptor() ([]byte, []int)deprecated
- func (x *TournamentGameEndedEvent_Player) GetResult() TournamentGameResult
- func (x *TournamentGameEndedEvent_Player) GetScore() int32
- func (x *TournamentGameEndedEvent_Player) GetUsername() string
- func (*TournamentGameEndedEvent_Player) ProtoMessage()
- func (x *TournamentGameEndedEvent_Player) ProtoReflect() protoreflect.Message
- func (x *TournamentGameEndedEvent_Player) Reset()
- func (x *TournamentGameEndedEvent_Player) String() string
- type TournamentGameResult
- func (TournamentGameResult) Descriptor() protoreflect.EnumDescriptor
- func (x TournamentGameResult) Enum() *TournamentGameResult
- func (TournamentGameResult) EnumDescriptor() ([]byte, []int)deprecated
- func (x TournamentGameResult) Number() protoreflect.EnumNumber
- func (x TournamentGameResult) String() string
- func (TournamentGameResult) Type() protoreflect.EnumType
- type TournamentPerson
- func (*TournamentPerson) Descriptor() ([]byte, []int)deprecated
- func (x *TournamentPerson) GetId() string
- func (x *TournamentPerson) GetRating() int32
- func (x *TournamentPerson) GetSuspended() bool
- func (*TournamentPerson) ProtoMessage()
- func (x *TournamentPerson) ProtoReflect() protoreflect.Message
- func (x *TournamentPerson) Reset()
- func (x *TournamentPerson) String() string
- type TournamentPersons
- func (*TournamentPersons) Descriptor() ([]byte, []int)deprecated
- func (x *TournamentPersons) GetDivision() string
- func (x *TournamentPersons) GetId() string
- func (x *TournamentPersons) GetPersons() []*TournamentPerson
- func (*TournamentPersons) ProtoMessage()
- func (x *TournamentPersons) ProtoReflect() protoreflect.Message
- func (x *TournamentPersons) Reset()
- func (x *TournamentPersons) String() string
- type TournamentRoundStarted
- func (*TournamentRoundStarted) Descriptor() ([]byte, []int)deprecated
- func (x *TournamentRoundStarted) GetDeadline() *timestamppb.Timestamp
- func (x *TournamentRoundStarted) GetDivision() string
- func (x *TournamentRoundStarted) GetGameIndex() int32
- func (x *TournamentRoundStarted) GetRound() int32
- func (x *TournamentRoundStarted) GetTournamentId() string
- func (*TournamentRoundStarted) ProtoMessage()
- func (x *TournamentRoundStarted) ProtoReflect() protoreflect.Message
- func (x *TournamentRoundStarted) Reset()
- func (x *TournamentRoundStarted) String() string
- type UnjoinRealm
- type UserPresence
- func (*UserPresence) Descriptor() ([]byte, []int)deprecated
- func (x *UserPresence) GetChannel() string
- func (x *UserPresence) GetDeleting() bool
- func (x *UserPresence) GetIsAnonymous() bool
- func (x *UserPresence) GetUserId() string
- func (x *UserPresence) GetUsername() string
- func (*UserPresence) ProtoMessage()
- func (x *UserPresence) ProtoReflect() protoreflect.Message
- func (x *UserPresence) Reset()
- func (x *UserPresence) String() string
- type UserPresences
- type WooglesError
- func (WooglesError) Descriptor() protoreflect.EnumDescriptor
- func (x WooglesError) Enum() *WooglesError
- func (WooglesError) EnumDescriptor() ([]byte, []int)deprecated
- func (x WooglesError) Number() protoreflect.EnumNumber
- func (x WooglesError) String() string
- func (WooglesError) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( WooglesError_name = map[int32]string{ 0: "DEFAULT", 1001: "TOURNAMENT_NEGATIVE_MAX_BYE_PLACEMENT", 1002: "TOURNAMENT_NEGATIVE_MIN_PLACEMENT", 1003: "TOURNAMENT_NEGATIVE_GIBSON_SPREAD", 1004: "TOURNAMENT_EMPTY_ROUND_CONTROLS", 1005: "TOURNAMENT_SET_ROUND_CONTROLS_AFTER_START", 1006: "TOURNAMENT_ELIMINATION_PAIRINGS_MIX", 1007: "TOURNAMENT_DISCONTINUOUS_INITIAL_FONTES", 1008: "TOURNAMENT_INVALID_INITIAL_FONTES_ROUNDS", 1009: "TOURNAMENT_INVALID_ELIMINATION_PLAYERS", 1010: "TOURNAMENT_ROUND_NUMBER_OUT_OF_RANGE", 1011: "TOURNAMENT_NONEXISTENT_PLAYER", 1012: "TOURNAMENT_NONAMENDMENT_PAST_RESULT", 1013: "TOURNAMENT_FUTURE_NONBYE_RESULT", 1014: "TOURNAMENT_NIL_PLAYER_PAIRING", 1015: "TOURNAMENT_NONOPPONENTS", 1016: "TOURNAMENT_MIXED_VOID_AND_NONVOID_RESULTS", 1017: "TOURNAMENT_NONEXISTENT_PAIRING", 1018: "TOURNAMENT_UNINITIALIZED_GAMES", 1019: "TOURNAMENT_TIEBREAK_INVALID_GAME_INDEX", 1020: "TOURNAMENT_GAME_INDEX_OUT_OF_RANGE", 1021: "TOURNAMENT_RESULT_ALREADY_SUBMITTED", 1022: "TOURNAMENT_NONEXISTENT_RESULT_AMENDMENT", 1023: "TOURNAMENT_GIBSON_CAN_CATCH", 1024: "TOURNAMENT_CANNOT_ASSIGN_BYE", 1025: "TOURNAMENT_INTERNAL_BYE_ASSIGNMENT", 1026: "TOURNAMENT_INCORRECT_PAIRINGS_LENGTH", 1027: "TOURNAMENT_PAIRINGS_ASSIGNED_BYE", 1028: "TOURNAMENT_SUSPENDED_PLAYER_UNREMOVED", 1029: "TOURNAMENT_PAIRING_INDEX_OUT_OF_RANGE", 1030: "TOURNAMENT_SUSPENDED_PLAYER_PAIRED", 1031: "TOURNAMENT_PLAYER_NOT_PAIRED", 1032: "TOURNAMENT_PLAYER_ALREADY_EXISTS", 1033: "TOURNAMENT_ADD_PLAYERS_LAST_ROUND", 1034: "TOURNAMENT_PLAYER_INDEX_OUT_OF_RANGE", 1035: "TOURNAMENT_PLAYER_ALREADY_REMOVED", 1036: "TOURNAMENT_REMOVAL_CREATES_EMPTY_DIVISION", 1037: "TOURNAMENT_NEGATIVE_GIBSON_ROUND", 1038: "TOURNAMENT_ROUND_NOT_COMPLETE", 1039: "TOURNAMENT_FINISHED", 1040: "TOURNAMENT_NOT_STARTABLE", 1041: "TOURNAMENT_ROUND_NOT_READY", 1042: "TOURNAMENT_SET_GAME_ROUND_NUMBER", 1043: "TOURNAMENT_ALREADY_READY", 1044: "TOURNAMENT_SET_READY_MULTIPLE_IDS", 1045: "TOURNAMENT_SET_READY_PLAYER_NOT_FOUND", 1046: "TOURNAMENT_NO_LOSER", 1047: "TOURNAMENT_NO_WINNER", 1048: "TOURNAMENT_UNPAIRED_PLAYER", 1049: "TOURNAMENT_INVALID_PAIRING", 1050: "TOURNAMENT_INVALID_SWISS", 1051: "TOURNAMENT_ZERO_GAMES_PER_ROUND", 1052: "TOURNAMENT_EMPTY_NAME", 1053: "TOURNAMENT_NOT_STARTED", 1054: "TOURNAMENT_NONEXISTENT_DIVISION", 1055: "TOURNAMENT_NIL_DIVISION_MANAGER", 1056: "TOURNAMENT_SET_NON_FUTURE_ROUND_CONTROLS", 1057: "TOURNAMENT_ADD_DIVISION_AFTER_START", 1058: "TOURNAMENT_INVALID_DIVISION_NAME", 1059: "TOURNAMENT_DIVISION_ALREADY_EXISTS", 1060: "TOURNAMENT_DIVISION_REMOVAL_AFTER_START", 1061: "TOURNAMENT_DIVISION_REMOVAL_EXISTING_PLAYERS", 1062: "TOURNAMENT_PLAYER_ID_CONSTRUCTION", 1063: "TOURNAMENT_EXECUTIVE_DIRECTOR_EXISTS", 1064: "TOURNAMENT_DIRECTOR_EXISTS", 1065: "TOURNAMENT_NO_DIVISIONS", 1066: "TOURNAMENT_GAME_CONTROLS_NOT_SET", 1067: "TOURNAMENT_INCORRECT_START_ROUND", 1068: "TOURNAMENT_PAIR_NON_FUTURE_ROUND", 1069: "TOURNAMENT_DELETE_NON_FUTURE_ROUND", 1070: "TOURNAMENT_DIVISION_NOT_FINISHED", 1071: "TOURNAMENT_NOT_EXACTLY_ONE_EXECUTIVE_DIRECTOR", 1072: "TOURNAMENT_EXECUTIVE_DIRECTOR_REMOVAL", 1073: "TOURNAMENT_INVALID_FUTURE_RESULT", } WooglesError_value = map[string]int32{ "DEFAULT": 0, "TOURNAMENT_NEGATIVE_MAX_BYE_PLACEMENT": 1001, "TOURNAMENT_NEGATIVE_MIN_PLACEMENT": 1002, "TOURNAMENT_NEGATIVE_GIBSON_SPREAD": 1003, "TOURNAMENT_EMPTY_ROUND_CONTROLS": 1004, "TOURNAMENT_SET_ROUND_CONTROLS_AFTER_START": 1005, "TOURNAMENT_ELIMINATION_PAIRINGS_MIX": 1006, "TOURNAMENT_DISCONTINUOUS_INITIAL_FONTES": 1007, "TOURNAMENT_INVALID_INITIAL_FONTES_ROUNDS": 1008, "TOURNAMENT_INVALID_ELIMINATION_PLAYERS": 1009, "TOURNAMENT_ROUND_NUMBER_OUT_OF_RANGE": 1010, "TOURNAMENT_NONEXISTENT_PLAYER": 1011, "TOURNAMENT_NONAMENDMENT_PAST_RESULT": 1012, "TOURNAMENT_FUTURE_NONBYE_RESULT": 1013, "TOURNAMENT_NIL_PLAYER_PAIRING": 1014, "TOURNAMENT_NONOPPONENTS": 1015, "TOURNAMENT_MIXED_VOID_AND_NONVOID_RESULTS": 1016, "TOURNAMENT_NONEXISTENT_PAIRING": 1017, "TOURNAMENT_UNINITIALIZED_GAMES": 1018, "TOURNAMENT_TIEBREAK_INVALID_GAME_INDEX": 1019, "TOURNAMENT_GAME_INDEX_OUT_OF_RANGE": 1020, "TOURNAMENT_RESULT_ALREADY_SUBMITTED": 1021, "TOURNAMENT_NONEXISTENT_RESULT_AMENDMENT": 1022, "TOURNAMENT_GIBSON_CAN_CATCH": 1023, "TOURNAMENT_CANNOT_ASSIGN_BYE": 1024, "TOURNAMENT_INTERNAL_BYE_ASSIGNMENT": 1025, "TOURNAMENT_INCORRECT_PAIRINGS_LENGTH": 1026, "TOURNAMENT_PAIRINGS_ASSIGNED_BYE": 1027, "TOURNAMENT_SUSPENDED_PLAYER_UNREMOVED": 1028, "TOURNAMENT_PAIRING_INDEX_OUT_OF_RANGE": 1029, "TOURNAMENT_SUSPENDED_PLAYER_PAIRED": 1030, "TOURNAMENT_PLAYER_NOT_PAIRED": 1031, "TOURNAMENT_PLAYER_ALREADY_EXISTS": 1032, "TOURNAMENT_ADD_PLAYERS_LAST_ROUND": 1033, "TOURNAMENT_PLAYER_INDEX_OUT_OF_RANGE": 1034, "TOURNAMENT_PLAYER_ALREADY_REMOVED": 1035, "TOURNAMENT_REMOVAL_CREATES_EMPTY_DIVISION": 1036, "TOURNAMENT_NEGATIVE_GIBSON_ROUND": 1037, "TOURNAMENT_ROUND_NOT_COMPLETE": 1038, "TOURNAMENT_FINISHED": 1039, "TOURNAMENT_NOT_STARTABLE": 1040, "TOURNAMENT_ROUND_NOT_READY": 1041, "TOURNAMENT_SET_GAME_ROUND_NUMBER": 1042, "TOURNAMENT_ALREADY_READY": 1043, "TOURNAMENT_SET_READY_MULTIPLE_IDS": 1044, "TOURNAMENT_SET_READY_PLAYER_NOT_FOUND": 1045, "TOURNAMENT_NO_LOSER": 1046, "TOURNAMENT_NO_WINNER": 1047, "TOURNAMENT_UNPAIRED_PLAYER": 1048, "TOURNAMENT_INVALID_PAIRING": 1049, "TOURNAMENT_INVALID_SWISS": 1050, "TOURNAMENT_ZERO_GAMES_PER_ROUND": 1051, "TOURNAMENT_EMPTY_NAME": 1052, "TOURNAMENT_NOT_STARTED": 1053, "TOURNAMENT_NONEXISTENT_DIVISION": 1054, "TOURNAMENT_NIL_DIVISION_MANAGER": 1055, "TOURNAMENT_SET_NON_FUTURE_ROUND_CONTROLS": 1056, "TOURNAMENT_ADD_DIVISION_AFTER_START": 1057, "TOURNAMENT_INVALID_DIVISION_NAME": 1058, "TOURNAMENT_DIVISION_ALREADY_EXISTS": 1059, "TOURNAMENT_DIVISION_REMOVAL_AFTER_START": 1060, "TOURNAMENT_DIVISION_REMOVAL_EXISTING_PLAYERS": 1061, "TOURNAMENT_PLAYER_ID_CONSTRUCTION": 1062, "TOURNAMENT_EXECUTIVE_DIRECTOR_EXISTS": 1063, "TOURNAMENT_DIRECTOR_EXISTS": 1064, "TOURNAMENT_NO_DIVISIONS": 1065, "TOURNAMENT_GAME_CONTROLS_NOT_SET": 1066, "TOURNAMENT_INCORRECT_START_ROUND": 1067, "TOURNAMENT_PAIR_NON_FUTURE_ROUND": 1068, "TOURNAMENT_DELETE_NON_FUTURE_ROUND": 1069, "TOURNAMENT_DIVISION_NOT_FINISHED": 1070, "TOURNAMENT_NOT_EXACTLY_ONE_EXECUTIVE_DIRECTOR": 1071, "TOURNAMENT_EXECUTIVE_DIRECTOR_REMOVAL": 1072, "TOURNAMENT_INVALID_FUTURE_RESULT": 1073, } )
Enum value maps for WooglesError.
var ( MessageType_name = map[int32]string{ 0: "SEEK_REQUEST", 1: "MATCH_REQUEST", 2: "SOUGHT_GAME_PROCESS_EVENT", 3: "CLIENT_GAMEPLAY_EVENT", 4: "SERVER_GAMEPLAY_EVENT", 5: "GAME_ENDED_EVENT", 6: "GAME_HISTORY_REFRESHER", 7: "ERROR_MESSAGE", 8: "NEW_GAME_EVENT", 9: "SERVER_CHALLENGE_RESULT_EVENT", 10: "SEEK_REQUESTS", 12: "ONGOING_GAME_EVENT", 13: "TIMED_OUT", 14: "ONGOING_GAMES", 15: "READY_FOR_TOURNAMENT_GAME", 16: "TOURNAMENT_ROUND_STARTED", 17: "GAME_DELETION", 18: "MATCH_REQUESTS", 19: "DECLINE_SEEK_REQUEST", 20: "CHAT_MESSAGE", 21: "CHAT_MESSAGE_DELETED", 22: "USER_PRESENCE", 23: "USER_PRESENCES", 24: "SERVER_MESSAGE", 25: "READY_FOR_GAME", 26: "LAG_MEASUREMENT", 27: "TOURNAMENT_GAME_ENDED_EVENT", 28: "TOURNAMENT_MESSAGE", 29: "REMATCH_STARTED", 30: "TOURNAMENT_DIVISION_MESSAGE", 31: "TOURNAMENT_DIVISION_DELETED_MESSAGE", 32: "TOURNAMENT_FULL_DIVISIONS_MESSAGE", 34: "TOURNAMENT_DIVISION_ROUND_CONTROLS_MESSAGE", 35: "TOURNAMENT_DIVISION_PAIRINGS_MESSAGE", 36: "TOURNAMENT_DIVISION_CONTROLS_MESSAGE", 37: "TOURNAMENT_DIVISION_PLAYER_CHANGE_MESSAGE", 38: "TOURNAMENT_FINISHED_MESSAGE", 39: "TOURNAMENT_DIVISION_PAIRINGS_DELETED_MESSAGE", 40: "PRESENCE_ENTRY", 41: "ACTIVE_GAME_ENTRY", 42: "GAME_META_EVENT", 43: "PROFILE_UPDATE_EVENT", } MessageType_value = map[string]int32{ "SEEK_REQUEST": 0, "MATCH_REQUEST": 1, "SOUGHT_GAME_PROCESS_EVENT": 2, "CLIENT_GAMEPLAY_EVENT": 3, "SERVER_GAMEPLAY_EVENT": 4, "GAME_ENDED_EVENT": 5, "GAME_HISTORY_REFRESHER": 6, "ERROR_MESSAGE": 7, "NEW_GAME_EVENT": 8, "SERVER_CHALLENGE_RESULT_EVENT": 9, "SEEK_REQUESTS": 10, "ONGOING_GAME_EVENT": 12, "TIMED_OUT": 13, "ONGOING_GAMES": 14, "READY_FOR_TOURNAMENT_GAME": 15, "TOURNAMENT_ROUND_STARTED": 16, "GAME_DELETION": 17, "MATCH_REQUESTS": 18, "DECLINE_SEEK_REQUEST": 19, "CHAT_MESSAGE": 20, "CHAT_MESSAGE_DELETED": 21, "USER_PRESENCE": 22, "USER_PRESENCES": 23, "SERVER_MESSAGE": 24, "READY_FOR_GAME": 25, "LAG_MEASUREMENT": 26, "TOURNAMENT_GAME_ENDED_EVENT": 27, "TOURNAMENT_MESSAGE": 28, "REMATCH_STARTED": 29, "TOURNAMENT_DIVISION_MESSAGE": 30, "TOURNAMENT_DIVISION_DELETED_MESSAGE": 31, "TOURNAMENT_FULL_DIVISIONS_MESSAGE": 32, "TOURNAMENT_DIVISION_ROUND_CONTROLS_MESSAGE": 34, "TOURNAMENT_DIVISION_PAIRINGS_MESSAGE": 35, "TOURNAMENT_DIVISION_CONTROLS_MESSAGE": 36, "TOURNAMENT_DIVISION_PLAYER_CHANGE_MESSAGE": 37, "TOURNAMENT_FINISHED_MESSAGE": 38, "TOURNAMENT_DIVISION_PAIRINGS_DELETED_MESSAGE": 39, "PRESENCE_ENTRY": 40, "ACTIVE_GAME_ENTRY": 41, "GAME_META_EVENT": 42, "PROFILE_UPDATE_EVENT": 43, } )
Enum value maps for MessageType.
var ( SeekState_name = map[int32]string{ 0: "ABSENT", 1: "PRESENT", 2: "READY", } SeekState_value = map[string]int32{ "ABSENT": 0, "PRESENT": 1, "READY": 2, } )
Enum value maps for SeekState.
var ( GameEndReason_name = map[int32]string{ 0: "NONE", 1: "TIME", 2: "STANDARD", 3: "CONSECUTIVE_ZEROES", 4: "RESIGNED", 5: "ABORTED", 6: "TRIPLE_CHALLENGE", 7: "CANCELLED", 8: "FORCE_FORFEIT", } GameEndReason_value = map[string]int32{ "NONE": 0, "TIME": 1, "STANDARD": 2, "CONSECUTIVE_ZEROES": 3, "RESIGNED": 4, "ABORTED": 5, "TRIPLE_CHALLENGE": 6, "CANCELLED": 7, "FORCE_FORFEIT": 8, } )
Enum value maps for GameEndReason.
var ( GameMode_name = map[int32]string{ 0: "REAL_TIME", 1: "CORRESPONDENCE", } GameMode_value = map[string]int32{ "REAL_TIME": 0, "CORRESPONDENCE": 1, } )
Enum value maps for GameMode.
var ( RatingMode_name = map[int32]string{ 0: "RATED", 1: "CASUAL", } RatingMode_value = map[string]int32{ "RATED": 0, "CASUAL": 1, } )
Enum value maps for RatingMode.
var ( ClientGameplayEvent_EventType_name = map[int32]string{ 0: "TILE_PLACEMENT", 1: "PASS", 2: "EXCHANGE", 3: "CHALLENGE_PLAY", 4: "RESIGN", } ClientGameplayEvent_EventType_value = map[string]int32{ "TILE_PLACEMENT": 0, "PASS": 1, "EXCHANGE": 2, "CHALLENGE_PLAY": 3, "RESIGN": 4, } )
Enum value maps for ClientGameplayEvent_EventType.
var ( GameMetaEvent_EventType_name = map[int32]string{ 0: "REQUEST_ABORT", 1: "REQUEST_ADJUDICATION", 2: "REQUEST_UNDO", 3: "REQUEST_ADJOURN", 4: "ABORT_ACCEPTED", 5: "ABORT_DENIED", 6: "ADJUDICATION_ACCEPTED", 7: "ADJUDICATION_DENIED", 8: "UNDO_ACCEPTED", 9: "UNDO_DENIED", 10: "ADD_TIME", 11: "TIMER_EXPIRED", } GameMetaEvent_EventType_value = map[string]int32{ "REQUEST_ABORT": 0, "REQUEST_ADJUDICATION": 1, "REQUEST_UNDO": 2, "REQUEST_ADJOURN": 3, "ABORT_ACCEPTED": 4, "ABORT_DENIED": 5, "ADJUDICATION_ACCEPTED": 6, "ADJUDICATION_DENIED": 7, "UNDO_ACCEPTED": 8, "UNDO_DENIED": 9, "ADD_TIME": 10, "TIMER_EXPIRED": 11, } )
Enum value maps for GameMetaEvent_EventType.
var ( TournamentGameResult_name = map[int32]string{ 0: "NO_RESULT", 1: "WIN", 2: "LOSS", 3: "DRAW", 4: "BYE", 5: "FORFEIT_WIN", 6: "FORFEIT_LOSS", 7: "ELIMINATED", 8: "VOID", } TournamentGameResult_value = map[string]int32{ "NO_RESULT": 0, "WIN": 1, "LOSS": 2, "DRAW": 3, "BYE": 4, "FORFEIT_WIN": 5, "FORFEIT_LOSS": 6, "ELIMINATED": 7, "VOID": 8, } )
Enum value maps for TournamentGameResult.
var ( PairingMethod_name = map[int32]string{ 0: "RANDOM", 1: "ROUND_ROBIN", 2: "KING_OF_THE_HILL", 3: "ELIMINATION", 4: "FACTOR", 5: "INITIAL_FONTES", 6: "SWISS", 7: "QUICKPAIR", 8: "MANUAL", 9: "TEAM_ROUND_ROBIN", } PairingMethod_value = map[string]int32{ "RANDOM": 0, "ROUND_ROBIN": 1, "KING_OF_THE_HILL": 2, "ELIMINATION": 3, "FACTOR": 4, "INITIAL_FONTES": 5, "SWISS": 6, "QUICKPAIR": 7, "MANUAL": 8, "TEAM_ROUND_ROBIN": 9, } )
Enum value maps for PairingMethod.
var ( FirstMethod_name = map[int32]string{ 0: "MANUAL_FIRST", 1: "RANDOM_FIRST", 2: "AUTOMATIC_FIRST", } FirstMethod_value = map[string]int32{ "MANUAL_FIRST": 0, "RANDOM_FIRST": 1, "AUTOMATIC_FIRST": 2, } )
Enum value maps for FirstMethod.
var ( ChildStatus_name = map[int32]string{ 0: "CHILD", 1: "NOT_CHILD", 2: "UNKNOWN", } ChildStatus_value = map[string]int32{ "CHILD": 0, "NOT_CHILD": 1, "UNKNOWN": 2, } )
Enum value maps for ChildStatus.
var File_api_proto_ipc_chat_proto protoreflect.FileDescriptor
var File_api_proto_ipc_errors_proto protoreflect.FileDescriptor
var File_api_proto_ipc_ipc_proto protoreflect.FileDescriptor
var File_api_proto_ipc_omgseeks_proto protoreflect.FileDescriptor
var File_api_proto_ipc_omgwords_proto protoreflect.FileDescriptor
var File_api_proto_ipc_presence_proto protoreflect.FileDescriptor
var File_api_proto_ipc_tournament_proto protoreflect.FileDescriptor
var File_api_proto_ipc_users_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ActiveGameEntry ¶
type ActiveGameEntry struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Player []*ActiveGamePlayer `protobuf:"bytes,2,rep,name=player,proto3" json:"player,omitempty"` Ttl int64 `protobuf:"varint,3,opt,name=ttl,proto3" json:"ttl,omitempty"` // time to live, in seconds // contains filtered or unexported fields }
func (*ActiveGameEntry) Descriptor
deprecated
func (*ActiveGameEntry) Descriptor() ([]byte, []int)
Deprecated: Use ActiveGameEntry.ProtoReflect.Descriptor instead.
func (*ActiveGameEntry) GetId ¶
func (x *ActiveGameEntry) GetId() string
func (*ActiveGameEntry) GetPlayer ¶
func (x *ActiveGameEntry) GetPlayer() []*ActiveGamePlayer
func (*ActiveGameEntry) GetTtl ¶
func (x *ActiveGameEntry) GetTtl() int64
func (*ActiveGameEntry) ProtoMessage ¶
func (*ActiveGameEntry) ProtoMessage()
func (*ActiveGameEntry) ProtoReflect ¶
func (x *ActiveGameEntry) ProtoReflect() protoreflect.Message
func (*ActiveGameEntry) Reset ¶
func (x *ActiveGameEntry) Reset()
func (*ActiveGameEntry) String ¶
func (x *ActiveGameEntry) String() string
type ActiveGamePlayer ¶
type ActiveGamePlayer struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*ActiveGamePlayer) Descriptor
deprecated
func (*ActiveGamePlayer) Descriptor() ([]byte, []int)
Deprecated: Use ActiveGamePlayer.ProtoReflect.Descriptor instead.
func (*ActiveGamePlayer) GetUserId ¶
func (x *ActiveGamePlayer) GetUserId() string
func (*ActiveGamePlayer) GetUsername ¶
func (x *ActiveGamePlayer) GetUsername() string
func (*ActiveGamePlayer) ProtoMessage ¶
func (*ActiveGamePlayer) ProtoMessage()
func (*ActiveGamePlayer) ProtoReflect ¶
func (x *ActiveGamePlayer) ProtoReflect() protoreflect.Message
func (*ActiveGamePlayer) Reset ¶
func (x *ActiveGamePlayer) Reset()
func (*ActiveGamePlayer) String ¶
func (x *ActiveGamePlayer) String() string
type ChatMessage ¶
type ChatMessage struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Channel string `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // timestamp is in milliseconds! Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` UserId string `protobuf:"bytes,5,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Id string `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"` // these are only loaded by specific endpoints. CountryCode string `protobuf:"bytes,7,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` AvatarUrl string `protobuf:"bytes,8,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // contains filtered or unexported fields }
func (*ChatMessage) Descriptor
deprecated
func (*ChatMessage) Descriptor() ([]byte, []int)
Deprecated: Use ChatMessage.ProtoReflect.Descriptor instead.
func (*ChatMessage) GetAvatarUrl ¶
func (x *ChatMessage) GetAvatarUrl() string
func (*ChatMessage) GetChannel ¶
func (x *ChatMessage) GetChannel() string
func (*ChatMessage) GetCountryCode ¶
func (x *ChatMessage) GetCountryCode() string
func (*ChatMessage) GetId ¶
func (x *ChatMessage) GetId() string
func (*ChatMessage) GetMessage ¶
func (x *ChatMessage) GetMessage() string
func (*ChatMessage) GetTimestamp ¶
func (x *ChatMessage) GetTimestamp() int64
func (*ChatMessage) GetUserId ¶
func (x *ChatMessage) GetUserId() string
func (*ChatMessage) GetUsername ¶
func (x *ChatMessage) GetUsername() string
func (*ChatMessage) ProtoMessage ¶
func (*ChatMessage) ProtoMessage()
func (*ChatMessage) ProtoReflect ¶
func (x *ChatMessage) ProtoReflect() protoreflect.Message
func (*ChatMessage) Reset ¶
func (x *ChatMessage) Reset()
func (*ChatMessage) String ¶
func (x *ChatMessage) String() string
type ChatMessageDeleted ¶
type ChatMessageDeleted struct { Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ChatMessageDeleted) Descriptor
deprecated
func (*ChatMessageDeleted) Descriptor() ([]byte, []int)
Deprecated: Use ChatMessageDeleted.ProtoReflect.Descriptor instead.
func (*ChatMessageDeleted) GetChannel ¶
func (x *ChatMessageDeleted) GetChannel() string
func (*ChatMessageDeleted) GetId ¶
func (x *ChatMessageDeleted) GetId() string
func (*ChatMessageDeleted) ProtoMessage ¶
func (*ChatMessageDeleted) ProtoMessage()
func (*ChatMessageDeleted) ProtoReflect ¶
func (x *ChatMessageDeleted) ProtoReflect() protoreflect.Message
func (*ChatMessageDeleted) Reset ¶
func (x *ChatMessageDeleted) Reset()
func (*ChatMessageDeleted) String ¶
func (x *ChatMessageDeleted) String() string
type ChatMessages ¶
type ChatMessages struct { Messages []*ChatMessage `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*ChatMessages) Descriptor
deprecated
func (*ChatMessages) Descriptor() ([]byte, []int)
Deprecated: Use ChatMessages.ProtoReflect.Descriptor instead.
func (*ChatMessages) GetMessages ¶
func (x *ChatMessages) GetMessages() []*ChatMessage
func (*ChatMessages) ProtoMessage ¶
func (*ChatMessages) ProtoMessage()
func (*ChatMessages) ProtoReflect ¶
func (x *ChatMessages) ProtoReflect() protoreflect.Message
func (*ChatMessages) Reset ¶
func (x *ChatMessages) Reset()
func (*ChatMessages) String ¶
func (x *ChatMessages) String() string
type ChildStatus ¶
type ChildStatus int32
const ( ChildStatus_CHILD ChildStatus = 0 ChildStatus_NOT_CHILD ChildStatus = 1 ChildStatus_UNKNOWN ChildStatus = 2 )
func (ChildStatus) Descriptor ¶
func (ChildStatus) Descriptor() protoreflect.EnumDescriptor
func (ChildStatus) Enum ¶
func (x ChildStatus) Enum() *ChildStatus
func (ChildStatus) EnumDescriptor
deprecated
func (ChildStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ChildStatus.Descriptor instead.
func (ChildStatus) Number ¶
func (x ChildStatus) Number() protoreflect.EnumNumber
func (ChildStatus) String ¶
func (x ChildStatus) String() string
func (ChildStatus) Type ¶
func (ChildStatus) Type() protoreflect.EnumType
type ClientGameplayEvent ¶
type ClientGameplayEvent struct { Type ClientGameplayEvent_EventType `protobuf:"varint,1,opt,name=type,proto3,enum=ipc.ClientGameplayEvent_EventType" json:"type,omitempty"` GameId string `protobuf:"bytes,2,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"` // position coordinates, like H8 or G10. Only matters for TILE_PLACEMENT. PositionCoords string `protobuf:"bytes,3,opt,name=position_coords,json=positionCoords,proto3" json:"position_coords,omitempty"` // tiles that are being played (or exchanged). The `.` character is used // for thru, and lowercase characters are used for blanks. Tiles string `protobuf:"bytes,4,opt,name=tiles,proto3" json:"tiles,omitempty"` // contains filtered or unexported fields }
func (*ClientGameplayEvent) Descriptor
deprecated
func (*ClientGameplayEvent) Descriptor() ([]byte, []int)
Deprecated: Use ClientGameplayEvent.ProtoReflect.Descriptor instead.
func (*ClientGameplayEvent) GetGameId ¶
func (x *ClientGameplayEvent) GetGameId() string
func (*ClientGameplayEvent) GetPositionCoords ¶
func (x *ClientGameplayEvent) GetPositionCoords() string
func (*ClientGameplayEvent) GetTiles ¶
func (x *ClientGameplayEvent) GetTiles() string
func (*ClientGameplayEvent) GetType ¶
func (x *ClientGameplayEvent) GetType() ClientGameplayEvent_EventType
func (*ClientGameplayEvent) ProtoMessage ¶
func (*ClientGameplayEvent) ProtoMessage()
func (*ClientGameplayEvent) ProtoReflect ¶
func (x *ClientGameplayEvent) ProtoReflect() protoreflect.Message
func (*ClientGameplayEvent) Reset ¶
func (x *ClientGameplayEvent) Reset()
func (*ClientGameplayEvent) String ¶
func (x *ClientGameplayEvent) String() string
type ClientGameplayEvent_EventType ¶
type ClientGameplayEvent_EventType int32
const ( ClientGameplayEvent_TILE_PLACEMENT ClientGameplayEvent_EventType = 0 ClientGameplayEvent_PASS ClientGameplayEvent_EventType = 1 ClientGameplayEvent_EXCHANGE ClientGameplayEvent_EventType = 2 ClientGameplayEvent_CHALLENGE_PLAY ClientGameplayEvent_EventType = 3 ClientGameplayEvent_RESIGN ClientGameplayEvent_EventType = 4 )
func (ClientGameplayEvent_EventType) Descriptor ¶
func (ClientGameplayEvent_EventType) Descriptor() protoreflect.EnumDescriptor
func (ClientGameplayEvent_EventType) Enum ¶
func (x ClientGameplayEvent_EventType) Enum() *ClientGameplayEvent_EventType
func (ClientGameplayEvent_EventType) EnumDescriptor
deprecated
func (ClientGameplayEvent_EventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClientGameplayEvent_EventType.Descriptor instead.
func (ClientGameplayEvent_EventType) Number ¶
func (x ClientGameplayEvent_EventType) Number() protoreflect.EnumNumber
func (ClientGameplayEvent_EventType) String ¶
func (x ClientGameplayEvent_EventType) String() string
func (ClientGameplayEvent_EventType) Type ¶
func (ClientGameplayEvent_EventType) Type() protoreflect.EnumType
type DeclineSeekRequest ¶
type DeclineSeekRequest struct { RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
When a Receiver declines a Seeker:
func (*DeclineSeekRequest) Descriptor
deprecated
func (*DeclineSeekRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeclineSeekRequest.ProtoReflect.Descriptor instead.
func (*DeclineSeekRequest) GetRequestId ¶
func (x *DeclineSeekRequest) GetRequestId() string
func (*DeclineSeekRequest) ProtoMessage ¶
func (*DeclineSeekRequest) ProtoMessage()
func (*DeclineSeekRequest) ProtoReflect ¶
func (x *DeclineSeekRequest) ProtoReflect() protoreflect.Message
func (*DeclineSeekRequest) Reset ¶
func (x *DeclineSeekRequest) Reset()
func (*DeclineSeekRequest) String ¶
func (x *DeclineSeekRequest) String() string
type DivisionControls ¶
type DivisionControls struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Division string `protobuf:"bytes,2,opt,name=division,proto3" json:"division,omitempty"` GameRequest *GameRequest `protobuf:"bytes,3,opt,name=game_request,json=gameRequest,proto3" json:"game_request,omitempty"` SuspendedResult TournamentGameResult `` /* 137-byte string literal not displayed */ SuspendedSpread int32 `protobuf:"varint,5,opt,name=suspended_spread,json=suspendedSpread,proto3" json:"suspended_spread,omitempty"` AutoStart bool `protobuf:"varint,6,opt,name=auto_start,json=autoStart,proto3" json:"auto_start,omitempty"` SpreadCap int32 `protobuf:"varint,7,opt,name=spread_cap,json=spreadCap,proto3" json:"spread_cap,omitempty"` Gibsonize bool `protobuf:"varint,8,opt,name=gibsonize,proto3" json:"gibsonize,omitempty"` GibsonSpread int32 `protobuf:"varint,9,opt,name=gibson_spread,json=gibsonSpread,proto3" json:"gibson_spread,omitempty"` MinimumPlacement int32 `protobuf:"varint,10,opt,name=minimum_placement,json=minimumPlacement,proto3" json:"minimum_placement,omitempty"` MaximumByePlacement int32 `protobuf:"varint,11,opt,name=maximum_bye_placement,json=maximumByePlacement,proto3" json:"maximum_bye_placement,omitempty"` // contains filtered or unexported fields }
func (*DivisionControls) Descriptor
deprecated
func (*DivisionControls) Descriptor() ([]byte, []int)
Deprecated: Use DivisionControls.ProtoReflect.Descriptor instead.
func (*DivisionControls) GetAutoStart ¶
func (x *DivisionControls) GetAutoStart() bool
func (*DivisionControls) GetDivision ¶
func (x *DivisionControls) GetDivision() string
func (*DivisionControls) GetGameRequest ¶
func (x *DivisionControls) GetGameRequest() *GameRequest
func (*DivisionControls) GetGibsonSpread ¶
func (x *DivisionControls) GetGibsonSpread() int32
func (*DivisionControls) GetGibsonize ¶
func (x *DivisionControls) GetGibsonize() bool
func (*DivisionControls) GetId ¶
func (x *DivisionControls) GetId() string
func (*DivisionControls) GetMaximumByePlacement ¶
func (x *DivisionControls) GetMaximumByePlacement() int32
func (*DivisionControls) GetMinimumPlacement ¶
func (x *DivisionControls) GetMinimumPlacement() int32
func (*DivisionControls) GetSpreadCap ¶
func (x *DivisionControls) GetSpreadCap() int32
func (*DivisionControls) GetSuspendedResult ¶
func (x *DivisionControls) GetSuspendedResult() TournamentGameResult
func (*DivisionControls) GetSuspendedSpread ¶
func (x *DivisionControls) GetSuspendedSpread() int32
func (*DivisionControls) ProtoMessage ¶
func (*DivisionControls) ProtoMessage()
func (*DivisionControls) ProtoReflect ¶
func (x *DivisionControls) ProtoReflect() protoreflect.Message
func (*DivisionControls) Reset ¶
func (x *DivisionControls) Reset()
func (*DivisionControls) String ¶
func (x *DivisionControls) String() string
type DivisionControlsResponse ¶
type DivisionControlsResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Division string `protobuf:"bytes,2,opt,name=division,proto3" json:"division,omitempty"` DivisionControls *DivisionControls `protobuf:"bytes,3,opt,name=division_controls,json=divisionControls,proto3" json:"division_controls,omitempty"` DivisionStandings map[int32]*RoundStandings `` /* 201-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DivisionControlsResponse) Descriptor
deprecated
func (*DivisionControlsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DivisionControlsResponse.ProtoReflect.Descriptor instead.
func (*DivisionControlsResponse) GetDivision ¶
func (x *DivisionControlsResponse) GetDivision() string
func (*DivisionControlsResponse) GetDivisionControls ¶
func (x *DivisionControlsResponse) GetDivisionControls() *DivisionControls
func (*DivisionControlsResponse) GetDivisionStandings ¶
func (x *DivisionControlsResponse) GetDivisionStandings() map[int32]*RoundStandings
func (*DivisionControlsResponse) GetId ¶
func (x *DivisionControlsResponse) GetId() string
func (*DivisionControlsResponse) ProtoMessage ¶
func (*DivisionControlsResponse) ProtoMessage()
func (*DivisionControlsResponse) ProtoReflect ¶
func (x *DivisionControlsResponse) ProtoReflect() protoreflect.Message
func (*DivisionControlsResponse) Reset ¶
func (x *DivisionControlsResponse) Reset()
func (*DivisionControlsResponse) String ¶
func (x *DivisionControlsResponse) String() string
type DivisionPairingsDeletedResponse ¶
type DivisionPairingsDeletedResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Division string `protobuf:"bytes,2,opt,name=division,proto3" json:"division,omitempty"` Round int32 `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"` // contains filtered or unexported fields }
func (*DivisionPairingsDeletedResponse) Descriptor
deprecated
func (*DivisionPairingsDeletedResponse) Descriptor() ([]byte, []int)
Deprecated: Use DivisionPairingsDeletedResponse.ProtoReflect.Descriptor instead.
func (*DivisionPairingsDeletedResponse) GetDivision ¶
func (x *DivisionPairingsDeletedResponse) GetDivision() string
func (*DivisionPairingsDeletedResponse) GetId ¶
func (x *DivisionPairingsDeletedResponse) GetId() string
func (*DivisionPairingsDeletedResponse) GetRound ¶
func (x *DivisionPairingsDeletedResponse) GetRound() int32
func (*DivisionPairingsDeletedResponse) ProtoMessage ¶
func (*DivisionPairingsDeletedResponse) ProtoMessage()
func (*DivisionPairingsDeletedResponse) ProtoReflect ¶
func (x *DivisionPairingsDeletedResponse) ProtoReflect() protoreflect.Message
func (*DivisionPairingsDeletedResponse) Reset ¶
func (x *DivisionPairingsDeletedResponse) Reset()
func (*DivisionPairingsDeletedResponse) String ¶
func (x *DivisionPairingsDeletedResponse) String() string
type DivisionPairingsResponse ¶
type DivisionPairingsResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Division string `protobuf:"bytes,2,opt,name=division,proto3" json:"division,omitempty"` DivisionPairings []*Pairing `protobuf:"bytes,3,rep,name=division_pairings,json=divisionPairings,proto3" json:"division_pairings,omitempty"` DivisionStandings map[int32]*RoundStandings `` /* 201-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DivisionPairingsResponse) Descriptor
deprecated
func (*DivisionPairingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DivisionPairingsResponse.ProtoReflect.Descriptor instead.
func (*DivisionPairingsResponse) GetDivision ¶
func (x *DivisionPairingsResponse) GetDivision() string
func (*DivisionPairingsResponse) GetDivisionPairings ¶
func (x *DivisionPairingsResponse) GetDivisionPairings() []*Pairing
func (*DivisionPairingsResponse) GetDivisionStandings ¶
func (x *DivisionPairingsResponse) GetDivisionStandings() map[int32]*RoundStandings
func (*DivisionPairingsResponse) GetId ¶
func (x *DivisionPairingsResponse) GetId() string
func (*DivisionPairingsResponse) ProtoMessage ¶
func (*DivisionPairingsResponse) ProtoMessage()
func (*DivisionPairingsResponse) ProtoReflect ¶
func (x *DivisionPairingsResponse) ProtoReflect() protoreflect.Message
func (*DivisionPairingsResponse) Reset ¶
func (x *DivisionPairingsResponse) Reset()
func (*DivisionPairingsResponse) String ¶
func (x *DivisionPairingsResponse) String() string
type DivisionRoundControls ¶
type DivisionRoundControls struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Division string `protobuf:"bytes,2,opt,name=division,proto3" json:"division,omitempty"` RoundControls []*RoundControl `protobuf:"bytes,3,rep,name=round_controls,json=roundControls,proto3" json:"round_controls,omitempty"` DivisionPairings []*Pairing `protobuf:"bytes,4,rep,name=division_pairings,json=divisionPairings,proto3" json:"division_pairings,omitempty"` DivisionStandings map[int32]*RoundStandings `` /* 201-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DivisionRoundControls) Descriptor
deprecated
func (*DivisionRoundControls) Descriptor() ([]byte, []int)
Deprecated: Use DivisionRoundControls.ProtoReflect.Descriptor instead.
func (*DivisionRoundControls) GetDivision ¶
func (x *DivisionRoundControls) GetDivision() string
func (*DivisionRoundControls) GetDivisionPairings ¶
func (x *DivisionRoundControls) GetDivisionPairings() []*Pairing
func (*DivisionRoundControls) GetDivisionStandings ¶
func (x *DivisionRoundControls) GetDivisionStandings() map[int32]*RoundStandings
func (*DivisionRoundControls) GetId ¶
func (x *DivisionRoundControls) GetId() string
func (*DivisionRoundControls) GetRoundControls ¶
func (x *DivisionRoundControls) GetRoundControls() []*RoundControl
func (*DivisionRoundControls) ProtoMessage ¶
func (*DivisionRoundControls) ProtoMessage()
func (*DivisionRoundControls) ProtoReflect ¶
func (x *DivisionRoundControls) ProtoReflect() protoreflect.Message
func (*DivisionRoundControls) Reset ¶
func (x *DivisionRoundControls) Reset()
func (*DivisionRoundControls) String ¶
func (x *DivisionRoundControls) String() string
type ErrorMessage ¶
type ErrorMessage struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ErrorMessage) Descriptor
deprecated
func (*ErrorMessage) Descriptor() ([]byte, []int)
Deprecated: Use ErrorMessage.ProtoReflect.Descriptor instead.
func (*ErrorMessage) GetMessage ¶
func (x *ErrorMessage) GetMessage() string
func (*ErrorMessage) ProtoMessage ¶
func (*ErrorMessage) ProtoMessage()
func (*ErrorMessage) ProtoReflect ¶
func (x *ErrorMessage) ProtoReflect() protoreflect.Message
func (*ErrorMessage) Reset ¶
func (x *ErrorMessage) Reset()
func (*ErrorMessage) String ¶
func (x *ErrorMessage) String() string
type FirstMethod ¶
type FirstMethod int32
const ( FirstMethod_MANUAL_FIRST FirstMethod = 0 FirstMethod_RANDOM_FIRST FirstMethod = 1 FirstMethod_AUTOMATIC_FIRST FirstMethod = 2 )
func (FirstMethod) Descriptor ¶
func (FirstMethod) Descriptor() protoreflect.EnumDescriptor
func (FirstMethod) Enum ¶
func (x FirstMethod) Enum() *FirstMethod
func (FirstMethod) EnumDescriptor
deprecated
func (FirstMethod) EnumDescriptor() ([]byte, []int)
Deprecated: Use FirstMethod.Descriptor instead.
func (FirstMethod) Number ¶
func (x FirstMethod) Number() protoreflect.EnumNumber
func (FirstMethod) String ¶
func (x FirstMethod) String() string
func (FirstMethod) Type ¶
func (FirstMethod) Type() protoreflect.EnumType
type FullTournamentDivisions ¶
type FullTournamentDivisions struct { Divisions map[string]*TournamentDivisionDataResponse `` /* 159-byte string literal not displayed */ Started bool `protobuf:"varint,2,opt,name=started,proto3" json:"started,omitempty"` // contains filtered or unexported fields }
func (*FullTournamentDivisions) Descriptor
deprecated
func (*FullTournamentDivisions) Descriptor() ([]byte, []int)
Deprecated: Use FullTournamentDivisions.ProtoReflect.Descriptor instead.
func (*FullTournamentDivisions) GetDivisions ¶
func (x *FullTournamentDivisions) GetDivisions() map[string]*TournamentDivisionDataResponse
func (*FullTournamentDivisions) GetStarted ¶
func (x *FullTournamentDivisions) GetStarted() bool
func (*FullTournamentDivisions) ProtoMessage ¶
func (*FullTournamentDivisions) ProtoMessage()
func (*FullTournamentDivisions) ProtoReflect ¶
func (x *FullTournamentDivisions) ProtoReflect() protoreflect.Message
func (*FullTournamentDivisions) Reset ¶
func (x *FullTournamentDivisions) Reset()
func (*FullTournamentDivisions) String ¶
func (x *FullTournamentDivisions) String() string
type GameDeletion ¶
type GameDeletion struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GameDeletion) Descriptor
deprecated
func (*GameDeletion) Descriptor() ([]byte, []int)
Deprecated: Use GameDeletion.ProtoReflect.Descriptor instead.
func (*GameDeletion) GetId ¶
func (x *GameDeletion) GetId() string
func (*GameDeletion) ProtoMessage ¶
func (*GameDeletion) ProtoMessage()
func (*GameDeletion) ProtoReflect ¶
func (x *GameDeletion) ProtoReflect() protoreflect.Message
func (*GameDeletion) Reset ¶
func (x *GameDeletion) Reset()
func (*GameDeletion) String ¶
func (x *GameDeletion) String() string
type GameEndReason ¶
type GameEndReason int32
const ( // NONE: the game has not yet ended! GameEndReason_NONE GameEndReason = 0 // TIME: one person timed out (and lost) GameEndReason_TIME GameEndReason = 1 // WENT_OUT: game ended regularly, with one person having zero tiles on their // rack. GameEndReason_STANDARD GameEndReason = 2 // 6 consecutive zeroes ends the game. GameEndReason_CONSECUTIVE_ZEROES GameEndReason = 3 GameEndReason_RESIGNED GameEndReason = 4 // Aborted games are aborted by mutual agreement. GameEndReason_ABORTED GameEndReason = 5 GameEndReason_TRIPLE_CHALLENGE GameEndReason = 6 // CANCELLED means the game never started. Game start signal was not sent. GameEndReason_CANCELLED GameEndReason = 7 // FORCE_FORFEIT is a way to force an opponent to take a loss if they left a // game early without resigning. GameEndReason_FORCE_FORFEIT GameEndReason = 8 )
func (GameEndReason) Descriptor ¶
func (GameEndReason) Descriptor() protoreflect.EnumDescriptor
func (GameEndReason) Enum ¶
func (x GameEndReason) Enum() *GameEndReason
func (GameEndReason) EnumDescriptor
deprecated
func (GameEndReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use GameEndReason.Descriptor instead.
func (GameEndReason) Number ¶
func (x GameEndReason) Number() protoreflect.EnumNumber
func (GameEndReason) String ¶
func (x GameEndReason) String() string
func (GameEndReason) Type ¶
func (GameEndReason) Type() protoreflect.EnumType
type GameEndedEvent ¶
type GameEndedEvent struct { Scores map[string]int32 `` /* 154-byte string literal not displayed */ NewRatings map[string]int32 `` /* 180-byte string literal not displayed */ EndReason GameEndReason `protobuf:"varint,3,opt,name=end_reason,json=endReason,proto3,enum=ipc.GameEndReason" json:"end_reason,omitempty"` // The winner is not always the highest scoring player; one player can // time out. The end_reason should make it clear what happened. Winner string `protobuf:"bytes,4,opt,name=winner,proto3" json:"winner,omitempty"` Loser string `protobuf:"bytes,5,opt,name=loser,proto3" json:"loser,omitempty"` // If it was a tie, the winner and loser above can be interchanged. Tie bool `protobuf:"varint,6,opt,name=tie,proto3" json:"tie,omitempty"` // Time that the game ended Time int64 `protobuf:"varint,7,opt,name=time,proto3" json:"time,omitempty"` RatingDeltas map[string]int32 `` /* 186-byte string literal not displayed */ // Send the full game history again. This will have rack information in it. History *macondo.GameHistory `protobuf:"bytes,9,opt,name=history,proto3" json:"history,omitempty"` // contains filtered or unexported fields }
GameEndedEvent is always sent from the server to both clients.
func (*GameEndedEvent) Descriptor
deprecated
func (*GameEndedEvent) Descriptor() ([]byte, []int)
Deprecated: Use GameEndedEvent.ProtoReflect.Descriptor instead.
func (*GameEndedEvent) GetEndReason ¶
func (x *GameEndedEvent) GetEndReason() GameEndReason
func (*GameEndedEvent) GetHistory ¶
func (x *GameEndedEvent) GetHistory() *macondo.GameHistory
func (*GameEndedEvent) GetLoser ¶
func (x *GameEndedEvent) GetLoser() string
func (*GameEndedEvent) GetNewRatings ¶
func (x *GameEndedEvent) GetNewRatings() map[string]int32
func (*GameEndedEvent) GetRatingDeltas ¶
func (x *GameEndedEvent) GetRatingDeltas() map[string]int32
func (*GameEndedEvent) GetScores ¶
func (x *GameEndedEvent) GetScores() map[string]int32
func (*GameEndedEvent) GetTie ¶
func (x *GameEndedEvent) GetTie() bool
func (*GameEndedEvent) GetTime ¶
func (x *GameEndedEvent) GetTime() int64
func (*GameEndedEvent) GetWinner ¶
func (x *GameEndedEvent) GetWinner() string
func (*GameEndedEvent) ProtoMessage ¶
func (*GameEndedEvent) ProtoMessage()
func (*GameEndedEvent) ProtoReflect ¶
func (x *GameEndedEvent) ProtoReflect() protoreflect.Message
func (*GameEndedEvent) Reset ¶
func (x *GameEndedEvent) Reset()
func (*GameEndedEvent) String ¶
func (x *GameEndedEvent) String() string
type GameHistoryRefresher ¶
type GameHistoryRefresher struct { // The history contains all the moves, points, as well as the last known racks // of each player. It also implicitly contains whose turn it is at the moment, // by the events / turns in the history. // The front-end is responsible for showing all this information in a nice // format. // Note: the racks of each player should not be sent to both players, only // to observers. The back-end will have to be smart enough to overwrite // this information with a blank string before sending it. It might not // even be that great of a big deal, as I'm sure people can devise other ways // to cheat, but shrug. History *macondo.GameHistory `protobuf:"bytes,1,opt,name=history,proto3" json:"history,omitempty"` // These represent how much time each player has remaining on their clock // as of the "refresher", in milliseconds. // player1 is the player who is listed first in the game history, regardless // of whether they went first. TimePlayer1 int32 `protobuf:"varint,2,opt,name=time_player1,json=timePlayer1,proto3" json:"time_player1,omitempty"` TimePlayer2 int32 `protobuf:"varint,3,opt,name=time_player2,json=timePlayer2,proto3" json:"time_player2,omitempty"` MaxOvertimeMinutes int32 `protobuf:"varint,4,opt,name=max_overtime_minutes,json=maxOvertimeMinutes,proto3" json:"max_overtime_minutes,omitempty"` // outstanding_event refers to any possible outstanding game meta event that // has not yet been responded to or expired. OutstandingEvent *GameMetaEvent `protobuf:"bytes,5,opt,name=outstanding_event,json=outstandingEvent,proto3" json:"outstanding_event,omitempty"` // contains filtered or unexported fields }
A GameHistoryRefresher is sent to both players when the game starts, and any observers at the time that they begin observing. It can also be sent to a player who reconnects in the middle of a game.
func (*GameHistoryRefresher) Descriptor
deprecated
func (*GameHistoryRefresher) Descriptor() ([]byte, []int)
Deprecated: Use GameHistoryRefresher.ProtoReflect.Descriptor instead.
func (*GameHistoryRefresher) GetHistory ¶
func (x *GameHistoryRefresher) GetHistory() *macondo.GameHistory
func (*GameHistoryRefresher) GetMaxOvertimeMinutes ¶
func (x *GameHistoryRefresher) GetMaxOvertimeMinutes() int32
func (*GameHistoryRefresher) GetOutstandingEvent ¶
func (x *GameHistoryRefresher) GetOutstandingEvent() *GameMetaEvent
func (*GameHistoryRefresher) GetTimePlayer1 ¶
func (x *GameHistoryRefresher) GetTimePlayer1() int32
func (*GameHistoryRefresher) GetTimePlayer2 ¶
func (x *GameHistoryRefresher) GetTimePlayer2() int32
func (*GameHistoryRefresher) ProtoMessage ¶
func (*GameHistoryRefresher) ProtoMessage()
func (*GameHistoryRefresher) ProtoReflect ¶
func (x *GameHistoryRefresher) ProtoReflect() protoreflect.Message
func (*GameHistoryRefresher) Reset ¶
func (x *GameHistoryRefresher) Reset()
func (*GameHistoryRefresher) String ¶
func (x *GameHistoryRefresher) String() string
type GameInfoResponse ¶
type GameInfoResponse struct { Players []*PlayerInfo `protobuf:"bytes,1,rep,name=players,proto3" json:"players,omitempty"` TimeControlName string `protobuf:"bytes,4,opt,name=time_control_name,json=timeControlName,proto3" json:"time_control_name,omitempty"` TournamentId string `protobuf:"bytes,6,opt,name=tournament_id,json=tournamentId,proto3" json:"tournament_id,omitempty"` // done - is game done? // bool done = 9; GameEndReason GameEndReason `` /* 127-byte string literal not displayed */ Scores []int32 `protobuf:"varint,13,rep,packed,name=scores,proto3" json:"scores,omitempty"` Winner int32 `protobuf:"varint,14,opt,name=winner,proto3" json:"winner,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` GameId string `protobuf:"bytes,16,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"` LastUpdate *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=last_update,json=lastUpdate,proto3" json:"last_update,omitempty"` GameRequest *GameRequest `protobuf:"bytes,19,opt,name=game_request,json=gameRequest,proto3" json:"game_request,omitempty"` TournamentDivision string `protobuf:"bytes,20,opt,name=tournament_division,json=tournamentDivision,proto3" json:"tournament_division,omitempty"` TournamentRound int32 `protobuf:"varint,21,opt,name=tournament_round,json=tournamentRound,proto3" json:"tournament_round,omitempty"` // a game index within a round. TournamentGameIndex int32 `protobuf:"varint,22,opt,name=tournament_game_index,json=tournamentGameIndex,proto3" json:"tournament_game_index,omitempty"` // contains filtered or unexported fields }
func (*GameInfoResponse) Descriptor
deprecated
func (*GameInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GameInfoResponse.ProtoReflect.Descriptor instead.
func (*GameInfoResponse) GetCreatedAt ¶
func (x *GameInfoResponse) GetCreatedAt() *timestamppb.Timestamp
func (*GameInfoResponse) GetGameEndReason ¶
func (x *GameInfoResponse) GetGameEndReason() GameEndReason
func (*GameInfoResponse) GetGameId ¶
func (x *GameInfoResponse) GetGameId() string
func (*GameInfoResponse) GetGameRequest ¶
func (x *GameInfoResponse) GetGameRequest() *GameRequest
func (*GameInfoResponse) GetLastUpdate ¶
func (x *GameInfoResponse) GetLastUpdate() *timestamppb.Timestamp
func (*GameInfoResponse) GetPlayers ¶
func (x *GameInfoResponse) GetPlayers() []*PlayerInfo
func (*GameInfoResponse) GetScores ¶
func (x *GameInfoResponse) GetScores() []int32
func (*GameInfoResponse) GetTimeControlName ¶
func (x *GameInfoResponse) GetTimeControlName() string
func (*GameInfoResponse) GetTournamentDivision ¶
func (x *GameInfoResponse) GetTournamentDivision() string
func (*GameInfoResponse) GetTournamentGameIndex ¶
func (x *GameInfoResponse) GetTournamentGameIndex() int32
func (*GameInfoResponse) GetTournamentId ¶
func (x *GameInfoResponse) GetTournamentId() string
func (*GameInfoResponse) GetTournamentRound ¶
func (x *GameInfoResponse) GetTournamentRound() int32
func (*GameInfoResponse) GetWinner ¶
func (x *GameInfoResponse) GetWinner() int32
func (*GameInfoResponse) ProtoMessage ¶
func (*GameInfoResponse) ProtoMessage()
func (*GameInfoResponse) ProtoReflect ¶
func (x *GameInfoResponse) ProtoReflect() protoreflect.Message
func (*GameInfoResponse) Reset ¶
func (x *GameInfoResponse) Reset()
func (*GameInfoResponse) String ¶
func (x *GameInfoResponse) String() string
type GameInfoResponses ¶
type GameInfoResponses struct { GameInfo []*GameInfoResponse `protobuf:"bytes,1,rep,name=game_info,json=gameInfo,proto3" json:"game_info,omitempty"` // contains filtered or unexported fields }
func (*GameInfoResponses) Descriptor
deprecated
func (*GameInfoResponses) Descriptor() ([]byte, []int)
Deprecated: Use GameInfoResponses.ProtoReflect.Descriptor instead.
func (*GameInfoResponses) GetGameInfo ¶
func (x *GameInfoResponses) GetGameInfo() []*GameInfoResponse
func (*GameInfoResponses) ProtoMessage ¶
func (*GameInfoResponses) ProtoMessage()
func (*GameInfoResponses) ProtoReflect ¶
func (x *GameInfoResponses) ProtoReflect() protoreflect.Message
func (*GameInfoResponses) Reset ¶
func (x *GameInfoResponses) Reset()
func (*GameInfoResponses) String ¶
func (x *GameInfoResponses) String() string
type GameMetaEvent ¶
type GameMetaEvent struct { OrigEventId string `protobuf:"bytes,1,opt,name=orig_event_id,json=origEventId,proto3" json:"orig_event_id,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Type GameMetaEvent_EventType `protobuf:"varint,3,opt,name=type,proto3,enum=ipc.GameMetaEvent_EventType" json:"type,omitempty"` PlayerId string `protobuf:"bytes,4,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"` // the player that performed the event. GameId string `protobuf:"bytes,5,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"` Expiry int32 `protobuf:"varint,6,opt,name=expiry,proto3" json:"expiry,omitempty"` // how long should this event remain active, in milliseconds? // contains filtered or unexported fields }
GameMetaEvent defines how we serialize meta events to the database.
func (*GameMetaEvent) Descriptor
deprecated
func (*GameMetaEvent) Descriptor() ([]byte, []int)
Deprecated: Use GameMetaEvent.ProtoReflect.Descriptor instead.
func (*GameMetaEvent) GetExpiry ¶
func (x *GameMetaEvent) GetExpiry() int32
func (*GameMetaEvent) GetGameId ¶
func (x *GameMetaEvent) GetGameId() string
func (*GameMetaEvent) GetOrigEventId ¶
func (x *GameMetaEvent) GetOrigEventId() string
func (*GameMetaEvent) GetPlayerId ¶
func (x *GameMetaEvent) GetPlayerId() string
func (*GameMetaEvent) GetTimestamp ¶
func (x *GameMetaEvent) GetTimestamp() *timestamppb.Timestamp
func (*GameMetaEvent) GetType ¶
func (x *GameMetaEvent) GetType() GameMetaEvent_EventType
func (*GameMetaEvent) ProtoMessage ¶
func (*GameMetaEvent) ProtoMessage()
func (*GameMetaEvent) ProtoReflect ¶
func (x *GameMetaEvent) ProtoReflect() protoreflect.Message
func (*GameMetaEvent) Reset ¶
func (x *GameMetaEvent) Reset()
func (*GameMetaEvent) String ¶
func (x *GameMetaEvent) String() string
type GameMetaEvent_EventType ¶
type GameMetaEvent_EventType int32
const ( // These are "original events" GameMetaEvent_REQUEST_ABORT GameMetaEvent_EventType = 0 // Adjudication is just seen as a "nudge" on the front end. GameMetaEvent_REQUEST_ADJUDICATION GameMetaEvent_EventType = 1 GameMetaEvent_REQUEST_UNDO GameMetaEvent_EventType = 2 GameMetaEvent_REQUEST_ADJOURN GameMetaEvent_EventType = 3 // Are we going to implement this someday? // And these are responses: // A user can accept an abort, or the client will auto-accept when time // expires: GameMetaEvent_ABORT_ACCEPTED GameMetaEvent_EventType = 4 GameMetaEvent_ABORT_DENIED GameMetaEvent_EventType = 5 // A user would not accept an adjudication. The client auto-accepts this // when time expires GameMetaEvent_ADJUDICATION_ACCEPTED GameMetaEvent_EventType = 6 // An adjudication is denied when the receiver responds positively to a // nudge. GameMetaEvent_ADJUDICATION_DENIED GameMetaEvent_EventType = 7 GameMetaEvent_UNDO_ACCEPTED GameMetaEvent_EventType = 8 GameMetaEvent_UNDO_DENIED GameMetaEvent_EventType = 9 // More: GameMetaEvent_ADD_TIME GameMetaEvent_EventType = 10 // add X seconds at a time (30?) to opponent's clock // Some meta events have a timer associated with them. Send this with the // original event id after time has expired. GameMetaEvent_TIMER_EXPIRED GameMetaEvent_EventType = 11 )
func (GameMetaEvent_EventType) Descriptor ¶
func (GameMetaEvent_EventType) Descriptor() protoreflect.EnumDescriptor
func (GameMetaEvent_EventType) Enum ¶
func (x GameMetaEvent_EventType) Enum() *GameMetaEvent_EventType
func (GameMetaEvent_EventType) EnumDescriptor
deprecated
func (GameMetaEvent_EventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use GameMetaEvent_EventType.Descriptor instead.
func (GameMetaEvent_EventType) Number ¶
func (x GameMetaEvent_EventType) Number() protoreflect.EnumNumber
func (GameMetaEvent_EventType) String ¶
func (x GameMetaEvent_EventType) String() string
func (GameMetaEvent_EventType) Type ¶
func (GameMetaEvent_EventType) Type() protoreflect.EnumType
type GameMode ¶
type GameMode int32
func (GameMode) Descriptor ¶
func (GameMode) Descriptor() protoreflect.EnumDescriptor
func (GameMode) EnumDescriptor
deprecated
func (GameMode) Number ¶
func (x GameMode) Number() protoreflect.EnumNumber
func (GameMode) Type ¶
func (GameMode) Type() protoreflect.EnumType
type GameRequest ¶
type GameRequest struct { Lexicon string `protobuf:"bytes,1,opt,name=lexicon,proto3" json:"lexicon,omitempty"` Rules *GameRules `protobuf:"bytes,2,opt,name=rules,proto3" json:"rules,omitempty"` InitialTimeSeconds int32 `protobuf:"varint,3,opt,name=initial_time_seconds,json=initialTimeSeconds,proto3" json:"initial_time_seconds,omitempty"` IncrementSeconds int32 `protobuf:"varint,4,opt,name=increment_seconds,json=incrementSeconds,proto3" json:"increment_seconds,omitempty"` ChallengeRule macondo.ChallengeRule `` /* 128-byte string literal not displayed */ GameMode GameMode `protobuf:"varint,6,opt,name=game_mode,json=gameMode,proto3,enum=ipc.GameMode" json:"game_mode,omitempty"` RatingMode RatingMode `protobuf:"varint,7,opt,name=rating_mode,json=ratingMode,proto3,enum=ipc.RatingMode" json:"rating_mode,omitempty"` RequestId string `protobuf:"bytes,8,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` MaxOvertimeMinutes int32 `protobuf:"varint,9,opt,name=max_overtime_minutes,json=maxOvertimeMinutes,proto3" json:"max_overtime_minutes,omitempty"` PlayerVsBot bool `protobuf:"varint,10,opt,name=player_vs_bot,json=playerVsBot,proto3" json:"player_vs_bot,omitempty"` OriginalRequestId string `protobuf:"bytes,11,opt,name=original_request_id,json=originalRequestId,proto3" json:"original_request_id,omitempty"` BotType macondo.BotRequest_BotCode `protobuf:"varint,12,opt,name=bot_type,json=botType,proto3,enum=macondo.BotRequest_BotCode" json:"bot_type,omitempty"` // contains filtered or unexported fields }
func (*GameRequest) Descriptor
deprecated
func (*GameRequest) Descriptor() ([]byte, []int)
Deprecated: Use GameRequest.ProtoReflect.Descriptor instead.
func (*GameRequest) GetBotType ¶
func (x *GameRequest) GetBotType() macondo.BotRequest_BotCode
func (*GameRequest) GetChallengeRule ¶
func (x *GameRequest) GetChallengeRule() macondo.ChallengeRule
func (*GameRequest) GetGameMode ¶
func (x *GameRequest) GetGameMode() GameMode
func (*GameRequest) GetIncrementSeconds ¶
func (x *GameRequest) GetIncrementSeconds() int32
func (*GameRequest) GetInitialTimeSeconds ¶
func (x *GameRequest) GetInitialTimeSeconds() int32
func (*GameRequest) GetLexicon ¶
func (x *GameRequest) GetLexicon() string
func (*GameRequest) GetMaxOvertimeMinutes ¶
func (x *GameRequest) GetMaxOvertimeMinutes() int32
func (*GameRequest) GetOriginalRequestId ¶
func (x *GameRequest) GetOriginalRequestId() string
func (*GameRequest) GetPlayerVsBot ¶
func (x *GameRequest) GetPlayerVsBot() bool
func (*GameRequest) GetRatingMode ¶
func (x *GameRequest) GetRatingMode() RatingMode
func (*GameRequest) GetRequestId ¶
func (x *GameRequest) GetRequestId() string
func (*GameRequest) GetRules ¶
func (x *GameRequest) GetRules() *GameRules
func (*GameRequest) ProtoMessage ¶
func (*GameRequest) ProtoMessage()
func (*GameRequest) ProtoReflect ¶
func (x *GameRequest) ProtoReflect() protoreflect.Message
func (*GameRequest) Reset ¶
func (x *GameRequest) Reset()
func (*GameRequest) String ¶
func (x *GameRequest) String() string
type GameRules ¶
type GameRules struct { BoardLayoutName string `protobuf:"bytes,1,opt,name=board_layout_name,json=boardLayoutName,proto3" json:"board_layout_name,omitempty"` LetterDistributionName string `` /* 129-byte string literal not displayed */ // If blank, variant is classic, otherwise it could be some other game // (a is worth 100, dogworms, etc.) VariantName string `protobuf:"bytes,3,opt,name=variant_name,json=variantName,proto3" json:"variant_name,omitempty"` // contains filtered or unexported fields }
A GameRules is just the name of a board layout + the name of a letter distribution. These must exist in a database or file somewhere.
func (*GameRules) Descriptor
deprecated
func (*GameRules) GetBoardLayoutName ¶
func (*GameRules) GetLetterDistributionName ¶
func (*GameRules) GetVariantName ¶
func (*GameRules) ProtoMessage ¶
func (*GameRules) ProtoMessage()
func (*GameRules) ProtoReflect ¶
func (x *GameRules) ProtoReflect() protoreflect.Message
type InitRealmInfo ¶
type InitRealmInfo struct { UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Realms []string `protobuf:"bytes,3,rep,name=realms,proto3" json:"realms,omitempty"` // contains filtered or unexported fields }
InitRealmInfo is a request for the API server to send back information about that realm back to the user. For example, for the lobby realm, we would like lists of active games, chats, etc; for game realms, we would like the game history.
func (*InitRealmInfo) Descriptor
deprecated
func (*InitRealmInfo) Descriptor() ([]byte, []int)
Deprecated: Use InitRealmInfo.ProtoReflect.Descriptor instead.
func (*InitRealmInfo) GetRealms ¶
func (x *InitRealmInfo) GetRealms() []string
func (*InitRealmInfo) GetUserId ¶
func (x *InitRealmInfo) GetUserId() string
func (*InitRealmInfo) ProtoMessage ¶
func (*InitRealmInfo) ProtoMessage()
func (*InitRealmInfo) ProtoReflect ¶
func (x *InitRealmInfo) ProtoReflect() protoreflect.Message
func (*InitRealmInfo) Reset ¶
func (x *InitRealmInfo) Reset()
func (*InitRealmInfo) String ¶
func (x *InitRealmInfo) String() string
type InstantiateGame ¶
type InstantiateGame struct { UserIds []string `protobuf:"bytes,1,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` GameRequest *GameRequest `protobuf:"bytes,2,opt,name=game_request,json=gameRequest,proto3" json:"game_request,omitempty"` // assigned_first is -1 if random, or the player index in user_ids otherwise AssignedFirst int32 `protobuf:"varint,3,opt,name=assigned_first,json=assignedFirst,proto3" json:"assigned_first,omitempty"` TournamentData *TournamentDataForGame `protobuf:"bytes,4,opt,name=tournament_data,json=tournamentData,proto3" json:"tournament_data,omitempty"` // contains filtered or unexported fields }
InstantiateGame is an internal message passed to gamesvc in order to instantiate a game.
func (*InstantiateGame) Descriptor
deprecated
func (*InstantiateGame) Descriptor() ([]byte, []int)
Deprecated: Use InstantiateGame.ProtoReflect.Descriptor instead.
func (*InstantiateGame) GetAssignedFirst ¶
func (x *InstantiateGame) GetAssignedFirst() int32
func (*InstantiateGame) GetGameRequest ¶
func (x *InstantiateGame) GetGameRequest() *GameRequest
func (*InstantiateGame) GetTournamentData ¶
func (x *InstantiateGame) GetTournamentData() *TournamentDataForGame
func (*InstantiateGame) GetUserIds ¶
func (x *InstantiateGame) GetUserIds() []string
func (*InstantiateGame) ProtoMessage ¶
func (*InstantiateGame) ProtoMessage()
func (*InstantiateGame) ProtoReflect ¶
func (x *InstantiateGame) ProtoReflect() protoreflect.Message
func (*InstantiateGame) Reset ¶
func (x *InstantiateGame) Reset()
func (*InstantiateGame) String ¶
func (x *InstantiateGame) String() string
type JoinPath ¶
type JoinPath struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
When we go to a new path in our SPA, we send a JoinPath. When we leave the path, we send an Unjoin realm. d
func (*JoinPath) Descriptor
deprecated
func (*JoinPath) ProtoMessage ¶
func (*JoinPath) ProtoMessage()
func (*JoinPath) ProtoReflect ¶
func (x *JoinPath) ProtoReflect() protoreflect.Message
type LagMeasurement ¶
type LagMeasurement struct { LagMs int32 `protobuf:"varint,1,opt,name=lag_ms,json=lagMs,proto3" json:"lag_ms,omitempty"` // contains filtered or unexported fields }
func (*LagMeasurement) Descriptor
deprecated
func (*LagMeasurement) Descriptor() ([]byte, []int)
Deprecated: Use LagMeasurement.ProtoReflect.Descriptor instead.
func (*LagMeasurement) GetLagMs ¶
func (x *LagMeasurement) GetLagMs() int32
func (*LagMeasurement) ProtoMessage ¶
func (*LagMeasurement) ProtoMessage()
func (*LagMeasurement) ProtoReflect ¶
func (x *LagMeasurement) ProtoReflect() protoreflect.Message
func (*LagMeasurement) Reset ¶
func (x *LagMeasurement) Reset()
func (*LagMeasurement) String ¶
func (x *LagMeasurement) String() string
type MatchUser ¶
type MatchUser struct { // user_id is the database, or anonymous, ID of the user. UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // relevant_rating is the rating of the user, for the relevant seek mode. RelevantRating string `protobuf:"bytes,2,opt,name=relevant_rating,json=relevantRating,proto3" json:"relevant_rating,omitempty"` // if is_anonymous, backend won't bother to look up the user in the DB. IsAnonymous bool `protobuf:"varint,3,opt,name=is_anonymous,json=isAnonymous,proto3" json:"is_anonymous,omitempty"` // display_name is the display username of the user (could be real name too) DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // contains filtered or unexported fields }
A MatchUser requests or receives a match via a seek or a match request.
func (*MatchUser) Descriptor
deprecated
func (*MatchUser) GetDisplayName ¶
func (*MatchUser) GetIsAnonymous ¶
func (*MatchUser) GetRelevantRating ¶
func (*MatchUser) ProtoMessage ¶
func (*MatchUser) ProtoMessage()
func (*MatchUser) ProtoReflect ¶
func (x *MatchUser) ProtoReflect() protoreflect.Message
type MessageType ¶
type MessageType int32
In order to make socket messages as small and simple as possible, we should include the message type with the socket message. Whenever we add a new client <-> server socket message type, add it to this list.
const ( MessageType_SEEK_REQUEST MessageType = 0 MessageType_MATCH_REQUEST MessageType = 1 MessageType_SOUGHT_GAME_PROCESS_EVENT MessageType = 2 MessageType_CLIENT_GAMEPLAY_EVENT MessageType = 3 MessageType_SERVER_GAMEPLAY_EVENT MessageType = 4 MessageType_GAME_ENDED_EVENT MessageType = 5 MessageType_GAME_HISTORY_REFRESHER MessageType = 6 MessageType_ERROR_MESSAGE MessageType = 7 MessageType_NEW_GAME_EVENT MessageType = 8 MessageType_SERVER_CHALLENGE_RESULT_EVENT MessageType = 9 MessageType_SEEK_REQUESTS MessageType = 10 MessageType_ONGOING_GAME_EVENT MessageType = 12 MessageType_TIMED_OUT MessageType = 13 MessageType_ONGOING_GAMES MessageType = 14 MessageType_READY_FOR_TOURNAMENT_GAME MessageType = 15 MessageType_TOURNAMENT_ROUND_STARTED MessageType = 16 MessageType_GAME_DELETION MessageType = 17 MessageType_MATCH_REQUESTS MessageType = 18 MessageType_DECLINE_SEEK_REQUEST MessageType = 19 MessageType_CHAT_MESSAGE MessageType = 20 MessageType_CHAT_MESSAGE_DELETED MessageType = 21 MessageType_USER_PRESENCE MessageType = 22 MessageType_USER_PRESENCES MessageType = 23 MessageType_SERVER_MESSAGE MessageType = 24 MessageType_READY_FOR_GAME MessageType = 25 MessageType_LAG_MEASUREMENT MessageType = 26 MessageType_TOURNAMENT_GAME_ENDED_EVENT MessageType = 27 MessageType_TOURNAMENT_MESSAGE MessageType = 28 // used for TournamentDataResponse (metadata) MessageType_REMATCH_STARTED MessageType = 29 MessageType_TOURNAMENT_DIVISION_MESSAGE MessageType = 30 MessageType_TOURNAMENT_DIVISION_DELETED_MESSAGE MessageType = 31 MessageType_TOURNAMENT_FULL_DIVISIONS_MESSAGE MessageType = 32 MessageType_TOURNAMENT_DIVISION_ROUND_CONTROLS_MESSAGE MessageType = 34 MessageType_TOURNAMENT_DIVISION_PAIRINGS_MESSAGE MessageType = 35 MessageType_TOURNAMENT_DIVISION_CONTROLS_MESSAGE MessageType = 36 MessageType_TOURNAMENT_DIVISION_PLAYER_CHANGE_MESSAGE MessageType = 37 MessageType_TOURNAMENT_FINISHED_MESSAGE MessageType = 38 MessageType_TOURNAMENT_DIVISION_PAIRINGS_DELETED_MESSAGE MessageType = 39 MessageType_PRESENCE_ENTRY MessageType = 40 MessageType_ACTIVE_GAME_ENTRY MessageType = 41 MessageType_GAME_META_EVENT MessageType = 42 MessageType_PROFILE_UPDATE_EVENT MessageType = 43 )
func (MessageType) Descriptor ¶
func (MessageType) Descriptor() protoreflect.EnumDescriptor
func (MessageType) Enum ¶
func (x MessageType) Enum() *MessageType
func (MessageType) EnumDescriptor
deprecated
func (MessageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MessageType.Descriptor instead.
func (MessageType) Number ¶
func (x MessageType) Number() protoreflect.EnumNumber
func (MessageType) String ¶
func (x MessageType) String() string
func (MessageType) Type ¶
func (MessageType) Type() protoreflect.EnumType
type NewGameEvent ¶
type NewGameEvent struct { GameId string `protobuf:"bytes,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"` // These are the connection IDs of the requesting and accepting users. RequesterCid string `protobuf:"bytes,2,opt,name=requester_cid,json=requesterCid,proto3" json:"requester_cid,omitempty"` AccepterCid string `protobuf:"bytes,3,opt,name=accepter_cid,json=accepterCid,proto3" json:"accepter_cid,omitempty"` // contains filtered or unexported fields }
A NewGameEvent gets sent from the server to the involved clients when a new game is about to begin. It should follow a SoughtGameProcessEvent.
func (*NewGameEvent) Descriptor
deprecated
func (*NewGameEvent) Descriptor() ([]byte, []int)
Deprecated: Use NewGameEvent.ProtoReflect.Descriptor instead.
func (*NewGameEvent) GetAccepterCid ¶
func (x *NewGameEvent) GetAccepterCid() string
func (*NewGameEvent) GetGameId ¶
func (x *NewGameEvent) GetGameId() string
func (*NewGameEvent) GetRequesterCid ¶
func (x *NewGameEvent) GetRequesterCid() string
func (*NewGameEvent) ProtoMessage ¶
func (*NewGameEvent) ProtoMessage()
func (*NewGameEvent) ProtoReflect ¶
func (x *NewGameEvent) ProtoReflect() protoreflect.Message
func (*NewGameEvent) Reset ¶
func (x *NewGameEvent) Reset()
func (*NewGameEvent) String ¶
func (x *NewGameEvent) String() string
type Pairing ¶
type Pairing struct { Players []int32 `protobuf:"varint,1,rep,packed,name=players,proto3" json:"players,omitempty"` Round int32 `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"` Games []*TournamentGame `protobuf:"bytes,3,rep,name=games,proto3" json:"games,omitempty"` // can be a list, for elimination tourneys Outcomes []TournamentGameResult `protobuf:"varint,4,rep,packed,name=outcomes,proto3,enum=ipc.TournamentGameResult" json:"outcomes,omitempty"` ReadyStates []string `protobuf:"bytes,5,rep,name=ready_states,json=readyStates,proto3" json:"ready_states,omitempty"` // contains filtered or unexported fields }
func (*Pairing) Descriptor
deprecated
func (*Pairing) GetGames ¶
func (x *Pairing) GetGames() []*TournamentGame
func (*Pairing) GetOutcomes ¶
func (x *Pairing) GetOutcomes() []TournamentGameResult
func (*Pairing) GetPlayers ¶
func (*Pairing) GetReadyStates ¶
func (*Pairing) ProtoMessage ¶
func (*Pairing) ProtoMessage()
func (*Pairing) ProtoReflect ¶
func (x *Pairing) ProtoReflect() protoreflect.Message
type PairingMethod ¶
type PairingMethod int32
const ( PairingMethod_RANDOM PairingMethod = 0 PairingMethod_ROUND_ROBIN PairingMethod = 1 PairingMethod_KING_OF_THE_HILL PairingMethod = 2 PairingMethod_ELIMINATION PairingMethod = 3 PairingMethod_FACTOR PairingMethod = 4 PairingMethod_INITIAL_FONTES PairingMethod = 5 PairingMethod_SWISS PairingMethod = 6 PairingMethod_QUICKPAIR PairingMethod = 7 PairingMethod_MANUAL PairingMethod = 8 PairingMethod_TEAM_ROUND_ROBIN PairingMethod = 9 )
func (PairingMethod) Descriptor ¶
func (PairingMethod) Descriptor() protoreflect.EnumDescriptor
func (PairingMethod) Enum ¶
func (x PairingMethod) Enum() *PairingMethod
func (PairingMethod) EnumDescriptor
deprecated
func (PairingMethod) EnumDescriptor() ([]byte, []int)
Deprecated: Use PairingMethod.Descriptor instead.
func (PairingMethod) Number ¶
func (x PairingMethod) Number() protoreflect.EnumNumber
func (PairingMethod) String ¶
func (x PairingMethod) String() string
func (PairingMethod) Type ¶
func (PairingMethod) Type() protoreflect.EnumType
type PlayerInfo ¶
type PlayerInfo struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"` FullName string `protobuf:"bytes,3,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` CountryCode string `protobuf:"bytes,4,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` // Rating for the particular mode of the game. String because it could be // provisional or some other strings. Rating string `protobuf:"bytes,5,opt,name=rating,proto3" json:"rating,omitempty"` Title string `protobuf:"bytes,6,opt,name=title,proto3" json:"title,omitempty"` // string avatar_url = 7; // the UserService now offers Avatar info IsBot bool `protobuf:"varint,8,opt,name=is_bot,json=isBot,proto3" json:"is_bot,omitempty"` // first is true if the player went first First bool `protobuf:"varint,9,opt,name=first,proto3" json:"first,omitempty"` // contains filtered or unexported fields }
Meta information about the player of a particular game.
func (*PlayerInfo) Descriptor
deprecated
func (*PlayerInfo) Descriptor() ([]byte, []int)
Deprecated: Use PlayerInfo.ProtoReflect.Descriptor instead.
func (*PlayerInfo) GetCountryCode ¶
func (x *PlayerInfo) GetCountryCode() string
func (*PlayerInfo) GetFirst ¶
func (x *PlayerInfo) GetFirst() bool
func (*PlayerInfo) GetFullName ¶
func (x *PlayerInfo) GetFullName() string
func (*PlayerInfo) GetIsBot ¶
func (x *PlayerInfo) GetIsBot() bool
func (*PlayerInfo) GetNickname ¶
func (x *PlayerInfo) GetNickname() string
func (*PlayerInfo) GetRating ¶
func (x *PlayerInfo) GetRating() string
func (*PlayerInfo) GetTitle ¶
func (x *PlayerInfo) GetTitle() string
func (*PlayerInfo) GetUserId ¶
func (x *PlayerInfo) GetUserId() string
func (*PlayerInfo) ProtoMessage ¶
func (*PlayerInfo) ProtoMessage()
func (*PlayerInfo) ProtoReflect ¶
func (x *PlayerInfo) ProtoReflect() protoreflect.Message
func (*PlayerInfo) Reset ¶
func (x *PlayerInfo) Reset()
func (*PlayerInfo) String ¶
func (x *PlayerInfo) String() string
type PlayerStanding ¶
type PlayerStanding struct { PlayerId string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,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"` Draws int32 `protobuf:"varint,4,opt,name=draws,proto3" json:"draws,omitempty"` Spread int32 `protobuf:"varint,5,opt,name=spread,proto3" json:"spread,omitempty"` Gibsonized bool `protobuf:"varint,6,opt,name=gibsonized,proto3" json:"gibsonized,omitempty"` // contains filtered or unexported fields }
func (*PlayerStanding) Descriptor
deprecated
func (*PlayerStanding) Descriptor() ([]byte, []int)
Deprecated: Use PlayerStanding.ProtoReflect.Descriptor instead.
func (*PlayerStanding) GetDraws ¶
func (x *PlayerStanding) GetDraws() int32
func (*PlayerStanding) GetGibsonized ¶
func (x *PlayerStanding) GetGibsonized() bool
func (*PlayerStanding) GetLosses ¶
func (x *PlayerStanding) GetLosses() int32
func (*PlayerStanding) GetPlayerId ¶
func (x *PlayerStanding) GetPlayerId() string
func (*PlayerStanding) GetSpread ¶
func (x *PlayerStanding) GetSpread() int32
func (*PlayerStanding) GetWins ¶
func (x *PlayerStanding) GetWins() int32
func (*PlayerStanding) ProtoMessage ¶
func (*PlayerStanding) ProtoMessage()
func (*PlayerStanding) ProtoReflect ¶
func (x *PlayerStanding) ProtoReflect() protoreflect.Message
func (*PlayerStanding) Reset ¶
func (x *PlayerStanding) Reset()
func (*PlayerStanding) String ¶
func (x *PlayerStanding) String() string
type PlayersAddedOrRemovedResponse ¶
type PlayersAddedOrRemovedResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Division string `protobuf:"bytes,2,opt,name=division,proto3" json:"division,omitempty"` Players *TournamentPersons `protobuf:"bytes,3,opt,name=players,proto3" json:"players,omitempty"` DivisionPairings []*Pairing `protobuf:"bytes,4,rep,name=division_pairings,json=divisionPairings,proto3" json:"division_pairings,omitempty"` DivisionStandings map[int32]*RoundStandings `` /* 201-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PlayersAddedOrRemovedResponse) Descriptor
deprecated
func (*PlayersAddedOrRemovedResponse) Descriptor() ([]byte, []int)
Deprecated: Use PlayersAddedOrRemovedResponse.ProtoReflect.Descriptor instead.
func (*PlayersAddedOrRemovedResponse) GetDivision ¶
func (x *PlayersAddedOrRemovedResponse) GetDivision() string
func (*PlayersAddedOrRemovedResponse) GetDivisionPairings ¶
func (x *PlayersAddedOrRemovedResponse) GetDivisionPairings() []*Pairing
func (*PlayersAddedOrRemovedResponse) GetDivisionStandings ¶
func (x *PlayersAddedOrRemovedResponse) GetDivisionStandings() map[int32]*RoundStandings
func (*PlayersAddedOrRemovedResponse) GetId ¶
func (x *PlayersAddedOrRemovedResponse) GetId() string
func (*PlayersAddedOrRemovedResponse) GetPlayers ¶
func (x *PlayersAddedOrRemovedResponse) GetPlayers() *TournamentPersons
func (*PlayersAddedOrRemovedResponse) ProtoMessage ¶
func (*PlayersAddedOrRemovedResponse) ProtoMessage()
func (*PlayersAddedOrRemovedResponse) ProtoReflect ¶
func (x *PlayersAddedOrRemovedResponse) ProtoReflect() protoreflect.Message
func (*PlayersAddedOrRemovedResponse) Reset ¶
func (x *PlayersAddedOrRemovedResponse) Reset()
func (*PlayersAddedOrRemovedResponse) String ¶
func (x *PlayersAddedOrRemovedResponse) String() string
type Pong ¶
type Pong struct { Ips string `protobuf:"bytes,1,opt,name=ips,proto3" json:"ips,omitempty"` // contains filtered or unexported fields }
func (*Pong) Descriptor
deprecated
func (*Pong) ProtoMessage ¶
func (*Pong) ProtoMessage()
func (*Pong) ProtoReflect ¶
func (x *Pong) ProtoReflect() protoreflect.Message
type PresenceEntry ¶
type PresenceEntry struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Channel []string `protobuf:"bytes,3,rep,name=channel,proto3" json:"channel,omitempty"` // contains filtered or unexported fields }
Only authenticated connections.
func (*PresenceEntry) Descriptor
deprecated
func (*PresenceEntry) Descriptor() ([]byte, []int)
Deprecated: Use PresenceEntry.ProtoReflect.Descriptor instead.
func (*PresenceEntry) GetChannel ¶
func (x *PresenceEntry) GetChannel() []string
func (*PresenceEntry) GetUserId ¶
func (x *PresenceEntry) GetUserId() string
func (*PresenceEntry) GetUsername ¶
func (x *PresenceEntry) GetUsername() string
func (*PresenceEntry) ProtoMessage ¶
func (*PresenceEntry) ProtoMessage()
func (*PresenceEntry) ProtoReflect ¶
func (x *PresenceEntry) ProtoReflect() protoreflect.Message
func (*PresenceEntry) Reset ¶
func (x *PresenceEntry) Reset()
func (*PresenceEntry) String ¶
func (x *PresenceEntry) String() string
type ProfileUpdate ¶
type ProfileUpdate struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // map of variant name to rating Ratings map[string]*ProfileUpdate_Rating `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ProfileUpdate) Descriptor
deprecated
func (*ProfileUpdate) Descriptor() ([]byte, []int)
Deprecated: Use ProfileUpdate.ProtoReflect.Descriptor instead.
func (*ProfileUpdate) GetRatings ¶
func (x *ProfileUpdate) GetRatings() map[string]*ProfileUpdate_Rating
func (*ProfileUpdate) GetUserId ¶
func (x *ProfileUpdate) GetUserId() string
func (*ProfileUpdate) ProtoMessage ¶
func (*ProfileUpdate) ProtoMessage()
func (*ProfileUpdate) ProtoReflect ¶
func (x *ProfileUpdate) ProtoReflect() protoreflect.Message
func (*ProfileUpdate) Reset ¶
func (x *ProfileUpdate) Reset()
func (*ProfileUpdate) String ¶
func (x *ProfileUpdate) String() string
type ProfileUpdate_Rating ¶
type ProfileUpdate_Rating struct { Rating float64 `protobuf:"fixed64,1,opt,name=rating,proto3" json:"rating,omitempty"` Deviation float64 `protobuf:"fixed64,2,opt,name=deviation,proto3" json:"deviation,omitempty"` // contains filtered or unexported fields }
func (*ProfileUpdate_Rating) Descriptor
deprecated
func (*ProfileUpdate_Rating) Descriptor() ([]byte, []int)
Deprecated: Use ProfileUpdate_Rating.ProtoReflect.Descriptor instead.
func (*ProfileUpdate_Rating) GetDeviation ¶
func (x *ProfileUpdate_Rating) GetDeviation() float64
func (*ProfileUpdate_Rating) GetRating ¶
func (x *ProfileUpdate_Rating) GetRating() float64
func (*ProfileUpdate_Rating) ProtoMessage ¶
func (*ProfileUpdate_Rating) ProtoMessage()
func (*ProfileUpdate_Rating) ProtoReflect ¶
func (x *ProfileUpdate_Rating) ProtoReflect() protoreflect.Message
func (*ProfileUpdate_Rating) Reset ¶
func (x *ProfileUpdate_Rating) Reset()
func (*ProfileUpdate_Rating) String ¶
func (x *ProfileUpdate_Rating) String() string
type RatingMode ¶
type RatingMode int32
const ( RatingMode_RATED RatingMode = 0 RatingMode_CASUAL RatingMode = 1 )
func (RatingMode) Descriptor ¶
func (RatingMode) Descriptor() protoreflect.EnumDescriptor
func (RatingMode) Enum ¶
func (x RatingMode) Enum() *RatingMode
func (RatingMode) EnumDescriptor
deprecated
func (RatingMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use RatingMode.Descriptor instead.
func (RatingMode) Number ¶
func (x RatingMode) Number() protoreflect.EnumNumber
func (RatingMode) String ¶
func (x RatingMode) String() string
func (RatingMode) Type ¶
func (RatingMode) Type() protoreflect.EnumType
type ReadyForGame ¶
type ReadyForGame struct { GameId string `protobuf:"bytes,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"` // contains filtered or unexported fields }
func (*ReadyForGame) Descriptor
deprecated
func (*ReadyForGame) Descriptor() ([]byte, []int)
Deprecated: Use ReadyForGame.ProtoReflect.Descriptor instead.
func (*ReadyForGame) GetGameId ¶
func (x *ReadyForGame) GetGameId() string
func (*ReadyForGame) ProtoMessage ¶
func (*ReadyForGame) ProtoMessage()
func (*ReadyForGame) ProtoReflect ¶
func (x *ReadyForGame) ProtoReflect() protoreflect.Message
func (*ReadyForGame) Reset ¶
func (x *ReadyForGame) Reset()
func (*ReadyForGame) String ¶
func (x *ReadyForGame) String() string
type ReadyForTournamentGame ¶
type ReadyForTournamentGame struct { TournamentId string `protobuf:"bytes,1,opt,name=tournament_id,json=tournamentId,proto3" json:"tournament_id,omitempty"` Division string `protobuf:"bytes,2,opt,name=division,proto3" json:"division,omitempty"` Round int32 `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"` PlayerId string `protobuf:"bytes,4,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"` GameIndex int32 `protobuf:"varint,5,opt,name=game_index,json=gameIndex,proto3" json:"game_index,omitempty"` // within a matchplay type tournament where several // games share a round. Unready bool `protobuf:"varint,6,opt,name=unready,proto3" json:"unready,omitempty"` // if true, this is a NOT-ready message. // contains filtered or unexported fields }
This can be sent from the user to the tournament or vice-versa.
func (*ReadyForTournamentGame) Descriptor
deprecated
func (*ReadyForTournamentGame) Descriptor() ([]byte, []int)
Deprecated: Use ReadyForTournamentGame.ProtoReflect.Descriptor instead.
func (*ReadyForTournamentGame) GetDivision ¶
func (x *ReadyForTournamentGame) GetDivision() string
func (*ReadyForTournamentGame) GetGameIndex ¶
func (x *ReadyForTournamentGame) GetGameIndex() int32
func (*ReadyForTournamentGame) GetPlayerId ¶
func (x *ReadyForTournamentGame) GetPlayerId() string
func (*ReadyForTournamentGame) GetRound ¶
func (x *ReadyForTournamentGame) GetRound() int32
func (*ReadyForTournamentGame) GetTournamentId ¶
func (x *ReadyForTournamentGame) GetTournamentId() string
func (*ReadyForTournamentGame) GetUnready ¶
func (x *ReadyForTournamentGame) GetUnready() bool
func (*ReadyForTournamentGame) ProtoMessage ¶
func (*ReadyForTournamentGame) ProtoMessage()
func (*ReadyForTournamentGame) ProtoReflect ¶
func (x *ReadyForTournamentGame) ProtoReflect() protoreflect.Message
func (*ReadyForTournamentGame) Reset ¶
func (x *ReadyForTournamentGame) Reset()
func (*ReadyForTournamentGame) String ¶
func (x *ReadyForTournamentGame) String() string
type RegisterRealmRequest ¶
type RegisterRealmRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*RegisterRealmRequest) Descriptor
deprecated
func (*RegisterRealmRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterRealmRequest.ProtoReflect.Descriptor instead.
func (*RegisterRealmRequest) GetPath ¶
func (x *RegisterRealmRequest) GetPath() string
func (*RegisterRealmRequest) GetUserId ¶
func (x *RegisterRealmRequest) GetUserId() string
func (*RegisterRealmRequest) ProtoMessage ¶
func (*RegisterRealmRequest) ProtoMessage()
func (*RegisterRealmRequest) ProtoReflect ¶
func (x *RegisterRealmRequest) ProtoReflect() protoreflect.Message
func (*RegisterRealmRequest) Reset ¶
func (x *RegisterRealmRequest) Reset()
func (*RegisterRealmRequest) String ¶
func (x *RegisterRealmRequest) String() string
type RegisterRealmResponse ¶
type RegisterRealmResponse struct { // realm should be made obsolete. RegisterRealmResponse should always // return a list of realms. Realms []string `protobuf:"bytes,2,rep,name=realms,proto3" json:"realms,omitempty"` // contains filtered or unexported fields }
func (*RegisterRealmResponse) Descriptor
deprecated
func (*RegisterRealmResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterRealmResponse.ProtoReflect.Descriptor instead.
func (*RegisterRealmResponse) GetRealms ¶
func (x *RegisterRealmResponse) GetRealms() []string
func (*RegisterRealmResponse) ProtoMessage ¶
func (*RegisterRealmResponse) ProtoMessage()
func (*RegisterRealmResponse) ProtoReflect ¶
func (x *RegisterRealmResponse) ProtoReflect() protoreflect.Message
func (*RegisterRealmResponse) Reset ¶
func (x *RegisterRealmResponse) Reset()
func (*RegisterRealmResponse) String ¶
func (x *RegisterRealmResponse) String() string
type RematchStartedEvent ¶
type RematchStartedEvent struct { // rematch_game_id is the new game ID. RematchGameId string `protobuf:"bytes,1,opt,name=rematch_game_id,json=rematchGameId,proto3" json:"rematch_game_id,omitempty"` // contains filtered or unexported fields }
RematchStartedEvent gets sent to a game for which there is a rematch. It notifies that observers of the game that a rematch has started.
func (*RematchStartedEvent) Descriptor
deprecated
func (*RematchStartedEvent) Descriptor() ([]byte, []int)
Deprecated: Use RematchStartedEvent.ProtoReflect.Descriptor instead.
func (*RematchStartedEvent) GetRematchGameId ¶
func (x *RematchStartedEvent) GetRematchGameId() string
func (*RematchStartedEvent) ProtoMessage ¶
func (*RematchStartedEvent) ProtoMessage()
func (*RematchStartedEvent) ProtoReflect ¶
func (x *RematchStartedEvent) ProtoReflect() protoreflect.Message
func (*RematchStartedEvent) Reset ¶
func (x *RematchStartedEvent) Reset()
func (*RematchStartedEvent) String ¶
func (x *RematchStartedEvent) String() string
type RoundControl ¶
type RoundControl struct { PairingMethod PairingMethod `protobuf:"varint,1,opt,name=pairing_method,json=pairingMethod,proto3,enum=ipc.PairingMethod" json:"pairing_method,omitempty"` FirstMethod FirstMethod `protobuf:"varint,2,opt,name=first_method,json=firstMethod,proto3,enum=ipc.FirstMethod" json:"first_method,omitempty"` GamesPerRound int32 `protobuf:"varint,3,opt,name=games_per_round,json=gamesPerRound,proto3" json:"games_per_round,omitempty"` Round int32 `protobuf:"varint,4,opt,name=round,proto3" json:"round,omitempty"` Factor int32 `protobuf:"varint,5,opt,name=factor,proto3" json:"factor,omitempty"` InitialFontes int32 `protobuf:"varint,6,opt,name=initial_fontes,json=initialFontes,proto3" json:"initial_fontes,omitempty"` MaxRepeats int32 `protobuf:"varint,7,opt,name=max_repeats,json=maxRepeats,proto3" json:"max_repeats,omitempty"` AllowOverMaxRepeats bool `protobuf:"varint,8,opt,name=allow_over_max_repeats,json=allowOverMaxRepeats,proto3" json:"allow_over_max_repeats,omitempty"` RepeatRelativeWeight int32 `protobuf:"varint,9,opt,name=repeat_relative_weight,json=repeatRelativeWeight,proto3" json:"repeat_relative_weight,omitempty"` WinDifferenceRelativeWeight int32 `` /* 148-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RoundControl) Descriptor
deprecated
func (*RoundControl) Descriptor() ([]byte, []int)
Deprecated: Use RoundControl.ProtoReflect.Descriptor instead.
func (*RoundControl) GetAllowOverMaxRepeats ¶
func (x *RoundControl) GetAllowOverMaxRepeats() bool
func (*RoundControl) GetFactor ¶
func (x *RoundControl) GetFactor() int32
func (*RoundControl) GetFirstMethod ¶
func (x *RoundControl) GetFirstMethod() FirstMethod
func (*RoundControl) GetGamesPerRound ¶
func (x *RoundControl) GetGamesPerRound() int32
func (*RoundControl) GetInitialFontes ¶
func (x *RoundControl) GetInitialFontes() int32
func (*RoundControl) GetMaxRepeats ¶
func (x *RoundControl) GetMaxRepeats() int32
func (*RoundControl) GetPairingMethod ¶
func (x *RoundControl) GetPairingMethod() PairingMethod
func (*RoundControl) GetRepeatRelativeWeight ¶
func (x *RoundControl) GetRepeatRelativeWeight() int32
func (*RoundControl) GetRound ¶
func (x *RoundControl) GetRound() int32
func (*RoundControl) GetWinDifferenceRelativeWeight ¶
func (x *RoundControl) GetWinDifferenceRelativeWeight() int32
func (*RoundControl) ProtoMessage ¶
func (*RoundControl) ProtoMessage()
func (*RoundControl) ProtoReflect ¶
func (x *RoundControl) ProtoReflect() protoreflect.Message
func (*RoundControl) Reset ¶
func (x *RoundControl) Reset()
func (*RoundControl) String ¶
func (x *RoundControl) String() string
type RoundStandings ¶
type RoundStandings struct { Standings []*PlayerStanding `protobuf:"bytes,1,rep,name=standings,proto3" json:"standings,omitempty"` // contains filtered or unexported fields }
func (*RoundStandings) Descriptor
deprecated
func (*RoundStandings) Descriptor() ([]byte, []int)
Deprecated: Use RoundStandings.ProtoReflect.Descriptor instead.
func (*RoundStandings) GetStandings ¶
func (x *RoundStandings) GetStandings() []*PlayerStanding
func (*RoundStandings) ProtoMessage ¶
func (*RoundStandings) ProtoMessage()
func (*RoundStandings) ProtoReflect ¶
func (x *RoundStandings) ProtoReflect() protoreflect.Message
func (*RoundStandings) Reset ¶
func (x *RoundStandings) Reset()
func (*RoundStandings) String ¶
func (x *RoundStandings) String() string
type SeekRequest ¶
type SeekRequest struct { GameRequest *GameRequest `protobuf:"bytes,1,opt,name=game_request,json=gameRequest,proto3" json:"game_request,omitempty"` User *MatchUser `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` MinimumRatingRange int32 `protobuf:"varint,3,opt,name=minimum_rating_range,json=minimumRatingRange,proto3" json:"minimum_rating_range,omitempty"` MaximumRatingRange int32 `protobuf:"varint,4,opt,name=maximum_rating_range,json=maximumRatingRange,proto3" json:"maximum_rating_range,omitempty"` // connection_id is the websocket ID via which this game was requested. SeekerConnectionId string `protobuf:"bytes,5,opt,name=seeker_connection_id,json=seekerConnectionId,proto3" json:"seeker_connection_id,omitempty"` ReceivingUser *MatchUser `protobuf:"bytes,6,opt,name=receiving_user,json=receivingUser,proto3" json:"receiving_user,omitempty"` UserState SeekState `protobuf:"varint,7,opt,name=user_state,json=userState,proto3,enum=ipc.SeekState" json:"user_state,omitempty"` ReceiverState SeekState `protobuf:"varint,8,opt,name=receiver_state,json=receiverState,proto3,enum=ipc.SeekState" json:"receiver_state,omitempty"` ReceiverConnectionId string `protobuf:"bytes,9,opt,name=receiver_connection_id,json=receiverConnectionId,proto3" json:"receiver_connection_id,omitempty"` BootedReceivers []string `protobuf:"bytes,10,rep,name=booted_receivers,json=bootedReceivers,proto3" json:"booted_receivers,omitempty"` // rematch_for is the game ID that this Match Request is a rematch for (empty // if it isn't a rematch) RematchFor string `protobuf:"bytes,11,opt,name=rematch_for,json=rematchFor,proto3" json:"rematch_for,omitempty"` // If this match request is part of a tournament, it is treated in a special // way. We are moving towards server-only matching during tournaments, // so the following will only be used in "clubhouse mode" / more free-form // clubs. TournamentId string `protobuf:"bytes,12,opt,name=tournament_id,json=tournamentId,proto3" json:"tournament_id,omitempty"` ReceiverIsPermanent bool `protobuf:"varint,13,opt,name=receiver_is_permanent,json=receiverIsPermanent,proto3" json:"receiver_is_permanent,omitempty"` RatingKey string `protobuf:"bytes,14,opt,name=rating_key,json=ratingKey,proto3" json:"rating_key,omitempty"` // contains filtered or unexported fields }
func (*SeekRequest) Descriptor
deprecated
func (*SeekRequest) Descriptor() ([]byte, []int)
Deprecated: Use SeekRequest.ProtoReflect.Descriptor instead.
func (*SeekRequest) GetBootedReceivers ¶
func (x *SeekRequest) GetBootedReceivers() []string
func (*SeekRequest) GetGameRequest ¶
func (x *SeekRequest) GetGameRequest() *GameRequest
func (*SeekRequest) GetMaximumRatingRange ¶
func (x *SeekRequest) GetMaximumRatingRange() int32
func (*SeekRequest) GetMinimumRatingRange ¶
func (x *SeekRequest) GetMinimumRatingRange() int32
func (*SeekRequest) GetRatingKey ¶
func (x *SeekRequest) GetRatingKey() string
func (*SeekRequest) GetReceiverConnectionId ¶
func (x *SeekRequest) GetReceiverConnectionId() string
func (*SeekRequest) GetReceiverIsPermanent ¶
func (x *SeekRequest) GetReceiverIsPermanent() bool
func (*SeekRequest) GetReceiverState ¶
func (x *SeekRequest) GetReceiverState() SeekState
func (*SeekRequest) GetReceivingUser ¶
func (x *SeekRequest) GetReceivingUser() *MatchUser
func (*SeekRequest) GetRematchFor ¶
func (x *SeekRequest) GetRematchFor() string
func (*SeekRequest) GetSeekerConnectionId ¶
func (x *SeekRequest) GetSeekerConnectionId() string
func (*SeekRequest) GetTournamentId ¶
func (x *SeekRequest) GetTournamentId() string
func (*SeekRequest) GetUser ¶
func (x *SeekRequest) GetUser() *MatchUser
func (*SeekRequest) GetUserState ¶
func (x *SeekRequest) GetUserState() SeekState
func (*SeekRequest) ProtoMessage ¶
func (*SeekRequest) ProtoMessage()
func (*SeekRequest) ProtoReflect ¶
func (x *SeekRequest) ProtoReflect() protoreflect.Message
func (*SeekRequest) Reset ¶
func (x *SeekRequest) Reset()
func (*SeekRequest) String ¶
func (x *SeekRequest) String() string
type SeekRequests ¶
type SeekRequests struct { Requests []*SeekRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
SeekRequests sends all open seek requests.
func (*SeekRequests) Descriptor
deprecated
func (*SeekRequests) Descriptor() ([]byte, []int)
Deprecated: Use SeekRequests.ProtoReflect.Descriptor instead.
func (*SeekRequests) GetRequests ¶
func (x *SeekRequests) GetRequests() []*SeekRequest
func (*SeekRequests) ProtoMessage ¶
func (*SeekRequests) ProtoMessage()
func (*SeekRequests) ProtoReflect ¶
func (x *SeekRequests) ProtoReflect() protoreflect.Message
func (*SeekRequests) Reset ¶
func (x *SeekRequests) Reset()
func (*SeekRequests) String ¶
func (x *SeekRequests) String() string
type SeekState ¶
type SeekState int32
func (SeekState) Descriptor ¶
func (SeekState) Descriptor() protoreflect.EnumDescriptor
func (SeekState) EnumDescriptor
deprecated
func (SeekState) Number ¶
func (x SeekState) Number() protoreflect.EnumNumber
func (SeekState) Type ¶
func (SeekState) Type() protoreflect.EnumType
type ServerChallengeResultEvent ¶
type ServerChallengeResultEvent struct { Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"` Challenger string `protobuf:"bytes,2,opt,name=challenger,proto3" json:"challenger,omitempty"` ChallengeRule macondo.ChallengeRule `` /* 128-byte string literal not displayed */ ReturnedTiles string `protobuf:"bytes,4,opt,name=returned_tiles,json=returnedTiles,proto3" json:"returned_tiles,omitempty"` // contains filtered or unexported fields }
The server will send back a challenge result event only in the case of a challenge. In all other cases, the server will send back a ServerGameplayEvent. A ServerChallengeResultEvent is sent back along with a list of ServerGameplayEvents, instead of trying to reconstruct and send the right incremental events. The reason is that the logic is complex and has many special cases, and is already fully implemented in Macondo. We don't wish to re-implement it both in this repo's backend and frontend.
func (*ServerChallengeResultEvent) Descriptor
deprecated
func (*ServerChallengeResultEvent) Descriptor() ([]byte, []int)
Deprecated: Use ServerChallengeResultEvent.ProtoReflect.Descriptor instead.
func (*ServerChallengeResultEvent) GetChallengeRule ¶
func (x *ServerChallengeResultEvent) GetChallengeRule() macondo.ChallengeRule
func (*ServerChallengeResultEvent) GetChallenger ¶
func (x *ServerChallengeResultEvent) GetChallenger() string
func (*ServerChallengeResultEvent) GetReturnedTiles ¶
func (x *ServerChallengeResultEvent) GetReturnedTiles() string
func (*ServerChallengeResultEvent) GetValid ¶
func (x *ServerChallengeResultEvent) GetValid() bool
func (*ServerChallengeResultEvent) ProtoMessage ¶
func (*ServerChallengeResultEvent) ProtoMessage()
func (*ServerChallengeResultEvent) ProtoReflect ¶
func (x *ServerChallengeResultEvent) ProtoReflect() protoreflect.Message
func (*ServerChallengeResultEvent) Reset ¶
func (x *ServerChallengeResultEvent) Reset()
func (*ServerChallengeResultEvent) String ¶
func (x *ServerChallengeResultEvent) String() string
type ServerGameplayEvent ¶
type ServerGameplayEvent struct { Event *macondo.GameEvent `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` GameId string `protobuf:"bytes,2,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"` NewRack string `protobuf:"bytes,3,opt,name=new_rack,json=newRack,proto3" json:"new_rack,omitempty"` TimeRemaining int32 `protobuf:"varint,4,opt,name=time_remaining,json=timeRemaining,proto3" json:"time_remaining,omitempty"` Playing macondo.PlayState `protobuf:"varint,5,opt,name=playing,proto3,enum=macondo.PlayState" json:"playing,omitempty"` UserId string `protobuf:"bytes,6,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // the event has the nickname, but not the userid. // contains filtered or unexported fields }
The server will send back a ServerGameplayEvent to a ClientGameplayEvent. The server will also send these asynchronously for opponent gameplay events.
func (*ServerGameplayEvent) Descriptor
deprecated
func (*ServerGameplayEvent) Descriptor() ([]byte, []int)
Deprecated: Use ServerGameplayEvent.ProtoReflect.Descriptor instead.
func (*ServerGameplayEvent) GetEvent ¶
func (x *ServerGameplayEvent) GetEvent() *macondo.GameEvent
func (*ServerGameplayEvent) GetGameId ¶
func (x *ServerGameplayEvent) GetGameId() string
func (*ServerGameplayEvent) GetNewRack ¶
func (x *ServerGameplayEvent) GetNewRack() string
func (*ServerGameplayEvent) GetPlaying ¶
func (x *ServerGameplayEvent) GetPlaying() macondo.PlayState
func (*ServerGameplayEvent) GetTimeRemaining ¶
func (x *ServerGameplayEvent) GetTimeRemaining() int32
func (*ServerGameplayEvent) GetUserId ¶
func (x *ServerGameplayEvent) GetUserId() string
func (*ServerGameplayEvent) ProtoMessage ¶
func (*ServerGameplayEvent) ProtoMessage()
func (*ServerGameplayEvent) ProtoReflect ¶
func (x *ServerGameplayEvent) ProtoReflect() protoreflect.Message
func (*ServerGameplayEvent) Reset ¶
func (x *ServerGameplayEvent) Reset()
func (*ServerGameplayEvent) String ¶
func (x *ServerGameplayEvent) String() string
type ServerMessage ¶
type ServerMessage struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ServerMessage) Descriptor
deprecated
func (*ServerMessage) Descriptor() ([]byte, []int)
Deprecated: Use ServerMessage.ProtoReflect.Descriptor instead.
func (*ServerMessage) GetMessage ¶
func (x *ServerMessage) GetMessage() string
func (*ServerMessage) ProtoMessage ¶
func (*ServerMessage) ProtoMessage()
func (*ServerMessage) ProtoReflect ¶
func (x *ServerMessage) ProtoReflect() protoreflect.Message
func (*ServerMessage) Reset ¶
func (x *ServerMessage) Reset()
func (*ServerMessage) String ¶
func (x *ServerMessage) String() string
type SoughtGameProcessEvent ¶
type SoughtGameProcessEvent struct { RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
A SoughtGameProcessEvent gets sent when a match request (or seek request) get accepted (from client to server), or canceled -- when sent from server to client.
func (*SoughtGameProcessEvent) Descriptor
deprecated
func (*SoughtGameProcessEvent) Descriptor() ([]byte, []int)
Deprecated: Use SoughtGameProcessEvent.ProtoReflect.Descriptor instead.
func (*SoughtGameProcessEvent) GetRequestId ¶
func (x *SoughtGameProcessEvent) GetRequestId() string
func (*SoughtGameProcessEvent) ProtoMessage ¶
func (*SoughtGameProcessEvent) ProtoMessage()
func (*SoughtGameProcessEvent) ProtoReflect ¶
func (x *SoughtGameProcessEvent) ProtoReflect() protoreflect.Message
func (*SoughtGameProcessEvent) Reset ¶
func (x *SoughtGameProcessEvent) Reset()
func (*SoughtGameProcessEvent) String ¶
func (x *SoughtGameProcessEvent) String() string
type TimedOut ¶
type TimedOut struct { GameId string `protobuf:"bytes,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*TimedOut) Descriptor
deprecated
func (*TimedOut) ProtoMessage ¶
func (*TimedOut) ProtoMessage()
func (*TimedOut) ProtoReflect ¶
func (x *TimedOut) ProtoReflect() protoreflect.Message
type TournamentDataForGame ¶
type TournamentDataForGame struct { // The ID of the tournament Tid string `protobuf:"bytes,1,opt,name=tid,proto3" json:"tid,omitempty"` Division string `protobuf:"bytes,2,opt,name=division,proto3" json:"division,omitempty"` Round int32 `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"` GameIndex int32 `protobuf:"varint,4,opt,name=game_index,json=gameIndex,proto3" json:"game_index,omitempty"` // contains filtered or unexported fields }
func (*TournamentDataForGame) Descriptor
deprecated
func (*TournamentDataForGame) Descriptor() ([]byte, []int)
Deprecated: Use TournamentDataForGame.ProtoReflect.Descriptor instead.
func (*TournamentDataForGame) GetDivision ¶
func (x *TournamentDataForGame) GetDivision() string
func (*TournamentDataForGame) GetGameIndex ¶
func (x *TournamentDataForGame) GetGameIndex() int32
func (*TournamentDataForGame) GetRound ¶
func (x *TournamentDataForGame) GetRound() int32
func (*TournamentDataForGame) GetTid ¶
func (x *TournamentDataForGame) GetTid() string
func (*TournamentDataForGame) ProtoMessage ¶
func (*TournamentDataForGame) ProtoMessage()
func (*TournamentDataForGame) ProtoReflect ¶
func (x *TournamentDataForGame) ProtoReflect() protoreflect.Message
func (*TournamentDataForGame) Reset ¶
func (x *TournamentDataForGame) Reset()
func (*TournamentDataForGame) String ¶
func (x *TournamentDataForGame) String() string
type TournamentDataResponse ¶
type TournamentDataResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` ExecutiveDirector string `protobuf:"bytes,4,opt,name=executive_director,json=executiveDirector,proto3" json:"executive_director,omitempty"` Directors *TournamentPersons `protobuf:"bytes,5,opt,name=directors,proto3" json:"directors,omitempty"` IsStarted bool `protobuf:"varint,6,opt,name=is_started,json=isStarted,proto3" json:"is_started,omitempty"` StartTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // contains filtered or unexported fields }
func (*TournamentDataResponse) Descriptor
deprecated
func (*TournamentDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use TournamentDataResponse.ProtoReflect.Descriptor instead.
func (*TournamentDataResponse) GetDescription ¶
func (x *TournamentDataResponse) GetDescription() string
func (*TournamentDataResponse) GetDirectors ¶
func (x *TournamentDataResponse) GetDirectors() *TournamentPersons
func (*TournamentDataResponse) GetExecutiveDirector ¶
func (x *TournamentDataResponse) GetExecutiveDirector() string
func (*TournamentDataResponse) GetId ¶
func (x *TournamentDataResponse) GetId() string
func (*TournamentDataResponse) GetIsStarted ¶
func (x *TournamentDataResponse) GetIsStarted() bool
func (*TournamentDataResponse) GetName ¶
func (x *TournamentDataResponse) GetName() string
func (*TournamentDataResponse) GetStartTime ¶
func (x *TournamentDataResponse) GetStartTime() *timestamppb.Timestamp
func (*TournamentDataResponse) ProtoMessage ¶
func (*TournamentDataResponse) ProtoMessage()
func (*TournamentDataResponse) ProtoReflect ¶
func (x *TournamentDataResponse) ProtoReflect() protoreflect.Message
func (*TournamentDataResponse) Reset ¶
func (x *TournamentDataResponse) Reset()
func (*TournamentDataResponse) String ¶
func (x *TournamentDataResponse) String() string
type TournamentDivisionDataResponse ¶
type TournamentDivisionDataResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Division string `protobuf:"bytes,2,opt,name=division,proto3" json:"division,omitempty"` Players *TournamentPersons `protobuf:"bytes,3,opt,name=players,proto3" json:"players,omitempty"` Standings map[int32]*RoundStandings `` /* 160-byte string literal not displayed */ PairingMap map[string]*Pairing `` /* 179-byte string literal not displayed */ Controls *DivisionControls `protobuf:"bytes,6,opt,name=controls,proto3" json:"controls,omitempty"` RoundControls []*RoundControl `protobuf:"bytes,7,rep,name=round_controls,json=roundControls,proto3" json:"round_controls,omitempty"` CurrentRound int32 `protobuf:"varint,8,opt,name=current_round,json=currentRound,proto3" json:"current_round,omitempty"` // contains filtered or unexported fields }
func (*TournamentDivisionDataResponse) Descriptor
deprecated
func (*TournamentDivisionDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use TournamentDivisionDataResponse.ProtoReflect.Descriptor instead.
func (*TournamentDivisionDataResponse) GetControls ¶
func (x *TournamentDivisionDataResponse) GetControls() *DivisionControls
func (*TournamentDivisionDataResponse) GetCurrentRound ¶
func (x *TournamentDivisionDataResponse) GetCurrentRound() int32
func (*TournamentDivisionDataResponse) GetDivision ¶
func (x *TournamentDivisionDataResponse) GetDivision() string
func (*TournamentDivisionDataResponse) GetId ¶
func (x *TournamentDivisionDataResponse) GetId() string
func (*TournamentDivisionDataResponse) GetPairingMap ¶
func (x *TournamentDivisionDataResponse) GetPairingMap() map[string]*Pairing
func (*TournamentDivisionDataResponse) GetPlayers ¶
func (x *TournamentDivisionDataResponse) GetPlayers() *TournamentPersons
func (*TournamentDivisionDataResponse) GetRoundControls ¶
func (x *TournamentDivisionDataResponse) GetRoundControls() []*RoundControl
func (*TournamentDivisionDataResponse) GetStandings ¶
func (x *TournamentDivisionDataResponse) GetStandings() map[int32]*RoundStandings
func (*TournamentDivisionDataResponse) ProtoMessage ¶
func (*TournamentDivisionDataResponse) ProtoMessage()
func (*TournamentDivisionDataResponse) ProtoReflect ¶
func (x *TournamentDivisionDataResponse) ProtoReflect() protoreflect.Message
func (*TournamentDivisionDataResponse) Reset ¶
func (x *TournamentDivisionDataResponse) Reset()
func (*TournamentDivisionDataResponse) String ¶
func (x *TournamentDivisionDataResponse) String() string
type TournamentDivisionDeletedResponse ¶
type TournamentDivisionDeletedResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Division string `protobuf:"bytes,2,opt,name=division,proto3" json:"division,omitempty"` // contains filtered or unexported fields }
func (*TournamentDivisionDeletedResponse) Descriptor
deprecated
func (*TournamentDivisionDeletedResponse) Descriptor() ([]byte, []int)
Deprecated: Use TournamentDivisionDeletedResponse.ProtoReflect.Descriptor instead.
func (*TournamentDivisionDeletedResponse) GetDivision ¶
func (x *TournamentDivisionDeletedResponse) GetDivision() string
func (*TournamentDivisionDeletedResponse) GetId ¶
func (x *TournamentDivisionDeletedResponse) GetId() string
func (*TournamentDivisionDeletedResponse) ProtoMessage ¶
func (*TournamentDivisionDeletedResponse) ProtoMessage()
func (*TournamentDivisionDeletedResponse) ProtoReflect ¶
func (x *TournamentDivisionDeletedResponse) ProtoReflect() protoreflect.Message
func (*TournamentDivisionDeletedResponse) Reset ¶
func (x *TournamentDivisionDeletedResponse) Reset()
func (*TournamentDivisionDeletedResponse) String ¶
func (x *TournamentDivisionDeletedResponse) String() string
type TournamentFinishedResponse ¶
type TournamentFinishedResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*TournamentFinishedResponse) Descriptor
deprecated
func (*TournamentFinishedResponse) Descriptor() ([]byte, []int)
Deprecated: Use TournamentFinishedResponse.ProtoReflect.Descriptor instead.
func (*TournamentFinishedResponse) GetId ¶
func (x *TournamentFinishedResponse) GetId() string
func (*TournamentFinishedResponse) ProtoMessage ¶
func (*TournamentFinishedResponse) ProtoMessage()
func (*TournamentFinishedResponse) ProtoReflect ¶
func (x *TournamentFinishedResponse) ProtoReflect() protoreflect.Message
func (*TournamentFinishedResponse) Reset ¶
func (x *TournamentFinishedResponse) Reset()
func (*TournamentFinishedResponse) String ¶
func (x *TournamentFinishedResponse) String() string
type TournamentGame ¶
type TournamentGame struct { Scores []int32 `protobuf:"varint,1,rep,packed,name=scores,proto3" json:"scores,omitempty"` Results []TournamentGameResult `protobuf:"varint,2,rep,packed,name=results,proto3,enum=ipc.TournamentGameResult" json:"results,omitempty"` GameEndReason GameEndReason `` /* 126-byte string literal not displayed */ Id string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*TournamentGame) Descriptor
deprecated
func (*TournamentGame) Descriptor() ([]byte, []int)
Deprecated: Use TournamentGame.ProtoReflect.Descriptor instead.
func (*TournamentGame) GetGameEndReason ¶
func (x *TournamentGame) GetGameEndReason() GameEndReason
func (*TournamentGame) GetId ¶
func (x *TournamentGame) GetId() string
func (*TournamentGame) GetResults ¶
func (x *TournamentGame) GetResults() []TournamentGameResult
func (*TournamentGame) GetScores ¶
func (x *TournamentGame) GetScores() []int32
func (*TournamentGame) ProtoMessage ¶
func (*TournamentGame) ProtoMessage()
func (*TournamentGame) ProtoReflect ¶
func (x *TournamentGame) ProtoReflect() protoreflect.Message
func (*TournamentGame) Reset ¶
func (x *TournamentGame) Reset()
func (*TournamentGame) String ¶
func (x *TournamentGame) String() string
type TournamentGameEndedEvent ¶
type TournamentGameEndedEvent struct { GameId string `protobuf:"bytes,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"` Players []*TournamentGameEndedEvent_Player `protobuf:"bytes,2,rep,name=players,proto3" json:"players,omitempty"` EndReason GameEndReason `protobuf:"varint,3,opt,name=end_reason,json=endReason,proto3,enum=ipc.GameEndReason" json:"end_reason,omitempty"` // Time that the game ended Time int64 `protobuf:"varint,4,opt,name=time,proto3" json:"time,omitempty"` Round int32 `protobuf:"varint,5,opt,name=round,proto3" json:"round,omitempty"` Division string `protobuf:"bytes,6,opt,name=division,proto3" json:"division,omitempty"` GameIndex int32 `protobuf:"varint,7,opt,name=game_index,json=gameIndex,proto3" json:"game_index,omitempty"` // contains filtered or unexported fields }
New tournaments will use full tournament messages (specifically, TournamentDivisionDataResponse et al). This event is also used in the tournament_service's RecentGamesResponse, which can be used to fetch information for the last games played in a tournament.
func (*TournamentGameEndedEvent) Descriptor
deprecated
func (*TournamentGameEndedEvent) Descriptor() ([]byte, []int)
Deprecated: Use TournamentGameEndedEvent.ProtoReflect.Descriptor instead.
func (*TournamentGameEndedEvent) GetDivision ¶
func (x *TournamentGameEndedEvent) GetDivision() string
func (*TournamentGameEndedEvent) GetEndReason ¶
func (x *TournamentGameEndedEvent) GetEndReason() GameEndReason
func (*TournamentGameEndedEvent) GetGameId ¶
func (x *TournamentGameEndedEvent) GetGameId() string
func (*TournamentGameEndedEvent) GetGameIndex ¶
func (x *TournamentGameEndedEvent) GetGameIndex() int32
func (*TournamentGameEndedEvent) GetPlayers ¶
func (x *TournamentGameEndedEvent) GetPlayers() []*TournamentGameEndedEvent_Player
func (*TournamentGameEndedEvent) GetRound ¶
func (x *TournamentGameEndedEvent) GetRound() int32
func (*TournamentGameEndedEvent) GetTime ¶
func (x *TournamentGameEndedEvent) GetTime() int64
func (*TournamentGameEndedEvent) ProtoMessage ¶
func (*TournamentGameEndedEvent) ProtoMessage()
func (*TournamentGameEndedEvent) ProtoReflect ¶
func (x *TournamentGameEndedEvent) ProtoReflect() protoreflect.Message
func (*TournamentGameEndedEvent) Reset ¶
func (x *TournamentGameEndedEvent) Reset()
func (*TournamentGameEndedEvent) String ¶
func (x *TournamentGameEndedEvent) String() string
type TournamentGameEndedEvent_Player ¶
type TournamentGameEndedEvent_Player struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Score int32 `protobuf:"varint,2,opt,name=score,proto3" json:"score,omitempty"` Result TournamentGameResult `protobuf:"varint,3,opt,name=result,proto3,enum=ipc.TournamentGameResult" json:"result,omitempty"` // contains filtered or unexported fields }
func (*TournamentGameEndedEvent_Player) Descriptor
deprecated
func (*TournamentGameEndedEvent_Player) Descriptor() ([]byte, []int)
Deprecated: Use TournamentGameEndedEvent_Player.ProtoReflect.Descriptor instead.
func (*TournamentGameEndedEvent_Player) GetResult ¶
func (x *TournamentGameEndedEvent_Player) GetResult() TournamentGameResult
func (*TournamentGameEndedEvent_Player) GetScore ¶
func (x *TournamentGameEndedEvent_Player) GetScore() int32
func (*TournamentGameEndedEvent_Player) GetUsername ¶
func (x *TournamentGameEndedEvent_Player) GetUsername() string
func (*TournamentGameEndedEvent_Player) ProtoMessage ¶
func (*TournamentGameEndedEvent_Player) ProtoMessage()
func (*TournamentGameEndedEvent_Player) ProtoReflect ¶
func (x *TournamentGameEndedEvent_Player) ProtoReflect() protoreflect.Message
func (*TournamentGameEndedEvent_Player) Reset ¶
func (x *TournamentGameEndedEvent_Player) Reset()
func (*TournamentGameEndedEvent_Player) String ¶
func (x *TournamentGameEndedEvent_Player) String() string
type TournamentGameResult ¶
type TournamentGameResult int32
const ( // NO_RESULT: the game is not over TournamentGameResult_NO_RESULT TournamentGameResult = 0 TournamentGameResult_WIN TournamentGameResult = 1 TournamentGameResult_LOSS TournamentGameResult = 2 TournamentGameResult_DRAW TournamentGameResult = 3 TournamentGameResult_BYE TournamentGameResult = 4 TournamentGameResult_FORFEIT_WIN TournamentGameResult = 5 TournamentGameResult_FORFEIT_LOSS TournamentGameResult = 6 // ELIMINATED: player is eliminated in a bracket tournament TournamentGameResult_ELIMINATED TournamentGameResult = 7 // VOID: player never played this round and should neither be assigned // a win nor a loss. Useful for club-type games. TournamentGameResult_VOID TournamentGameResult = 8 )
func (TournamentGameResult) Descriptor ¶
func (TournamentGameResult) Descriptor() protoreflect.EnumDescriptor
func (TournamentGameResult) Enum ¶
func (x TournamentGameResult) Enum() *TournamentGameResult
func (TournamentGameResult) EnumDescriptor
deprecated
func (TournamentGameResult) EnumDescriptor() ([]byte, []int)
Deprecated: Use TournamentGameResult.Descriptor instead.
func (TournamentGameResult) Number ¶
func (x TournamentGameResult) Number() protoreflect.EnumNumber
func (TournamentGameResult) String ¶
func (x TournamentGameResult) String() string
func (TournamentGameResult) Type ¶
func (TournamentGameResult) Type() protoreflect.EnumType
type TournamentPerson ¶
type TournamentPerson struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Rating int32 `protobuf:"varint,2,opt,name=rating,proto3" json:"rating,omitempty"` Suspended bool `protobuf:"varint,3,opt,name=suspended,proto3" json:"suspended,omitempty"` // contains filtered or unexported fields }
func (*TournamentPerson) Descriptor
deprecated
func (*TournamentPerson) Descriptor() ([]byte, []int)
Deprecated: Use TournamentPerson.ProtoReflect.Descriptor instead.
func (*TournamentPerson) GetId ¶
func (x *TournamentPerson) GetId() string
func (*TournamentPerson) GetRating ¶
func (x *TournamentPerson) GetRating() int32
func (*TournamentPerson) GetSuspended ¶
func (x *TournamentPerson) GetSuspended() bool
func (*TournamentPerson) ProtoMessage ¶
func (*TournamentPerson) ProtoMessage()
func (*TournamentPerson) ProtoReflect ¶
func (x *TournamentPerson) ProtoReflect() protoreflect.Message
func (*TournamentPerson) Reset ¶
func (x *TournamentPerson) Reset()
func (*TournamentPerson) String ¶
func (x *TournamentPerson) String() string
type TournamentPersons ¶
type TournamentPersons struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Division string `protobuf:"bytes,2,opt,name=division,proto3" json:"division,omitempty"` Persons []*TournamentPerson `protobuf:"bytes,3,rep,name=persons,proto3" json:"persons,omitempty"` // contains filtered or unexported fields }
func (*TournamentPersons) Descriptor
deprecated
func (*TournamentPersons) Descriptor() ([]byte, []int)
Deprecated: Use TournamentPersons.ProtoReflect.Descriptor instead.
func (*TournamentPersons) GetDivision ¶
func (x *TournamentPersons) GetDivision() string
func (*TournamentPersons) GetId ¶
func (x *TournamentPersons) GetId() string
func (*TournamentPersons) GetPersons ¶
func (x *TournamentPersons) GetPersons() []*TournamentPerson
func (*TournamentPersons) ProtoMessage ¶
func (*TournamentPersons) ProtoMessage()
func (*TournamentPersons) ProtoReflect ¶
func (x *TournamentPersons) ProtoReflect() protoreflect.Message
func (*TournamentPersons) Reset ¶
func (x *TournamentPersons) Reset()
func (*TournamentPersons) String ¶
func (x *TournamentPersons) String() string
type TournamentRoundStarted ¶
type TournamentRoundStarted struct { TournamentId string `protobuf:"bytes,1,opt,name=tournament_id,json=tournamentId,proto3" json:"tournament_id,omitempty"` Division string `protobuf:"bytes,2,opt,name=division,proto3" json:"division,omitempty"` Round int32 `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"` GameIndex int32 `protobuf:"varint,4,opt,name=game_index,json=gameIndex,proto3" json:"game_index,omitempty"` // for matchplay type rounds etc. Deadline *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=deadline,proto3" json:"deadline,omitempty"` // contains filtered or unexported fields }
This message makes the "Status Bar" show up and also tells the players that the backend is now accepting "ready" messages for this round.
func (*TournamentRoundStarted) Descriptor
deprecated
func (*TournamentRoundStarted) Descriptor() ([]byte, []int)
Deprecated: Use TournamentRoundStarted.ProtoReflect.Descriptor instead.
func (*TournamentRoundStarted) GetDeadline ¶
func (x *TournamentRoundStarted) GetDeadline() *timestamppb.Timestamp
func (*TournamentRoundStarted) GetDivision ¶
func (x *TournamentRoundStarted) GetDivision() string
func (*TournamentRoundStarted) GetGameIndex ¶
func (x *TournamentRoundStarted) GetGameIndex() int32
func (*TournamentRoundStarted) GetRound ¶
func (x *TournamentRoundStarted) GetRound() int32
func (*TournamentRoundStarted) GetTournamentId ¶
func (x *TournamentRoundStarted) GetTournamentId() string
func (*TournamentRoundStarted) ProtoMessage ¶
func (*TournamentRoundStarted) ProtoMessage()
func (*TournamentRoundStarted) ProtoReflect ¶
func (x *TournamentRoundStarted) ProtoReflect() protoreflect.Message
func (*TournamentRoundStarted) Reset ¶
func (x *TournamentRoundStarted) Reset()
func (*TournamentRoundStarted) String ¶
func (x *TournamentRoundStarted) String() string
type UnjoinRealm ¶
type UnjoinRealm struct {
// contains filtered or unexported fields
}
func (*UnjoinRealm) Descriptor
deprecated
func (*UnjoinRealm) Descriptor() ([]byte, []int)
Deprecated: Use UnjoinRealm.ProtoReflect.Descriptor instead.
func (*UnjoinRealm) ProtoMessage ¶
func (*UnjoinRealm) ProtoMessage()
func (*UnjoinRealm) ProtoReflect ¶
func (x *UnjoinRealm) ProtoReflect() protoreflect.Message
func (*UnjoinRealm) Reset ¶
func (x *UnjoinRealm) Reset()
func (*UnjoinRealm) String ¶
func (x *UnjoinRealm) String() string
type UserPresence ¶
type UserPresence struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Channel string `protobuf:"bytes,3,opt,name=channel,proto3" json:"channel,omitempty"` IsAnonymous bool `protobuf:"varint,4,opt,name=is_anonymous,json=isAnonymous,proto3" json:"is_anonymous,omitempty"` Deleting bool `protobuf:"varint,5,opt,name=deleting,proto3" json:"deleting,omitempty"` // contains filtered or unexported fields }
func (*UserPresence) Descriptor
deprecated
func (*UserPresence) Descriptor() ([]byte, []int)
Deprecated: Use UserPresence.ProtoReflect.Descriptor instead.
func (*UserPresence) GetChannel ¶
func (x *UserPresence) GetChannel() string
func (*UserPresence) GetDeleting ¶
func (x *UserPresence) GetDeleting() bool
func (*UserPresence) GetIsAnonymous ¶
func (x *UserPresence) GetIsAnonymous() bool
func (*UserPresence) GetUserId ¶
func (x *UserPresence) GetUserId() string
func (*UserPresence) GetUsername ¶
func (x *UserPresence) GetUsername() string
func (*UserPresence) ProtoMessage ¶
func (*UserPresence) ProtoMessage()
func (*UserPresence) ProtoReflect ¶
func (x *UserPresence) ProtoReflect() protoreflect.Message
func (*UserPresence) Reset ¶
func (x *UserPresence) Reset()
func (*UserPresence) String ¶
func (x *UserPresence) String() string
type UserPresences ¶
type UserPresences struct { Presences []*UserPresence `protobuf:"bytes,1,rep,name=presences,proto3" json:"presences,omitempty"` // contains filtered or unexported fields }
func (*UserPresences) Descriptor
deprecated
func (*UserPresences) Descriptor() ([]byte, []int)
Deprecated: Use UserPresences.ProtoReflect.Descriptor instead.
func (*UserPresences) GetPresences ¶
func (x *UserPresences) GetPresences() []*UserPresence
func (*UserPresences) ProtoMessage ¶
func (*UserPresences) ProtoMessage()
func (*UserPresences) ProtoReflect ¶
func (x *UserPresences) ProtoReflect() protoreflect.Message
func (*UserPresences) Reset ¶
func (x *UserPresences) Reset()
func (*UserPresences) String ¶
func (x *UserPresences) String() string
type WooglesError ¶
type WooglesError int32
const ( WooglesError_DEFAULT WooglesError = 0 WooglesError_TOURNAMENT_NEGATIVE_MAX_BYE_PLACEMENT WooglesError = 1001 WooglesError_TOURNAMENT_NEGATIVE_MIN_PLACEMENT WooglesError = 1002 WooglesError_TOURNAMENT_NEGATIVE_GIBSON_SPREAD WooglesError = 1003 WooglesError_TOURNAMENT_EMPTY_ROUND_CONTROLS WooglesError = 1004 WooglesError_TOURNAMENT_SET_ROUND_CONTROLS_AFTER_START WooglesError = 1005 WooglesError_TOURNAMENT_ELIMINATION_PAIRINGS_MIX WooglesError = 1006 WooglesError_TOURNAMENT_DISCONTINUOUS_INITIAL_FONTES WooglesError = 1007 WooglesError_TOURNAMENT_INVALID_INITIAL_FONTES_ROUNDS WooglesError = 1008 WooglesError_TOURNAMENT_INVALID_ELIMINATION_PLAYERS WooglesError = 1009 WooglesError_TOURNAMENT_ROUND_NUMBER_OUT_OF_RANGE WooglesError = 1010 WooglesError_TOURNAMENT_NONEXISTENT_PLAYER WooglesError = 1011 WooglesError_TOURNAMENT_NONAMENDMENT_PAST_RESULT WooglesError = 1012 WooglesError_TOURNAMENT_FUTURE_NONBYE_RESULT WooglesError = 1013 WooglesError_TOURNAMENT_NIL_PLAYER_PAIRING WooglesError = 1014 WooglesError_TOURNAMENT_NONOPPONENTS WooglesError = 1015 WooglesError_TOURNAMENT_MIXED_VOID_AND_NONVOID_RESULTS WooglesError = 1016 WooglesError_TOURNAMENT_NONEXISTENT_PAIRING WooglesError = 1017 WooglesError_TOURNAMENT_UNINITIALIZED_GAMES WooglesError = 1018 WooglesError_TOURNAMENT_TIEBREAK_INVALID_GAME_INDEX WooglesError = 1019 WooglesError_TOURNAMENT_GAME_INDEX_OUT_OF_RANGE WooglesError = 1020 WooglesError_TOURNAMENT_RESULT_ALREADY_SUBMITTED WooglesError = 1021 WooglesError_TOURNAMENT_NONEXISTENT_RESULT_AMENDMENT WooglesError = 1022 WooglesError_TOURNAMENT_GIBSON_CAN_CATCH WooglesError = 1023 WooglesError_TOURNAMENT_CANNOT_ASSIGN_BYE WooglesError = 1024 WooglesError_TOURNAMENT_INTERNAL_BYE_ASSIGNMENT WooglesError = 1025 WooglesError_TOURNAMENT_INCORRECT_PAIRINGS_LENGTH WooglesError = 1026 WooglesError_TOURNAMENT_PAIRINGS_ASSIGNED_BYE WooglesError = 1027 WooglesError_TOURNAMENT_SUSPENDED_PLAYER_UNREMOVED WooglesError = 1028 WooglesError_TOURNAMENT_PAIRING_INDEX_OUT_OF_RANGE WooglesError = 1029 WooglesError_TOURNAMENT_SUSPENDED_PLAYER_PAIRED WooglesError = 1030 WooglesError_TOURNAMENT_PLAYER_NOT_PAIRED WooglesError = 1031 WooglesError_TOURNAMENT_PLAYER_ALREADY_EXISTS WooglesError = 1032 WooglesError_TOURNAMENT_ADD_PLAYERS_LAST_ROUND WooglesError = 1033 WooglesError_TOURNAMENT_PLAYER_INDEX_OUT_OF_RANGE WooglesError = 1034 WooglesError_TOURNAMENT_PLAYER_ALREADY_REMOVED WooglesError = 1035 WooglesError_TOURNAMENT_REMOVAL_CREATES_EMPTY_DIVISION WooglesError = 1036 WooglesError_TOURNAMENT_NEGATIVE_GIBSON_ROUND WooglesError = 1037 WooglesError_TOURNAMENT_ROUND_NOT_COMPLETE WooglesError = 1038 WooglesError_TOURNAMENT_FINISHED WooglesError = 1039 WooglesError_TOURNAMENT_NOT_STARTABLE WooglesError = 1040 WooglesError_TOURNAMENT_ROUND_NOT_READY WooglesError = 1041 WooglesError_TOURNAMENT_SET_GAME_ROUND_NUMBER WooglesError = 1042 WooglesError_TOURNAMENT_ALREADY_READY WooglesError = 1043 WooglesError_TOURNAMENT_SET_READY_MULTIPLE_IDS WooglesError = 1044 WooglesError_TOURNAMENT_SET_READY_PLAYER_NOT_FOUND WooglesError = 1045 WooglesError_TOURNAMENT_NO_LOSER WooglesError = 1046 WooglesError_TOURNAMENT_NO_WINNER WooglesError = 1047 WooglesError_TOURNAMENT_UNPAIRED_PLAYER WooglesError = 1048 WooglesError_TOURNAMENT_INVALID_PAIRING WooglesError = 1049 WooglesError_TOURNAMENT_INVALID_SWISS WooglesError = 1050 WooglesError_TOURNAMENT_ZERO_GAMES_PER_ROUND WooglesError = 1051 WooglesError_TOURNAMENT_EMPTY_NAME WooglesError = 1052 WooglesError_TOURNAMENT_NOT_STARTED WooglesError = 1053 WooglesError_TOURNAMENT_NONEXISTENT_DIVISION WooglesError = 1054 WooglesError_TOURNAMENT_NIL_DIVISION_MANAGER WooglesError = 1055 WooglesError_TOURNAMENT_SET_NON_FUTURE_ROUND_CONTROLS WooglesError = 1056 WooglesError_TOURNAMENT_ADD_DIVISION_AFTER_START WooglesError = 1057 WooglesError_TOURNAMENT_INVALID_DIVISION_NAME WooglesError = 1058 WooglesError_TOURNAMENT_DIVISION_ALREADY_EXISTS WooglesError = 1059 WooglesError_TOURNAMENT_DIVISION_REMOVAL_AFTER_START WooglesError = 1060 WooglesError_TOURNAMENT_DIVISION_REMOVAL_EXISTING_PLAYERS WooglesError = 1061 WooglesError_TOURNAMENT_PLAYER_ID_CONSTRUCTION WooglesError = 1062 WooglesError_TOURNAMENT_EXECUTIVE_DIRECTOR_EXISTS WooglesError = 1063 WooglesError_TOURNAMENT_DIRECTOR_EXISTS WooglesError = 1064 WooglesError_TOURNAMENT_NO_DIVISIONS WooglesError = 1065 WooglesError_TOURNAMENT_GAME_CONTROLS_NOT_SET WooglesError = 1066 WooglesError_TOURNAMENT_INCORRECT_START_ROUND WooglesError = 1067 WooglesError_TOURNAMENT_PAIR_NON_FUTURE_ROUND WooglesError = 1068 WooglesError_TOURNAMENT_DELETE_NON_FUTURE_ROUND WooglesError = 1069 WooglesError_TOURNAMENT_DIVISION_NOT_FINISHED WooglesError = 1070 WooglesError_TOURNAMENT_NOT_EXACTLY_ONE_EXECUTIVE_DIRECTOR WooglesError = 1071 WooglesError_TOURNAMENT_EXECUTIVE_DIRECTOR_REMOVAL WooglesError = 1072 WooglesError_TOURNAMENT_INVALID_FUTURE_RESULT WooglesError = 1073 )
func (WooglesError) Descriptor ¶
func (WooglesError) Descriptor() protoreflect.EnumDescriptor
func (WooglesError) Enum ¶
func (x WooglesError) Enum() *WooglesError
func (WooglesError) EnumDescriptor
deprecated
func (WooglesError) EnumDescriptor() ([]byte, []int)
Deprecated: Use WooglesError.Descriptor instead.
func (WooglesError) Number ¶
func (x WooglesError) Number() protoreflect.EnumNumber
func (WooglesError) String ¶
func (x WooglesError) String() string
func (WooglesError) Type ¶
func (WooglesError) Type() protoreflect.EnumType