|
@@ -2,6 +2,7 @@
|
|
using System.Collections.Generic;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using System.Threading.Tasks;
|
|
using MafiaTelegramBot.Controllers;
|
|
using MafiaTelegramBot.Controllers;
|
|
|
|
+using MafiaTelegramBot.Resources;
|
|
|
|
|
|
namespace MafiaTelegramBot.DataBase
|
|
namespace MafiaTelegramBot.DataBase
|
|
{
|
|
{
|
|
@@ -13,8 +14,10 @@ namespace MafiaTelegramBot.DataBase
|
|
public int Games { get; set; } = 0;
|
|
public int Games { get; set; } = 0;
|
|
public string NickName { get; set; } = "";
|
|
public string NickName { get; set; } = "";
|
|
public int Wins { get; set; } = 0;
|
|
public int Wins { get; set; } = 0;
|
|
- public Dictionary<string, int> RoleGames = new();
|
|
|
|
- public Dictionary<string, int> RoleWins = new();
|
|
|
|
|
|
+ public Dictionary<Roles, int> RoleGames = new();
|
|
|
|
+ public Dictionary<Roles, int> RoleWins = new();
|
|
|
|
+
|
|
|
|
+ public Roles CurrentRole = Roles.None;
|
|
|
|
|
|
private string _roomKey = "";
|
|
private string _roomKey = "";
|
|
|
|
|