Documentation ¶
Index ¶
- Variables
- type GameDataGameMode
- func (GameDataGameMode) Descriptor() protoreflect.EnumDescriptor
- func (x GameDataGameMode) Enum() *GameDataGameMode
- func (GameDataGameMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x GameDataGameMode) Number() protoreflect.EnumNumber
- func (x GameDataGameMode) String() string
- func (GameDataGameMode) Type() protoreflect.EnumType
- type V1BlockSumoPlayerData
- func (*V1BlockSumoPlayerData) Descriptor() ([]byte, []int)deprecated
- func (x *V1BlockSumoPlayerData) GetBlockSlot() uint32
- func (x *V1BlockSumoPlayerData) GetShearsSlot() uint32
- func (*V1BlockSumoPlayerData) ProtoMessage()
- func (x *V1BlockSumoPlayerData) ProtoReflect() protoreflect.Message
- func (x *V1BlockSumoPlayerData) Reset()
- func (x *V1BlockSumoPlayerData) String() string
- type V1MarathonData
- func (*V1MarathonData) Descriptor() ([]byte, []int)deprecated
- func (x *V1MarathonData) GetAnimation() string
- func (x *V1MarathonData) GetBlockPalette() string
- func (x *V1MarathonData) GetTime() string
- func (*V1MarathonData) ProtoMessage()
- func (x *V1MarathonData) ProtoReflect() protoreflect.Message
- func (x *V1MarathonData) Reset()
- func (x *V1MarathonData) String() string
- type V1MinesweeperPlayerData
- func (*V1MinesweeperPlayerData) Descriptor() ([]byte, []int)deprecated
- func (x *V1MinesweeperPlayerData) GetLength() uint32
- func (x *V1MinesweeperPlayerData) GetMines() uint32
- func (x *V1MinesweeperPlayerData) GetSolvable() bool
- func (x *V1MinesweeperPlayerData) GetTheme() string
- func (x *V1MinesweeperPlayerData) GetWidth() uint32
- func (*V1MinesweeperPlayerData) ProtoMessage()
- func (x *V1MinesweeperPlayerData) ProtoReflect() protoreflect.Message
- func (x *V1MinesweeperPlayerData) Reset()
- func (x *V1MinesweeperPlayerData) String() string
- type V1TowerDefencePlayerData
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GameDataGameMode_name = map[int32]string{ 0: "TOWER_DEFENCE", 1: "BLOCK_SUMO", 2: "MINESWEEPER", 3: "MARATHON", } GameDataGameMode_value = map[string]int32{ "TOWER_DEFENCE": 0, "BLOCK_SUMO": 1, "MINESWEEPER": 2, "MARATHON": 3, } )
Enum value maps for GameDataGameMode.
View Source
var File_game_player_data_models_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type GameDataGameMode ¶
type GameDataGameMode int32
const ( GameDataGameMode_TOWER_DEFENCE GameDataGameMode = 0 GameDataGameMode_BLOCK_SUMO GameDataGameMode = 1 GameDataGameMode_MINESWEEPER GameDataGameMode = 2 GameDataGameMode_MARATHON GameDataGameMode = 3 )
func (GameDataGameMode) Descriptor ¶
func (GameDataGameMode) Descriptor() protoreflect.EnumDescriptor
func (GameDataGameMode) Enum ¶
func (x GameDataGameMode) Enum() *GameDataGameMode
func (GameDataGameMode) EnumDescriptor
deprecated
func (GameDataGameMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use GameDataGameMode.Descriptor instead.
func (GameDataGameMode) Number ¶
func (x GameDataGameMode) Number() protoreflect.EnumNumber
func (GameDataGameMode) String ¶
func (x GameDataGameMode) String() string
func (GameDataGameMode) Type ¶
func (GameDataGameMode) Type() protoreflect.EnumType
type V1BlockSumoPlayerData ¶
type V1BlockSumoPlayerData struct { BlockSlot uint32 `protobuf:"varint,1,opt,name=block_slot,json=blockSlot,proto3" json:"block_slot,omitempty"` ShearsSlot uint32 `protobuf:"varint,2,opt,name=shears_slot,json=shearsSlot,proto3" json:"shears_slot,omitempty"` // contains filtered or unexported fields }
func (*V1BlockSumoPlayerData) Descriptor
deprecated
func (*V1BlockSumoPlayerData) Descriptor() ([]byte, []int)
Deprecated: Use V1BlockSumoPlayerData.ProtoReflect.Descriptor instead.
func (*V1BlockSumoPlayerData) GetBlockSlot ¶
func (x *V1BlockSumoPlayerData) GetBlockSlot() uint32
func (*V1BlockSumoPlayerData) GetShearsSlot ¶
func (x *V1BlockSumoPlayerData) GetShearsSlot() uint32
func (*V1BlockSumoPlayerData) ProtoMessage ¶
func (*V1BlockSumoPlayerData) ProtoMessage()
func (*V1BlockSumoPlayerData) ProtoReflect ¶
func (x *V1BlockSumoPlayerData) ProtoReflect() protoreflect.Message
func (*V1BlockSumoPlayerData) Reset ¶
func (x *V1BlockSumoPlayerData) Reset()
func (*V1BlockSumoPlayerData) String ¶
func (x *V1BlockSumoPlayerData) String() string
type V1MarathonData ¶
type V1MarathonData struct { Time string `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` BlockPalette string `protobuf:"bytes,2,opt,name=block_palette,json=blockPalette,proto3" json:"block_palette,omitempty"` Animation *string `protobuf:"bytes,3,opt,name=animation,proto3,oneof" json:"animation,omitempty"` // contains filtered or unexported fields }
func (*V1MarathonData) Descriptor
deprecated
func (*V1MarathonData) Descriptor() ([]byte, []int)
Deprecated: Use V1MarathonData.ProtoReflect.Descriptor instead.
func (*V1MarathonData) GetAnimation ¶
func (x *V1MarathonData) GetAnimation() string
func (*V1MarathonData) GetBlockPalette ¶
func (x *V1MarathonData) GetBlockPalette() string
func (*V1MarathonData) GetTime ¶
func (x *V1MarathonData) GetTime() string
func (*V1MarathonData) ProtoMessage ¶
func (*V1MarathonData) ProtoMessage()
func (*V1MarathonData) ProtoReflect ¶
func (x *V1MarathonData) ProtoReflect() protoreflect.Message
func (*V1MarathonData) Reset ¶
func (x *V1MarathonData) Reset()
func (*V1MarathonData) String ¶
func (x *V1MarathonData) String() string
type V1MinesweeperPlayerData ¶
type V1MinesweeperPlayerData struct { Length uint32 `protobuf:"varint,1,opt,name=length,proto3" json:"length,omitempty"` Width uint32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` Mines uint32 `protobuf:"varint,3,opt,name=mines,proto3" json:"mines,omitempty"` Theme string `protobuf:"bytes,4,opt,name=theme,proto3" json:"theme,omitempty"` Solvable bool `protobuf:"varint,5,opt,name=solvable,proto3" json:"solvable,omitempty"` // contains filtered or unexported fields }
todo not currently used
func (*V1MinesweeperPlayerData) Descriptor
deprecated
func (*V1MinesweeperPlayerData) Descriptor() ([]byte, []int)
Deprecated: Use V1MinesweeperPlayerData.ProtoReflect.Descriptor instead.
func (*V1MinesweeperPlayerData) GetLength ¶
func (x *V1MinesweeperPlayerData) GetLength() uint32
func (*V1MinesweeperPlayerData) GetMines ¶
func (x *V1MinesweeperPlayerData) GetMines() uint32
func (*V1MinesweeperPlayerData) GetSolvable ¶
func (x *V1MinesweeperPlayerData) GetSolvable() bool
func (*V1MinesweeperPlayerData) GetTheme ¶
func (x *V1MinesweeperPlayerData) GetTheme() string
func (*V1MinesweeperPlayerData) GetWidth ¶
func (x *V1MinesweeperPlayerData) GetWidth() uint32
func (*V1MinesweeperPlayerData) ProtoMessage ¶
func (*V1MinesweeperPlayerData) ProtoMessage()
func (*V1MinesweeperPlayerData) ProtoReflect ¶
func (x *V1MinesweeperPlayerData) ProtoReflect() protoreflect.Message
func (*V1MinesweeperPlayerData) Reset ¶
func (x *V1MinesweeperPlayerData) Reset()
func (*V1MinesweeperPlayerData) String ¶
func (x *V1MinesweeperPlayerData) String() string
type V1TowerDefencePlayerData ¶
type V1TowerDefencePlayerData struct {
// contains filtered or unexported fields
}
func (*V1TowerDefencePlayerData) Descriptor
deprecated
func (*V1TowerDefencePlayerData) Descriptor() ([]byte, []int)
Deprecated: Use V1TowerDefencePlayerData.ProtoReflect.Descriptor instead.
func (*V1TowerDefencePlayerData) ProtoMessage ¶
func (*V1TowerDefencePlayerData) ProtoMessage()
func (*V1TowerDefencePlayerData) ProtoReflect ¶
func (x *V1TowerDefencePlayerData) ProtoReflect() protoreflect.Message
func (*V1TowerDefencePlayerData) Reset ¶
func (x *V1TowerDefencePlayerData) Reset()
func (*V1TowerDefencePlayerData) String ¶
func (x *V1TowerDefencePlayerData) String() string
Click to show internal directories.
Click to hide internal directories.