mirror of
https://github.com/maciejpedzich/f1-game-packet-parser.git
synced 2025-04-20 03:21:12 +02:00
docs: add links to driver and team ID constants submodules in various struct fields
This commit is contained in:
parent
ac9408f720
commit
5877627296
@ -14,6 +14,8 @@ pub struct LobbyInfoData {
|
|||||||
#[br(try_map(u8_to_bool))]
|
#[br(try_map(u8_to_bool))]
|
||||||
pub ai_controlled: bool,
|
pub ai_controlled: bool,
|
||||||
/// Team's ID.
|
/// Team's ID.
|
||||||
|
/// See [`team_id`](mod@crate::constants::team_id)
|
||||||
|
/// for possible values.
|
||||||
pub team_id: u8,
|
pub team_id: u8,
|
||||||
/// Driver's nationality.
|
/// Driver's nationality.
|
||||||
pub nationality: Nationality,
|
pub nationality: Nationality,
|
||||||
|
@ -14,10 +14,14 @@ pub struct ParticipantsData {
|
|||||||
#[br(try_map(u8_to_bool))]
|
#[br(try_map(u8_to_bool))]
|
||||||
pub ai_controlled: bool,
|
pub ai_controlled: bool,
|
||||||
/// Driver's ID.
|
/// Driver's ID.
|
||||||
|
/// See [`driver_id`](mod@crate::constants::driver_id)
|
||||||
|
/// for possible values.
|
||||||
pub driver_id: u8,
|
pub driver_id: u8,
|
||||||
/// Unique ID for network players.
|
/// Unique ID for network players.
|
||||||
pub network_id: u8,
|
pub network_id: u8,
|
||||||
/// Team's ID.
|
/// Team's ID.
|
||||||
|
/// See [`team_id`](mod@crate::constants::team_id)
|
||||||
|
/// for possible values.
|
||||||
pub team_id: u8,
|
pub team_id: u8,
|
||||||
/// Whether my team is being used.
|
/// Whether my team is being used.
|
||||||
#[br(try_map(u8_to_bool))]
|
#[br(try_map(u8_to_bool))]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user