Struct sc2::data::AbilityData[][src]

pub struct AbilityData { /* fields omitted */ }

Data about an ability.

Methods

impl AbilityData
[src]

Get the most generalized id of the ability.

Indicates whether the ability is available to the current mods/map.

Stable ID for the ability.

Catalog (game data xml) name of the ability.

Catalog (game data xml) index of the ability.

Name of the button for the command card.

In case the button name is not descriptive.

UI hotkey.

Other abilities that can remap to this generic ability.

Type of target that this ability uses.

Can be cast in the minimap (unimplemented).

Autocast can be set.

Requires placement to construct a building.

If the ability is placing a building, give the radius of the footprint.

Placement next to an existing structure (an addon like a Tech Lab).

Range unit can cast ability without needing to approach target.

Trait Implementations

impl Debug for AbilityData
[src]

Formats the value using the given formatter. Read more

impl Clone for AbilityData
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for AbilityData

impl Sync for AbilityData