MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / getFacialHairFromIdentity

Method getFacialHairFromIdentity

source/game/StarHumanoid.cpp:1491–1498  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1489}
1490
1491String Humanoid::getFacialHairFromIdentity() const {
1492 if (m_identity.facialHairType.empty())
1493 return "";
1494 return strf("/humanoid/{}/{}/{}.png",
1495 m_identity.imagePath ? *m_identity.imagePath : m_identity.species,
1496 m_identity.facialHairGroup,
1497 m_identity.facialHairType);
1498}
1499
1500String Humanoid::getFacialMaskFromIdentity() const {
1501 if (m_identity.facialMaskType.empty())

Callers 1

renderMethod · 0.80

Calls 2

strfFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected