macondo

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PlayState_name = map[int32]string{
		0: "PLAYING",
		1: "WAITING_FOR_FINAL_PASS",
		2: "GAME_OVER",
	}
	PlayState_value = map[string]int32{
		"PLAYING":                0,
		"WAITING_FOR_FINAL_PASS": 1,
		"GAME_OVER":              2,
	}
)

Enum value maps for PlayState.

View Source
var (
	ChallengeRule_name = map[int32]string{
		0: "VOID",
		1: "SINGLE",
		2: "DOUBLE",
		3: "FIVE_POINT",
		4: "TEN_POINT",
		5: "TRIPLE",
	}
	ChallengeRule_value = map[string]int32{
		"VOID":       0,
		"SINGLE":     1,
		"DOUBLE":     2,
		"FIVE_POINT": 3,
		"TEN_POINT":  4,
		"TRIPLE":     5,
	}
)

Enum value maps for ChallengeRule.

View Source
var (
	GameEvent_Type_name = map[int32]string{
		0: "TILE_PLACEMENT_MOVE",
		1: "PHONY_TILES_RETURNED",
		2: "PASS",
		3: "CHALLENGE_BONUS",
		4: "EXCHANGE",
		5: "END_RACK_PTS",
		6: "TIME_PENALTY",
		7: "END_RACK_PENALTY",
		8: "UNSUCCESSFUL_CHALLENGE_TURN_LOSS",
		9: "CHALLENGE",
	}
	GameEvent_Type_value = map[string]int32{
		"TILE_PLACEMENT_MOVE":              0,
		"PHONY_TILES_RETURNED":             1,
		"PASS":                             2,
		"CHALLENGE_BONUS":                  3,
		"EXCHANGE":                         4,
		"END_RACK_PTS":                     5,
		"TIME_PENALTY":                     6,
		"END_RACK_PENALTY":                 7,
		"UNSUCCESSFUL_CHALLENGE_TURN_LOSS": 8,
		"CHALLENGE":                        9,
	}
)

Enum value maps for GameEvent_Type.

View Source
var (
	GameEvent_Direction_name = map[int32]string{
		0: "HORIZONTAL",
		1: "VERTICAL",
	}
	GameEvent_Direction_value = map[string]int32{
		"HORIZONTAL": 0,
		"VERTICAL":   1,
	}
)

Enum value maps for GameEvent_Direction.

View Source
var (
	BotRequest_BotCode_name = map[int32]string{
		0:  "HASTY_BOT",
		1:  "LEVEL1_CEL_BOT",
		2:  "LEVEL2_CEL_BOT",
		3:  "LEVEL3_CEL_BOT",
		4:  "LEVEL4_CEL_BOT",
		5:  "LEVEL1_PROBABILISTIC",
		6:  "LEVEL2_PROBABILISTIC",
		7:  "LEVEL3_PROBABILISTIC",
		8:  "LEVEL4_PROBABILISTIC",
		9:  "LEVEL5_PROBABILISTIC",
		10: "SIMMING_BOT",
	}
	BotRequest_BotCode_value = map[string]int32{
		"HASTY_BOT":            0,
		"LEVEL1_CEL_BOT":       1,
		"LEVEL2_CEL_BOT":       2,
		"LEVEL3_CEL_BOT":       3,
		"LEVEL4_CEL_BOT":       4,
		"LEVEL1_PROBABILISTIC": 5,
		"LEVEL2_PROBABILISTIC": 6,
		"LEVEL3_PROBABILISTIC": 7,
		"LEVEL4_PROBABILISTIC": 8,
		"LEVEL5_PROBABILISTIC": 9,
		"SIMMING_BOT":          10,
	}
)

Enum value maps for BotRequest_BotCode.

View Source
var File_api_proto_macondo_macondo_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BotRequest

type BotRequest struct {
	GameHistory       *GameHistory       `protobuf:"bytes,1,opt,name=game_history,json=gameHistory,proto3" json:"game_history,omitempty"`
	EvaluationRequest *EvaluationRequest `protobuf:"bytes,2,opt,name=evaluation_request,json=evaluationRequest,proto3" json:"evaluation_request,omitempty"`
	BotType           BotRequest_BotCode `protobuf:"varint,3,opt,name=bot_type,json=botType,proto3,enum=macondo.BotRequest_BotCode" json:"bot_type,omitempty"`
	// contains filtered or unexported fields
}

func (*BotRequest) Descriptor deprecated

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

Deprecated: Use BotRequest.ProtoReflect.Descriptor instead.

func (*BotRequest) GetBotType

func (x *BotRequest) GetBotType() BotRequest_BotCode

func (*BotRequest) GetEvaluationRequest

func (x *BotRequest) GetEvaluationRequest() *EvaluationRequest

func (*BotRequest) GetGameHistory

func (x *BotRequest) GetGameHistory() *GameHistory

func (*BotRequest) ProtoMessage

func (*BotRequest) ProtoMessage()

func (*BotRequest) ProtoReflect

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

func (*BotRequest) Reset

func (x *BotRequest) Reset()

func (*BotRequest) String

func (x *BotRequest) String() string

type BotRequest_BotCode

type BotRequest_BotCode int32
const (
	BotRequest_HASTY_BOT            BotRequest_BotCode = 0
	BotRequest_LEVEL1_CEL_BOT       BotRequest_BotCode = 1
	BotRequest_LEVEL2_CEL_BOT       BotRequest_BotCode = 2
	BotRequest_LEVEL3_CEL_BOT       BotRequest_BotCode = 3
	BotRequest_LEVEL4_CEL_BOT       BotRequest_BotCode = 4
	BotRequest_LEVEL1_PROBABILISTIC BotRequest_BotCode = 5
	BotRequest_LEVEL2_PROBABILISTIC BotRequest_BotCode = 6
	BotRequest_LEVEL3_PROBABILISTIC BotRequest_BotCode = 7
	BotRequest_LEVEL4_PROBABILISTIC BotRequest_BotCode = 8
	BotRequest_LEVEL5_PROBABILISTIC BotRequest_BotCode = 9
	BotRequest_SIMMING_BOT          BotRequest_BotCode = 10 // harder bots here? inference? ml, etc.
)

func (BotRequest_BotCode) Descriptor

func (BotRequest_BotCode) Enum

func (BotRequest_BotCode) EnumDescriptor deprecated

func (BotRequest_BotCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use BotRequest_BotCode.Descriptor instead.

func (BotRequest_BotCode) Number

func (BotRequest_BotCode) String

func (x BotRequest_BotCode) String() string

func (BotRequest_BotCode) Type

type BotResponse

type BotResponse struct {

	// Types that are assignable to Response:
	//	*BotResponse_Move
	//	*BotResponse_Error
	Response isBotResponse_Response `protobuf_oneof:"response"`
	Eval     *Evaluation            `protobuf:"bytes,3,opt,name=eval,proto3" json:"eval,omitempty"`
	// contains filtered or unexported fields
}

func (*BotResponse) Descriptor deprecated

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

Deprecated: Use BotResponse.ProtoReflect.Descriptor instead.

func (*BotResponse) GetError

func (x *BotResponse) GetError() string

func (*BotResponse) GetEval

func (x *BotResponse) GetEval() *Evaluation

func (*BotResponse) GetMove

func (x *BotResponse) GetMove() *GameEvent

func (*BotResponse) GetResponse

func (m *BotResponse) GetResponse() isBotResponse_Response

func (*BotResponse) ProtoMessage

func (*BotResponse) ProtoMessage()

func (*BotResponse) ProtoReflect

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

func (*BotResponse) Reset

func (x *BotResponse) Reset()

func (*BotResponse) String

func (x *BotResponse) String() string

type BotResponse_Error

type BotResponse_Error struct {
	Error string `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}

type BotResponse_Move

type BotResponse_Move struct {
	Move *GameEvent `protobuf:"bytes,1,opt,name=move,proto3,oneof"`
}

type ChallengeRule

type ChallengeRule int32
const (
	ChallengeRule_VOID       ChallengeRule = 0
	ChallengeRule_SINGLE     ChallengeRule = 1
	ChallengeRule_DOUBLE     ChallengeRule = 2
	ChallengeRule_FIVE_POINT ChallengeRule = 3
	ChallengeRule_TEN_POINT  ChallengeRule = 4
	ChallengeRule_TRIPLE     ChallengeRule = 5
)

func (ChallengeRule) Descriptor

func (ChallengeRule) Enum

func (x ChallengeRule) Enum() *ChallengeRule

func (ChallengeRule) EnumDescriptor deprecated

func (ChallengeRule) EnumDescriptor() ([]byte, []int)

Deprecated: Use ChallengeRule.Descriptor instead.

func (ChallengeRule) Number

func (ChallengeRule) String

func (x ChallengeRule) String() string

func (ChallengeRule) Type

type Evaluation

type Evaluation struct {
	PlayEval []*SingleEvaluation `protobuf:"bytes,1,rep,name=play_eval,json=playEval,proto3" json:"play_eval,omitempty"`
	// contains filtered or unexported fields
}

func (*Evaluation) Descriptor deprecated

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

Deprecated: Use Evaluation.ProtoReflect.Descriptor instead.

func (*Evaluation) GetPlayEval

func (x *Evaluation) GetPlayEval() []*SingleEvaluation

func (*Evaluation) ProtoMessage

func (*Evaluation) ProtoMessage()

func (*Evaluation) ProtoReflect

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

func (*Evaluation) Reset

func (x *Evaluation) Reset()

func (*Evaluation) String

func (x *Evaluation) String() string

type EvaluationRequest

type EvaluationRequest struct {

	// Evaluate for this user
	User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // Later: evaluation type (static/sim/etc)
	// contains filtered or unexported fields
}

func (*EvaluationRequest) Descriptor deprecated

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

Deprecated: Use EvaluationRequest.ProtoReflect.Descriptor instead.

func (*EvaluationRequest) GetUser

func (x *EvaluationRequest) GetUser() string

func (*EvaluationRequest) ProtoMessage

func (*EvaluationRequest) ProtoMessage()

func (*EvaluationRequest) ProtoReflect

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

func (*EvaluationRequest) Reset

func (x *EvaluationRequest) Reset()

func (*EvaluationRequest) String

func (x *EvaluationRequest) String() string

type GameEvent

type GameEvent struct {
	Nickname    string              `protobuf:"bytes,1,opt,name=nickname,proto3" json:"nickname,omitempty"`
	Note        string              `protobuf:"bytes,2,opt,name=note,proto3" json:"note,omitempty"`
	Rack        string              `protobuf:"bytes,3,opt,name=rack,proto3" json:"rack,omitempty"`
	Type        GameEvent_Type      `protobuf:"varint,4,opt,name=type,proto3,enum=macondo.GameEvent_Type" json:"type,omitempty"`
	Cumulative  int32               `protobuf:"varint,5,opt,name=cumulative,proto3" json:"cumulative,omitempty"`
	Row         int32               `protobuf:"varint,6,opt,name=row,proto3" json:"row,omitempty"`
	Column      int32               `protobuf:"varint,7,opt,name=column,proto3" json:"column,omitempty"`
	Direction   GameEvent_Direction `protobuf:"varint,8,opt,name=direction,proto3,enum=macondo.GameEvent_Direction" json:"direction,omitempty"`
	Position    string              `protobuf:"bytes,9,opt,name=position,proto3" json:"position,omitempty"`
	PlayedTiles string              `protobuf:"bytes,10,opt,name=played_tiles,json=playedTiles,proto3" json:"played_tiles,omitempty"`
	// An event will not have all of these; it depends on the type of the event.
	Exchanged     string `protobuf:"bytes,11,opt,name=exchanged,proto3" json:"exchanged,omitempty"`
	Score         int32  `protobuf:"varint,12,opt,name=score,proto3" json:"score,omitempty"`
	Bonus         int32  `protobuf:"varint,13,opt,name=bonus,proto3" json:"bonus,omitempty"`
	EndRackPoints int32  `protobuf:"varint,14,opt,name=end_rack_points,json=endRackPoints,proto3" json:"end_rack_points,omitempty"`
	LostScore     int32  `protobuf:"varint,15,opt,name=lost_score,json=lostScore,proto3" json:"lost_score,omitempty"`
	IsBingo       bool   `protobuf:"varint,16,opt,name=is_bingo,json=isBingo,proto3" json:"is_bingo,omitempty"`
	// words_formed is a list of all words made by this play, in user-visible
	// pretty form. The first word is the "main" word, anything after it are
	// cross-words.
	WordsFormed     []string `protobuf:"bytes,17,rep,name=words_formed,json=wordsFormed,proto3" json:"words_formed,omitempty"`
	MillisRemaining int32    `protobuf:"varint,18,opt,name=millis_remaining,json=millisRemaining,proto3" json:"millis_remaining,omitempty"`
	// contains filtered or unexported fields
}

This should be merged into Move.

func (*GameEvent) Descriptor deprecated

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

Deprecated: Use GameEvent.ProtoReflect.Descriptor instead.

func (*GameEvent) GetBonus

func (x *GameEvent) GetBonus() int32

func (*GameEvent) GetColumn

func (x *GameEvent) GetColumn() int32

func (*GameEvent) GetCumulative

func (x *GameEvent) GetCumulative() int32

func (*GameEvent) GetDirection

func (x *GameEvent) GetDirection() GameEvent_Direction

func (*GameEvent) GetEndRackPoints

func (x *GameEvent) GetEndRackPoints() int32

func (*GameEvent) GetExchanged

func (x *GameEvent) GetExchanged() string

func (*GameEvent) GetIsBingo

func (x *GameEvent) GetIsBingo() bool

func (*GameEvent) GetLostScore

func (x *GameEvent) GetLostScore() int32

func (*GameEvent) GetMillisRemaining

func (x *GameEvent) GetMillisRemaining() int32

func (*GameEvent) GetNickname

func (x *GameEvent) GetNickname() string

func (*GameEvent) GetNote

func (x *GameEvent) GetNote() string

func (*GameEvent) GetPlayedTiles

func (x *GameEvent) GetPlayedTiles() string

func (*GameEvent) GetPosition

func (x *GameEvent) GetPosition() string

func (*GameEvent) GetRack

func (x *GameEvent) GetRack() string

func (*GameEvent) GetRow

func (x *GameEvent) GetRow() int32

func (*GameEvent) GetScore

func (x *GameEvent) GetScore() int32

func (*GameEvent) GetType

func (x *GameEvent) GetType() GameEvent_Type

func (*GameEvent) GetWordsFormed

func (x *GameEvent) GetWordsFormed() []string

func (*GameEvent) ProtoMessage

func (*GameEvent) ProtoMessage()

func (*GameEvent) ProtoReflect

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

func (*GameEvent) Reset

func (x *GameEvent) Reset()

func (*GameEvent) String

func (x *GameEvent) String() string

type GameEvent_Direction

type GameEvent_Direction int32
const (
	GameEvent_HORIZONTAL GameEvent_Direction = 0
	GameEvent_VERTICAL   GameEvent_Direction = 1
)

func (GameEvent_Direction) Descriptor

func (GameEvent_Direction) Enum

func (GameEvent_Direction) EnumDescriptor deprecated

func (GameEvent_Direction) EnumDescriptor() ([]byte, []int)

Deprecated: Use GameEvent_Direction.Descriptor instead.

func (GameEvent_Direction) Number

func (GameEvent_Direction) String

func (x GameEvent_Direction) String() string

func (GameEvent_Direction) Type

type GameEvent_Type

type GameEvent_Type int32
const (
	GameEvent_TILE_PLACEMENT_MOVE  GameEvent_Type = 0
	GameEvent_PHONY_TILES_RETURNED GameEvent_Type = 1
	GameEvent_PASS                 GameEvent_Type = 2
	GameEvent_CHALLENGE_BONUS      GameEvent_Type = 3
	GameEvent_EXCHANGE             GameEvent_Type = 4
	GameEvent_END_RACK_PTS         GameEvent_Type = 5
	GameEvent_TIME_PENALTY         GameEvent_Type = 6
	// Only for international rules (or after 6 zeroes)
	GameEvent_END_RACK_PENALTY GameEvent_Type = 7
	// Lose a turn for challenging a word incorrectly (only for double
	// challenge)
	GameEvent_UNSUCCESSFUL_CHALLENGE_TURN_LOSS GameEvent_Type = 8
	// Issue a challenge
	GameEvent_CHALLENGE GameEvent_Type = 9
)

func (GameEvent_Type) Descriptor

func (GameEvent_Type) Enum

func (x GameEvent_Type) Enum() *GameEvent_Type

func (GameEvent_Type) EnumDescriptor deprecated

func (GameEvent_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use GameEvent_Type.Descriptor instead.

func (GameEvent_Type) Number

func (GameEvent_Type) String

func (x GameEvent_Type) String() string

func (GameEvent_Type) Type

type GameHistory

type GameHistory struct {
	Events      []*GameEvent  `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	Players     []*PlayerInfo `protobuf:"bytes,2,rep,name=players,proto3" json:"players,omitempty"`
	Version     int32         `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	OriginalGcg string        `protobuf:"bytes,4,opt,name=original_gcg,json=originalGcg,proto3" json:"original_gcg,omitempty"`
	Lexicon     string        `protobuf:"bytes,5,opt,name=lexicon,proto3" json:"lexicon,omitempty"`
	IdAuth      string        `protobuf:"bytes,6,opt,name=id_auth,json=idAuth,proto3" json:"id_auth,omitempty"`
	Uid         string        `protobuf:"bytes,7,opt,name=uid,proto3" json:"uid,omitempty"`
	Title       string        `protobuf:"bytes,8,opt,name=title,proto3" json:"title,omitempty"`
	Description string        `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`
	// last_known_racks should only be set in an incomplete / in-progress game.
	// if set, player racks should be set to these values.
	LastKnownRacks []string `protobuf:"bytes,10,rep,name=last_known_racks,json=lastKnownRacks,proto3" json:"last_known_racks,omitempty"`
	// If second_went_first is set, the second player in `players` actually
	// went first. not that this does NOT change the order of `last_known_racks`,
	// which is always in the order of the listed players!
	SecondWentFirst bool          `protobuf:"varint,11,opt,name=second_went_first,json=secondWentFirst,proto3" json:"second_went_first,omitempty"`
	ChallengeRule   ChallengeRule `` /* 129-byte string literal not displayed */
	PlayState       PlayState     `protobuf:"varint,13,opt,name=play_state,json=playState,proto3,enum=macondo.PlayState" json:"play_state,omitempty"`
	// Final scores of the game; the order is in the order of the listed players!
	FinalScores []int32 `protobuf:"varint,14,rep,packed,name=final_scores,json=finalScores,proto3" json:"final_scores,omitempty"`
	// The variant is the game variant used. If blank, should
	// default to "classic".
	Variant string `protobuf:"bytes,15,opt,name=variant,proto3" json:"variant,omitempty"`
	// The index of the player who won. It's not always the person with the
	// highest score, because there can be timeouts, etc. If it's a tie,
	// it will be a -1.
	Winner int32 `protobuf:"varint,16,opt,name=winner,proto3" json:"winner,omitempty"`
	// The board layout is just the name for the layout of the board.
	// It should have a sensible default, if blank.
	BoardLayout string `protobuf:"bytes,17,opt,name=board_layout,json=boardLayout,proto3" json:"board_layout,omitempty"`
	// The letter distribution is the name of the distribution of tiles used for this game.
	// If blank, should default to "english".
	LetterDistribution string `protobuf:"bytes,18,opt,name=letter_distribution,json=letterDistribution,proto3" json:"letter_distribution,omitempty"`
	// contains filtered or unexported fields
}

GameHistory encodes a whole history of a game, and it should also encode the initial board and tile configuration, etc. It can be considered to be an instantiation of a GCG file.

func (*GameHistory) Descriptor deprecated

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

Deprecated: Use GameHistory.ProtoReflect.Descriptor instead.

func (*GameHistory) GetBoardLayout

func (x *GameHistory) GetBoardLayout() string

func (*GameHistory) GetChallengeRule

func (x *GameHistory) GetChallengeRule() ChallengeRule

func (*GameHistory) GetDescription

func (x *GameHistory) GetDescription() string

func (*GameHistory) GetEvents

func (x *GameHistory) GetEvents() []*GameEvent

func (*GameHistory) GetFinalScores

func (x *GameHistory) GetFinalScores() []int32

func (*GameHistory) GetIdAuth

func (x *GameHistory) GetIdAuth() string

func (*GameHistory) GetLastKnownRacks

func (x *GameHistory) GetLastKnownRacks() []string

func (*GameHistory) GetLetterDistribution

func (x *GameHistory) GetLetterDistribution() string

func (*GameHistory) GetLexicon

func (x *GameHistory) GetLexicon() string

func (*GameHistory) GetOriginalGcg

func (x *GameHistory) GetOriginalGcg() string

func (*GameHistory) GetPlayState

func (x *GameHistory) GetPlayState() PlayState

func (*GameHistory) GetPlayers

func (x *GameHistory) GetPlayers() []*PlayerInfo

func (*GameHistory) GetSecondWentFirst

func (x *GameHistory) GetSecondWentFirst() bool

func (*GameHistory) GetTitle

func (x *GameHistory) GetTitle() string

func (*GameHistory) GetUid

func (x *GameHistory) GetUid() string

func (*GameHistory) GetVariant

func (x *GameHistory) GetVariant() string

func (*GameHistory) GetVersion

func (x *GameHistory) GetVersion() int32

func (*GameHistory) GetWinner

func (x *GameHistory) GetWinner() int32

func (*GameHistory) ProtoMessage

func (*GameHistory) ProtoMessage()

func (*GameHistory) ProtoReflect

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

func (*GameHistory) Reset

func (x *GameHistory) Reset()

func (*GameHistory) String

func (x *GameHistory) String() string

type PlayState

type PlayState int32
const (
	PlayState_PLAYING                PlayState = 0
	PlayState_WAITING_FOR_FINAL_PASS PlayState = 1
	PlayState_GAME_OVER              PlayState = 2
)

func (PlayState) Descriptor

func (PlayState) Descriptor() protoreflect.EnumDescriptor

func (PlayState) Enum

func (x PlayState) Enum() *PlayState

func (PlayState) EnumDescriptor deprecated

func (PlayState) EnumDescriptor() ([]byte, []int)

Deprecated: Use PlayState.Descriptor instead.

func (PlayState) Number

func (x PlayState) Number() protoreflect.EnumNumber

func (PlayState) String

func (x PlayState) String() string

func (PlayState) Type

type PlayerInfo

type PlayerInfo struct {
	Nickname string `protobuf:"bytes,1,opt,name=nickname,proto3" json:"nickname,omitempty"`
	RealName string `protobuf:"bytes,2,opt,name=real_name,json=realName,proto3" json:"real_name,omitempty"`
	// user_id is an internal, unchangeable user ID, whereas the other two user
	// identifiers might possibly be mutable.
	UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PlayerInfo) Descriptor deprecated

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

Deprecated: Use PlayerInfo.ProtoReflect.Descriptor instead.

func (*PlayerInfo) GetNickname

func (x *PlayerInfo) GetNickname() string

func (*PlayerInfo) GetRealName

func (x *PlayerInfo) GetRealName() 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 SingleEvaluation

type SingleEvaluation struct {
	EquityLoss       float64 `protobuf:"fixed64,1,opt,name=equity_loss,json=equityLoss,proto3" json:"equity_loss,omitempty"`
	WinPctLoss       float64 `protobuf:"fixed64,2,opt,name=win_pct_loss,json=winPctLoss,proto3" json:"win_pct_loss,omitempty"`
	MissedBingo      bool    `protobuf:"varint,3,opt,name=missed_bingo,json=missedBingo,proto3" json:"missed_bingo,omitempty"`
	PossibleStarPlay bool    `protobuf:"varint,4,opt,name=possible_star_play,json=possibleStarPlay,proto3" json:"possible_star_play,omitempty"`
	MissedStarPlay   bool    `protobuf:"varint,5,opt,name=missed_star_play,json=missedStarPlay,proto3" json:"missed_star_play,omitempty"`
	TopIsBingo       bool    `protobuf:"varint,6,opt,name=top_is_bingo,json=topIsBingo,proto3" json:"top_is_bingo,omitempty"`
	// contains filtered or unexported fields
}

func (*SingleEvaluation) Descriptor deprecated

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

Deprecated: Use SingleEvaluation.ProtoReflect.Descriptor instead.

func (*SingleEvaluation) GetEquityLoss

func (x *SingleEvaluation) GetEquityLoss() float64

func (*SingleEvaluation) GetMissedBingo

func (x *SingleEvaluation) GetMissedBingo() bool

func (*SingleEvaluation) GetMissedStarPlay

func (x *SingleEvaluation) GetMissedStarPlay() bool

func (*SingleEvaluation) GetPossibleStarPlay

func (x *SingleEvaluation) GetPossibleStarPlay() bool

func (*SingleEvaluation) GetTopIsBingo

func (x *SingleEvaluation) GetTopIsBingo() bool

func (*SingleEvaluation) GetWinPctLoss

func (x *SingleEvaluation) GetWinPctLoss() float64

func (*SingleEvaluation) ProtoMessage

func (*SingleEvaluation) ProtoMessage()

func (*SingleEvaluation) ProtoReflect

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

func (*SingleEvaluation) Reset

func (x *SingleEvaluation) Reset()

func (*SingleEvaluation) String

func (x *SingleEvaluation) String() string

Jump to

Keyboard shortcuts

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