MapInfo* CGameConfig::getMapInfoById( int nId )
{
    for (map<int, MapInfo>::iterator it = m_mapMapInfo.begin(); it != m_mapMapInfo.end(); it++)
    {
        if (nId == it->first)
        {
            return &(it->second);
        }
    }
    CCLog("error: CGameConfig::getMapInfoById");
    return NULL;
}

 

相关文章:

  • 2022-02-11
  • 2021-06-25
  • 2021-09-20
  • 2021-09-20
  • 2019-11-05
  • 2021-11-19
猜你喜欢
  • 2021-08-06
  • 2021-06-12
  • 2021-08-11
  • 2022-02-18
  • 2022-02-05
  • 2021-10-06
相关资源
相似解决方案