Documentation ¶
Index ¶
- Variables
- type AnnotatedGameEvent
- func (*AnnotatedGameEvent) Descriptor() ([]byte, []int)deprecated
- func (x *AnnotatedGameEvent) GetAmendment() bool
- func (x *AnnotatedGameEvent) GetEvent() *ipc.ClientGameplayEvent
- func (x *AnnotatedGameEvent) GetEventNumber() uint32
- func (x *AnnotatedGameEvent) GetUserId() string
- func (*AnnotatedGameEvent) ProtoMessage()
- func (x *AnnotatedGameEvent) ProtoReflect() protoreflect.Message
- func (x *AnnotatedGameEvent) Reset()
- func (x *AnnotatedGameEvent) String() string
- type BroadcastGamePrivacy
- func (*BroadcastGamePrivacy) Descriptor() ([]byte, []int)deprecated
- func (x *BroadcastGamePrivacy) GetPublic() bool
- func (*BroadcastGamePrivacy) ProtoMessage()
- func (x *BroadcastGamePrivacy) ProtoReflect() protoreflect.Message
- func (x *BroadcastGamePrivacy) Reset()
- func (x *BroadcastGamePrivacy) String() string
- type BroadcastGamesResponse
- func (*BroadcastGamesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BroadcastGamesResponse) GetGames() []*BroadcastGamesResponse_BroadcastGame
- func (*BroadcastGamesResponse) ProtoMessage()
- func (x *BroadcastGamesResponse) ProtoReflect() protoreflect.Message
- func (x *BroadcastGamesResponse) Reset()
- func (x *BroadcastGamesResponse) String() string
- type BroadcastGamesResponse_BroadcastGame
- func (*BroadcastGamesResponse_BroadcastGame) Descriptor() ([]byte, []int)deprecated
- func (x *BroadcastGamesResponse_BroadcastGame) GetCreatedAt() *timestamppb.Timestamp
- func (x *BroadcastGamesResponse_BroadcastGame) GetCreatorId() string
- func (x *BroadcastGamesResponse_BroadcastGame) GetCreatorUsername() string
- func (x *BroadcastGamesResponse_BroadcastGame) GetFinished() bool
- func (x *BroadcastGamesResponse_BroadcastGame) GetGameId() string
- func (x *BroadcastGamesResponse_BroadcastGame) GetLexicon() string
- func (x *BroadcastGamesResponse_BroadcastGame) GetPlayersInfo() []*ipc.PlayerInfo
- func (x *BroadcastGamesResponse_BroadcastGame) GetPrivate() bool
- func (*BroadcastGamesResponse_BroadcastGame) ProtoMessage()
- func (x *BroadcastGamesResponse_BroadcastGame) ProtoReflect() protoreflect.Message
- func (x *BroadcastGamesResponse_BroadcastGame) Reset()
- func (x *BroadcastGamesResponse_BroadcastGame) String() string
- type CGPResponse
- type ChallengeBonusPointsEvent
- func (*ChallengeBonusPointsEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ChallengeBonusPointsEvent) GetPointsGained() int32
- func (*ChallengeBonusPointsEvent) ProtoMessage()
- func (x *ChallengeBonusPointsEvent) ProtoReflect() protoreflect.Message
- func (x *ChallengeBonusPointsEvent) Reset()
- func (x *ChallengeBonusPointsEvent) String() string
- type CreateBroadcastGameRequest
- func (*CreateBroadcastGameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBroadcastGameRequest) GetChallengeRule() ipc.ChallengeRule
- func (x *CreateBroadcastGameRequest) GetLexicon() string
- func (x *CreateBroadcastGameRequest) GetPlayersInfo() []*ipc.PlayerInfo
- func (x *CreateBroadcastGameRequest) GetPublic() bool
- func (x *CreateBroadcastGameRequest) GetRules() *ipc.GameRules
- func (*CreateBroadcastGameRequest) ProtoMessage()
- func (x *CreateBroadcastGameRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBroadcastGameRequest) Reset()
- func (x *CreateBroadcastGameRequest) String() string
- type CreateBroadcastGameResponse
- func (*CreateBroadcastGameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBroadcastGameResponse) GetGameId() string
- func (*CreateBroadcastGameResponse) ProtoMessage()
- func (x *CreateBroadcastGameResponse) ProtoReflect() protoreflect.Message
- func (x *CreateBroadcastGameResponse) Reset()
- func (x *CreateBroadcastGameResponse) String() string
- type DeleteBroadcastGameRequest
- func (*DeleteBroadcastGameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBroadcastGameRequest) GetGameId() string
- func (*DeleteBroadcastGameRequest) ProtoMessage()
- func (x *DeleteBroadcastGameRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteBroadcastGameRequest) Reset()
- func (x *DeleteBroadcastGameRequest) String() string
- type DeleteBroadcastGameResponse
- type GameEventResponse
- type GetCGPRequest
- type GetGameDocumentRequest
- func (*GetGameDocumentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGameDocumentRequest) GetGameId() string
- func (*GetGameDocumentRequest) ProtoMessage()
- func (x *GetGameDocumentRequest) ProtoReflect() protoreflect.Message
- func (x *GetGameDocumentRequest) Reset()
- func (x *GetGameDocumentRequest) String() string
- type GetGamesForEditorRequest
- func (*GetGamesForEditorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGamesForEditorRequest) GetLimit() uint32
- func (x *GetGamesForEditorRequest) GetOffset() uint32
- func (x *GetGamesForEditorRequest) GetUnfinished() bool
- func (x *GetGamesForEditorRequest) GetUserId() string
- func (*GetGamesForEditorRequest) ProtoMessage()
- func (x *GetGamesForEditorRequest) ProtoReflect() protoreflect.Message
- func (x *GetGamesForEditorRequest) Reset()
- func (x *GetGamesForEditorRequest) String() string
- type GetMyUnfinishedGamesRequest
- type GetRecentAnnotatedGamesRequest
- func (*GetRecentAnnotatedGamesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRecentAnnotatedGamesRequest) GetLimit() uint32
- func (x *GetRecentAnnotatedGamesRequest) GetOffset() uint32
- func (x *GetRecentAnnotatedGamesRequest) GetUnfinished() bool
- func (*GetRecentAnnotatedGamesRequest) ProtoMessage()
- func (x *GetRecentAnnotatedGamesRequest) ProtoReflect() protoreflect.Message
- func (x *GetRecentAnnotatedGamesRequest) Reset()
- func (x *GetRecentAnnotatedGamesRequest) String() string
- type ImportGCGRequest
- func (*ImportGCGRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportGCGRequest) GetChallengeRule() ipc.ChallengeRule
- func (x *ImportGCGRequest) GetGcg() string
- func (x *ImportGCGRequest) GetLexicon() string
- func (x *ImportGCGRequest) GetRules() *ipc.GameRules
- func (*ImportGCGRequest) ProtoMessage()
- func (x *ImportGCGRequest) ProtoReflect() protoreflect.Message
- func (x *ImportGCGRequest) Reset()
- func (x *ImportGCGRequest) String() string
- type ImportGCGResponse
- type PatchDocumentRequest
- func (*PatchDocumentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PatchDocumentRequest) GetDocument() *ipc.GameDocument
- func (*PatchDocumentRequest) ProtoMessage()
- func (x *PatchDocumentRequest) ProtoReflect() protoreflect.Message
- func (x *PatchDocumentRequest) Reset()
- func (x *PatchDocumentRequest) String() string
- type ReplaceDocumentRequest
- func (*ReplaceDocumentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReplaceDocumentRequest) GetDocument() *ipc.GameDocument
- func (*ReplaceDocumentRequest) ProtoMessage()
- func (x *ReplaceDocumentRequest) ProtoReflect() protoreflect.Message
- func (x *ReplaceDocumentRequest) Reset()
- func (x *ReplaceDocumentRequest) String() string
- type SetRacksEvent
- func (*SetRacksEvent) Descriptor() ([]byte, []int)deprecated
- func (x *SetRacksEvent) GetAmendment() bool
- func (x *SetRacksEvent) GetEventNumber() uint32
- func (x *SetRacksEvent) GetGameId() string
- func (x *SetRacksEvent) GetRacks() [][]byte
- func (*SetRacksEvent) ProtoMessage()
- func (x *SetRacksEvent) ProtoReflect() protoreflect.Message
- func (x *SetRacksEvent) Reset()
- func (x *SetRacksEvent) String() string
- type TimePenaltyEvent
Constants ¶
This section is empty.
Variables ¶
var File_proto_omgwords_service_omgwords_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AnnotatedGameEvent ¶
type AnnotatedGameEvent struct { // event is the client gameplay event that represents a player's move. // A move can be a tile placement, a pass, an exchange, a challenge, or // a resign. Maybe other types in the future. This event is validated, // processed, and turned into one or more ipc.GameEvents, for storage // in a GameDocument. Event *ipc.ClientGameplayEvent `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` // The user_id for this gameplay event. UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // The event_number is ignored unless the amendment flag is on. EventNumber uint32 `protobuf:"varint,3,opt,name=event_number,json=eventNumber,proto3" json:"event_number,omitempty"` // Amendment is true if we are amending a previous, already played move. // In that case, the event number is the index of the event that we // wish to edit. Note: not every ClientGameplayEvent maps 1-to-1 with // internal event indexes. In order to be sure you are editing the right // event, you should fetch the latest version of the GameDocument first (use // the GetGameDocument call). Amendment bool `protobuf:"varint,4,opt,name=amendment,proto3" json:"amendment,omitempty"` // contains filtered or unexported fields }
func (*AnnotatedGameEvent) Descriptor
deprecated
func (*AnnotatedGameEvent) Descriptor() ([]byte, []int)
Deprecated: Use AnnotatedGameEvent.ProtoReflect.Descriptor instead.
func (*AnnotatedGameEvent) GetAmendment ¶
func (x *AnnotatedGameEvent) GetAmendment() bool
func (*AnnotatedGameEvent) GetEvent ¶
func (x *AnnotatedGameEvent) GetEvent() *ipc.ClientGameplayEvent
func (*AnnotatedGameEvent) GetEventNumber ¶
func (x *AnnotatedGameEvent) GetEventNumber() uint32
func (*AnnotatedGameEvent) GetUserId ¶
func (x *AnnotatedGameEvent) GetUserId() string
func (*AnnotatedGameEvent) ProtoMessage ¶
func (*AnnotatedGameEvent) ProtoMessage()
func (*AnnotatedGameEvent) ProtoReflect ¶
func (x *AnnotatedGameEvent) ProtoReflect() protoreflect.Message
func (*AnnotatedGameEvent) Reset ¶
func (x *AnnotatedGameEvent) Reset()
func (*AnnotatedGameEvent) String ¶
func (x *AnnotatedGameEvent) String() string
type BroadcastGamePrivacy ¶
type BroadcastGamePrivacy struct { Public bool `protobuf:"varint,1,opt,name=public,proto3" json:"public,omitempty"` // contains filtered or unexported fields }
func (*BroadcastGamePrivacy) Descriptor
deprecated
func (*BroadcastGamePrivacy) Descriptor() ([]byte, []int)
Deprecated: Use BroadcastGamePrivacy.ProtoReflect.Descriptor instead.
func (*BroadcastGamePrivacy) GetPublic ¶
func (x *BroadcastGamePrivacy) GetPublic() bool
func (*BroadcastGamePrivacy) ProtoMessage ¶
func (*BroadcastGamePrivacy) ProtoMessage()
func (*BroadcastGamePrivacy) ProtoReflect ¶
func (x *BroadcastGamePrivacy) ProtoReflect() protoreflect.Message
func (*BroadcastGamePrivacy) Reset ¶
func (x *BroadcastGamePrivacy) Reset()
func (*BroadcastGamePrivacy) String ¶
func (x *BroadcastGamePrivacy) String() string
type BroadcastGamesResponse ¶
type BroadcastGamesResponse struct { Games []*BroadcastGamesResponse_BroadcastGame `protobuf:"bytes,1,rep,name=games,proto3" json:"games,omitempty"` // contains filtered or unexported fields }
func (*BroadcastGamesResponse) Descriptor
deprecated
func (*BroadcastGamesResponse) Descriptor() ([]byte, []int)
Deprecated: Use BroadcastGamesResponse.ProtoReflect.Descriptor instead.
func (*BroadcastGamesResponse) GetGames ¶
func (x *BroadcastGamesResponse) GetGames() []*BroadcastGamesResponse_BroadcastGame
func (*BroadcastGamesResponse) ProtoMessage ¶
func (*BroadcastGamesResponse) ProtoMessage()
func (*BroadcastGamesResponse) ProtoReflect ¶
func (x *BroadcastGamesResponse) ProtoReflect() protoreflect.Message
func (*BroadcastGamesResponse) Reset ¶
func (x *BroadcastGamesResponse) Reset()
func (*BroadcastGamesResponse) String ¶
func (x *BroadcastGamesResponse) String() string
type BroadcastGamesResponse_BroadcastGame ¶
type BroadcastGamesResponse_BroadcastGame struct { GameId string `protobuf:"bytes,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"` CreatorId string `protobuf:"bytes,2,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"` Private bool `protobuf:"varint,3,opt,name=private,proto3" json:"private,omitempty"` Finished bool `protobuf:"varint,4,opt,name=finished,proto3" json:"finished,omitempty"` PlayersInfo []*ipc.PlayerInfo `protobuf:"bytes,5,rep,name=players_info,json=playersInfo,proto3" json:"players_info,omitempty"` Lexicon string `protobuf:"bytes,6,opt,name=lexicon,proto3" json:"lexicon,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` CreatorUsername string `protobuf:"bytes,8,opt,name=creator_username,json=creatorUsername,proto3" json:"creator_username,omitempty"` // contains filtered or unexported fields }
func (*BroadcastGamesResponse_BroadcastGame) Descriptor
deprecated
func (*BroadcastGamesResponse_BroadcastGame) Descriptor() ([]byte, []int)
Deprecated: Use BroadcastGamesResponse_BroadcastGame.ProtoReflect.Descriptor instead.
func (*BroadcastGamesResponse_BroadcastGame) GetCreatedAt ¶
func (x *BroadcastGamesResponse_BroadcastGame) GetCreatedAt() *timestamppb.Timestamp
func (*BroadcastGamesResponse_BroadcastGame) GetCreatorId ¶
func (x *BroadcastGamesResponse_BroadcastGame) GetCreatorId() string
func (*BroadcastGamesResponse_BroadcastGame) GetCreatorUsername ¶
func (x *BroadcastGamesResponse_BroadcastGame) GetCreatorUsername() string
func (*BroadcastGamesResponse_BroadcastGame) GetFinished ¶
func (x *BroadcastGamesResponse_BroadcastGame) GetFinished() bool
func (*BroadcastGamesResponse_BroadcastGame) GetGameId ¶
func (x *BroadcastGamesResponse_BroadcastGame) GetGameId() string
func (*BroadcastGamesResponse_BroadcastGame) GetLexicon ¶
func (x *BroadcastGamesResponse_BroadcastGame) GetLexicon() string
func (*BroadcastGamesResponse_BroadcastGame) GetPlayersInfo ¶
func (x *BroadcastGamesResponse_BroadcastGame) GetPlayersInfo() []*ipc.PlayerInfo
func (*BroadcastGamesResponse_BroadcastGame) GetPrivate ¶
func (x *BroadcastGamesResponse_BroadcastGame) GetPrivate() bool
func (*BroadcastGamesResponse_BroadcastGame) ProtoMessage ¶
func (*BroadcastGamesResponse_BroadcastGame) ProtoMessage()
func (*BroadcastGamesResponse_BroadcastGame) ProtoReflect ¶
func (x *BroadcastGamesResponse_BroadcastGame) ProtoReflect() protoreflect.Message
func (*BroadcastGamesResponse_BroadcastGame) Reset ¶
func (x *BroadcastGamesResponse_BroadcastGame) Reset()
func (*BroadcastGamesResponse_BroadcastGame) String ¶
func (x *BroadcastGamesResponse_BroadcastGame) String() string
type CGPResponse ¶
type CGPResponse struct { Cgp string `protobuf:"bytes,1,opt,name=cgp,proto3" json:"cgp,omitempty"` // contains filtered or unexported fields }
func (*CGPResponse) Descriptor
deprecated
func (*CGPResponse) Descriptor() ([]byte, []int)
Deprecated: Use CGPResponse.ProtoReflect.Descriptor instead.
func (*CGPResponse) GetCgp ¶
func (x *CGPResponse) GetCgp() string
func (*CGPResponse) ProtoMessage ¶
func (*CGPResponse) ProtoMessage()
func (*CGPResponse) ProtoReflect ¶
func (x *CGPResponse) ProtoReflect() protoreflect.Message
func (*CGPResponse) Reset ¶
func (x *CGPResponse) Reset()
func (*CGPResponse) String ¶
func (x *CGPResponse) String() string
type ChallengeBonusPointsEvent ¶
type ChallengeBonusPointsEvent struct { PointsGained int32 `protobuf:"varint,1,opt,name=points_gained,json=pointsGained,proto3" json:"points_gained,omitempty"` // contains filtered or unexported fields }
func (*ChallengeBonusPointsEvent) Descriptor
deprecated
func (*ChallengeBonusPointsEvent) Descriptor() ([]byte, []int)
Deprecated: Use ChallengeBonusPointsEvent.ProtoReflect.Descriptor instead.
func (*ChallengeBonusPointsEvent) GetPointsGained ¶
func (x *ChallengeBonusPointsEvent) GetPointsGained() int32
func (*ChallengeBonusPointsEvent) ProtoMessage ¶
func (*ChallengeBonusPointsEvent) ProtoMessage()
func (*ChallengeBonusPointsEvent) ProtoReflect ¶
func (x *ChallengeBonusPointsEvent) ProtoReflect() protoreflect.Message
func (*ChallengeBonusPointsEvent) Reset ¶
func (x *ChallengeBonusPointsEvent) Reset()
func (*ChallengeBonusPointsEvent) String ¶
func (x *ChallengeBonusPointsEvent) String() string
type CreateBroadcastGameRequest ¶
type CreateBroadcastGameRequest struct { // PlayerInfo for broadcast games do not need to be tied to a Woogles // UUID. These games are meant for sandbox/annotation/broadcast of // a typically IRL game. The order that the players are sent in // must be the order in which they play. PlayersInfo []*ipc.PlayerInfo `protobuf:"bytes,1,rep,name=players_info,json=playersInfo,proto3" json:"players_info,omitempty"` // The lexicon is a string such as NWL20, CSW21. It must be supported by // Woogles. Lexicon string `protobuf:"bytes,2,opt,name=lexicon,proto3" json:"lexicon,omitempty"` Rules *ipc.GameRules `protobuf:"bytes,3,opt,name=rules,proto3" json:"rules,omitempty"` ChallengeRule ipc.ChallengeRule `protobuf:"varint,4,opt,name=challenge_rule,json=challengeRule,proto3,enum=ipc.ChallengeRule" json:"challenge_rule,omitempty"` // public will make this game public upon creation - i.e., findable // within the interface. Otherwise, a game ID is required. // (Not yet implemented) Public bool `protobuf:"varint,5,opt,name=public,proto3" json:"public,omitempty"` // contains filtered or unexported fields }
func (*CreateBroadcastGameRequest) Descriptor
deprecated
func (*CreateBroadcastGameRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBroadcastGameRequest.ProtoReflect.Descriptor instead.
func (*CreateBroadcastGameRequest) GetChallengeRule ¶
func (x *CreateBroadcastGameRequest) GetChallengeRule() ipc.ChallengeRule
func (*CreateBroadcastGameRequest) GetLexicon ¶
func (x *CreateBroadcastGameRequest) GetLexicon() string
func (*CreateBroadcastGameRequest) GetPlayersInfo ¶
func (x *CreateBroadcastGameRequest) GetPlayersInfo() []*ipc.PlayerInfo
func (*CreateBroadcastGameRequest) GetPublic ¶
func (x *CreateBroadcastGameRequest) GetPublic() bool
func (*CreateBroadcastGameRequest) GetRules ¶
func (x *CreateBroadcastGameRequest) GetRules() *ipc.GameRules
func (*CreateBroadcastGameRequest) ProtoMessage ¶
func (*CreateBroadcastGameRequest) ProtoMessage()
func (*CreateBroadcastGameRequest) ProtoReflect ¶
func (x *CreateBroadcastGameRequest) ProtoReflect() protoreflect.Message
func (*CreateBroadcastGameRequest) Reset ¶
func (x *CreateBroadcastGameRequest) Reset()
func (*CreateBroadcastGameRequest) String ¶
func (x *CreateBroadcastGameRequest) String() string
type CreateBroadcastGameResponse ¶
type CreateBroadcastGameResponse struct { GameId string `protobuf:"bytes,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"` // contains filtered or unexported fields }
func (*CreateBroadcastGameResponse) Descriptor
deprecated
func (*CreateBroadcastGameResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateBroadcastGameResponse.ProtoReflect.Descriptor instead.
func (*CreateBroadcastGameResponse) GetGameId ¶
func (x *CreateBroadcastGameResponse) GetGameId() string
func (*CreateBroadcastGameResponse) ProtoMessage ¶
func (*CreateBroadcastGameResponse) ProtoMessage()
func (*CreateBroadcastGameResponse) ProtoReflect ¶
func (x *CreateBroadcastGameResponse) ProtoReflect() protoreflect.Message
func (*CreateBroadcastGameResponse) Reset ¶
func (x *CreateBroadcastGameResponse) Reset()
func (*CreateBroadcastGameResponse) String ¶
func (x *CreateBroadcastGameResponse) String() string
type DeleteBroadcastGameRequest ¶
type DeleteBroadcastGameRequest struct { GameId string `protobuf:"bytes,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteBroadcastGameRequest) Descriptor
deprecated
func (*DeleteBroadcastGameRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBroadcastGameRequest.ProtoReflect.Descriptor instead.
func (*DeleteBroadcastGameRequest) GetGameId ¶
func (x *DeleteBroadcastGameRequest) GetGameId() string
func (*DeleteBroadcastGameRequest) ProtoMessage ¶
func (*DeleteBroadcastGameRequest) ProtoMessage()
func (*DeleteBroadcastGameRequest) ProtoReflect ¶
func (x *DeleteBroadcastGameRequest) ProtoReflect() protoreflect.Message
func (*DeleteBroadcastGameRequest) Reset ¶
func (x *DeleteBroadcastGameRequest) Reset()
func (*DeleteBroadcastGameRequest) String ¶
func (x *DeleteBroadcastGameRequest) String() string
type DeleteBroadcastGameResponse ¶
type DeleteBroadcastGameResponse struct {
// contains filtered or unexported fields
}
func (*DeleteBroadcastGameResponse) Descriptor
deprecated
func (*DeleteBroadcastGameResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBroadcastGameResponse.ProtoReflect.Descriptor instead.
func (*DeleteBroadcastGameResponse) ProtoMessage ¶
func (*DeleteBroadcastGameResponse) ProtoMessage()
func (*DeleteBroadcastGameResponse) ProtoReflect ¶
func (x *DeleteBroadcastGameResponse) ProtoReflect() protoreflect.Message
func (*DeleteBroadcastGameResponse) Reset ¶
func (x *DeleteBroadcastGameResponse) Reset()
func (*DeleteBroadcastGameResponse) String ¶
func (x *DeleteBroadcastGameResponse) String() string
type GameEventResponse ¶
type GameEventResponse struct {
// contains filtered or unexported fields
}
GameEventResponse doesn't need to have any extra data. The GameEvent API will still use sockets to broadcast game information.
func (*GameEventResponse) Descriptor
deprecated
func (*GameEventResponse) Descriptor() ([]byte, []int)
Deprecated: Use GameEventResponse.ProtoReflect.Descriptor instead.
func (*GameEventResponse) ProtoMessage ¶
func (*GameEventResponse) ProtoMessage()
func (*GameEventResponse) ProtoReflect ¶
func (x *GameEventResponse) ProtoReflect() protoreflect.Message
func (*GameEventResponse) Reset ¶
func (x *GameEventResponse) Reset()
func (*GameEventResponse) String ¶
func (x *GameEventResponse) String() string
type GetCGPRequest ¶
type GetCGPRequest struct { GameId string `protobuf:"bytes,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"` // contains filtered or unexported fields }
func (*GetCGPRequest) Descriptor
deprecated
func (*GetCGPRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCGPRequest.ProtoReflect.Descriptor instead.
func (*GetCGPRequest) GetGameId ¶
func (x *GetCGPRequest) GetGameId() string
func (*GetCGPRequest) ProtoMessage ¶
func (*GetCGPRequest) ProtoMessage()
func (*GetCGPRequest) ProtoReflect ¶
func (x *GetCGPRequest) ProtoReflect() protoreflect.Message
func (*GetCGPRequest) Reset ¶
func (x *GetCGPRequest) Reset()
func (*GetCGPRequest) String ¶
func (x *GetCGPRequest) String() string
type GetGameDocumentRequest ¶
type GetGameDocumentRequest struct { GameId string `protobuf:"bytes,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"` // contains filtered or unexported fields }
func (*GetGameDocumentRequest) Descriptor
deprecated
func (*GetGameDocumentRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGameDocumentRequest.ProtoReflect.Descriptor instead.
func (*GetGameDocumentRequest) GetGameId ¶
func (x *GetGameDocumentRequest) GetGameId() string
func (*GetGameDocumentRequest) ProtoMessage ¶
func (*GetGameDocumentRequest) ProtoMessage()
func (*GetGameDocumentRequest) ProtoReflect ¶
func (x *GetGameDocumentRequest) ProtoReflect() protoreflect.Message
func (*GetGameDocumentRequest) Reset ¶
func (x *GetGameDocumentRequest) Reset()
func (*GetGameDocumentRequest) String ¶
func (x *GetGameDocumentRequest) String() string
type GetGamesForEditorRequest ¶
type GetGamesForEditorRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` Offset uint32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` Unfinished bool `protobuf:"varint,4,opt,name=unfinished,proto3" json:"unfinished,omitempty"` // contains filtered or unexported fields }
func (*GetGamesForEditorRequest) Descriptor
deprecated
func (*GetGamesForEditorRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGamesForEditorRequest.ProtoReflect.Descriptor instead.
func (*GetGamesForEditorRequest) GetLimit ¶
func (x *GetGamesForEditorRequest) GetLimit() uint32
func (*GetGamesForEditorRequest) GetOffset ¶
func (x *GetGamesForEditorRequest) GetOffset() uint32
func (*GetGamesForEditorRequest) GetUnfinished ¶
func (x *GetGamesForEditorRequest) GetUnfinished() bool
func (*GetGamesForEditorRequest) GetUserId ¶
func (x *GetGamesForEditorRequest) GetUserId() string
func (*GetGamesForEditorRequest) ProtoMessage ¶
func (*GetGamesForEditorRequest) ProtoMessage()
func (*GetGamesForEditorRequest) ProtoReflect ¶
func (x *GetGamesForEditorRequest) ProtoReflect() protoreflect.Message
func (*GetGamesForEditorRequest) Reset ¶
func (x *GetGamesForEditorRequest) Reset()
func (*GetGamesForEditorRequest) String ¶
func (x *GetGamesForEditorRequest) String() string
type GetMyUnfinishedGamesRequest ¶
type GetMyUnfinishedGamesRequest struct {
// contains filtered or unexported fields
}
Assume we can never have so many unfinished games that we'd need limits and offsets. Ideally we should only have one unfinished game per authed player at a time.
func (*GetMyUnfinishedGamesRequest) Descriptor
deprecated
func (*GetMyUnfinishedGamesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMyUnfinishedGamesRequest.ProtoReflect.Descriptor instead.
func (*GetMyUnfinishedGamesRequest) ProtoMessage ¶
func (*GetMyUnfinishedGamesRequest) ProtoMessage()
func (*GetMyUnfinishedGamesRequest) ProtoReflect ¶
func (x *GetMyUnfinishedGamesRequest) ProtoReflect() protoreflect.Message
func (*GetMyUnfinishedGamesRequest) Reset ¶
func (x *GetMyUnfinishedGamesRequest) Reset()
func (*GetMyUnfinishedGamesRequest) String ¶
func (x *GetMyUnfinishedGamesRequest) String() string
type GetRecentAnnotatedGamesRequest ¶
type GetRecentAnnotatedGamesRequest struct { Limit uint32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` Offset uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` Unfinished bool `protobuf:"varint,3,opt,name=unfinished,proto3" json:"unfinished,omitempty"` // contains filtered or unexported fields }
func (*GetRecentAnnotatedGamesRequest) Descriptor
deprecated
func (*GetRecentAnnotatedGamesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRecentAnnotatedGamesRequest.ProtoReflect.Descriptor instead.
func (*GetRecentAnnotatedGamesRequest) GetLimit ¶
func (x *GetRecentAnnotatedGamesRequest) GetLimit() uint32
func (*GetRecentAnnotatedGamesRequest) GetOffset ¶
func (x *GetRecentAnnotatedGamesRequest) GetOffset() uint32
func (*GetRecentAnnotatedGamesRequest) GetUnfinished ¶
func (x *GetRecentAnnotatedGamesRequest) GetUnfinished() bool
func (*GetRecentAnnotatedGamesRequest) ProtoMessage ¶
func (*GetRecentAnnotatedGamesRequest) ProtoMessage()
func (*GetRecentAnnotatedGamesRequest) ProtoReflect ¶
func (x *GetRecentAnnotatedGamesRequest) ProtoReflect() protoreflect.Message
func (*GetRecentAnnotatedGamesRequest) Reset ¶
func (x *GetRecentAnnotatedGamesRequest) Reset()
func (*GetRecentAnnotatedGamesRequest) String ¶
func (x *GetRecentAnnotatedGamesRequest) String() string
type ImportGCGRequest ¶
type ImportGCGRequest struct { Gcg string `protobuf:"bytes,1,opt,name=gcg,proto3" json:"gcg,omitempty"` Lexicon string `protobuf:"bytes,2,opt,name=lexicon,proto3" json:"lexicon,omitempty"` Rules *ipc.GameRules `protobuf:"bytes,3,opt,name=rules,proto3" json:"rules,omitempty"` ChallengeRule ipc.ChallengeRule `protobuf:"varint,4,opt,name=challenge_rule,json=challengeRule,proto3,enum=ipc.ChallengeRule" json:"challenge_rule,omitempty"` // contains filtered or unexported fields }
func (*ImportGCGRequest) Descriptor
deprecated
func (*ImportGCGRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportGCGRequest.ProtoReflect.Descriptor instead.
func (*ImportGCGRequest) GetChallengeRule ¶
func (x *ImportGCGRequest) GetChallengeRule() ipc.ChallengeRule
func (*ImportGCGRequest) GetGcg ¶
func (x *ImportGCGRequest) GetGcg() string
func (*ImportGCGRequest) GetLexicon ¶
func (x *ImportGCGRequest) GetLexicon() string
func (*ImportGCGRequest) GetRules ¶
func (x *ImportGCGRequest) GetRules() *ipc.GameRules
func (*ImportGCGRequest) ProtoMessage ¶
func (*ImportGCGRequest) ProtoMessage()
func (*ImportGCGRequest) ProtoReflect ¶
func (x *ImportGCGRequest) ProtoReflect() protoreflect.Message
func (*ImportGCGRequest) Reset ¶
func (x *ImportGCGRequest) Reset()
func (*ImportGCGRequest) String ¶
func (x *ImportGCGRequest) String() string
type ImportGCGResponse ¶
type ImportGCGResponse struct { GameId string `protobuf:"bytes,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"` // contains filtered or unexported fields }
func (*ImportGCGResponse) Descriptor
deprecated
func (*ImportGCGResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImportGCGResponse.ProtoReflect.Descriptor instead.
func (*ImportGCGResponse) GetGameId ¶
func (x *ImportGCGResponse) GetGameId() string
func (*ImportGCGResponse) ProtoMessage ¶
func (*ImportGCGResponse) ProtoMessage()
func (*ImportGCGResponse) ProtoReflect ¶
func (x *ImportGCGResponse) ProtoReflect() protoreflect.Message
func (*ImportGCGResponse) Reset ¶
func (x *ImportGCGResponse) Reset()
func (*ImportGCGResponse) String ¶
func (x *ImportGCGResponse) String() string
type PatchDocumentRequest ¶
type PatchDocumentRequest struct { Document *ipc.GameDocument `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` // contains filtered or unexported fields }
func (*PatchDocumentRequest) Descriptor
deprecated
func (*PatchDocumentRequest) Descriptor() ([]byte, []int)
Deprecated: Use PatchDocumentRequest.ProtoReflect.Descriptor instead.
func (*PatchDocumentRequest) GetDocument ¶
func (x *PatchDocumentRequest) GetDocument() *ipc.GameDocument
func (*PatchDocumentRequest) ProtoMessage ¶
func (*PatchDocumentRequest) ProtoMessage()
func (*PatchDocumentRequest) ProtoReflect ¶
func (x *PatchDocumentRequest) ProtoReflect() protoreflect.Message
func (*PatchDocumentRequest) Reset ¶
func (x *PatchDocumentRequest) Reset()
func (*PatchDocumentRequest) String ¶
func (x *PatchDocumentRequest) String() string
type ReplaceDocumentRequest ¶
type ReplaceDocumentRequest struct { Document *ipc.GameDocument `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` // contains filtered or unexported fields }
func (*ReplaceDocumentRequest) Descriptor
deprecated
func (*ReplaceDocumentRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReplaceDocumentRequest.ProtoReflect.Descriptor instead.
func (*ReplaceDocumentRequest) GetDocument ¶
func (x *ReplaceDocumentRequest) GetDocument() *ipc.GameDocument
func (*ReplaceDocumentRequest) ProtoMessage ¶
func (*ReplaceDocumentRequest) ProtoMessage()
func (*ReplaceDocumentRequest) ProtoReflect ¶
func (x *ReplaceDocumentRequest) ProtoReflect() protoreflect.Message
func (*ReplaceDocumentRequest) Reset ¶
func (x *ReplaceDocumentRequest) Reset()
func (*ReplaceDocumentRequest) String ¶
func (x *ReplaceDocumentRequest) String() string
type SetRacksEvent ¶
type SetRacksEvent struct { GameId string `protobuf:"bytes,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"` // racks are sent as byte arrays, in the same order as the players. // If you only have partial or unknown rack info, send a partial or // empty rack for that user. // Note: internally, every letter is represented by a single byte. The // letters A-Z map to 1-26, and the blank (?) maps to 0, for the English // letter distribution. For other letter distributions, the mapping orders // can be found in the letter distribution files in this repo. Racks [][]byte `protobuf:"bytes,2,rep,name=racks,proto3" json:"racks,omitempty"` // The event_number is ignored unless the `amendment` flag is set. EventNumber uint32 `protobuf:"varint,3,opt,name=event_number,json=eventNumber,proto3" json:"event_number,omitempty"` // `amendment` should be true if we are amending a previous, already played // rack. In that case, the event number is the index of the event whose // rack we wish to edit. Amendment bool `protobuf:"varint,4,opt,name=amendment,proto3" json:"amendment,omitempty"` // contains filtered or unexported fields }
SetRacksEvent is the event used for sending player racks.
func (*SetRacksEvent) Descriptor
deprecated
func (*SetRacksEvent) Descriptor() ([]byte, []int)
Deprecated: Use SetRacksEvent.ProtoReflect.Descriptor instead.
func (*SetRacksEvent) GetAmendment ¶
func (x *SetRacksEvent) GetAmendment() bool
func (*SetRacksEvent) GetEventNumber ¶
func (x *SetRacksEvent) GetEventNumber() uint32
func (*SetRacksEvent) GetGameId ¶
func (x *SetRacksEvent) GetGameId() string
func (*SetRacksEvent) GetRacks ¶
func (x *SetRacksEvent) GetRacks() [][]byte
func (*SetRacksEvent) ProtoMessage ¶
func (*SetRacksEvent) ProtoMessage()
func (*SetRacksEvent) ProtoReflect ¶
func (x *SetRacksEvent) ProtoReflect() protoreflect.Message
func (*SetRacksEvent) Reset ¶
func (x *SetRacksEvent) Reset()
func (*SetRacksEvent) String ¶
func (x *SetRacksEvent) String() string
type TimePenaltyEvent ¶
type TimePenaltyEvent struct { PointsLost int32 `protobuf:"varint,1,opt,name=points_lost,json=pointsLost,proto3" json:"points_lost,omitempty"` // contains filtered or unexported fields }
func (*TimePenaltyEvent) Descriptor
deprecated
func (*TimePenaltyEvent) Descriptor() ([]byte, []int)
Deprecated: Use TimePenaltyEvent.ProtoReflect.Descriptor instead.
func (*TimePenaltyEvent) GetPointsLost ¶
func (x *TimePenaltyEvent) GetPointsLost() int32
func (*TimePenaltyEvent) ProtoMessage ¶
func (*TimePenaltyEvent) ProtoMessage()
func (*TimePenaltyEvent) ProtoReflect ¶
func (x *TimePenaltyEvent) ProtoReflect() protoreflect.Message
func (*TimePenaltyEvent) Reset ¶
func (x *TimePenaltyEvent) Reset()
func (*TimePenaltyEvent) String ¶
func (x *TimePenaltyEvent) String() string