* Get a face code representation of a company manager face. * @param cmf The company manager face. * @return String containing face code. */
| 1477 | * @return String containing face code. |
| 1478 | */ |
| 1479 | std::string FormatCompanyManagerFaceCode(const CompanyManagerFace &cmf) |
| 1480 | { |
| 1481 | uint32_t masked_face_bits = MaskCompanyManagerFaceBits(cmf, GetCompanyManagerFaceVars(cmf.style)); |
| 1482 | return fmt::format("{}:{}", cmf.style_label, masked_face_bits); |
| 1483 | } |
| 1484 | |
| 1485 | /** |
| 1486 | * Parse a face code into a company manager face. |
no test coverage detected