Documentation ¶
Index ¶
- Variables
- type Car
- func (*Car) Descriptor() ([]byte, []int)deprecated
- func (x *Car) GetCarClassId() int32
- func (x *Car) GetCarId() uint32
- func (x *Car) GetCarIdx() uint32
- func (x *Car) GetCarNumber() string
- func (x *Car) GetCarNumberRaw() int32
- func (x *Car) GetName() string
- func (*Car) ProtoMessage()
- func (x *Car) ProtoReflect() protoreflect.Message
- func (x *Car) Reset()
- func (x *Car) String() string
- type CarClass
- type CarEntry
- func (*CarEntry) Descriptor() ([]byte, []int)deprecated
- func (x *CarEntry) GetCar() *Car
- func (x *CarEntry) GetDrivers() []*v1.Driver
- func (x *CarEntry) GetTeam() *v1.Team
- func (*CarEntry) ProtoMessage()
- func (x *CarEntry) ProtoReflect() protoreflect.Message
- func (x *CarEntry) Reset()
- func (x *CarEntry) String() string
- type CarInfo
- func (*CarInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CarInfo) GetCarClassId() int32
- func (x *CarInfo) GetCarClassName() string
- func (x *CarInfo) GetCarId() uint32
- func (x *CarInfo) GetDryTireSets() int32
- func (x *CarInfo) GetFuelPct() float32
- func (x *CarInfo) GetName() string
- func (x *CarInfo) GetNameShort() string
- func (x *CarInfo) GetPowerAdjust() float32
- func (x *CarInfo) GetWeightPenalty() float32
- func (*CarInfo) ProtoMessage()
- func (x *CarInfo) ProtoReflect() protoreflect.Message
- func (x *CarInfo) Reset()
- func (x *CarInfo) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_testrepo_car_v1_car_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Car ¶
type Car struct { CarId uint32 `protobuf:"varint,1,opt,name=car_id,json=carId,proto3" json:"car_id,omitempty"` CarIdx uint32 `protobuf:"varint,2,opt,name=car_idx,json=carIdx,proto3" json:"car_idx,omitempty"` CarClassId int32 `protobuf:"varint,3,opt,name=car_class_id,json=carClassId,proto3" json:"car_class_id,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` CarNumber string `protobuf:"bytes,5,opt,name=car_number,json=carNumber,proto3" json:"car_number,omitempty"` CarNumberRaw int32 `protobuf:"varint,6,opt,name=car_number_raw,json=carNumberRaw,proto3" json:"car_number_raw,omitempty"` // contains filtered or unexported fields }
func (*Car) ProtoReflect ¶
func (x *Car) ProtoReflect() protoreflect.Message
type CarClass ¶
type CarClass struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*CarClass) ProtoReflect ¶
func (x *CarClass) ProtoReflect() protoreflect.Message
type CarEntry ¶
type CarEntry struct { Car *Car `protobuf:"bytes,1,opt,name=car,proto3" json:"car,omitempty"` Team *v1.Team `protobuf:"bytes,2,opt,name=team,proto3" json:"team,omitempty"` Drivers []*v1.Driver `protobuf:"bytes,3,rep,name=drivers,proto3" json:"drivers,omitempty"` // contains filtered or unexported fields }
func (*CarEntry) ProtoReflect ¶
func (x *CarEntry) ProtoReflect() protoreflect.Message
type CarInfo ¶
type CarInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` NameShort string `protobuf:"bytes,2,opt,name=name_short,json=nameShort,proto3" json:"name_short,omitempty"` CarId uint32 `protobuf:"varint,3,opt,name=car_id,json=carId,proto3" json:"car_id,omitempty"` CarClassId int32 `protobuf:"varint,4,opt,name=car_class_id,json=carClassId,proto3" json:"car_class_id,omitempty"` CarClassName string `protobuf:"bytes,5,opt,name=car_class_name,json=carClassName,proto3" json:"car_class_name,omitempty"` FuelPct float32 `protobuf:"fixed32,6,opt,name=fuel_pct,json=fuelPct,proto3" json:"fuel_pct,omitempty"` PowerAdjust float32 `protobuf:"fixed32,7,opt,name=power_adjust,json=powerAdjust,proto3" json:"power_adjust,omitempty"` WeightPenalty float32 `protobuf:"fixed32,8,opt,name=weight_penalty,json=weightPenalty,proto3" json:"weight_penalty,omitempty"` DryTireSets int32 `protobuf:"varint,9,opt,name=dry_tire_sets,json=dryTireSets,proto3" json:"dry_tire_sets,omitempty"` // contains filtered or unexported fields }
func (*CarInfo) ProtoReflect ¶
func (x *CarInfo) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.