public void LoadShopDiamondItemInfo() { List <ShopDiamondData> shopDiamondDataList = ShopDiamondData.GetShopDiamondData().GetValues(); int shopDiamondDataCount = shopDiamondDataList.Count; for (int i = 0; i < shopDiamondDataCount; i++) { ShopDiamondItemInfo diamondItemInfo = new ShopDiamondItemInfo(shopDiamondDataList[i]); _shopDiamondItemInfoDic.Add(shopDiamondDataList[i].id, diamondItemInfo); } }
public ShopDiamondItemInfo(ShopDiamondData shopDiamondData) { _shopDiamondData = shopDiamondData; }