coastline 0.0.4
Loading...
Searching...
No Matches
coastline::RacePlayerSetup Struct Reference

The car and the setup of a player. More...

#include <racesession.h>

Collaboration diagram for coastline::RacePlayerSetup:

Public Attributes

int car = 0
int handling = 0
int transmission = 1
int tires = 2
int suspension = 1
std::optional< std::filesystem::path > images
 The images of the car with the custom decals of the player, or none for the asset pack.
std::optional< std::array< u8, 3 > > color
 The colour of the paint, from the car select screen or the custom decals, or none for the colour of the player.
bool otherLook = false
 Whether the car races in its other look, as Vehicle.otherLook of the console.
int camera = 0

Detailed Description

The car and the setup of a player.

Member Data Documentation

◆ car

int coastline::RacePlayerSetup::car = 0

The car, an index of g_apszCarModelPrefixes.

◆ handling

int coastline::RacePlayerSetup::handling = 0

The handling, the steering mode from 0.

◆ transmission

int coastline::RacePlayerSetup::transmission = 1

The transmission, nonzero for the automatic.

◆ tires

int coastline::RacePlayerSetup::tires = 2

The tyres.

◆ suspension

int coastline::RacePlayerSetup::suspension = 1

The suspension, from 0 for the softest springs.

◆ images

std::optional<std::filesystem::path> coastline::RacePlayerSetup::images

The images of the car with the custom decals of the player, or none for the asset pack.

◆ color

std::optional<std::array<u8, 3> > coastline::RacePlayerSetup::color

The colour of the paint, from the car select screen or the custom decals, or none for the colour of the player.

◆ otherLook

bool coastline::RacePlayerSetup::otherLook = false

Whether the car races in its other look, as Vehicle.otherLook of the console.

◆ camera

int coastline::RacePlayerSetup::camera = 0

The last selected cockpit, chase, bumper, or trackside view.


The documentation for this struct was generated from the following file: