Attribute Macro msfs::sim_connect::client_data_definition

source ·
#[client_data_definition]
Expand description

Generate a struct which can be used with SimConnect’s client data definitions.

#[sim_connect::client_data_definition]
struct SomeData {
    foo: u8,
    bar: f64,
    #[epsilon = 0.5]
    baz: i8,
}