private bool onShopItemClickedEvent(CatalogUIEvents.ShopItemClickedEvent evt)
        {
            CatalogThemeDefinition themeByScheduelId  = Service.Get <CatalogServiceProxy>().GetThemeByScheduelId(currentTheme.scheduledThemeChallengeId);
            TemplateDefinition     templateDefinition = Service.Get <GameData>().Get <Dictionary <int, TemplateDefinition> >().Values.ToList().First((TemplateDefinition x) => x.Id == evt.ItemData.equipment.definitionId);

            Service.Get <ICPSwrveService>().Action("clothing_catalog_item", "more_details", themeByScheduelId.Title, templateDefinition.Name, evt.IsAlreadyOwned.ToString());
            return(false);
        }
예제 #2
0
 private bool onOtherShopItemClickedEvent(CatalogUIEvents.ShopItemClickedEvent evt)
 {
     removeListeners();
     return(false);
 }
 private bool onShopItemClickedEvent(CatalogUIEvents.ShopItemClickedEvent evt)
 {
     ShowShopItemPanel(evt.ScrollIndex, evt.RowIndex, evt.IsMemberUnlocked, evt.IsAlreadyOwned);
     return(false);
 }