Documentation ¶
Index ¶
- Variables
- type Division
- func (Division) Descriptor() protoreflect.EnumDescriptor
- func (x Division) Enum() *Division
- func (Division) EnumDescriptor() ([]byte, []int)deprecated
- func (x Division) Number() protoreflect.EnumNumber
- func (x Division) String() string
- func (Division) Type() protoreflect.EnumType
- func (x *Division) UnmarshalJSON(b []byte) errordeprecated
- type RobotId
- type Team
- func (Team) Descriptor() protoreflect.EnumDescriptor
- func (x Team) Enum() *Team
- func (Team) EnumDescriptor() ([]byte, []int)deprecated
- func (x Team) Number() protoreflect.EnumNumber
- func (x Team) String() string
- func (Team) Type() protoreflect.EnumType
- func (x *Team) UnmarshalJSON(b []byte) errordeprecated
- type Vector2
- type Vector3
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Team_name = map[int32]string{ 0: "UNKNOWN", 1: "YELLOW", 2: "BLUE", } Team_value = map[string]int32{ "UNKNOWN": 0, "YELLOW": 1, "BLUE": 2, } )
Enum value maps for Team.
View Source
var ( Division_name = map[int32]string{ 0: "DIV_UNKNOWN", 1: "DIV_A", 2: "DIV_B", } Division_value = map[string]int32{ "DIV_UNKNOWN": 0, "DIV_A": 1, "DIV_B": 2, } )
Enum value maps for Division.
View Source
var File_ssl_gc_common_proto protoreflect.FileDescriptor
View Source
var File_ssl_gc_geometry_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Division ¶
type Division int32
Division denotes the current division, which influences some rules
func (Division) Descriptor ¶
func (Division) Descriptor() protoreflect.EnumDescriptor
func (Division) EnumDescriptor
deprecated
func (Division) Number ¶
func (x Division) Number() protoreflect.EnumNumber
func (Division) Type ¶
func (Division) Type() protoreflect.EnumType
func (*Division) UnmarshalJSON
deprecated
type RobotId ¶
type RobotId struct { // the robot number Id *uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` // the team that the robot belongs to Team *Team `protobuf:"varint,2,opt,name=team,enum=Team" json:"team,omitempty"` // contains filtered or unexported fields }
RobotId is the combination of a team and a robot id
func (*RobotId) Descriptor
deprecated
func (*RobotId) ProtoMessage ¶
func (*RobotId) ProtoMessage()
func (*RobotId) ProtoReflect ¶
func (x *RobotId) ProtoReflect() protoreflect.Message
type Team ¶
type Team int32
Team is either blue or yellow
func (Team) Descriptor ¶
func (Team) Descriptor() protoreflect.EnumDescriptor
func (Team) EnumDescriptor
deprecated
func (Team) Number ¶
func (x Team) Number() protoreflect.EnumNumber
func (Team) Type ¶
func (Team) Type() protoreflect.EnumType
func (*Team) UnmarshalJSON
deprecated
type Vector2 ¶
type Vector2 struct { X *float32 `protobuf:"fixed32,1,req,name=x" json:"x,omitempty"` Y *float32 `protobuf:"fixed32,2,req,name=y" json:"y,omitempty"` // contains filtered or unexported fields }
A vector with two dimensions
func (*Vector2) Descriptor
deprecated
func (*Vector2) ProtoMessage ¶
func (*Vector2) ProtoMessage()
func (*Vector2) ProtoReflect ¶
func (x *Vector2) ProtoReflect() protoreflect.Message
type Vector3 ¶
type Vector3 struct { X *float32 `protobuf:"fixed32,1,req,name=x" json:"x,omitempty"` Y *float32 `protobuf:"fixed32,2,req,name=y" json:"y,omitempty"` Z *float32 `protobuf:"fixed32,3,req,name=z" json:"z,omitempty"` // contains filtered or unexported fields }
A vector with three dimensions
func (*Vector3) Descriptor
deprecated
func (*Vector3) ProtoMessage ¶
func (*Vector3) ProtoMessage()
func (*Vector3) ProtoReflect ¶
func (x *Vector3) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.