pub struct Score {Show 30 fields
pub score_type: ScoreType,
pub total_score: i32,
pub idle_production_time: f32,
pub idle_worker_time: f32,
pub total_value_units: f32,
pub total_value_structures: f32,
pub killed_value_units: f32,
pub killed_value_structures: f32,
pub collected_minerals: f32,
pub collected_vespene: f32,
pub collection_rate_minerals: f32,
pub collection_rate_vespene: f32,
pub spent_minerals: f32,
pub spent_vespene: f32,
pub food_used: Category,
pub killed_minerals: Category,
pub killed_vespene: Category,
pub lost_minerals: Category,
pub lost_vespene: Category,
pub friendly_fire_minerals: Category,
pub friendly_fire_vespene: Category,
pub used_minerals: Category,
pub used_vespene: Category,
pub total_used_minerals: Category,
pub total_used_vespene: Category,
pub total_damage_dealt: Vital,
pub total_damage_taken: Vital,
pub total_healed: Vital,
pub current_apm: f32,
pub current_effective_apm: f32,
}
Expand description
All kinds of scores stored here.
Can be accessed through state.observation.score.
Fields§
§score_type: ScoreType
§total_score: i32
§idle_production_time: f32
§idle_worker_time: f32
§total_value_units: f32
§total_value_structures: f32
§killed_value_units: f32
§killed_value_structures: f32
§collected_minerals: f32
§collected_vespene: f32
§collection_rate_minerals: f32
§collection_rate_vespene: f32
§spent_minerals: f32
§spent_vespene: f32
§food_used: Category
§killed_minerals: Category
§killed_vespene: Category
§lost_minerals: Category
§lost_vespene: Category
§friendly_fire_minerals: Category
§friendly_fire_vespene: Category
§used_minerals: Category
§used_vespene: Category
§total_used_minerals: Category
§total_used_vespene: Category
§total_damage_dealt: Vital
§total_damage_taken: Vital
§total_healed: Vital
§current_apm: f32
§current_effective_apm: f32
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Score
impl RefUnwindSafe for Score
impl Send for Score
impl Sync for Score
impl Unpin for Score
impl UnwindSafe for Score
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more