* Get the surname of the president with the given seed. * @param seed The seed the surname was generated from. * @return The surname. */
| 1958 | * @return The surname. |
| 1959 | */ |
| 1960 | static std::string_view GetSurname(uint32_t seed) |
| 1961 | { |
| 1962 | auto surname_options = GetSurnameOptions(); |
| 1963 | return surname_options[surname_options.size() * GB(seed, 16, 8) >> 8]; |
| 1964 | } |
| 1965 | |
| 1966 | static void GenAndCoName(StringBuilder &builder, uint32_t seed) |
| 1967 | { |
no test coverage detected