64 void save(pugi::xml_node& parentNode)
const;
65 void load(
const std::string& filepath);
Scene-graph node that attaches a Displayable to a parent bone slot.
Base class for all scene-graph nodes in the component hierarchy.
Abstract base class representing a file within the game data archive.
Represents an equipped item on a character model.
std::map< CharGeosets, int > itemGeosets_
void setDisplayId(int id)
std::map< int, int > modifierIdDisplayMap_
int getCustomTextureId(size_t index) const
CharRegions getRegionForTexture(GameFile *file) const
bool isCustomizableTabard() const
std::map< int, int > levelDisplayMap_
int getCustomModelId(size_t index) const
void save(pugi::xml_node &parentNode) const
void onParentSet(Component *) override
Called after the parent has been set; override for custom logic.
std::map< POSITION_SLOTS, WoWModel * > models() const
void mergeModel(CharSlots slot, int modelId, int textureId)
static std::map< std::string, int > MODELID_OFFSETS_
std::map< CharRegions, GameFile * > itemTextures_
void setModifierId(int id)
unsigned int nbLevels() const
static std::map< CharSlots, int > SLOT_LAYERS_
std::map< POSITION_SLOTS, WoWModel * > itemModels_
void updateItemModel(POSITION_SLOTS pos, int modelId, int textureId)
Core WoW .m2 model: geometry, animation, textures, and character data.
POSITION_SLOTS
Attachment point positions on a character model.
CharRegions
Texture compositing region IDs for character texture layout.
CharSlots
Character equipment slot indices.