Exemplo n.º 1
0
        public void InfoOneBtn()
        {
            var e = new UIEvent_WishingInfoItem();

            e.Type = 0;
            EventDispatcher.Instance.DispatchEvent(e);
        }
Exemplo n.º 2
0
        public void ItemClick()
        {
            if (listItemLogic != null)
            {
                var itemData = listItemLogic.Item as BagItemDataModel;

                if (itemData.ItemId != -1)
                {
                    var e = new UIEvent_WishingInfoItem();
                    e.item = itemData;
                    e.Type = 1;
                    EventDispatcher.Instance.DispatchEvent(e);
                }
            }
        }