Example #1
0
        public void OnClickShop()
        {
            var arg = new StoreArguments {
                Tab = 106
            };
            var e = new Show_UI_Event(UIConfig.StoreEquip, arg);

            EventDispatcher.Instance.DispatchEvent(e);
        }
    private void OnDrugStore()
    {
        var arg = new StoreArguments {
            Tab = 0
        };
        var e = new Show_UI_Event(UIConfig.StoreUI, arg);

        EventDispatcher.Instance.DispatchEvent(e);
    }
Example #3
0
        private void OnMedicineShop()
        {
            var _arg = new StoreArguments {
                Tab = 0
            };
            var _e = new Show_UI_Event(UIConfig.StoreUI, _arg);

            EventDispatcher.Instance.DispatchEvent(_e);
        }
Example #4
0
        public void OnClickMedicineWarn()
        {
            var arg = new StoreArguments {
                Tab = 0
            };
            var e = new Show_UI_Event(UIConfig.StoreUI, arg);

            EventDispatcher.Instance.DispatchEvent(e);
        }
Example #5
0
        public void OnClickDepotOpen()
        {
            //DepotFrame.gameObject.SetActive(true);
            SetLandCollider(false);
            //NewScrollView.ResetPosition();
            //LandMenu.SetActive(false);
            var arg = new StoreArguments {
                Tab = 2
            };
            var e = new Show_UI_Event(UIConfig.StoreFarm, arg);

            EventDispatcher.Instance.DispatchEvent(e);
        }
Example #6
0
        public void OnClickBtnShop()
        {
            var arg = new StoreArguments {
                Tab = 105
            };
            var e = new Show_UI_Event(UIConfig.StoreEquip, arg);

            EventDispatcher.Instance.DispatchEvent(e);

            //潜规则引导标记位
            if (!PlayerDataManager.Instance.GetFlag(532))
            {
                var list = new Int32Array();
                list.Items.Add(532);

                var list1 = new Int32Array();
                list1.Items.Add(531);
                PlayerDataManager.Instance.SetFlagNet(list, list1);
            }
        }