std::string unit_race::generate_name(
		unit_race::GENDER gender, rand_rng::simple_rng* rng) const
{
	return utils::wstring_to_string(
		markov_generate_name(next_[gender], chain_size_, 12, rng));
}
Пример #2
0
std::string unit_race::generate_name(
		unit_race::GENDER gender) const
{
	return unicode_cast<utf8::string>(
		markov_generate_name(next_[gender], chain_size_, 12));
}