Definition assetimport.h:11
bool ValidSavedRaceTime(float seconds)
Check that a saved race time is finite, non-negative, and safe to display in signed hundredths.
bool ValidGhostRecording(std::span< const std::uint8_t > recording, std::size_t tracks, std::size_t cars, const NoteEquipmentCounts &counts)
Validate an expanded console ghost's length, track, car, and equipment header.
bool ValidOptionsNote(std::span< const std::uint8_t > note, const NoteEquipmentCounts &counts)
Validate native options-note length, volume levels, units, and equipment indices.
std::array< std::size_t, 5 > NoteEquipmentCounts
Counts of handling, transmission, tyre, suspension, and controller-layout choices,...
Definition notesafety.h:11
bool ValidSeasonNoteValues(std::span< const std::uint8_t > note, const NoteEquipmentCounts &counts)
Validate native season-note length, times, placements, and equipment indices.