Attribute Macro msfs_derive::sim_connect_client_data_definition

source ·
#[sim_connect_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,
}