13 #ifndef ASSETSMANAGER_H 14 #define ASSETSMANAGER_H
Treasures * treasures()
Get treasures.
Facesets m_facesets
Cilent image variants.
AllAnimations * animations()
Get animations.
Quests * quests()
Get quests.
Represents all assets of the game.
std::function< void(archetype *, archetype *)> updateListener
Function prototype to be called when an archetype changes.
All archetypes in the game.
Facesets * facesets()
Get facesets.
Messages m_messages
Messages.
void archetypeUpdated(archetype *existing, archetype *update)
Update artifacts if needed when an archetype changes.
Archetypes::updateListener m_listener
Listener to archetypes changes.
Faces * faces()
Get faces.
The archetype structure is a set of rules on how to generate and manipulate objects which point to ar...
Archetypes * archetypes()
Get archetypes.
AllAnimations m_animations
Animations.
Messages * messages()
Get messages.
Treasures m_treasures
Treasures.
virtual ~AssetsManager()
Destructor.
Archetypes m_archetypes
Archetypes.
Available facesets for clients.
size_t dumpUndefined()
Dump through LOG undefined assets (except faces), and return the total number of referenced but not d...
AssetsManager()
Constructor.