$treeview $search $mathjax
Stratagus
2.2.7
$projectbrief
|
$projectbrief
|
$searchbox |
_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include <unittype.h>
Public Member Functions | |
CKeys () | |
void | Init () |
const char * | operator[] (int index) |
int | operator[] (const char *const key) |
int | AddKey (const char *const key) |
Public Attributes | |
DataKey | buildin [SIZE] |
std::map< std::string, int > | user |
unsigned int | TotalKeys |
Classes | |
struct | DataKey |
CUnitTypeVar::CKeys< SIZE >::CKeys | ( | ) | [inline] |
void CUnitTypeVar::CKeys< SIZE >::Init | ( | ) | [inline] |
const char* CUnitTypeVar::CKeys< SIZE >::operator[] | ( | int | index | ) | [inline] |
int CUnitTypeVar::CKeys< SIZE >::operator[] | ( | const char *const | key | ) | [inline] |
Return the index of the external storage array/vector.
varname | Name of the variable. |
int CUnitTypeVar::CKeys< SIZE >::AddKey | ( | const char *const | key | ) | [inline] |
DataKey CUnitTypeVar::CKeys< SIZE >::buildin[SIZE] |
std::map<std::string, int> CUnitTypeVar::CKeys< SIZE >::user |
unsigned int CUnitTypeVar::CKeys< SIZE >::TotalKeys |