1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- using System;
- using System.Collections.Generic;
- using Telegram.Bot.Types.Payments;
- namespace MafiaTelegramBot.Resources
- {
- public static class Constants
- {
- public const bool DEBUG = false;
-
- public const int PLAYER_LIMITS_MIN = DEBUG ? 1 : 6;
- public const int MEMORY_CLEANER_INTERVAL = 60 * 60 * 1000;
- public const int MEMORY_CLEANER_PLAYERS_COUNT = DEBUG ? 1 : 6;
- // ReSharper disable once InconsistentNaming
- public static readonly TimeSpan PLAYER_INACTIVE_INTERVAL = new(0, 40, 0);
- public const int MINUTES_UNTIL_DISSOLVE = 10;
- public const int MAX_SHOWING_ROOMS = 10;
-
- public const string SHOP_CURRENCY = "RUB";
- // ReSharper disable once InconsistentNaming
- public static List<LabeledPrice> RANDOM_ROLE_PRICE = new()
- {
- new LabeledPrice {Label = "100 рублей", Amount = 10000}
- };
- public const bool ENABLE_AUTO_VOTING = !DEBUG;
- public const int FIRST_NIGHT_INTERVAL = DEBUG ? 1*1000 : 10 * 1000;
- public const int PUT_UP_VOTE_INTERVAL = DEBUG ? 1*1000 : 20 * 1000;
- public const int VOTE_KILL_INTERVAL = DEBUG ? 1*1000 : 20 * 1000;
- public const int NIGHT_ACTION_INTERVAL = DEBUG ? 1*1000 : 60 * 1000;
- public const int DEFENCE_INTERVAL = DEBUG ? 1*1000 : 30 * 1000;
- public const int DAY_SPEAK_INTERVAL = DEBUG ? 1*1000 : 60 * 1000;
- public const int DISPATCH_SPEAK_INTERVAL = DEBUG ? 1*1000 : 60 * 1000;
- public const int DISCUSSION_INTERVAL = DEBUG ? 1*1000 : 60 * 1000;
- public const int ROOM_CODE_LENGTH = 6;
-
-
- public const int PUBLIC = 0;
- public const int PRIVATE = 1;
- public const int STANDARD = 0;
- public const int EXTENDED = 1;
- public const int NORMAL = 0;
- public const int RANKING = 1;
- }
- }
|