コード例 #1
0
 /// <summary>
 /// Instantiate a new <see cref="WhConfig"/> class
 /// </summary>
 public WhConfig()
 {
     ListeningHost                    = "127.0.0.1";
     WebhookPort                      = 8008;
     Locale                           = "en";
     LogLevel                         = LogLevel.Trace;
     Servers                          = new Dictionary <ulong, DiscordServerConfig>();
     Database                         = new ConnectionStringsConfig();
     Urls                             = new UrlConfig();
     EventPokemonIds                  = new List <int>();
     IconStyles                       = new Dictionary <string, string>();
     StaticMaps                       = new StaticMaps();
     Twilio                           = new TwilioConfig();
     DespawnTimeMinimumMinutes        = 5;
     ReloadSubscriptionChangesMinutes = 1;
 }
コード例 #2
0
ファイル: WhConfig.cs プロジェクト: versx/WhMgr
 /// <summary>
 /// Instantiate a new <see cref="WhConfig"/> class
 /// </summary>
 public WhConfig()
 {
     ListeningHost                    = "127.0.0.1";
     WebhookPort                      = 8008;
     Locale                           = "en";
     MaxPokemonId                     = 800;
     LogLevel                         = LogLevel.Trace;
     Servers                          = new Dictionary <ulong, DiscordServerConfig>();
     Database                         = new ConnectionStringsConfig();
     Urls                             = new UrlConfig();
     EventPokemonIds                  = new List <uint>();
     EventMinimumIV                   = 90;
     IconStyles                       = new Dictionary <string, string>();
     StaticMaps                       = new Dictionary <string, string>();
     Twilio                           = new TwilioConfig();
     DespawnTimeMinimumMinutes        = 5;
     ReloadSubscriptionChangesMinutes = 1;
     MaxNotificationsPerMinute        = 10;
     CheckForDuplicates               = true;
 }