* Fix item repair cost formula * Add "RequestUpdateAvailableFreeLoadout" function (WIP) * Fix item sell formula * Fix item stack split on sell * Fix contract progression counting for objectives other than owned items * Refactor balance into a proper struct * Separate and update Season 2 and Season 3 data
29 lines
1.1 KiB
C#
29 lines
1.1 KiB
C#
using System.Text.Json.Serialization;
|
|
using Prospect.Server.Api.Models.Client.Data;
|
|
using Prospect.Server.Api.Models.Data;
|
|
|
|
namespace Prospect.Server.Api.Models.Client;
|
|
|
|
public class FGetUserInventoryResult
|
|
{
|
|
/// <summary>
|
|
/// [optional] Array of inventory items belonging to the user.
|
|
/// </summary>
|
|
[JsonPropertyName("Inventory")]
|
|
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
|
|
public List<FItemInstance>? Inventory { get; set; }
|
|
|
|
/// <summary>
|
|
/// [optional] Array of virtual currency balance(s) belonging to the user.
|
|
/// </summary>
|
|
[JsonPropertyName("VirtualCurrency")]
|
|
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
|
|
public PlayerBalance? VirtualCurrency { get; set; }
|
|
|
|
/// <summary>
|
|
/// [optional] Array of virtual currency balance(s) belonging to the user.
|
|
/// </summary>
|
|
[JsonPropertyName("VirtualCurrencyRechargeTimes")]
|
|
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
|
|
public Dictionary<string, FVirtualCurrencyRechargeTime>? VirtualCurrencyRechargeTimes { get; set; }
|
|
} |