adding log camps

This commit is contained in:
hz
2026-05-18 20:42:49 -05:00
parent 3167558e04
commit bf75f02dbb
12 changed files with 365 additions and 35 deletions
+11
View File
@@ -15,6 +15,13 @@ public class ClaimLocationRequest
public int R { get; set; }
}
public class BuildLocationRequest
{
public int Q { get; set; }
public int R { get; set; }
public string BuildingType { get; set; } = "LogCamp";
}
public class LocationResponse
{
public string Id { get; set; } = "";
@@ -25,6 +32,8 @@ public class LocationResponse
public string? OwnerUsername { get; set; }
public string? Label { get; set; }
public int Level { get; set; }
public string? BuildingType { get; set; }
public DateTime? BuildingBuiltAtUtc { get; set; }
public DateTime? HomeAssignedAtUtc { get; set; }
public DateTime UpdatedAtUtc { get; set; }
public bool IsVisible { get; set; } = true;
@@ -39,6 +48,8 @@ public class LocationResponse
OwnerUsername = location.OwnerUsername,
Label = location.Label,
Level = location.Level,
BuildingType = location.BuildingType,
BuildingBuiltAtUtc = location.BuildingBuiltAtUtc,
HomeAssignedAtUtc = location.HomeAssignedAtUtc,
UpdatedAtUtc = location.UpdatedAtUtc,
IsVisible = true