QcVillagerLooks Namespace
What a villager looks like (decision E-411): the look of its village style (the default look of its species, villagers/<name>.json, for a style without one), its profession's outfit (the style's outfit with the profession's layers, QcVillagerOutfits) and hat in place of the style's hair, and one of each of the style's hair styles and colours drawn from the villager's seed. More...
| Header: | #include <server/villages/QcVillagerLooks.h> |
Functions
| QcAppearance | appearanceOf(const QcContentRegistry &content, QcCreatureKindId mobType, const QcVillagerRecord &villager) |
Detailed Description
The server sends it with the villager (QcMsg::EntitySpawn::appearance).
Function Documentation
QcAppearance QcVillagerLooks::appearanceOf(const QcContentRegistry &content, QcCreatureKindId mobType, const QcVillagerRecord &villager)
Returns the look of villager, a creature of kind mobType of content.