Ejemplo n.º 1
0
        public async override Task<bool> InitializeAsync(Framework.Interfaces.ICore core)
        {
            var p = new PluginSettings(core);

            AddAction(ACTION_SHOW);

            core.LanguageItems.Add(new Framework.Data.LanguageItem(SettingsPanel.STR_FLYTOSPEED));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(SettingsPanel.STR_ALTITUDE));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(SettingsPanel.STR_FIXEDVIEW));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(SettingsPanel.STR_TILT));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(MapForm.STR_TITLE));

            return await base.InitializeAsync(core);
        }
Ejemplo n.º 2
0
 public PluginSettings(ICore core)
 {
     _uniqueInstance = this;
     _core           = core;
 }
Ejemplo n.º 3
0
 public PluginSettings(ICore core)
 {
     _uniqueInstance = this;
     _core = core;
 }