sledgemapper/Sledgemapper.Api/Commands/GetCampaignPlayersCommand.cs
Michele Scandura 75dad86ba4
All checks were successful
continuous-integration/drone/push Build is passing
New campaign system
2021-09-23 09:44:56 +01:00

21 lines
No EOL
618 B
C#

using System;
using System.Collections.Generic;
using MediatR;
using Sledgemapper.Shared.Entities;
namespace Sledgemapper.Api.Commands
{
public class GetCampaignPlayersCommand : IRequest<List<Player>>
{
public double Timestamp { get; private set; }
public string CampaignName { get; private set; }
public string UserId { get; private set; }
public GetCampaignPlayersCommand(string campaingName, string userId)
{
Timestamp = DateTimeOffset.Now.ToUnixTimeMilliseconds();
CampaignName = campaingName;
UserId = userId;
}
}
}