![]() |
SC2API
An API for AI for StarCraft II
|
Unit data in an observation. More...
#include "sc2_proto_interface.h"#include "sc2_gametypes.h"#include "sc2_common.h"#include "sc2_typeenums.h"#include <vector>#include <unordered_map>#include <string>#include <stdint.h>Go to the source code of this file.
Classes | |
| struct | sc2::UnitOrder |
| An order that is active on a unit. More... | |
| struct | sc2::PassengerUnit |
| A passenger on a transport. More... | |
| class | sc2::Unit |
| A unit. Could be a structure, a worker or a military unit. More... | |
| class | sc2::UnitPool |
| struct | sc2::IsUnit |
| Determines if the unit matches the unit type. More... | |
| struct | sc2::IsUnits |
| Determines if units matches the unit type. More... | |
Typedefs | |
| typedef std::vector< const Unit * > | sc2::Units |
| typedef std::unordered_map< Tag, size_t > | sc2::UnitIdxMap |
Unit data in an observation.
1.8.11