formatting, added missing props
This commit is contained in:
@@ -147,7 +147,7 @@ public class QuestHelper(
|
||||
/// <returns>true if standing is high enough to fulfill quest requirement</returns>
|
||||
public bool TraderStandingRequirementCheck(QuestCondition questProperties, PmcData profile)
|
||||
{
|
||||
var requiredLoyaltyLevel = int.Parse(questProperties.Value.ToString());
|
||||
var requiredLoyaltyLevel = int.Parse(questProperties.Value.ToString());
|
||||
if (!profile.TradersInfo.TryGetValue(questProperties.Target.ToString(), out var trader))
|
||||
{
|
||||
_logger.Error(
|
||||
@@ -958,7 +958,6 @@ public class QuestHelper(
|
||||
return questsToShowPlayer;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Create a clone of the given quest array with the rewards updated to reflect the
|
||||
* given game version
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Eft.Common.Tables;
|
||||
using Core.Models.Utils;
|
||||
|
||||
namespace Core.Models.Eft.ItemEvent;
|
||||
@@ -22,6 +23,9 @@ public record Daum
|
||||
|
||||
[JsonPropertyName("item")]
|
||||
public string? Item { get; set; }
|
||||
|
||||
[JsonPropertyName("items")]
|
||||
public List<Item>? Items { get; set; }
|
||||
|
||||
[JsonPropertyName("to")]
|
||||
public To? To { get; set; }
|
||||
@@ -31,6 +35,12 @@ public record Daum
|
||||
|
||||
[JsonPropertyName("fromOwner")]
|
||||
public FromOwner? FromOwner { get; set; }
|
||||
|
||||
[JsonPropertyName("qid")]
|
||||
public string? Qid { get; set; }
|
||||
|
||||
[JsonPropertyName("offer")]
|
||||
public string? Offer { get; set; }
|
||||
}
|
||||
|
||||
public record FromOwner
|
||||
|
||||
Reference in New Issue
Block a user