Finished playerdata endpoint aside from donation stuff and bug testing, moved what controllers use out to services
This commit is contained in:
@@ -35,6 +35,8 @@ namespace TOOHUCardAPI.DTO.PlayerData
|
||||
[JsonProperty("is_first_win")]public int IsFirstWin { get; set; }
|
||||
[JsonProperty("key_use_count")] public int KeyUseCount { get; set; }
|
||||
[JsonProperty("power_max_total")] public int PowerMaxTotal { get; set; }
|
||||
[JsonProperty("pet_model")] public string PetModel { get; set; }
|
||||
[JsonProperty("pet_effect")] public string PetEffect { get; set; }
|
||||
|
||||
public Dictionary<string, object> ToDynamicProperties()
|
||||
{
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace TOOHUCardAPI.DTO.PlayerData
|
||||
{
|
||||
public class PlayerDataSavePetCustomRequest : AbstractPlayerTargetedRequest
|
||||
{
|
||||
[JsonProperty("pet_model")]
|
||||
public string PetModel { get; set; }
|
||||
[JsonProperty("pet_effect")]
|
||||
public string PetEffect { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user