Updated properties to not be nullable + various fixes
This commit is contained in:
@@ -9,20 +9,20 @@ public record Hideout
|
||||
public Dictionary<string, object>? ExtensionData { get; set; }
|
||||
|
||||
[JsonPropertyName("areas")]
|
||||
public List<HideoutArea>? Areas { get; set; }
|
||||
public List<HideoutArea> Areas { get; set; }
|
||||
|
||||
[JsonPropertyName("customAreas")]
|
||||
public List<HideoutArea>? CustomAreas { get; set; }
|
||||
|
||||
[JsonPropertyName("customisation")]
|
||||
public HideoutCustomisation? Customisation { get; set; }
|
||||
public HideoutCustomisation Customisation { get; set; }
|
||||
|
||||
[JsonPropertyName("production")]
|
||||
public HideoutProductionData? Production { get; set; }
|
||||
public HideoutProductionData Production { get; set; }
|
||||
|
||||
[JsonPropertyName("settings")]
|
||||
public HideoutSettingsBase? Settings { get; set; }
|
||||
public HideoutSettingsBase Settings { get; set; }
|
||||
|
||||
[JsonPropertyName("qte")]
|
||||
public List<QteData>? Qte { get; set; }
|
||||
public List<QteData> Qte { get; set; }
|
||||
}
|
||||
|
||||
@@ -10,23 +10,23 @@ public record DatabaseTables
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object>? ExtensionData { get; set; }
|
||||
|
||||
public Bots.Bots? Bots { get; set; }
|
||||
public Bots.Bots Bots { get; set; }
|
||||
|
||||
public Hideout.Hideout? Hideout { get; set; }
|
||||
public Hideout.Hideout Hideout { get; set; }
|
||||
|
||||
public LocaleBase? Locales { get; set; }
|
||||
public LocaleBase Locales { get; set; }
|
||||
|
||||
public Locations? Locations { get; set; }
|
||||
public Locations Locations { get; set; }
|
||||
|
||||
public Match? Match { get; set; }
|
||||
public Match Match { get; set; }
|
||||
|
||||
public Templates.Templates? Templates { get; set; }
|
||||
public Templates.Templates Templates { get; set; }
|
||||
|
||||
public Dictionary<MongoId, Trader> Traders { get; set; }
|
||||
|
||||
public Globals? Globals { get; set; }
|
||||
public Globals Globals { get; set; }
|
||||
|
||||
public ServerBase? Server { get; set; }
|
||||
public ServerBase Server { get; set; }
|
||||
|
||||
public SettingsBase? Settings { get; set; }
|
||||
public SettingsBase Settings { get; set; }
|
||||
}
|
||||
|
||||
@@ -61,46 +61,46 @@ public record Locations
|
||||
private Dictionary<string, Eft.Common.Location>? _locationDictionaryCache;
|
||||
|
||||
[JsonPropertyName("bigmap")]
|
||||
public Eft.Common.Location? Bigmap { get; set; }
|
||||
public Eft.Common.Location Bigmap { get; set; }
|
||||
|
||||
[JsonPropertyName("develop")]
|
||||
public Eft.Common.Location? Develop { get; set; }
|
||||
|
||||
[JsonPropertyName("factory4_day")]
|
||||
public Eft.Common.Location? Factory4Day { get; set; }
|
||||
public Eft.Common.Location Factory4Day { get; set; }
|
||||
|
||||
[JsonPropertyName("factory4_night")]
|
||||
public Eft.Common.Location? Factory4Night { get; set; }
|
||||
public Eft.Common.Location Factory4Night { get; set; }
|
||||
|
||||
[JsonPropertyName("hideout")]
|
||||
public Eft.Common.Location? Hideout { get; set; }
|
||||
|
||||
[JsonPropertyName("interchange")]
|
||||
public Eft.Common.Location? Interchange { get; set; }
|
||||
public Eft.Common.Location Interchange { get; set; }
|
||||
|
||||
[JsonPropertyName("laboratory")]
|
||||
public Eft.Common.Location? Laboratory { get; set; }
|
||||
public Eft.Common.Location Laboratory { get; set; }
|
||||
|
||||
[JsonPropertyName("lighthouse")]
|
||||
public Eft.Common.Location? Lighthouse { get; set; }
|
||||
public Eft.Common.Location Lighthouse { get; set; }
|
||||
|
||||
[JsonPropertyName("privatearea")]
|
||||
public Eft.Common.Location? PrivateArea { get; set; }
|
||||
|
||||
[JsonPropertyName("rezervbase")]
|
||||
public Eft.Common.Location? RezervBase { get; set; }
|
||||
public Eft.Common.Location RezervBase { get; set; }
|
||||
|
||||
[JsonPropertyName("shoreline")]
|
||||
public Eft.Common.Location? Shoreline { get; set; }
|
||||
public Eft.Common.Location Shoreline { get; set; }
|
||||
|
||||
[JsonPropertyName("suburbs")]
|
||||
public Eft.Common.Location? Suburbs { get; set; }
|
||||
|
||||
[JsonPropertyName("tarkovstreets")]
|
||||
public Eft.Common.Location? TarkovStreets { get; set; }
|
||||
public Eft.Common.Location TarkovStreets { get; set; }
|
||||
|
||||
[JsonPropertyName("labyrinth")]
|
||||
public Eft.Common.Location? Labyrinth { get; set; }
|
||||
public Eft.Common.Location Labyrinth { get; set; }
|
||||
|
||||
[JsonPropertyName("terminal")]
|
||||
public Eft.Common.Location? Terminal { get; set; }
|
||||
@@ -109,13 +109,13 @@ public record Locations
|
||||
public Eft.Common.Location? Town { get; set; }
|
||||
|
||||
[JsonPropertyName("woods")]
|
||||
public Eft.Common.Location? Woods { get; set; }
|
||||
public Eft.Common.Location Woods { get; set; }
|
||||
|
||||
[JsonPropertyName("sandbox")]
|
||||
public Eft.Common.Location? Sandbox { get; set; }
|
||||
public Eft.Common.Location Sandbox { get; set; }
|
||||
|
||||
[JsonPropertyName("sandbox_high")]
|
||||
public Eft.Common.Location? SandboxHigh { get; set; }
|
||||
public Eft.Common.Location SandboxHigh { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Holds a mapping of the linkages between locations on the UI
|
||||
|
||||
Reference in New Issue
Block a user