world/source/Mortuary.cpp
// Get the number of uniques killed.
Get the number of uniques killed.
Get the number of uniques killed .
int Mortuary::get_num_uniques_killed() const
{
  uint num_killed = 0;
  for (const MortuaryCountMap::value_type& pair : creatures_killed)
  {
    if (pair.second.max == 1)
    {
      num_killed += pair.second.count;
    }
  }
  return static_cast<int>(num_killed);
}
int Mortuary :: get_num_uniques_killed ( ) const { uint num_killed = 0 ; for ( const MortuaryCountMap :: value_type & pair : creatures_killed ) { if ( pair . second . max == 1 ) { num_killed += pair . second . count ; } } return static_cast < int > ( num_killed ) ; }
Get the number of uniques killed.
Get the number of uniques killed .