Documentation
¶
Index ¶
- Variables
- type Car
- 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) SetCarClassId(v int32)
- func (x *Car) SetCarId(v uint32)
- func (x *Car) SetCarIdx(v uint32)
- func (x *Car) SetCarNumber(v string)
- func (x *Car) SetCarNumberRaw(v int32)
- func (x *Car) SetName(v string)
- func (x *Car) String() string
- type CarClass
- type CarClass_builder
- type CarContainer
- func (x *CarContainer) GetCarClasses() []*CarClass
- func (x *CarContainer) GetCars() []*CarInfo
- func (x *CarContainer) GetCurrentDrivers() map[uint32]string
- func (x *CarContainer) GetEntries() []*CarEntry
- func (*CarContainer) ProtoMessage()
- func (x *CarContainer) ProtoReflect() protoreflect.Message
- func (x *CarContainer) Reset()
- func (x *CarContainer) SetCarClasses(v []*CarClass)
- func (x *CarContainer) SetCars(v []*CarInfo)
- func (x *CarContainer) SetCurrentDrivers(v map[uint32]string)
- func (x *CarContainer) SetEntries(v []*CarEntry)
- func (x *CarContainer) String() string
- type CarContainer_builder
- type CarEntry
- func (x *CarEntry) ClearCar()
- func (x *CarEntry) ClearTeam()
- func (x *CarEntry) GetCar() *Car
- func (x *CarEntry) GetDrivers() []*v1.Driver
- func (x *CarEntry) GetTeam() *v1.Team
- func (x *CarEntry) HasCar() bool
- func (x *CarEntry) HasTeam() bool
- func (*CarEntry) ProtoMessage()
- func (x *CarEntry) ProtoReflect() protoreflect.Message
- func (x *CarEntry) Reset()
- func (x *CarEntry) SetCar(v *Car)
- func (x *CarEntry) SetDrivers(v []*v1.Driver)
- func (x *CarEntry) SetTeam(v *v1.Team)
- func (x *CarEntry) String() string
- type CarEntry_builder
- type CarInfo
- 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) SetCarClassId(v int32)
- func (x *CarInfo) SetCarClassName(v string)
- func (x *CarInfo) SetCarId(v uint32)
- func (x *CarInfo) SetDryTireSets(v int32)
- func (x *CarInfo) SetFuelPct(v float32)
- func (x *CarInfo) SetName(v string)
- func (x *CarInfo) SetNameShort(v string)
- func (x *CarInfo) SetPowerAdjust(v float32)
- func (x *CarInfo) SetWeightPenalty(v float32)
- func (x *CarInfo) String() string
- type CarInfo_builder
- type Car_builder
Constants ¶
This section is empty.
Variables ¶
View Source
var File_iracelog_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 CarClass_builder ¶
func (CarClass_builder) Build ¶
func (b0 CarClass_builder) Build() *CarClass
type CarContainer ¶
type CarContainer struct {
Entries []*CarEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
Cars []*CarInfo `protobuf:"bytes,2,rep,name=cars,proto3" json:"cars,omitempty"`
CarClasses []*CarClass `protobuf:"bytes,3,rep,name=car_classes,json=carClasses,proto3" json:"car_classes,omitempty"`
CurrentDrivers map[uint32]string `` /* 178-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*CarContainer) GetCarClasses ¶
func (x *CarContainer) GetCarClasses() []*CarClass
func (*CarContainer) GetCars ¶
func (x *CarContainer) GetCars() []*CarInfo
func (*CarContainer) GetCurrentDrivers ¶
func (x *CarContainer) GetCurrentDrivers() map[uint32]string
func (*CarContainer) GetEntries ¶
func (x *CarContainer) GetEntries() []*CarEntry
func (*CarContainer) ProtoMessage ¶
func (*CarContainer) ProtoMessage()
func (*CarContainer) ProtoReflect ¶
func (x *CarContainer) ProtoReflect() protoreflect.Message
func (*CarContainer) Reset ¶
func (x *CarContainer) Reset()
func (*CarContainer) SetCarClasses ¶
func (x *CarContainer) SetCarClasses(v []*CarClass)
func (*CarContainer) SetCars ¶
func (x *CarContainer) SetCars(v []*CarInfo)
func (*CarContainer) SetCurrentDrivers ¶
func (x *CarContainer) SetCurrentDrivers(v map[uint32]string)
func (*CarContainer) SetEntries ¶
func (x *CarContainer) SetEntries(v []*CarEntry)
func (*CarContainer) String ¶
func (x *CarContainer) String() string
type CarContainer_builder ¶
type CarContainer_builder struct {
Entries []*CarEntry
Cars []*CarInfo
CarClasses []*CarClass
CurrentDrivers map[uint32]string
// contains filtered or unexported fields
}
func (CarContainer_builder) Build ¶
func (b0 CarContainer_builder) Build() *CarContainer
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 CarEntry_builder ¶
type CarEntry_builder struct {
Car *Car
Team *v1.Team
Drivers []*v1.Driver
// contains filtered or unexported fields
}
func (CarEntry_builder) Build ¶
func (b0 CarEntry_builder) Build() *CarEntry
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
type CarInfo_builder ¶
type CarInfo_builder struct {
Name string
NameShort string
CarId uint32
CarClassId int32
CarClassName string
FuelPct float32
PowerAdjust float32
WeightPenalty float32
DryTireSets int32
// contains filtered or unexported fields
}
func (CarInfo_builder) Build ¶
func (b0 CarInfo_builder) Build() *CarInfo
Source Files
¶
- car.pb.go
Click to show internal directories.
Click to hide internal directories.