/// <summary> /// Get all ShopTowerDetailModels /// </summary> public static Il2CppSystem.Collections.Generic.List <ShopTowerDetailsModel> GetAllShopTowerDetails(this GameModel model) { Il2CppSystem.Collections.Generic.List <TowerDetailsModel> towerDetails = model.GetAllTowerDetails(); Il2CppSystem.Collections.Generic.List <TowerDetailsModel> results = towerDetails.Where(detail => detail.GetShopTowerDetails() != null); return(results.DuplicateAs <TowerDetailsModel, ShopTowerDetailsModel>()); }