Constants.cs 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using System;
  2. using System.Collections.Generic;
  3. using Telegram.Bot.Types.Payments;
  4. namespace MafiaTelegramBot.Resources
  5. {
  6. public static class Constants
  7. {
  8. public const int PLAYER_LIMITS_MIN = 1; //6;
  9. public const int MEMORY_CLEANER_INTERVAL = 60 * 60 * 1000;
  10. // ReSharper disable once InconsistentNaming
  11. public static readonly TimeSpan PLAYER_INACTIVE_INTERVAL = new(0, 40, 0);
  12. public const int MINUTES_UNTIL_DISSOLVE = 10;
  13. public const int PLAYER_LIMITS_MAX = 16;
  14. public const int MAX_SHOWING_ROOMS = 10;
  15. public const string SHOP_CURRENCY = "RUB";
  16. // ReSharper disable once InconsistentNaming
  17. public static List<LabeledPrice> RANDOM_ROLE_PRICE = new()
  18. {
  19. new LabeledPrice {Label = "100 рублей", Amount = 10000}
  20. };
  21. public const bool ENABLE_AUTO_VOTING = false;
  22. public const int FIRST_NIGHT_INTERVAL = 10 * 100;
  23. public const int PUT_UP_VOTE_INTERVAL = 20 * 1000;
  24. public const int VOTE_KILL_INTERVAL = 20 * 1000;
  25. public const int NIGHT_ACTION_INTERVAL = 60 * 1000;
  26. public const int DEFENCE_INTERVAL = 90 * 100;
  27. public const int SPEAK_INTERVAL = 60 * 100;
  28. public const int DISCUSSION_INTERVAL = 60 * 100;
  29. public const int ROOM_CODE_LENGTH = 6;
  30. public const int PUBLIC = 0;
  31. public const int PRIVATE = 1;
  32. public const int STANDARD = 0;
  33. public const int EXTENDED = 1;
  34. public const int NORMAL = 0;
  35. public const int RANKING = 1;
  36. }
  37. }