|
GameType
Class header file: BWAPI/GameType.h List of all GameTypes. Methods: Non-member methods in GameTypes namespace: getIDint getID(); Returns the unique ID for this game type. getNamestd::string getName(); Returns the name of the game type. For example GameTypes::Free_For_All.getName() will return an std::string object containing "Free For All". getGameTypeGameType getGameType(std::string name); Given the name of a game type, this function will return the GameType. For example: GameTypes::getGameType("Use Map Settings") will return GameTypes::Use_Map_Settings. allGameTypesstd::set<GameType>& allGameTypes(); Returns the set of all the GameTypes. | |
► Sign in to add a comment