_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

Public Member Functions | Public Attributes | List of all members
SettingsPresets Struct Reference

#include <settings.h>

Public Member Functions

void Save (const std::function< void(std::string)> &f)
 Type of player (for network games) More...
 
void Init ()
 
bool operator== (const SettingsPresets &other) const
 

Public Attributes

int8_t PlayerColor
 
std::string AIScript
 Color of a player. More...
 
int8_t Race
 AI script for computer to use. More...
 
int8_t Team
 Race of the player. More...
 
PlayerTypes Type
 Team of player. More...
 

Member Function Documentation

◆ Init()

void SettingsPresets::Init ( )
inline

◆ operator==()

bool SettingsPresets::operator== ( const SettingsPresets other) const
inline

◆ Save()

void SettingsPresets::Save ( const std::function< void(std::string)> &  f)
inline

Type of player (for network games)

Member Data Documentation

◆ AIScript

std::string SettingsPresets::AIScript

Color of a player.

◆ PlayerColor

int8_t SettingsPresets::PlayerColor

◆ Race

int8_t SettingsPresets::Race

AI script for computer to use.

◆ Team

int8_t SettingsPresets::Team

Race of the player.

◆ Type

PlayerTypes SettingsPresets::Type

Team of player.


The documentation for this struct was generated from the following file:
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.