Ejemplo n.º 1
0
        public SpellEditorForm()
        {
            InitializeComponent();
            WrapperReflection.Load();

            mLogicEditor     = new SpellLogicForm();
            mConditionEditor = new ConditionForm();
            mEffectEditor    = new EffectForm();
            mBitMaskForm     = new BitMaskForm();
            Instance         = this;
        }
Ejemplo n.º 2
0
        public SpellLogicForm()
        {
            InitializeComponent();

            gSpellEventEnum = WrapperReflection.gAssembly.GetType("SPELL.SPELL_EVENT");

            this.eventsList.Columns.Add("事件", 200);
            this.srvCondList.Columns.Add("条件", 200);
            this.srvCondList.Columns.Add("内容", 500);
            this.clientCondList.Columns.Add("条件", 200);
            this.clientCondList.Columns.Add("内容", 500);
            this.srvEffectList.Columns.Add("效果", 200);
            this.srvEffectList.Columns.Add("内容", 500);
            this.clientEffectList.Columns.Add("效果", 200);
            this.clientEffectList.Columns.Add("内容", 500);

            SpellEventDescDic = DataTableSerializer.EnumToDic(gSpellEventEnum);

            this.EventsComboBox.DataSource = SpellEventDescDic.Values.ToArray();
            Instance = this;
        }