fix enums required to get into raid

This commit is contained in:
KaenoDev
2025-01-20 00:30:24 +00:00
parent b8f953e00c
commit a8950a4b73
8 changed files with 57 additions and 46 deletions
@@ -17,6 +17,7 @@ public record RaidSettings
public bool? IsLocationTransition { get; set; }
[JsonPropertyName("timeVariant")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public DateTimeEnum TimeVariant { get; set; }
[JsonPropertyName("metabolismDisabled")]
@@ -35,12 +36,14 @@ public record RaidSettings
public SideType? Side { get; set; }
[JsonPropertyName("raidMode")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public RaidMode? RaidMode { get; set; }
[JsonPropertyName("playersSpawnPlace")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public PlayersSpawnPlace? PlayersSpawnPlace { get; set; }
[JsonPropertyName("canShowGroupPreview")]
[JsonPropertyName("CanShowGroupPreview")]
public bool? CanShowGroupPreview { get; set; }
}
@@ -53,18 +56,23 @@ public record TimeAndWeatherSettings
public bool? IsRandomWeather { get; set; }
[JsonPropertyName("cloudinessType")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public CloudinessType? CloudinessType { get; set; }
[JsonPropertyName("rainType")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public RainType? RainType { get; set; }
[JsonPropertyName("fogType")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public FogType? FogType { get; set; }
[JsonPropertyName("windType")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public WindSpeed? WindType { get; set; }
[JsonPropertyName("timeFlowType")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public TimeFlowType? TimeFlowType { get; set; }
[JsonPropertyName("hourOfDay")]
@@ -77,15 +85,18 @@ public record BotSettings
public bool? IsScavWars { get; set; }
[JsonPropertyName("botAmount")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public BotAmount? BotAmount { get; set; }
}
public record WavesSettings
{
[JsonPropertyName("botAmount")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public BotAmount? BotAmount { get; set; }
[JsonPropertyName("botDifficulty")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public BotDifficulty? BotDifficulty { get; set; }
[JsonPropertyName("isBosses")]
@@ -2,7 +2,7 @@
public enum PlayersSpawnPlace
{
SAME_PLACE,
DIFFERENT_PLACES,
AT_THE_ENDS_OF_THE_MAP
}
SamePlace,
DifferentPlaces,
AtTheEndsOfTheMap
}
@@ -2,10 +2,10 @@
public enum BotAmount
{
AS_ONLINE,
NO_BOTS,
LOW,
MEDIUM,
HIGH,
HORDE
}
AsOnline,
NoBots,
Low,
Medium,
High,
Horde
}
@@ -2,10 +2,10 @@
public enum BotDifficulty
{
AS_ONLINE,
EASY,
MEDIUM,
HARD,
IMPOSSIBLE,
RANDOM
}
AsOnline,
Easy,
Medium,
Hard,
Impossible,
Random
}
@@ -2,9 +2,9 @@
public enum FogType
{
NO_FOG,
FAINT,
FOG,
HEAVY,
CONTINUOUS
}
NoFog,
Faint,
Fog,
Heavy,
Continuous
}
@@ -2,9 +2,9 @@
public enum RainType
{
NO_RAIN,
DRIZZLING,
RAIN,
HEAVY,
SHOWER
}
NoRain,
Drizzling,
Rain,
Heavy,
Shower
}
@@ -2,12 +2,12 @@
public enum TimeFlowType
{
X0,
X0_14,
X0_25,
X0_5,
X1,
X2,
X4,
X8
}
x0,
x0_14,
x0_25,
x0_5,
x1,
x2,
x4,
x8
}
@@ -2,9 +2,9 @@
public enum WindSpeed
{
LIGHT,
MODERATE,
STRONG,
VERY_STRONG,
HURRICANE
}
Light,
Moderate,
Strong,
VeryStrong,
Hurricane
}