Added new ragfair properties
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
using SptCommon.Annotations;
|
||||
using Core.Models.Eft.Common;
|
||||
using Core.Models.Eft.Common.Tables;
|
||||
using Core.Models.Eft.Hideout;
|
||||
using Core.Models.Eft.ItemEvent;
|
||||
using Core.Models.Enums;
|
||||
using Core.Models.Spt.Config;
|
||||
|
||||
@@ -744,6 +744,12 @@ public record RagfairInfo
|
||||
|
||||
[JsonPropertyName("offers")]
|
||||
public List<RagfairOffer>? Offers { get; set; }
|
||||
|
||||
[JsonPropertyName("sellSum")]
|
||||
public double? SellSum { get; set; }
|
||||
|
||||
[JsonPropertyName("notSellSum")]
|
||||
public double? NotSellSum { get; set; }
|
||||
}
|
||||
|
||||
public record Bonus
|
||||
|
||||
@@ -111,7 +111,7 @@ namespace Core.Servers
|
||||
offer.Locked = true;
|
||||
}
|
||||
|
||||
public RagfairOffer GetOffer(string offerId) {
|
||||
public RagfairOffer? GetOffer(string offerId) {
|
||||
return _ragfairOfferService.GetOfferByOfferId(offerId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user