SC2API
An API for AI for StarCraft II
Public Member Functions | Public Attributes | List of all members
sc2::AvailableAbilities Struct Reference

All available abilities for a unit. More...

#include <sc2_data.h>

Public Member Functions

bool IsValid () const
 

Public Attributes

std::vector< AvailableAbilityabilities
 The available abilities.
 
Tag unit_tag
 The unit.
 
UnitTypeID unit_type_id
 The unit type.
 

Detailed Description

All available abilities for a unit.

Member Function Documentation

bool sc2::AvailableAbilities::IsValid ( ) const
inline

Returns true if this object refers to a valid unit and unit type.

Returns
If this object is valid.

The documentation for this struct was generated from the following file: