public void Post(PingDTO ping) { var roll = Roll(2, 6); var rollStr = string.Join(" ", roll); var message = $"{roll.Sum()} [ {rollStr} ]"; ActionEventQueue.Instance.Value.Add(new ResponseDTO { Message = message, Nickname = ping.Nickname, UserGuid = ping.UserGuid, Type = Types.Roll }); }
public void Open(PingDTO info) { UserManager.Instance.Value.OpenVoting(info.UserGuid, info.Nickname); }
public void Close(PingDTO info) { UserManager.Instance.Value.CloseVoting(info.UserGuid, info.Nickname); }
public void Post(PingDTO ping) { UserManager.Instance.Value.Ping(ping.UserGuid, ping.Nickname); }