Struct ddcore_rs::models::StatsDataBlock[][src]

#[repr(C)]
pub struct StatsDataBlock {
Show 42 fields pub ddstats_version: i32, pub player_id: i32, pub username: [u8; 32], pub time: f32, pub gems_collected: i32, pub kills: i32, pub daggers_fired: i32, pub daggers_hit: i32, pub enemies_alive: i32, pub level_gems: i32, pub homing: i32, pub gems_despawned: i32, pub gems_eaten: i32, pub gems_total: i32, pub daggers_eaten: i32, pub per_enemy_alive_count: [i16; 17], pub per_enemy_kill_count: [i16; 17], pub is_player_alive: bool, pub is_replay: bool, pub death_type: u8, pub is_in_game: bool, pub replay_player_id: i32, pub replay_player_name: [u8; 32], pub survival_md5: [u8; 16], pub time_lvl2: f32, pub time_lvl3: f32, pub time_lvl4: f32, pub levi_down_time: f32, pub orb_down_time: f32, pub status: i32, pub max_homing: i32, pub time_max_homing: f32, pub enemies_alive_max: i32, pub time_enemies_alive_max: f32, pub time_max: f32, pub stats_base: [u8; 8], pub stats_frames_loaded: i32, pub stats_finished_loading: bool, pub starting_hand: i32, pub starting_homing: i32, pub starting_time: f32, pub prohibited_mods: bool, // some fields omitted
}

Fields

ddstats_version: i32player_id: i32username: [u8; 32]time: f32gems_collected: i32kills: i32daggers_fired: i32daggers_hit: i32enemies_alive: i32level_gems: i32homing: i32gems_despawned: i32gems_eaten: i32gems_total: i32daggers_eaten: i32per_enemy_alive_count: [i16; 17]per_enemy_kill_count: [i16; 17]is_player_alive: boolis_replay: booldeath_type: u8is_in_game: boolreplay_player_id: i32replay_player_name: [u8; 32]survival_md5: [u8; 16]time_lvl2: f32time_lvl3: f32time_lvl4: f32levi_down_time: f32orb_down_time: f32status: i32max_homing: i32time_max_homing: f32enemies_alive_max: i32time_enemies_alive_max: f32time_max: f32stats_base: [u8; 8]stats_frames_loaded: i32stats_finished_loading: boolstarting_hand: i32starting_homing: i32starting_time: f32prohibited_mods: bool

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.