Now supports saving card groups, this is probably the ugliest code ive ever written but anything to avoid 20 cardgroup properties. we should see if there's a better way, it could probably be a lot cleaner
This commit is contained in:
@@ -1,10 +1,20 @@
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace TOOHUCardAPI.DTO
|
||||
{
|
||||
public class PlayerDataGetRequestObject
|
||||
public class PlayerDataGetRequestObject : AbstractRequest
|
||||
{
|
||||
public string Method { get; set; }
|
||||
public Dictionary<string, string> Ids;
|
||||
}
|
||||
|
||||
public class PlayerDataSaveCardGroupRequestObject: AbstractRequest
|
||||
{
|
||||
public string SteamId { get; set; }
|
||||
public string UserId { get; set; }
|
||||
[JsonProperty("group_key")]
|
||||
public string GroupKey { get; set; }
|
||||
[JsonProperty("group_data")]
|
||||
public string GroupData { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user