Adding consume property to create/update spawnable dtos

This commit is contained in:
hz
2025-06-09 19:07:48 -05:00
parent 83030c2a4e
commit 603a18e006
5 changed files with 16 additions and 6 deletions
+3
View File
@@ -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;
}
+3
View File
@@ -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;
}