carv1

package
v1.33.0-20240404104327... Latest Latest
Warning

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

Go to latest
Published: unknown License: MIT Imports: 5 Imported by: 0

Documentation

Index

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) Descriptor deprecated

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

Deprecated: Use Car.ProtoReflect.Descriptor instead.

func (*Car) GetCarClassId

func (x *Car) GetCarClassId() int32

func (*Car) GetCarId

func (x *Car) GetCarId() uint32

func (*Car) GetCarIdx

func (x *Car) GetCarIdx() uint32

func (*Car) GetCarNumber

func (x *Car) GetCarNumber() string

func (*Car) GetCarNumberRaw

func (x *Car) GetCarNumberRaw() int32

func (*Car) GetName

func (x *Car) GetName() string

func (*Car) ProtoMessage

func (*Car) ProtoMessage()

func (*Car) ProtoReflect

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

func (*Car) Reset

func (x *Car) Reset()

func (*Car) String

func (x *Car) String() string

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) Descriptor deprecated

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

Deprecated: Use CarClass.ProtoReflect.Descriptor instead.

func (*CarClass) GetId

func (x *CarClass) GetId() uint32

func (*CarClass) GetName

func (x *CarClass) GetName() string

func (*CarClass) ProtoMessage

func (*CarClass) ProtoMessage()

func (*CarClass) ProtoReflect

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

func (*CarClass) Reset

func (x *CarClass) Reset()

func (*CarClass) String

func (x *CarClass) String() string

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) Descriptor deprecated

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

Deprecated: Use CarEntry.ProtoReflect.Descriptor instead.

func (*CarEntry) GetCar

func (x *CarEntry) GetCar() *Car

func (*CarEntry) GetDrivers

func (x *CarEntry) GetDrivers() []*v1.Driver

func (*CarEntry) GetTeam

func (x *CarEntry) GetTeam() *v1.Team

func (*CarEntry) ProtoMessage

func (*CarEntry) ProtoMessage()

func (*CarEntry) ProtoReflect

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

func (*CarEntry) Reset

func (x *CarEntry) Reset()

func (*CarEntry) String

func (x *CarEntry) String() string

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) Descriptor deprecated

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

Deprecated: Use CarInfo.ProtoReflect.Descriptor instead.

func (*CarInfo) GetCarClassId

func (x *CarInfo) GetCarClassId() int32

func (*CarInfo) GetCarClassName

func (x *CarInfo) GetCarClassName() string

func (*CarInfo) GetCarId

func (x *CarInfo) GetCarId() uint32

func (*CarInfo) GetDryTireSets

func (x *CarInfo) GetDryTireSets() int32

func (*CarInfo) GetFuelPct

func (x *CarInfo) GetFuelPct() float32

func (*CarInfo) GetName

func (x *CarInfo) GetName() string

func (*CarInfo) GetNameShort

func (x *CarInfo) GetNameShort() string

func (*CarInfo) GetPowerAdjust

func (x *CarInfo) GetPowerAdjust() float32

func (*CarInfo) GetWeightPenalty

func (x *CarInfo) GetWeightPenalty() float32

func (*CarInfo) ProtoMessage

func (*CarInfo) ProtoMessage()

func (*CarInfo) ProtoReflect

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

func (*CarInfo) Reset

func (x *CarInfo) Reset()

func (*CarInfo) String

func (x *CarInfo) String() string

Jump to

Keyboard shortcuts

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