progress
This commit is contained in:
parent
9ef43bb9f6
commit
0a4b8ebeb2
14 changed files with 157 additions and 28 deletions
|
@ -8,6 +8,8 @@ namespace Sledgemapper.Api.Commands
|
|||
public double Timestamp { get; private set; }
|
||||
public string SessionName { get; private set; }
|
||||
public int UserId { get; set; }
|
||||
public int SessionId {get;set;}
|
||||
|
||||
|
||||
public BaseCommand(string sessionName, int userId)
|
||||
{
|
||||
|
@ -15,5 +17,12 @@ namespace Sledgemapper.Api.Commands
|
|||
SessionName = sessionName;
|
||||
UserId=userId;
|
||||
}
|
||||
|
||||
public BaseCommand(int sessionId, int userId)
|
||||
{
|
||||
Timestamp = DateTimeOffset.Now.ToUnixTimeMilliseconds();
|
||||
SessionId = sessionId;
|
||||
UserId=userId;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue