Characters::CharacterSkinLibrary Class Reference
#include <characterskinlibrary.h>
Detailed Description
Library of all available skins of a character.(C) 2008 Radon Labs GmbH
Public Member Functions | |
CharacterSkinLibrary () | |
constructor | |
~CharacterSkinLibrary () | |
destructor | |
void | ReserveSkins (SizeT numSkins) |
reserve skins (if number of skins is known beforehand) | |
void | AddSkin (const CharacterSkin &skin) |
add a skin | |
void | ReserveSkinLists (SizeT numSkinLists) |
reserve skin lists (if number of skins is known beforehand) | |
void | AddSkinList (const CharacterSkinList &skinList) |
add a skin list | |
void | Discard () |
discard object (clears skins and skin lists) | |
SizeT | GetNumSkins () const |
get number of skins in the library | |
const CharacterSkin & | GetSkin (IndexT i) const |
get skin at index | |
bool | HasSkin (const Util::StringAtom &name) const |
return true if skin exists by name | |
const CharacterSkin & | GetSkinByName (const Util::StringAtom &name) const |
get skin by name | |
IndexT | GetSkinIndexByName (const Util::StringAtom &name) const |
get skin index by name | |
SizeT | GetNumSkinLists () const |
get number of skin lists in the library | |
const CharacterSkinList & | GetSkinList (IndexT i) const |
get skin list at index | |
bool | HasSkinList (const Util::StringAtom &name) const |
return true if skin list exists by name | |
const CharacterSkinList & | GetSkinListByName (const Util::StringAtom &name) const |
get skin list by name | |
IndexT | GetSkinListIndexByName (const Util::StringAtom &name) const |
get skin list index by name |