Пример #1
0
        public DataManager(PluginMain _plugin)
        {
            plugin   = _plugin;
            settings = new PluginSettings(this);

            ACTTabControl ctl = plugin.ACTTabControl;

            settings.AddControlSetting("SoundEnable", ctl.checkSoundEnable);
            settings.AddControlSetting("ViewVisible", ctl.checkViewVisible);
            settings.AddControlSetting("ViewMouseEnable", ctl.checkViewMouseEnable);
            settings.AddControlSetting("ViewX", ctl.udViewX);
            settings.AddControlSetting("ViewY", ctl.udViewY);
            // 互換性のため OpacityPercentage で保存
            //settings.AddControlSetting("Opacity", ctl.trackBarOpacity);
            settings.AddIntSetting("OpacityPercentage");
        }
Пример #2
0
        public DataManager(PluginMain _plugin)
        {
            plugin   = _plugin;
            settings = new PluginSettings(this);

            ACTTabControl ctl = plugin.ACTTabControl;

            settings.AddControlSetting("ViewVisible", ctl.checkViewVisible);
            settings.AddControlSetting("ViewMouseEnable", ctl.checkViewMouseEnable);
            settings.AddControlSetting("ViewLineCount", ctl.udViewLineCount);
            settings.AddControlSetting("ViewX", ctl.udViewX);
            settings.AddControlSetting("ViewY", ctl.udViewY);
            settings.AddControlSetting("FileDir", ctl.txtFileDir);
            settings.AddControlSetting("FileName", ctl.txtFileName);
            settings.AddControlSetting("Opacity", ctl.trackBarOpacity);
            settings.AddControlSetting("PlayerName", plugin.SkillView.txtPlayerName);

            settings.AddStringSetting("LastLoadFile");
        }