implement HideoutHelper
This commit is contained in:
@@ -666,7 +666,7 @@ public class HideoutController(
|
||||
continue;
|
||||
}
|
||||
|
||||
if (_hideoutHelper.IsProductionType(production.Value))
|
||||
if (production.Value.GetType() == typeof(HideoutProduction))
|
||||
{
|
||||
// Production or ScavCase
|
||||
if (production.Value.RecipeId == request.RecipeId)
|
||||
@@ -922,7 +922,7 @@ public class HideoutController(
|
||||
string? prodId = null;
|
||||
foreach (var production in ongoingProductions)
|
||||
{
|
||||
if (_hideoutHelper.IsProductionType(production.Value))
|
||||
if (production.Value.GetType() == typeof(HideoutProduction))
|
||||
{
|
||||
// Production or ScavCase
|
||||
if ((production.Value).RecipeId == request.RecipeId)
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -11,3 +11,10 @@ public record HideoutContinuousProductionStartRequestData : BaseInteractionReque
|
||||
[JsonPropertyName("timestamp")]
|
||||
public double? Timestamp { get; set; }
|
||||
}
|
||||
|
||||
public record HideoutProperties
|
||||
{
|
||||
public int? BtcFarmGcs { get; set; }
|
||||
public bool IsGeneratorOn { get; set; }
|
||||
public bool WaterCollectorHasFilter { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user