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

Initial data for a game and map. More...

#include <sc2_map_info.h>

Public Attributes

std::string map_name
 Plain text name of a map. Note that this may be different from the filename of the map.
 
std::string local_map_path
 Filename of map. Includes the ".SC2Map" file extension.
 
int width
 World width of a map.
 
int height
 World height of a map.
 
ImageData pathing_grid
 Grid showing which cells are pathable by units.
 
ImageData terrain_height
 Height map of terrain.
 
ImageData placement_grid
 Grid showing which cells can accept placement of structures.
 
Point2D playable_min
 The minimum coordinates of playable space. Points less than this are not playable.
 
Point2D playable_max
 The maximum coordinates of playable space. Points greater than this are not playable.
 
std::vector< Point2Denemy_start_locations
 Positions of possible enemy starting locations.
 
std::vector< Point2Dstart_locations
 
InterfaceOptions options
 
std::vector< PlayerInfoplayer_info
 

Detailed Description

Initial data for a game and map.

Member Data Documentation

InterfaceOptions sc2::GameInfo::options

Types of data that will be in observations.

See also
InterfaceOptions

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