Documentation ¶
Index ¶
- Variables
- type BasicGamePlayer
- func (*BasicGamePlayer) Descriptor() ([]byte, []int)deprecated
- func (x *BasicGamePlayer) GetId() string
- func (x *BasicGamePlayer) GetUsername() string
- func (*BasicGamePlayer) ProtoMessage()
- func (x *BasicGamePlayer) ProtoReflect() protoreflect.Message
- func (x *BasicGamePlayer) Reset()
- func (x *BasicGamePlayer) String() string
- type BlockSumoFinishData
- func (*BlockSumoFinishData) Descriptor() ([]byte, []int)deprecated
- func (x *BlockSumoFinishData) GetScoreboard() *BlockSumoScoreboard
- func (*BlockSumoFinishData) ProtoMessage()
- func (x *BlockSumoFinishData) ProtoReflect() protoreflect.Message
- func (x *BlockSumoFinishData) Reset()
- func (x *BlockSumoFinishData) String() string
- type BlockSumoScoreboard
- func (*BlockSumoScoreboard) Descriptor() ([]byte, []int)deprecated
- func (x *BlockSumoScoreboard) GetEntries() map[string]*BlockSumoScoreboard_Entry
- func (*BlockSumoScoreboard) ProtoMessage()
- func (x *BlockSumoScoreboard) ProtoReflect() protoreflect.Message
- func (x *BlockSumoScoreboard) Reset()
- func (x *BlockSumoScoreboard) String() string
- type BlockSumoScoreboard_Entry
- func (*BlockSumoScoreboard_Entry) Descriptor() ([]byte, []int)deprecated
- func (x *BlockSumoScoreboard_Entry) GetFinalKills() int32
- func (x *BlockSumoScoreboard_Entry) GetKills() int32
- func (x *BlockSumoScoreboard_Entry) GetRemainingLives() int32
- func (*BlockSumoScoreboard_Entry) ProtoMessage()
- func (x *BlockSumoScoreboard_Entry) ProtoReflect() protoreflect.Message
- func (x *BlockSumoScoreboard_Entry) Reset()
- func (x *BlockSumoScoreboard_Entry) String() string
- type BlockSumoUpdateData
- func (*BlockSumoUpdateData) Descriptor() ([]byte, []int)deprecated
- func (x *BlockSumoUpdateData) GetScoreboard() *BlockSumoScoreboard
- func (*BlockSumoUpdateData) ProtoMessage()
- func (x *BlockSumoUpdateData) ProtoReflect() protoreflect.Message
- func (x *BlockSumoUpdateData) Reset()
- func (x *BlockSumoUpdateData) String() string
- type CommonGameFinishWinnerData
- func (*CommonGameFinishWinnerData) Descriptor() ([]byte, []int)deprecated
- func (x *CommonGameFinishWinnerData) GetLoserIds() []string
- func (x *CommonGameFinishWinnerData) GetWinnerIds() []string
- func (*CommonGameFinishWinnerData) ProtoMessage()
- func (x *CommonGameFinishWinnerData) ProtoReflect() protoreflect.Message
- func (x *CommonGameFinishWinnerData) Reset()
- func (x *CommonGameFinishWinnerData) String() string
- type CommonGameTeamData
- func (*CommonGameTeamData) Descriptor() ([]byte, []int)deprecated
- func (x *CommonGameTeamData) GetTeams() []*Team
- func (*CommonGameTeamData) ProtoMessage()
- func (x *CommonGameTeamData) ProtoReflect() protoreflect.Message
- func (x *CommonGameTeamData) Reset()
- func (x *CommonGameTeamData) String() string
- type Game
- type MarathonFinishData
- func (*MarathonFinishData) Descriptor() ([]byte, []int)deprecated
- func (x *MarathonFinishData) GetRuns() []*MarathonRun
- func (*MarathonFinishData) ProtoMessage()
- func (x *MarathonFinishData) ProtoReflect() protoreflect.Message
- func (x *MarathonFinishData) Reset()
- func (x *MarathonFinishData) String() string
- type MarathonRun
- func (*MarathonRun) Descriptor() ([]byte, []int)deprecated
- func (x *MarathonRun) GetDistance() int32
- func (x *MarathonRun) GetEndTime() *timestamppb.Timestamp
- func (x *MarathonRun) GetStartTime() *timestamppb.Timestamp
- func (*MarathonRun) ProtoMessage()
- func (x *MarathonRun) ProtoReflect() protoreflect.Message
- func (x *MarathonRun) Reset()
- func (x *MarathonRun) String() string
- type MarathonUpdateData
- func (*MarathonUpdateData) Descriptor() ([]byte, []int)deprecated
- func (x *MarathonUpdateData) GetCompletedRuns() []*MarathonRun
- func (x *MarathonUpdateData) GetCurrentRun() *MarathonRun
- func (x *MarathonUpdateData) GetCurrentTime() *timestamppb.Timestamp
- func (*MarathonUpdateData) ProtoMessage()
- func (x *MarathonUpdateData) ProtoReflect() protoreflect.Message
- func (x *MarathonUpdateData) Reset()
- func (x *MarathonUpdateData) String() string
- type MinesweeperFinishData
- func (*MinesweeperFinishData) Descriptor() ([]byte, []int)deprecated
- func (x *MinesweeperFinishData) GetWinnerData() *CommonGameFinishWinnerData
- func (*MinesweeperFinishData) ProtoMessage()
- func (x *MinesweeperFinishData) ProtoReflect() protoreflect.Message
- func (x *MinesweeperFinishData) Reset()
- func (x *MinesweeperFinishData) String() string
- type MinesweeperStartData
- func (*MinesweeperStartData) Descriptor() ([]byte, []int)deprecated
- func (x *MinesweeperStartData) GetTotalBlocks() int64
- func (x *MinesweeperStartData) GetTotalMines() int64
- func (*MinesweeperStartData) ProtoMessage()
- func (x *MinesweeperStartData) ProtoReflect() protoreflect.Message
- func (x *MinesweeperStartData) Reset()
- func (x *MinesweeperStartData) String() string
- type MinesweeperUpdateData
- func (*MinesweeperUpdateData) Descriptor() ([]byte, []int)deprecated
- func (x *MinesweeperUpdateData) GetBlocksRevealed() int32
- func (x *MinesweeperUpdateData) GetPlacedFlags() int32
- func (x *MinesweeperUpdateData) GetRemainingMines() int32
- func (*MinesweeperUpdateData) ProtoMessage()
- func (x *MinesweeperUpdateData) ProtoReflect() protoreflect.Message
- func (x *MinesweeperUpdateData) Reset()
- func (x *MinesweeperUpdateData) String() string
- type Team
- func (*Team) Descriptor() ([]byte, []int)deprecated
- func (x *Team) GetColor() int32
- func (x *Team) GetFriendlyName() string
- func (x *Team) GetId() string
- func (x *Team) GetPlayerIds() []string
- func (*Team) ProtoMessage()
- func (x *Team) ProtoReflect() protoreflect.Message
- func (x *Team) Reset()
- func (x *Team) String() string
- type TowerDefenceFinishData
- func (*TowerDefenceFinishData) Descriptor() ([]byte, []int)deprecated
- func (x *TowerDefenceFinishData) GetHealthData() *TowerDefenceHealthData
- func (*TowerDefenceFinishData) ProtoMessage()
- func (x *TowerDefenceFinishData) ProtoReflect() protoreflect.Message
- func (x *TowerDefenceFinishData) Reset()
- func (x *TowerDefenceFinishData) String() string
- type TowerDefenceHealthData
- func (*TowerDefenceHealthData) Descriptor() ([]byte, []int)deprecated
- func (x *TowerDefenceHealthData) GetBlueHealth() int32
- func (x *TowerDefenceHealthData) GetMaxHealth() int32
- func (x *TowerDefenceHealthData) GetRedHealth() int32
- func (*TowerDefenceHealthData) ProtoMessage()
- func (x *TowerDefenceHealthData) ProtoReflect() protoreflect.Message
- func (x *TowerDefenceHealthData) Reset()
- func (x *TowerDefenceHealthData) String() string
- type TowerDefenceStartData
- func (*TowerDefenceStartData) Descriptor() ([]byte, []int)deprecated
- func (x *TowerDefenceStartData) GetHealthData() *TowerDefenceHealthData
- func (*TowerDefenceStartData) ProtoMessage()
- func (x *TowerDefenceStartData) ProtoReflect() protoreflect.Message
- func (x *TowerDefenceStartData) Reset()
- func (x *TowerDefenceStartData) String() string
- type TowerDefenceUpdateData
- func (*TowerDefenceUpdateData) Descriptor() ([]byte, []int)deprecated
- func (x *TowerDefenceUpdateData) GetHealthData() *TowerDefenceHealthData
- func (*TowerDefenceUpdateData) ProtoMessage()
- func (x *TowerDefenceUpdateData) ProtoReflect() protoreflect.Message
- func (x *TowerDefenceUpdateData) Reset()
- func (x *TowerDefenceUpdateData) String() string
Constants ¶
This section is empty.
Variables ¶
var File_game_tracker_models_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BasicGamePlayer ¶
type BasicGamePlayer struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*BasicGamePlayer) Descriptor
deprecated
func (*BasicGamePlayer) Descriptor() ([]byte, []int)
Deprecated: Use BasicGamePlayer.ProtoReflect.Descriptor instead.
func (*BasicGamePlayer) GetId ¶
func (x *BasicGamePlayer) GetId() string
func (*BasicGamePlayer) GetUsername ¶
func (x *BasicGamePlayer) GetUsername() string
func (*BasicGamePlayer) ProtoMessage ¶
func (*BasicGamePlayer) ProtoMessage()
func (*BasicGamePlayer) ProtoReflect ¶
func (x *BasicGamePlayer) ProtoReflect() protoreflect.Message
func (*BasicGamePlayer) Reset ¶
func (x *BasicGamePlayer) Reset()
func (*BasicGamePlayer) String ¶
func (x *BasicGamePlayer) String() string
type BlockSumoFinishData ¶
type BlockSumoFinishData struct { Scoreboard *BlockSumoScoreboard `protobuf:"bytes,1,opt,name=scoreboard,proto3" json:"scoreboard,omitempty"` // contains filtered or unexported fields }
func (*BlockSumoFinishData) Descriptor
deprecated
func (*BlockSumoFinishData) Descriptor() ([]byte, []int)
Deprecated: Use BlockSumoFinishData.ProtoReflect.Descriptor instead.
func (*BlockSumoFinishData) GetScoreboard ¶
func (x *BlockSumoFinishData) GetScoreboard() *BlockSumoScoreboard
func (*BlockSumoFinishData) ProtoMessage ¶
func (*BlockSumoFinishData) ProtoMessage()
func (*BlockSumoFinishData) ProtoReflect ¶
func (x *BlockSumoFinishData) ProtoReflect() protoreflect.Message
func (*BlockSumoFinishData) Reset ¶
func (x *BlockSumoFinishData) Reset()
func (*BlockSumoFinishData) String ¶
func (x *BlockSumoFinishData) String() string
type BlockSumoScoreboard ¶
type BlockSumoScoreboard struct { // entries map of playerId UUIDs to a scoreboard Entry Entries map[string]*BlockSumoScoreboard_Entry `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*BlockSumoScoreboard) Descriptor
deprecated
func (*BlockSumoScoreboard) Descriptor() ([]byte, []int)
Deprecated: Use BlockSumoScoreboard.ProtoReflect.Descriptor instead.
func (*BlockSumoScoreboard) GetEntries ¶
func (x *BlockSumoScoreboard) GetEntries() map[string]*BlockSumoScoreboard_Entry
func (*BlockSumoScoreboard) ProtoMessage ¶
func (*BlockSumoScoreboard) ProtoMessage()
func (*BlockSumoScoreboard) ProtoReflect ¶
func (x *BlockSumoScoreboard) ProtoReflect() protoreflect.Message
func (*BlockSumoScoreboard) Reset ¶
func (x *BlockSumoScoreboard) Reset()
func (*BlockSumoScoreboard) String ¶
func (x *BlockSumoScoreboard) String() string
type BlockSumoScoreboard_Entry ¶
type BlockSumoScoreboard_Entry struct { RemainingLives int32 `protobuf:"varint,2,opt,name=remaining_lives,json=remainingLives,proto3" json:"remaining_lives,omitempty"` Kills int32 `protobuf:"varint,3,opt,name=kills,proto3" json:"kills,omitempty"` FinalKills int32 `protobuf:"varint,4,opt,name=final_kills,json=finalKills,proto3" json:"final_kills,omitempty"` // contains filtered or unexported fields }
func (*BlockSumoScoreboard_Entry) Descriptor
deprecated
func (*BlockSumoScoreboard_Entry) Descriptor() ([]byte, []int)
Deprecated: Use BlockSumoScoreboard_Entry.ProtoReflect.Descriptor instead.
func (*BlockSumoScoreboard_Entry) GetFinalKills ¶
func (x *BlockSumoScoreboard_Entry) GetFinalKills() int32
func (*BlockSumoScoreboard_Entry) GetKills ¶
func (x *BlockSumoScoreboard_Entry) GetKills() int32
func (*BlockSumoScoreboard_Entry) GetRemainingLives ¶
func (x *BlockSumoScoreboard_Entry) GetRemainingLives() int32
func (*BlockSumoScoreboard_Entry) ProtoMessage ¶
func (*BlockSumoScoreboard_Entry) ProtoMessage()
func (*BlockSumoScoreboard_Entry) ProtoReflect ¶
func (x *BlockSumoScoreboard_Entry) ProtoReflect() protoreflect.Message
func (*BlockSumoScoreboard_Entry) Reset ¶
func (x *BlockSumoScoreboard_Entry) Reset()
func (*BlockSumoScoreboard_Entry) String ¶
func (x *BlockSumoScoreboard_Entry) String() string
type BlockSumoUpdateData ¶
type BlockSumoUpdateData struct { Scoreboard *BlockSumoScoreboard `protobuf:"bytes,1,opt,name=scoreboard,proto3" json:"scoreboard,omitempty"` // contains filtered or unexported fields }
func (*BlockSumoUpdateData) Descriptor
deprecated
func (*BlockSumoUpdateData) Descriptor() ([]byte, []int)
Deprecated: Use BlockSumoUpdateData.ProtoReflect.Descriptor instead.
func (*BlockSumoUpdateData) GetScoreboard ¶
func (x *BlockSumoUpdateData) GetScoreboard() *BlockSumoScoreboard
func (*BlockSumoUpdateData) ProtoMessage ¶
func (*BlockSumoUpdateData) ProtoMessage()
func (*BlockSumoUpdateData) ProtoReflect ¶
func (x *BlockSumoUpdateData) ProtoReflect() protoreflect.Message
func (*BlockSumoUpdateData) Reset ¶
func (x *BlockSumoUpdateData) Reset()
func (*BlockSumoUpdateData) String ¶
func (x *BlockSumoUpdateData) String() string
type CommonGameFinishWinnerData ¶
type CommonGameFinishWinnerData struct { // winners of type UUID (as a string) WinnerIds []string `protobuf:"bytes,1,rep,name=winner_ids,json=winnerIds,proto3" json:"winner_ids,omitempty"` // losers may be empty if the game doesn't define losers. Type is UUID (as a string) LoserIds []string `protobuf:"bytes,2,rep,name=loser_ids,json=loserIds,proto3" json:"loser_ids,omitempty"` // contains filtered or unexported fields }
func (*CommonGameFinishWinnerData) Descriptor
deprecated
func (*CommonGameFinishWinnerData) Descriptor() ([]byte, []int)
Deprecated: Use CommonGameFinishWinnerData.ProtoReflect.Descriptor instead.
func (*CommonGameFinishWinnerData) GetLoserIds ¶
func (x *CommonGameFinishWinnerData) GetLoserIds() []string
func (*CommonGameFinishWinnerData) GetWinnerIds ¶
func (x *CommonGameFinishWinnerData) GetWinnerIds() []string
func (*CommonGameFinishWinnerData) ProtoMessage ¶
func (*CommonGameFinishWinnerData) ProtoMessage()
func (*CommonGameFinishWinnerData) ProtoReflect ¶
func (x *CommonGameFinishWinnerData) ProtoReflect() protoreflect.Message
func (*CommonGameFinishWinnerData) Reset ¶
func (x *CommonGameFinishWinnerData) Reset()
func (*CommonGameFinishWinnerData) String ¶
func (x *CommonGameFinishWinnerData) String() string
type CommonGameTeamData ¶
type CommonGameTeamData struct { Teams []*Team `protobuf:"bytes,1,rep,name=teams,proto3" json:"teams,omitempty"` // contains filtered or unexported fields }
func (*CommonGameTeamData) Descriptor
deprecated
func (*CommonGameTeamData) Descriptor() ([]byte, []int)
Deprecated: Use CommonGameTeamData.ProtoReflect.Descriptor instead.
func (*CommonGameTeamData) GetTeams ¶
func (x *CommonGameTeamData) GetTeams() []*Team
func (*CommonGameTeamData) ProtoMessage ¶
func (*CommonGameTeamData) ProtoMessage()
func (*CommonGameTeamData) ProtoReflect ¶
func (x *CommonGameTeamData) ProtoReflect() protoreflect.Message
func (*CommonGameTeamData) Reset ¶
func (x *CommonGameTeamData) Reset()
func (*CommonGameTeamData) String ¶
func (x *CommonGameTeamData) String() string
type Game ¶
type Game struct {
// contains filtered or unexported fields
}
func (*Game) Descriptor
deprecated
func (*Game) ProtoMessage ¶
func (*Game) ProtoMessage()
func (*Game) ProtoReflect ¶
func (x *Game) ProtoReflect() protoreflect.Message
type MarathonFinishData ¶
type MarathonFinishData struct { Runs []*MarathonRun `protobuf:"bytes,1,rep,name=runs,proto3" json:"runs,omitempty"` // contains filtered or unexported fields }
func (*MarathonFinishData) Descriptor
deprecated
func (*MarathonFinishData) Descriptor() ([]byte, []int)
Deprecated: Use MarathonFinishData.ProtoReflect.Descriptor instead.
func (*MarathonFinishData) GetRuns ¶
func (x *MarathonFinishData) GetRuns() []*MarathonRun
func (*MarathonFinishData) ProtoMessage ¶
func (*MarathonFinishData) ProtoMessage()
func (*MarathonFinishData) ProtoReflect ¶
func (x *MarathonFinishData) ProtoReflect() protoreflect.Message
func (*MarathonFinishData) Reset ¶
func (x *MarathonFinishData) Reset()
func (*MarathonFinishData) String ¶
func (x *MarathonFinishData) String() string
type MarathonRun ¶
type MarathonRun struct { // distance in blocks Distance int32 `protobuf:"varint,1,opt,name=distance,proto3" json:"distance,omitempty"` StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // end_time will be null if the run is ongoing EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // contains filtered or unexported fields }
func (*MarathonRun) Descriptor
deprecated
func (*MarathonRun) Descriptor() ([]byte, []int)
Deprecated: Use MarathonRun.ProtoReflect.Descriptor instead.
func (*MarathonRun) GetDistance ¶
func (x *MarathonRun) GetDistance() int32
func (*MarathonRun) GetEndTime ¶
func (x *MarathonRun) GetEndTime() *timestamppb.Timestamp
func (*MarathonRun) GetStartTime ¶
func (x *MarathonRun) GetStartTime() *timestamppb.Timestamp
func (*MarathonRun) ProtoMessage ¶
func (*MarathonRun) ProtoMessage()
func (*MarathonRun) ProtoReflect ¶
func (x *MarathonRun) ProtoReflect() protoreflect.Message
func (*MarathonRun) Reset ¶
func (x *MarathonRun) Reset()
func (*MarathonRun) String ¶
func (x *MarathonRun) String() string
type MarathonUpdateData ¶
type MarathonUpdateData struct { // current_time can be used for an ongoing run to calculate the time taken accurately CurrentTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=current_time,json=currentTime,proto3" json:"current_time,omitempty"` // current_run is the run that is currently ongoing - it will be null if they are standing on the start line CurrentRun *MarathonRun `protobuf:"bytes,2,opt,name=current_run,json=currentRun,proto3" json:"current_run,omitempty"` // completed_runs is a list of runs that have been completed in this session CompletedRuns []*MarathonRun `protobuf:"bytes,3,rep,name=completed_runs,json=completedRuns,proto3" json:"completed_runs,omitempty"` // contains filtered or unexported fields }
func (*MarathonUpdateData) Descriptor
deprecated
func (*MarathonUpdateData) Descriptor() ([]byte, []int)
Deprecated: Use MarathonUpdateData.ProtoReflect.Descriptor instead.
func (*MarathonUpdateData) GetCompletedRuns ¶
func (x *MarathonUpdateData) GetCompletedRuns() []*MarathonRun
func (*MarathonUpdateData) GetCurrentRun ¶
func (x *MarathonUpdateData) GetCurrentRun() *MarathonRun
func (*MarathonUpdateData) GetCurrentTime ¶
func (x *MarathonUpdateData) GetCurrentTime() *timestamppb.Timestamp
func (*MarathonUpdateData) ProtoMessage ¶
func (*MarathonUpdateData) ProtoMessage()
func (*MarathonUpdateData) ProtoReflect ¶
func (x *MarathonUpdateData) ProtoReflect() protoreflect.Message
func (*MarathonUpdateData) Reset ¶
func (x *MarathonUpdateData) Reset()
func (*MarathonUpdateData) String ¶
func (x *MarathonUpdateData) String() string
type MinesweeperFinishData ¶
type MinesweeperFinishData struct { // winner_data if the game is won, all players are winners. If the game is lost, all players are losers. WinnerData *CommonGameFinishWinnerData `protobuf:"bytes,1,opt,name=winner_data,json=winnerData,proto3" json:"winner_data,omitempty"` // contains filtered or unexported fields }
MinesweeperFinishData
func (*MinesweeperFinishData) Descriptor
deprecated
func (*MinesweeperFinishData) Descriptor() ([]byte, []int)
Deprecated: Use MinesweeperFinishData.ProtoReflect.Descriptor instead.
func (*MinesweeperFinishData) GetWinnerData ¶
func (x *MinesweeperFinishData) GetWinnerData() *CommonGameFinishWinnerData
func (*MinesweeperFinishData) ProtoMessage ¶
func (*MinesweeperFinishData) ProtoMessage()
func (*MinesweeperFinishData) ProtoReflect ¶
func (x *MinesweeperFinishData) ProtoReflect() protoreflect.Message
func (*MinesweeperFinishData) Reset ¶
func (x *MinesweeperFinishData) Reset()
func (*MinesweeperFinishData) String ¶
func (x *MinesweeperFinishData) String() string
type MinesweeperStartData ¶
type MinesweeperStartData struct { TotalMines int64 `protobuf:"varint,1,opt,name=total_mines,json=totalMines,proto3" json:"total_mines,omitempty"` // total_blocks is the total number of blocks in the game that can be revealed - e.g. a 10x10 board would be 100 TotalBlocks int64 `protobuf:"varint,2,opt,name=total_blocks,json=totalBlocks,proto3" json:"total_blocks,omitempty"` // TODO maybe we have a difficulty here? // contains filtered or unexported fields }
func (*MinesweeperStartData) Descriptor
deprecated
func (*MinesweeperStartData) Descriptor() ([]byte, []int)
Deprecated: Use MinesweeperStartData.ProtoReflect.Descriptor instead.
func (*MinesweeperStartData) GetTotalBlocks ¶
func (x *MinesweeperStartData) GetTotalBlocks() int64
func (*MinesweeperStartData) GetTotalMines ¶
func (x *MinesweeperStartData) GetTotalMines() int64
func (*MinesweeperStartData) ProtoMessage ¶
func (*MinesweeperStartData) ProtoMessage()
func (*MinesweeperStartData) ProtoReflect ¶
func (x *MinesweeperStartData) ProtoReflect() protoreflect.Message
func (*MinesweeperStartData) Reset ¶
func (x *MinesweeperStartData) Reset()
func (*MinesweeperStartData) String ¶
func (x *MinesweeperStartData) String() string
type MinesweeperUpdateData ¶
type MinesweeperUpdateData struct { RemainingMines int32 `protobuf:"varint,1,opt,name=remaining_mines,json=remainingMines,proto3" json:"remaining_mines,omitempty"` PlacedFlags int32 `protobuf:"varint,2,opt,name=placed_flags,json=placedFlags,proto3" json:"placed_flags,omitempty"` // blocks_revealed the number of blocks revealed - this can be used to calculate % progress based on the start data BlocksRevealed int32 `protobuf:"varint,3,opt,name=blocks_revealed,json=blocksRevealed,proto3" json:"blocks_revealed,omitempty"` // contains filtered or unexported fields }
MinesweeperUpdateData * You can calculate game progress by doing ((uncovered_mines) / total_mines) * 100. Note that total_mines is not in this message.
func (*MinesweeperUpdateData) Descriptor
deprecated
func (*MinesweeperUpdateData) Descriptor() ([]byte, []int)
Deprecated: Use MinesweeperUpdateData.ProtoReflect.Descriptor instead.
func (*MinesweeperUpdateData) GetBlocksRevealed ¶
func (x *MinesweeperUpdateData) GetBlocksRevealed() int32
func (*MinesweeperUpdateData) GetPlacedFlags ¶
func (x *MinesweeperUpdateData) GetPlacedFlags() int32
func (*MinesweeperUpdateData) GetRemainingMines ¶
func (x *MinesweeperUpdateData) GetRemainingMines() int32
func (*MinesweeperUpdateData) ProtoMessage ¶
func (*MinesweeperUpdateData) ProtoMessage()
func (*MinesweeperUpdateData) ProtoReflect ¶
func (x *MinesweeperUpdateData) ProtoReflect() protoreflect.Message
func (*MinesweeperUpdateData) Reset ¶
func (x *MinesweeperUpdateData) Reset()
func (*MinesweeperUpdateData) String ¶
func (x *MinesweeperUpdateData) String() string
type Team ¶
type Team struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` FriendlyName string `protobuf:"bytes,2,opt,name=friendly_name,json=friendlyName,proto3" json:"friendly_name,omitempty"` // color as hex Color int32 `protobuf:"varint,3,opt,name=color,proto3" json:"color,omitempty"` // player_ids of type UUID // these are stored as IDs as the BasicGamePlayer will already be present in the game start data PlayerIds []string `protobuf:"bytes,4,rep,name=player_ids,json=playerIds,proto3" json:"player_ids,omitempty"` // contains filtered or unexported fields }
func (*Team) Descriptor
deprecated
func (*Team) GetFriendlyName ¶
func (*Team) GetPlayerIds ¶
func (*Team) ProtoMessage ¶
func (*Team) ProtoMessage()
func (*Team) ProtoReflect ¶
func (x *Team) ProtoReflect() protoreflect.Message
type TowerDefenceFinishData ¶
type TowerDefenceFinishData struct { HealthData *TowerDefenceHealthData `protobuf:"bytes,1,opt,name=health_data,json=healthData,proto3" json:"health_data,omitempty"` // contains filtered or unexported fields }
func (*TowerDefenceFinishData) Descriptor
deprecated
func (*TowerDefenceFinishData) Descriptor() ([]byte, []int)
Deprecated: Use TowerDefenceFinishData.ProtoReflect.Descriptor instead.
func (*TowerDefenceFinishData) GetHealthData ¶
func (x *TowerDefenceFinishData) GetHealthData() *TowerDefenceHealthData
func (*TowerDefenceFinishData) ProtoMessage ¶
func (*TowerDefenceFinishData) ProtoMessage()
func (*TowerDefenceFinishData) ProtoReflect ¶
func (x *TowerDefenceFinishData) ProtoReflect() protoreflect.Message
func (*TowerDefenceFinishData) Reset ¶
func (x *TowerDefenceFinishData) Reset()
func (*TowerDefenceFinishData) String ¶
func (x *TowerDefenceFinishData) String() string
type TowerDefenceHealthData ¶
type TowerDefenceHealthData struct { MaxHealth int32 `protobuf:"varint,1,opt,name=max_health,json=maxHealth,proto3" json:"max_health,omitempty"` BlueHealth int32 `protobuf:"varint,2,opt,name=blue_health,json=blueHealth,proto3" json:"blue_health,omitempty"` RedHealth int32 `protobuf:"varint,3,opt,name=red_health,json=redHealth,proto3" json:"red_health,omitempty"` // contains filtered or unexported fields }
func (*TowerDefenceHealthData) Descriptor
deprecated
func (*TowerDefenceHealthData) Descriptor() ([]byte, []int)
Deprecated: Use TowerDefenceHealthData.ProtoReflect.Descriptor instead.
func (*TowerDefenceHealthData) GetBlueHealth ¶
func (x *TowerDefenceHealthData) GetBlueHealth() int32
func (*TowerDefenceHealthData) GetMaxHealth ¶
func (x *TowerDefenceHealthData) GetMaxHealth() int32
func (*TowerDefenceHealthData) GetRedHealth ¶
func (x *TowerDefenceHealthData) GetRedHealth() int32
func (*TowerDefenceHealthData) ProtoMessage ¶
func (*TowerDefenceHealthData) ProtoMessage()
func (*TowerDefenceHealthData) ProtoReflect ¶
func (x *TowerDefenceHealthData) ProtoReflect() protoreflect.Message
func (*TowerDefenceHealthData) Reset ¶
func (x *TowerDefenceHealthData) Reset()
func (*TowerDefenceHealthData) String ¶
func (x *TowerDefenceHealthData) String() string
type TowerDefenceStartData ¶
type TowerDefenceStartData struct { HealthData *TowerDefenceHealthData `protobuf:"bytes,1,opt,name=health_data,json=healthData,proto3" json:"health_data,omitempty"` // contains filtered or unexported fields }
func (*TowerDefenceStartData) Descriptor
deprecated
func (*TowerDefenceStartData) Descriptor() ([]byte, []int)
Deprecated: Use TowerDefenceStartData.ProtoReflect.Descriptor instead.
func (*TowerDefenceStartData) GetHealthData ¶
func (x *TowerDefenceStartData) GetHealthData() *TowerDefenceHealthData
func (*TowerDefenceStartData) ProtoMessage ¶
func (*TowerDefenceStartData) ProtoMessage()
func (*TowerDefenceStartData) ProtoReflect ¶
func (x *TowerDefenceStartData) ProtoReflect() protoreflect.Message
func (*TowerDefenceStartData) Reset ¶
func (x *TowerDefenceStartData) Reset()
func (*TowerDefenceStartData) String ¶
func (x *TowerDefenceStartData) String() string
type TowerDefenceUpdateData ¶
type TowerDefenceUpdateData struct { HealthData *TowerDefenceHealthData `protobuf:"bytes,1,opt,name=health_data,json=healthData,proto3" json:"health_data,omitempty"` // contains filtered or unexported fields }
func (*TowerDefenceUpdateData) Descriptor
deprecated
func (*TowerDefenceUpdateData) Descriptor() ([]byte, []int)
Deprecated: Use TowerDefenceUpdateData.ProtoReflect.Descriptor instead.
func (*TowerDefenceUpdateData) GetHealthData ¶
func (x *TowerDefenceUpdateData) GetHealthData() *TowerDefenceHealthData
func (*TowerDefenceUpdateData) ProtoMessage ¶
func (*TowerDefenceUpdateData) ProtoMessage()
func (*TowerDefenceUpdateData) ProtoReflect ¶
func (x *TowerDefenceUpdateData) ProtoReflect() protoreflect.Message
func (*TowerDefenceUpdateData) Reset ¶
func (x *TowerDefenceUpdateData) Reset()
func (*TowerDefenceUpdateData) String ¶
func (x *TowerDefenceUpdateData) String() string