provide localised cargo name for market sell
This commit is contained in:
parent
6dbc466713
commit
d82d672df6
@ -17,6 +17,10 @@
|
||||
/// </summary>
|
||||
public string Type { get; set; }
|
||||
/// <summary>
|
||||
/// Localised name of the cargo sold, may be null.
|
||||
/// </summary>
|
||||
public string TypeLocalised { get; set; }
|
||||
/// <summary>
|
||||
/// Price per unit
|
||||
/// </summary>
|
||||
public int SellPrice { get; set; }
|
||||
@ -35,6 +39,7 @@
|
||||
|
||||
protected override void Initialise() {
|
||||
Type = JSON.Value<string>("Type") ?? "";
|
||||
TypeLocalised = JSON.Value<string>("Type_Localised") ?? "";
|
||||
TotalSale = JSON.Value<int?>("TotalSale") ?? 0;
|
||||
Count = JSON.Value<int?>("Count") ?? 0;
|
||||
AvgPricePaid = JSON.Value<int?>("AvgPricePaid") ?? 0;
|
||||
|
Loading…
Reference in New Issue
Block a user