protologic_core/
misc.rs

1use crate::lowlevel::quickstate::get_general_quickstate;
2
3/// Get the unique ID of this vehicle. This is the same ID which is returned in the RADAR contact info for this vehicle.
4pub fn vehicle_id() -> i64
5{
6    return get_general_quickstate().read_i64(680);
7}