public void ShowItemStatus() { if (!DisneyStoreUtils.IsItemMultiPurchase(itemData) && DisneyStoreUtils.IsItemOwned(itemData)) { PriceTagSpriteSelector.gameObject.SetActive(value: false); if (OwnedPanel != null) { OwnedPanel.SetActive(value: true); } return; } if (OwnedPanel != null) { OwnedPanel.SetActive(value: false); } showPriceTag(itemData); showMemberStatus(); }
public void ShowConfirmation(DisneyStoreItemData item, Sprite icon, DisneyStoreFranchiseItem shopItem) { PrefabContentKey prefabKey = OwnedConfirmationPrefabKey; bool flag = DisneyStoreUtils.IsItemMultiPurchase(item); if (DisneyStoreUtils.IsIglooReward(item)) { prefabKey = IglooConfirmationPrefabKey; } else if (flag) { prefabKey = ConsumableConfirmationPrefabKey; } else if (!DisneyStoreUtils.IsItemOwned(item)) { prefabKey = PurchaseConfirmationPrefabKey; } CoroutineRunner.Start(loadConfirmation(prefabKey, item, icon, shopItem), this, ""); }