This class manages a race (singular!) You should only use this directly if the racesManager doesn't suit your needs.
More...
#include <races.as.h>
This class manages a race (singular!) You should only use this directly if the racesManager doesn't suit your needs.
Definition at line 578 of file races.as.h.
◆ raceBuilder()
Script2Script::raceBuilder::raceBuilder |
( |
int |
id | ) |
|
|
private |
◆ addCheckpoint()
void Script2Script::raceBuilder::addCheckpoint |
( |
int |
number, |
|
|
const string &in |
objName, |
|
|
const double &[]in |
v |
|
) |
| |
|
private |
◆ addChpCoordinates()
void Script2Script::raceBuilder::addChpCoordinates |
( |
double |
checkpoints_in[][], |
|
|
const string &in |
objName_checkpoint, |
|
|
const string &in |
objName_start, |
|
|
const string &in |
objName_finish, |
|
|
uint |
startNumber |
|
) |
| |
|
private |
◆ checkpointExists()
bool Script2Script::raceBuilder::checkpointExists |
( |
int |
chpNum, |
|
|
int |
instance |
|
) |
| |
|
private |
◆ deleteCheckpoint() [1/2]
void Script2Script::raceBuilder::deleteCheckpoint |
( |
int |
number | ) |
|
|
private |
◆ deleteCheckpoint() [2/2]
void Script2Script::raceBuilder::deleteCheckpoint |
( |
int |
number, |
|
|
int |
instance |
|
) |
| |
|
private |
◆ destroy()
void Script2Script::raceBuilder::destroy |
( |
| ) |
|
|
private |
this function removes all checkpoints again
◆ getNextCheckpointNum()
int Script2Script::raceBuilder::getNextCheckpointNum |
( |
int |
lastCheckpoint | ) |
|
|
private |
◆ getPreviousCheckpointNum()
int Script2Script::raceBuilder::getPreviousCheckpointNum |
( |
int |
lastCheckpoint | ) |
|
|
private |
◆ getRealInstanceCount()
uint Script2Script::raceBuilder::getRealInstanceCount |
( |
int |
chpNum | ) |
|
|
private |
◆ hide()
void Script2Script::raceBuilder::hide |
( |
| ) |
|
|
private |
◆ isLocked()
bool Script2Script::raceBuilder::isLocked |
( |
| ) |
|
|
private |
◆ loadRace()
void Script2Script::raceBuilder::loadRace |
( |
Script2Game::LocalStorage@ |
d | ) |
|
|
private |
◆ saveRace()
void Script2Script::raceBuilder::saveRace |
( |
Script2Game::LocalStorage@ |
d | ) |
|
|
private |
◆ setLaps()
void Script2Script::raceBuilder::setLaps |
( |
int |
laps_in | ) |
|
|
private |
◆ setVersion()
void Script2Script::raceBuilder::setVersion |
( |
const string &in |
version | ) |
|
|
private |
◆ unhide()
void Script2Script::raceBuilder::unhide |
( |
| ) |
|
|
private |
◆ awaitingRecycling
bool Script2Script::raceBuilder::awaitingRecycling |
|
private |
◆ bestLapTime
double Script2Script::raceBuilder::bestLapTime |
|
private |
◆ bestRaceTime
double Script2Script::raceBuilder::bestRaceTime |
|
private |
◆ bestTimeTillPoint
double [] Script2Script::raceBuilder::bestTimeTillPoint |
|
private |
◆ checkpoints
double [][][] Script2Script::raceBuilder::checkpoints |
|
private |
◆ checkPointsCount
int Script2Script::raceBuilder::checkPointsCount |
|
private |
◆ chpInstances
int [] Script2Script::raceBuilder::chpInstances |
|
private |
◆ completed
bool Script2Script::raceBuilder::completed |
|
private |
◆ finishNum
int Script2Script::raceBuilder::finishNum |
|
private |
◆ hidden
bool Script2Script::raceBuilder::hidden |
|
private |
◆ id
int Script2Script::raceBuilder::id |
|
private |
◆ isBuilt
bool Script2Script::raceBuilder::isBuilt |
|
private |
◆ laps
int Script2Script::raceBuilder::laps |
|
private |
◆ lastTimeTillPoint
double [] Script2Script::raceBuilder::lastTimeTillPoint |
|
private |
◆ locked
bool Script2Script::raceBuilder::locked |
|
private |
◆ objNames
array<array<string> > Script2Script::raceBuilder::objNames |
|
private |
◆ penaltyTime
int Script2Script::raceBuilder::penaltyTime |
|
private |
◆ raceBuilderVersion
string Script2Script::raceBuilder::raceBuilderVersion |
|
private |
◆ raceName
string Script2Script::raceBuilder::raceName |
|
private |
◆ raceVersion
string Script2Script::raceBuilder::raceVersion |
|
private |
◆ startNum
int Script2Script::raceBuilder::startNum |
|
private |
The documentation for this class was generated from the following file: