Struct sc2::UpgradeData [] [src]

pub struct UpgradeData {
    pub upgrade: Upgrade,
    pub name: String,
    pub mineral_cost: u32,
    pub vespene_cost: u32,
    pub ability: Ability,
    pub research_time: f32,
}

upgrade data

Fields

stable upgrade ID

upgrade name (corresponds to the game's catalog)

mineral cost of researching this upgrade

vespene cost of researching this upgrade

ability that researches this upgrade

time in game steps to research this upgrade

Trait Implementations

impl Debug for UpgradeData
[src]

[src]

Formats the value using the given formatter.

impl Clone for UpgradeData
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more