Adding consume property to create/update spawnable dtos
This commit is contained in:
@@ -12,4 +12,7 @@ public class CreateSpawnableRequest
|
||||
|
||||
// Possible outcomes of collecting the item
|
||||
public List<CollectOutcome> CollectResults { get; set; } = [];
|
||||
|
||||
// Should the spawnable be removed after a successful action?
|
||||
public bool ConsumeOnSuccess { get; set; } = false;
|
||||
}
|
||||
|
||||
@@ -8,4 +8,7 @@ public class UpdateSpawnableRequest
|
||||
public int SpawnRate { get; set; }
|
||||
public string CollectAction { get; set; }
|
||||
public List<CollectOutcome> CollectResults { get; set; } = [];
|
||||
|
||||
// Should the spawnable be removed after a successful action?
|
||||
public bool ConsumeOnSuccess { get; set; } = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user