public static ListView <ResHeroCfgInfo> GetAllHeroListAtShop()
 {
     if (CHeroDataFactory.m_CfgHeroShopList == null)
     {
         CHeroDataFactory.m_CfgHeroShopList = new ListView <ResHeroCfgInfo>();
     }
     if (CHeroDataFactory.m_CfgHeroShopList.Count > 0)
     {
         CHeroDataFactory.m_CfgHeroShopList.Clear();
     }
     GameDataMgr.heroDatabin.Accept(delegate(ResHeroCfgInfo x)
     {
         if (GameDataMgr.IsHeroAvailableAtShop(x.dwCfgID) && (!CSysDynamicBlock.bLobbyEntryBlocked || x.bIOSHide == 0))
         {
             CHeroDataFactory.m_CfgHeroShopList.Add(x);
         }
     });
     return(CHeroDataFactory.m_CfgHeroShopList);
 }