.NET Format Style Fixes
This commit is contained in:
@@ -9,63 +9,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<string, Trader>? Traders
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public Dictionary<string, 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; }
|
||||
}
|
||||
|
||||
@@ -11,23 +11,11 @@ public record LocaleBase
|
||||
[JsonPropertyName("global")]
|
||||
/// DO NOT USE THIS PROPERTY DIRECTLY, USE LOCALESERVICE INSTEAD
|
||||
/// THIS IS LAZY LOADED AND YOUR CHANGES WILL NOT BE SAVED
|
||||
public required Dictionary<string, LazyLoad<Dictionary<string, string>>> Global
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public required Dictionary<string, LazyLoad<Dictionary<string, string>>> Global { get; set; }
|
||||
|
||||
[JsonPropertyName("menu")]
|
||||
public required Dictionary<string, Dictionary<string, object>> Menu
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public required Dictionary<string, Dictionary<string, object>> Menu { get; set; }
|
||||
|
||||
[JsonPropertyName("languages")]
|
||||
public required Dictionary<string, string> Languages
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public required Dictionary<string, string> Languages { get; set; }
|
||||
}
|
||||
|
||||
@@ -11,7 +11,10 @@ public record Locations
|
||||
|
||||
// sometimes we get the key or value given so save changing logic in each place
|
||||
// have it key both
|
||||
private readonly FrozenDictionary<string, string> _locationMappings = new Dictionary<string, string>
|
||||
private readonly FrozenDictionary<string, string> _locationMappings = new Dictionary<
|
||||
string,
|
||||
string
|
||||
>
|
||||
{
|
||||
// EFT
|
||||
{ "factory4_day", "Factory4Day" },
|
||||
@@ -33,7 +36,6 @@ public record Locations
|
||||
{ "woods", "Woods" },
|
||||
{ "sandbox", "Sandbox" },
|
||||
{ "sandbox_high", "SandboxHigh" },
|
||||
|
||||
// SPT
|
||||
{ "Factory4Day", "Factory4Day" },
|
||||
{ "Bigmap", "Bigmap" },
|
||||
@@ -53,153 +55,73 @@ public record Locations
|
||||
{ "Woods", "Woods" },
|
||||
{ "Labyrinth", "Labyrinth" },
|
||||
{ "Sandbox", "Sandbox" },
|
||||
{ "SandboxHigh", "SandboxHigh" }
|
||||
{ "SandboxHigh", "SandboxHigh" },
|
||||
}.ToFrozenDictionary();
|
||||
|
||||
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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
public Eft.Common.Location? Terminal { get; set; }
|
||||
|
||||
[JsonPropertyName("town")]
|
||||
public Eft.Common.Location? Town
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
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
|
||||
/// </summary>
|
||||
[JsonPropertyName("base")]
|
||||
public LocationsBase? Base
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public LocationsBase? Base { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Get map locations as a dictionary, keyed by its name e.g. Factory4Day
|
||||
@@ -227,9 +149,13 @@ public record Locations
|
||||
|
||||
private void HydrateDictionary()
|
||||
{
|
||||
var classProps = typeof(Locations).GetProperties().Where(p => p.PropertyType == typeof(Eft.Common.Location) && p.Name != "Item");
|
||||
_locationDictionaryCache = classProps
|
||||
.ToDictionary(propertyInfo => propertyInfo.Name, propertyInfo => propertyInfo.GetValue(this, null) as Eft.Common.Location,
|
||||
StringComparer.OrdinalIgnoreCase);
|
||||
var classProps = typeof(Locations)
|
||||
.GetProperties()
|
||||
.Where(p => p.PropertyType == typeof(Eft.Common.Location) && p.Name != "Item");
|
||||
_locationDictionaryCache = classProps.ToDictionary(
|
||||
propertyInfo => propertyInfo.Name,
|
||||
propertyInfo => propertyInfo.GetValue(this, null) as Eft.Common.Location,
|
||||
StringComparer.OrdinalIgnoreCase
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,16 +11,8 @@ public record ServerBase
|
||||
public Dictionary<string, object> ExtensionData { get; set; }
|
||||
|
||||
[JsonPropertyName("ip")]
|
||||
public required string Ip
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public required string Ip { get; set; }
|
||||
|
||||
[JsonPropertyName("port")]
|
||||
public required int Port
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public required int Port { get; set; }
|
||||
}
|
||||
|
||||
@@ -9,11 +9,7 @@ public record SettingsBase
|
||||
public Dictionary<string, object> ExtensionData { get; set; }
|
||||
|
||||
[JsonPropertyName("config")]
|
||||
public Config? Configuration
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public Config? Configuration { get; set; }
|
||||
}
|
||||
|
||||
public record Config
|
||||
@@ -22,200 +18,88 @@ public record Config
|
||||
public Dictionary<string, object> ExtensionData { get; set; }
|
||||
|
||||
[JsonPropertyName("AFKTimeoutSeconds")]
|
||||
public int? AFKTimeoutSeconds
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public int? AFKTimeoutSeconds { get; set; }
|
||||
|
||||
[JsonPropertyName("AdditionalRandomDelaySeconds")]
|
||||
public int? AdditionalRandomDelaySeconds
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public int? AdditionalRandomDelaySeconds { get; set; }
|
||||
|
||||
[JsonPropertyName("AudioSettings")]
|
||||
public AudioSettings? AudioSettings
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public AudioSettings? AudioSettings { get; set; }
|
||||
|
||||
[JsonPropertyName("ClientSendRateLimit")]
|
||||
public int? ClientSendRateLimit
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public int? ClientSendRateLimit { get; set; }
|
||||
|
||||
[JsonPropertyName("CriticalRetriesCount")]
|
||||
public int? CriticalRetriesCount
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public int? CriticalRetriesCount { get; set; }
|
||||
|
||||
[JsonPropertyName("DefaultRetriesCount")]
|
||||
public int? DefaultRetriesCount
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public int? DefaultRetriesCount { get; set; }
|
||||
|
||||
[JsonPropertyName("FirstCycleDelaySeconds")]
|
||||
public int? FirstCycleDelaySeconds
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public int? FirstCycleDelaySeconds { get; set; }
|
||||
|
||||
[JsonPropertyName("FramerateLimit")]
|
||||
public FramerateLimit? FramerateLimit
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public FramerateLimit? FramerateLimit { get; set; }
|
||||
|
||||
[JsonPropertyName("GroupStatusInterval")]
|
||||
public int? GroupStatusInterval
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public int? GroupStatusInterval { get; set; }
|
||||
|
||||
[JsonPropertyName("GroupStatusButtonInterval")]
|
||||
public int? GroupStatusButtonInterval
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public int? GroupStatusButtonInterval { get; set; }
|
||||
|
||||
[JsonPropertyName("KeepAliveInterval")]
|
||||
public int? KeepAliveInterval
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public int? KeepAliveInterval { get; set; }
|
||||
|
||||
[JsonPropertyName("LobbyKeepAliveInterval")]
|
||||
public int? LobbyKeepAliveInterval
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public int? LobbyKeepAliveInterval { get; set; }
|
||||
|
||||
[JsonPropertyName("Mark502and504AsNonImportant")]
|
||||
public bool? Mark502and504AsNonImportant
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public bool? Mark502and504AsNonImportant { get; set; }
|
||||
|
||||
[JsonPropertyName("MemoryManagementSettings")]
|
||||
public MemoryManagementSettings? MemoryManagementSettings
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public MemoryManagementSettings? MemoryManagementSettings { get; set; }
|
||||
|
||||
[JsonPropertyName("NVidiaHighlights")]
|
||||
public bool? NVidiaHighlights
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public bool? NVidiaHighlights { get; set; }
|
||||
|
||||
[JsonPropertyName("NextCycleDelaySeconds")]
|
||||
public int? NextCycleDelaySeconds
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public int? NextCycleDelaySeconds { get; set; }
|
||||
|
||||
[JsonPropertyName("PingServerResultSendInterval")]
|
||||
public int? PingServerResultSendInterval
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public int? PingServerResultSendInterval { get; set; }
|
||||
|
||||
[JsonPropertyName("PingServersInterval")]
|
||||
public int? PingServersInterval
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public int? PingServersInterval { get; set; }
|
||||
|
||||
[JsonPropertyName("ReleaseProfiler")]
|
||||
public ReleaseProfiler? ReleaseProfiler
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public ReleaseProfiler? ReleaseProfiler { get; set; }
|
||||
|
||||
[JsonPropertyName("RequestConfirmationTimeouts")]
|
||||
public List<double>? RequestConfirmationTimeouts
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public List<double>? RequestConfirmationTimeouts { get; set; }
|
||||
|
||||
[JsonPropertyName("RequestsMadeThroughLobby")]
|
||||
public List<string>? RequestsMadeThroughLobby
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public List<string>? RequestsMadeThroughLobby { get; set; }
|
||||
|
||||
[JsonPropertyName("SecondCycleDelaySeconds")]
|
||||
public int? SecondCycleDelaySeconds
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public int? SecondCycleDelaySeconds { get; set; }
|
||||
|
||||
[JsonPropertyName("ShouldEstablishLobbyConnection")]
|
||||
public bool? ShouldEstablishLobbyConnection
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public bool? ShouldEstablishLobbyConnection { get; set; }
|
||||
|
||||
[JsonPropertyName("TurnOffLogging")]
|
||||
public bool? TurnOffLogging
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public bool? TurnOffLogging { get; set; }
|
||||
|
||||
[JsonPropertyName("WeaponOverlapDistanceCulling")]
|
||||
public int? WeaponOverlapDistanceCulling
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public int? WeaponOverlapDistanceCulling { get; set; }
|
||||
|
||||
[JsonPropertyName("WebDiagnosticsEnabled")]
|
||||
public bool? WebDiagnosticsEnabled
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public bool? WebDiagnosticsEnabled { get; set; }
|
||||
|
||||
[JsonPropertyName("NetworkStateView")]
|
||||
public NetworkStateView? NetworkStateView
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public NetworkStateView? NetworkStateView { get; set; }
|
||||
|
||||
[JsonPropertyName("WsReconnectionDelays")]
|
||||
public List<int>? WsReconnectionDelays
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public List<int>? WsReconnectionDelays { get; set; }
|
||||
}
|
||||
|
||||
public record AudioSettings
|
||||
@@ -224,46 +108,22 @@ public record AudioSettings
|
||||
public Dictionary<string, object> ExtensionData { get; set; }
|
||||
|
||||
[JsonPropertyName("AudioGroupPresets")]
|
||||
public List<AudioGroupPreset>? AudioGroupPresets
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public List<AudioGroupPreset>? AudioGroupPresets { get; set; }
|
||||
|
||||
[JsonPropertyName("EnvironmentSettings")]
|
||||
public EnvironmentSettings? EnvironmentSettings
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public EnvironmentSettings? EnvironmentSettings { get; set; }
|
||||
|
||||
[JsonPropertyName("HeadphonesSettings")]
|
||||
public HeadphoneSettings HeadphonesSettings
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public HeadphoneSettings HeadphonesSettings { get; set; }
|
||||
|
||||
[JsonPropertyName("MetaXRAudioPluginSettings")]
|
||||
public MetaXRAudioPluginSettings? MetaXRAudioPluginSettings
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public MetaXRAudioPluginSettings? MetaXRAudioPluginSettings { get; set; }
|
||||
|
||||
[JsonPropertyName("PlayerSettings")]
|
||||
public PlayerSettings? PlayerSettings
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public PlayerSettings? PlayerSettings { get; set; }
|
||||
|
||||
[JsonPropertyName("RadioBroadcastSettings")]
|
||||
public RadioBroadcastSettings? RadioBroadcastSettings
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public RadioBroadcastSettings? RadioBroadcastSettings { get; set; }
|
||||
}
|
||||
|
||||
public record FramerateLimit
|
||||
@@ -272,25 +132,13 @@ public record FramerateLimit
|
||||
public Dictionary<string, object> ExtensionData { get; set; }
|
||||
|
||||
[JsonPropertyName("MaxFramerateGameLimit")]
|
||||
public int? MaxFramerateGameLimit
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public int? MaxFramerateGameLimit { get; set; }
|
||||
|
||||
[JsonPropertyName("MaxFramerateLobbyLimit")]
|
||||
public int? MaxFramerateLobbyLimit
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public int? MaxFramerateLobbyLimit { get; set; }
|
||||
|
||||
[JsonPropertyName("MinFramerateLimit")]
|
||||
public int? MinFramerateLimit
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public int? MinFramerateLimit { get; set; }
|
||||
}
|
||||
|
||||
public record MemoryManagementSettings
|
||||
@@ -299,46 +147,22 @@ public record MemoryManagementSettings
|
||||
public Dictionary<string, object> ExtensionData { get; set; }
|
||||
|
||||
[JsonPropertyName("AggressiveGC")]
|
||||
public bool? AggressiveGC
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public bool? AggressiveGC { get; set; }
|
||||
|
||||
[JsonPropertyName("GigabytesRequiredToDisableGCDuringRaid")]
|
||||
public int? GigabytesRequiredToDisableGCDuringRaid
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public int? GigabytesRequiredToDisableGCDuringRaid { get; set; }
|
||||
|
||||
[JsonPropertyName("HeapPreAllocationEnabled")]
|
||||
public bool? HeapPreAllocationEnabled
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public bool? HeapPreAllocationEnabled { get; set; }
|
||||
|
||||
[JsonPropertyName("HeapPreAllocationMB")]
|
||||
public int? HeapPreAllocationMB
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public int? HeapPreAllocationMB { get; set; }
|
||||
|
||||
[JsonPropertyName("OverrideRamCleanerSettings")]
|
||||
public bool? OverrideRamCleanerSettings
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public bool? OverrideRamCleanerSettings { get; set; }
|
||||
|
||||
[JsonPropertyName("RamCleanerEnabled")]
|
||||
public bool? RamCleanerEnabled
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public bool? RamCleanerEnabled { get; set; }
|
||||
}
|
||||
|
||||
public record ReleaseProfiler
|
||||
@@ -347,25 +171,13 @@ public record ReleaseProfiler
|
||||
public Dictionary<string, object> ExtensionData { get; set; }
|
||||
|
||||
[JsonPropertyName("Enabled")]
|
||||
public bool? Enabled
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public bool? Enabled { get; set; }
|
||||
|
||||
[JsonPropertyName("MaxRecords")]
|
||||
public int? MaxRecords
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public int? MaxRecords { get; set; }
|
||||
|
||||
[JsonPropertyName("RecordTriggerValue")]
|
||||
public int? RecordTriggerValue
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public int? RecordTriggerValue { get; set; }
|
||||
}
|
||||
|
||||
public record NetworkStateView
|
||||
@@ -374,18 +186,10 @@ public record NetworkStateView
|
||||
public Dictionary<string, object> ExtensionData { get; set; }
|
||||
|
||||
[JsonPropertyName("LossThreshold")]
|
||||
public int? LossThreshold
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public int? LossThreshold { get; set; }
|
||||
|
||||
[JsonPropertyName("RttThreshold")]
|
||||
public int? RttThreshold
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public int? RttThreshold { get; set; }
|
||||
}
|
||||
|
||||
public record AudioGroupPreset
|
||||
@@ -394,74 +198,34 @@ public record AudioGroupPreset
|
||||
public Dictionary<string, object> ExtensionData { get; set; }
|
||||
|
||||
[JsonPropertyName("AngleToAllowBinaural")]
|
||||
public double? AngleToAllowBinaural
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public double? AngleToAllowBinaural { get; set; }
|
||||
|
||||
[JsonPropertyName("DisabledBinauralByDistance")]
|
||||
public bool? DisabledBinauralByDistance
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public bool? DisabledBinauralByDistance { get; set; }
|
||||
|
||||
[JsonPropertyName("DistanceToAllowBinaural")]
|
||||
public double? DistanceToAllowBinaural
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public double? DistanceToAllowBinaural { get; set; }
|
||||
|
||||
[JsonPropertyName("GroupType")]
|
||||
public double? GroupType
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public double? GroupType { get; set; }
|
||||
|
||||
[JsonPropertyName("HeightToAllowBinaural")]
|
||||
public double? HeightToAllowBinaural
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public double? HeightToAllowBinaural { get; set; }
|
||||
|
||||
[JsonPropertyName("Name")]
|
||||
public string? Name
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public string? Name { get; set; }
|
||||
|
||||
[JsonPropertyName("OcclusionEnabled")]
|
||||
public bool? OcclusionEnabled
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public bool? OcclusionEnabled { get; set; }
|
||||
|
||||
[JsonPropertyName("OcclusionIntensity")]
|
||||
public double? OcclusionIntensity
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public double? OcclusionIntensity { get; set; }
|
||||
|
||||
[JsonPropertyName("OcclusionRolloffScale")]
|
||||
public double? OcclusionRolloffScale
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public double? OcclusionRolloffScale { get; set; }
|
||||
|
||||
[JsonPropertyName("OverallVolume")]
|
||||
public double? OverallVolume
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public double? OverallVolume { get; set; }
|
||||
}
|
||||
|
||||
public record EnvironmentSettings
|
||||
@@ -470,60 +234,28 @@ public record EnvironmentSettings
|
||||
public Dictionary<string, object> ExtensionData { get; set; }
|
||||
|
||||
[JsonPropertyName("AutumnLateSettings")]
|
||||
public SeasonEnvironmentSettings AutumnLateSettings
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public SeasonEnvironmentSettings AutumnLateSettings { get; set; }
|
||||
|
||||
[JsonPropertyName("AutumnSettings")]
|
||||
public SeasonEnvironmentSettings AutumnSettings
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public SeasonEnvironmentSettings AutumnSettings { get; set; }
|
||||
|
||||
[JsonPropertyName("SpringEarlySettings")]
|
||||
public SeasonEnvironmentSettings SpringEarlySettings
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public SeasonEnvironmentSettings SpringEarlySettings { get; set; }
|
||||
|
||||
[JsonPropertyName("SpringSettings")]
|
||||
public SeasonEnvironmentSettings SpringSettings
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public SeasonEnvironmentSettings SpringSettings { get; set; }
|
||||
|
||||
[JsonPropertyName("StormSettings")]
|
||||
public SeasonEnvironmentSettings StormSettings
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public SeasonEnvironmentSettings StormSettings { get; set; }
|
||||
|
||||
[JsonPropertyName("SummerSettings")]
|
||||
public SeasonEnvironmentSettings SummerSettings
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public SeasonEnvironmentSettings SummerSettings { get; set; }
|
||||
|
||||
[JsonPropertyName("WinterSettings")]
|
||||
public SeasonEnvironmentSettings WinterSettings
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public SeasonEnvironmentSettings WinterSettings { get; set; }
|
||||
|
||||
[JsonPropertyName("SurfaceMultipliers")]
|
||||
public List<SurfaceMultiplier>? SurfaceMultipliers
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public List<SurfaceMultiplier>? SurfaceMultipliers { get; set; }
|
||||
}
|
||||
|
||||
public record SeasonEnvironmentSettings
|
||||
@@ -532,25 +264,13 @@ public record SeasonEnvironmentSettings
|
||||
public Dictionary<string, object> ExtensionData { get; set; }
|
||||
|
||||
[JsonPropertyName("RainSettings")]
|
||||
public List<RainSetting> RainSettings
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public List<RainSetting> RainSettings { get; set; }
|
||||
|
||||
[JsonPropertyName("StepsVolumeMultiplier")]
|
||||
public double StepsVolumeMultiplier
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public double StepsVolumeMultiplier { get; set; }
|
||||
|
||||
[JsonPropertyName("WindMultipliers")]
|
||||
public List<WindMultiplier> WindMultipliers
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public List<WindMultiplier> WindMultipliers { get; set; }
|
||||
}
|
||||
|
||||
public record SurfaceMultiplier
|
||||
@@ -558,17 +278,9 @@ public record SurfaceMultiplier
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; set; }
|
||||
|
||||
public string SurfaceType
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public string SurfaceType { get; set; }
|
||||
|
||||
public double VolumeMult
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public double VolumeMult { get; set; }
|
||||
}
|
||||
|
||||
public record WindMultiplier
|
||||
@@ -577,18 +289,10 @@ public record WindMultiplier
|
||||
public Dictionary<string, object> ExtensionData { get; set; }
|
||||
|
||||
[JsonPropertyName("VolumeMult")]
|
||||
public double VolumeMult
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public double VolumeMult { get; set; }
|
||||
|
||||
[JsonPropertyName("WindSpeed")]
|
||||
public string WindSpeed
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public string WindSpeed { get; set; }
|
||||
}
|
||||
|
||||
public record RainSetting
|
||||
@@ -597,25 +301,13 @@ public record RainSetting
|
||||
public Dictionary<string, object> ExtensionData { get; set; }
|
||||
|
||||
[JsonPropertyName("IndoorVolumeMult")]
|
||||
public int IndoorVolumeMult
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public int IndoorVolumeMult { get; set; }
|
||||
|
||||
[JsonPropertyName("OutdoorVolumeMult")]
|
||||
public double OutdoorVolumeMult
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public double OutdoorVolumeMult { get; set; }
|
||||
|
||||
[JsonPropertyName("RainIntensity")]
|
||||
public string RainIntensity
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public string RainIntensity { get; set; }
|
||||
}
|
||||
|
||||
public record HeadphoneSettings
|
||||
@@ -623,23 +315,11 @@ public record HeadphoneSettings
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; set; }
|
||||
|
||||
public double FadeDuration
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public double FadeDuration { get; set; }
|
||||
|
||||
public string FadeIn
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public string FadeIn { get; set; }
|
||||
|
||||
public string FadeOut
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public string FadeOut { get; set; }
|
||||
}
|
||||
|
||||
public record MetaXRAudioPluginSettings
|
||||
@@ -647,15 +327,7 @@ public record MetaXRAudioPluginSettings
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; set; }
|
||||
|
||||
public bool? EnabledPluginErrorChecker
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public bool? EnabledPluginErrorChecker { get; set; }
|
||||
|
||||
public double? OutputVolumeCheckCooldown
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public double? OutputVolumeCheckCooldown { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user