more namespaces and BotBase migrated
This commit is contained in:
@@ -4,9 +4,101 @@ namespace Core.Models.Eft.Common.Tables;
|
||||
|
||||
public class BotBase
|
||||
{
|
||||
|
||||
[JsonPropertyName("_id")]
|
||||
public string Id { get; set; }
|
||||
[JsonPropertyName("aid")]
|
||||
public int Aid { get; set; }
|
||||
/** SPT property - use to store player id - TODO - move to AID ( account id as guid of choice) */
|
||||
[JsonPropertyName("sessionId")]
|
||||
public string SessionId { get; set; }
|
||||
[JsonPropertyName("savage")]
|
||||
public string? Savage { get; set; }
|
||||
[JsonPropertyName("karmaValue")]
|
||||
public int KarmaValue { get; set; }
|
||||
[JsonPropertyName("Info")]
|
||||
public Info Info { get; set; }
|
||||
[JsonPropertyName("Customization")]
|
||||
public Customization Customization { get; set; }
|
||||
[JsonPropertyName("Health")]
|
||||
public Health Health { get; set; }
|
||||
[JsonPropertyName("Inventory")]
|
||||
public Inventory Inventory { get; set; }
|
||||
[JsonPropertyName("Skills")]
|
||||
public Skills Skills { get; set; }
|
||||
[JsonPropertyName("Stats")]
|
||||
public Stats Stats { get; set; }
|
||||
[JsonPropertyName("Encyclopedia")]
|
||||
public Dictionary<string, bool> Encyclopedia { get; set; }
|
||||
[JsonPropertyName("TaskConditionCounters")]
|
||||
public Dictionary<string, TaskConditionCounter> TaskConditionCounters { get; set; }
|
||||
[JsonPropertyName("InsuredItems")]
|
||||
public List<InsuredItem> InsuredItems { get; set; }
|
||||
[JsonPropertyName("Hideout")]
|
||||
public Hideout Hideout { get; set; }
|
||||
[JsonPropertyName("Quests")]
|
||||
public List<QuestStatus> Quests { get; set; }
|
||||
[JsonPropertyName("TradersInfo")]
|
||||
public Dictionary<string, TraderInfo> TradersInfo { get; set; }
|
||||
[JsonPropertyName("UnlockedInfo")]
|
||||
public UnlockedInfo UnlockedInfo { get; set; }
|
||||
[JsonPropertyName("RagfairInfo")]
|
||||
public RagfairInfo RagfairInfo { get; set; }
|
||||
/** Achievement id and timestamp */
|
||||
[JsonPropertyName("Achievements")]
|
||||
public Dictionary<string, int> Achievements { get; set; }
|
||||
[JsonPropertyName("RepeatableQuests")]
|
||||
public List<PmcDataRepeatableQuest> RepeatableQuests { get; set; }
|
||||
[JsonPropertyName("Bonuses")]
|
||||
public List<Bonus> Bonuses { get; set; }
|
||||
[JsonPropertyName("Notes")]
|
||||
public Notes Notes { get; set; }
|
||||
[JsonPropertyName("CarExtractCounts")]
|
||||
public Dictionary<string, int> CarExtractCounts { get; set; }
|
||||
[JsonPropertyName("CoopExtractCounts")]
|
||||
public Dictionary<string, int> CoopExtractCounts { get; set; }
|
||||
[JsonPropertyName("SurvivorClass")]
|
||||
public SurvivorClass SurvivorClass { get; set; }
|
||||
[JsonPropertyName("WishList")]
|
||||
public Dictionary<string, int> WishList { get; set; }
|
||||
[JsonPropertyName("moneyTransferLimitData")]
|
||||
public MoneyTransferLimits MoneyTransferLimitData { get; set; }
|
||||
/** SPT specific property used during bot generation in raid */
|
||||
[JsonPropertyName("sptIsPmc")]
|
||||
public bool? IsPmc { get; set; }
|
||||
}
|
||||
|
||||
public class MoneyTransferLimits
|
||||
{
|
||||
// Resets every 24 hours in live
|
||||
/** TODO: Implement */
|
||||
[JsonPropertyName("nextResetTime")]
|
||||
public double NextResetTime { get; set; }
|
||||
[JsonPropertyName("remainingLimit")]
|
||||
public double RemainingLimit { get; set; }
|
||||
[JsonPropertyName("totalLimit")]
|
||||
public double TotalLimit { get; set; }
|
||||
[JsonPropertyName("resetInterval")]
|
||||
public double ResetInterval { get; set; }
|
||||
}
|
||||
|
||||
public class TaskConditionCounter
|
||||
{
|
||||
[JsonPropertyName("id")]
|
||||
public string Id { get; set; }
|
||||
[JsonPropertyName("type")]
|
||||
public string Type { get; set; }
|
||||
[JsonPropertyName("value")]
|
||||
public double Value { get; set; }
|
||||
/** Quest id */
|
||||
[JsonPropertyName("sourceId")]
|
||||
public string SourceId { get; set; }
|
||||
}
|
||||
|
||||
public class UnlockedInfo
|
||||
{
|
||||
[JsonPropertyName("unlockedProductionRecipe")]
|
||||
public List<string> UnlockedProductionRecipe { get; set; }
|
||||
}
|
||||
|
||||
public class Info
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Types.Models.Spt.Quests;
|
||||
namespace Core.Models.Spt.Quests;
|
||||
|
||||
public class GetRepeatableByIdResult
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Types.Models.Spt.Ragfair;
|
||||
namespace Core.Models.Spt.Ragfair;
|
||||
|
||||
public class RagfairServerPrices
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Types.Models.Spt.Ragfair;
|
||||
namespace Core.Models.Spt.Ragfair;
|
||||
|
||||
public class TplWithFleaPrice
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Types.Models.Spt.Repeatable;
|
||||
namespace Core.Models.Spt.Repeatable;
|
||||
|
||||
public class QuestRewardValues
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Types.Models.Spt.Repeatable;
|
||||
namespace Core.Models.Spt.Repeatable;
|
||||
|
||||
public class QuestTypePool
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// using System.Collections.Generic;
|
||||
//
|
||||
// namespace Types.Models.Spt.Server;
|
||||
// namespace Core.Models.Spt.Server;
|
||||
//
|
||||
// public class ExhaustableArray<T>
|
||||
// {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Types.Models.Spt.Server;
|
||||
namespace Core.Models.Spt.Server;
|
||||
|
||||
public class LocaleBase
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Types.Models.Spt.Server;
|
||||
namespace Core.Models.Spt.Server;
|
||||
|
||||
public class Locations
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Types.Models.Spt.Server;
|
||||
namespace Core.Models.Spt.Server;
|
||||
|
||||
public class ServerBase
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Types.Models.Spt.Server;
|
||||
namespace Core.Models.Spt.Server;
|
||||
|
||||
public class SettingsBase
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user