SC2API
An API for AI for StarCraft II
Public Types | Public Attributes | List of all members
sc2::SpatialUnitCommand Struct Reference

An action (command or ability) applied to selected units when using feature layers or the rendered interface. More...

#include <sc2_action.h>

Public Types

enum  TargetType { TargetScreen, TargetMinimap }
 If this action should apply to the screen or minimap. More...
 

Public Attributes

AbilityID ability_id
 The ID of the ability to invoke.
 
TargetType target_type
 If this action should be applied to the main game screen or the minimap.
 
Point2DI target
 Target point on the screen or minimap, if required.
 
bool queued
 Indicates if this action should replace or queue behind other actions.
 

Detailed Description

An action (command or ability) applied to selected units when using feature layers or the rendered interface.

Member Enumeration Documentation

If this action should apply to the screen or minimap.

Enumerator
TargetScreen 

Apply this action to the main game screen.

TargetMinimap 

Apply this action to the minimap.


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