* Gets the total duration of the vehicles timetable or Ticks::INVALID_TICKS is the timetable is not complete. * @return total timetable duration or Ticks::INVALID_TICKS for incomplete timetables */
| 419 | * @return total timetable duration or Ticks::INVALID_TICKS for incomplete timetables |
| 420 | */ |
| 421 | inline TimerGameTick::Ticks GetTimetableTotalDuration() const { return this->IsCompleteTimetable() ? this->timetable_duration : Ticks::INVALID_TICKS; } |
| 422 | |
| 423 | /** |
| 424 | * Gets the known duration of the vehicles timetable even if the timetable is not complete. |
no test coverage detected