Пример #1
0
 public Configuration()
 {
     Version             = 1;
     UpdateNotifications = UpdateNotificationsEnum.Undefined;
     DefaultRepository   = UpdateNotificationsEnum.Undefined;
     Root                  = new Folder();
     Root.Name             = I18n.Translate("internal/Configuration/local", "Local triggers");
     RepositoryRoot        = new RepositoryFolder();
     RepositoryRoot.Name   = I18n.Translate("internal/Configuration/remote", "Remote triggers");
     SfxVolumeAdjustment   = 100;
     TtsVolumeAdjustment   = 100;
     DebugLevel            = Plugin.DebugLevelEnum.Info;
     UseACTForTTS          = false;
     UseACTForSound        = false;
     UseOsClipboard        = true;
     LogNormalEvents       = true;
     FfxivLogNetwork       = false;
     TestLiveByDefault     = false;
     UseScarborough        = true;
     WarnAdmin             = true;
     StartupTriggerType    = StartupTriggerTypeEnum.Trigger;
     EventSeparator        = "";
     StartupTriggerId      = Guid.Empty;
     isnew                 = true;
     lastWrite             = DateTime.Now;
     FfxivPartyOrdering    = FfxivPartyOrderingEnum.Legacy;
     FfxivCustomPartyOrder = "19, 1, 21, 3, 32, 37, 24, 6, 28, 33, 20, 2, 22, 4, 30, 29, 34, 23, 5, 31, 38, 25, 7, 27, 26, 35, 36";
     ShowWelcome           = true;
     WindowToMonitor       = "FINAL FANTASY XIV";
 }
Пример #2
0
 public Configuration()
 {
     Version = 1;
     corruptRecoveryError = "";
     PersistentVariables  = new Variables.VariableStore();
     UpdateNotifications  = UpdateNotificationsEnum.Undefined;
     DefaultRepository    = UpdateNotificationsEnum.Undefined;
     Root                  = new Folder();
     Root.Name             = I18n.Translate("internal/Configuration/local", "Local triggers");
     RepositoryRoot        = new RepositoryFolder();
     RepositoryRoot.Name   = I18n.Translate("internal/Configuration/remote", "Remote triggers");
     SfxVolumeAdjustment   = 100;
     TtsVolumeAdjustment   = 100;
     DebugLevel            = RealPlugin.DebugLevelEnum.Info;
     UseACTForTTS          = false;
     UseACTForSound        = false;
     UseOsClipboard        = true;
     LogNormalEvents       = true;
     FfxivLogNetwork       = false;
     TestLiveByDefault     = false;
     UseScarborough        = true;
     WarnAdmin             = true;
     DeveloperMode         = false;
     LogVariableExpansions = false;
     StartupTriggerType    = StartupTriggerTypeEnum.Trigger;
     EventSeparator        = "";
     StartupTriggerId      = Guid.Empty;
     isnew                 = true;
     lastWrite             = DateTime.Now;
     FfxivPartyOrdering    = FfxivPartyOrderingEnum.Legacy;
     FfxivCustomPartyOrder = "19, 1, 21, 3, 32, 37, 24, 6, 28, 33, 20, 2, 22, 4, 30, 29, 34, 23, 5, 31, 38, 25, 7, 27, 26, 35, 36";
     ShowWelcome           = true;
     WindowToMonitor       = "FINAL FANTASY XIV";
     CacheImageExpiry      = 518400;
     CacheSoundExpiry      = 518400;
     CacheJsonExpiry       = 10080;
     CacheRepoExpiry       = 518400;
     CacheFileExpiry       = 518400;
     Substitutions         = new List <Substitution>();
 }