Esempio n. 1
0
        public void _init()
        {
            _title_lab = new ELabel("状态变更", 50);

            _attribute_lab = new ELabel("指定状态:", 50);
            _value_popup   = new EEnumPopup(200);
            _value_popup.SetData(E_GLOBAL_EVT.buff_attach);
        }
Esempio n. 2
0
        public void _init()
        {
            _trigger_event_lab   = new ELabel("触发事件:", 50);
            _trigger_event_popup = new EStringPopup("", 200);

            List <StringPopupInfo> info = GetPop();

            _trigger_event_popup.SetData(info);

            _condition_lab   = new ELabel("触发条件:", 50);
            _condition_popup = new EEnumPopup(200);
            _condition_popup.SetData(E_GLOBAL_EVT.none);
        }
Esempio n. 3
0
        public void _init()
        {
            _title_lab = new ELabel("动作", 50);

            _attribute_lab = new ELabel("指定属性:", 50);
            _value_popup   = new EEnumPopup(200);
            _value_popup.SetData(E_GLOBAL_EVT.buff_attach);

            _gudingzhi_toggle = new EToggleBar("固定值", 60);
            _gudingzhi_input  = new EInput("100", 100);
            _baifenbi_toggle  = new EToggleBar("百分比", 60);
            _baifenbi_input   = new EInput("100", 100);

            _source_lab         = new ELabel("数据源:", 50);
            _value_source_popup = new EEnumPopup(200);
            _value_source_popup.SetData(E_GLOBAL_EVT.buff_attach);
        }
Esempio n. 4
0
        public void _init()
        {
            _title_lab = new ELabel("属性变更", 50);

            _attribute_lab = new ELabel("指定属性:", 50);
            _value_popup   = new EEnumPopup(200);
            _value_popup.SetData(E_CharAttributeRegion.anti_cri);

            _gudingzhi_toggle = new EToggleBar("固定值", 100);
            _gudingzhi_input  = new EIntInput(1, 100);
            _baifenbi_toggle  = new EToggleBar("百分比(100制)", 100);
            _baifenbi_input   = new EIntInput(100, 100);

            _source_lab         = new ELabel("数据源:", 50);
            _value_source_popup = new EEnumPopup(200);
            _value_source_popup.SetData(E_GLOBAL_EVT.buff_attach);
        }
Esempio n. 5
0
        public void _init()
        {
            _buff_id_input = new ELabelIntInput("模板Id", 70, 1001, 200);

            _des_title_lab = new ELabel("模板描述", 70);
            _des_text_area = new ETextArea(200, 18 * 4);

            _add_effect_btn          = new EButton("添加效果", 70);
            _add_effect_btn.OnClick += AddEffect;

            _effect_popup = new EEnumPopup(200);
            _effect_popup.SetData(E_EffectType.attribute);

            duration_input      = new ELabelIntInput("持续时间(ms)", 100, 1000, 100);
            interval_time_input = new ELabelIntInput("间隔时间(ms)", 100, 1000, 100);
            max_layer_input     = new ELabelIntInput("最大层级", 100, 1, 100);
            _scroll_view        = new EScrollView(Ew - 20, Eh - 100);

            _save_btn          = new EButton("保存", 50);
            _save_btn.OnClick += OnSaveInfo;
            //_scroll_view.SetBg(true);
        }
Esempio n. 6
0
        public void _init()
        {
            _title_lab     = new ELabel("效果描述:", 70);
            _des_text_area = new ETextArea(270, 18 * 3);

            _trigger_item       = new ETriggerItem(Ew - 20, 55);
            _target_select_item = new ETargetSelectorItem(Ew - 20, 200);

            _overlay_lab   = new ELabel("叠加效果:", 70);
            _overlay_popup = new EEnumPopup(200);
            _overlay_popup.SetData(E_EffectOverlayType.can_overlay_can_refresh);

            _remove_btn = new EButton("X", 20);

            if (_eff_type == E_EffectType.attribute)
            {
                _e_component = new EAttributeItem(Ew - 20, 115);
            }
            else if (_eff_type == E_EffectType.value)
            {
                _e_component = new EValueItem(Ew - 20, 115);
            }
        }