| 1498 | } |
| 1499 | |
| 1500 | String Humanoid::getFacialMaskFromIdentity() const { |
| 1501 | if (m_identity.facialMaskType.empty()) |
| 1502 | return ""; |
| 1503 | return strf("/humanoid/{}/{}/{}.png", |
| 1504 | m_identity.imagePath ? *m_identity.imagePath : m_identity.species, |
| 1505 | m_identity.facialMaskGroup, |
| 1506 | m_identity.facialMaskType); |
| 1507 | } |
| 1508 | |
| 1509 | String Humanoid::getBackArmFromIdentity() const { |
| 1510 | return strf("/humanoid/{}/backarm.png", m_identity.imagePath ? *m_identity.imagePath : m_identity.species); |