#include <gameEntityData.h>
Public Member Functions | |
CGameEntityData (CXMLNode node) | |
Load entity descriptions from XML data. | |
int | cmp_size (bool bIncludeParents=false) const |
| |
void | add_cmp (const EDIT_CMP_DATA &edit) |
Add a cmp. | |
EDIT_CMP_DATA * | get_cmp (const int i) |
Get a pointer to EDIT_CMP_DATA struct. | |
EDIT_SKILL_DATA * | get_skill (const int i) |
CGameEntityData * | get_parent () const |
|
(c) 2007-2008 oP group Germany GbR. All rights reserved.
This source code is provided "as is" with no warranty and must not be distributed without written permission.
CGameEntityData::CGameEntityData | ( | CXMLNode | node | ) |
Load entity descriptions from XML data.
node | XML node. |
void CGameEntityData::add_cmp | ( | const EDIT_CMP_DATA & | edit | ) | [inline] |
EDIT_CMP_DATA * CGameEntityData::get_cmp | ( | const int | i | ) |
Get a pointer to EDIT_CMP_DATA struct.
i | Index to edit. |
EDIT_SKILL_DATA * CGameEntityData::get_skill | ( | const int | i | ) |