SC2API
An API for AI for StarCraft II
Classes | Typedefs | Enumerations
sc2_gametypes.h File Reference

Types used in setting up a game. More...

#include <vector>
#include <string>
#include "sc2_common.h"

Go to the source code of this file.

Classes

struct  sc2::PlayerSetup
 Setup for a player in a game. More...
 
struct  sc2::PortSet
 Port setup for a client. More...
 
struct  sc2::Ports
 Port setup for one or more clients in a game. More...
 
struct  sc2::ReplayPlayerInfo
 Information about a player in a replay. More...
 
struct  sc2::ReplayInfo
 Information about a replay file. More...
 
struct  sc2::PlayerResult
 
struct  sc2::ChatMessage
 

Typedefs

typedef uint64_t sc2::Tag
 

Enumerations

enum  Race { Terran, Zerg, Protoss, Random }
 
enum  GameResult { Win, Loss, Tie, Undecided }
 
enum  Difficulty {
  VeryEasy = 1, Easy = 2, Medium = 3, MediumHard = 4,
  Hard = 5, HardVeryHard = 6, VeryHard = 7, CheatVision = 8,
  CheatMoney = 9, CheatInsane = 10
}
 
enum  PlayerType { Participant = 1, Computer = 2, Observer = 3 }
 
enum  ChatChannel { All = 0, Team = 1 }
 

Detailed Description

Types used in setting up a game.