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

Setup for a player in a game. More...

#include <sc2_gametypes.h>

Public Member Functions

 PlayerSetup (PlayerType in_type, Race in_race, Agent *in_agent=nullptr, Difficulty in_difficulty=Easy)
 

Public Attributes

PlayerType type
 Player can be a Participant (usually an agent), Computer (in-built AI) or Observer.
 
Agentagent
 Agent, if one is available.
 
Race race
 Race: Terran, Zerg or Protoss. Only for playing against the built-in AI.
 
Difficulty difficulty
 Difficulty: Only for playing against the built-in AI.
 

Detailed Description

Setup for a player in a game.


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