示例#1
0
        private void ShowListItem()
        {
            int       i    = this.parent.GetCurrentRewardIndex() - 1;
            UXElement item = this.gridRewardItems.GetItem(i);

            if (item == null)
            {
                return;
            }
            this.UpdateRewardCount();
            item.Visible = true;
            item.SetTrigger("ShowListItem");
        }
        private void ShowListItem()
        {
            int       i    = this.parent.GetCurrentRewardIndex() - 1;
            UXElement item = this.gridRewardItems.GetItem(i);

            if (item == null)
            {
                Service.Get <StaRTSLogger>().Error("ShowUnlockShardCard Unable to find deployable");
                return;
            }
            this.UpdateRewardCount();
            item.Visible = true;
            item.SetTrigger("ShowListItem");
        }