fix: refactor GoGump, moves LocationTree to GoLocations (#1804)
This commit is contained in:
parent
75a3f0a92c
commit
9847efbb1a
6 changed files with 350 additions and 335 deletions
|
|
@ -1,15 +1,14 @@
|
|||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Server.Gumps
|
||||
namespace Server.Gumps;
|
||||
|
||||
public class GoCategory
|
||||
{
|
||||
public class GoCategory
|
||||
{
|
||||
public GoCategory Parent { get; set; }
|
||||
public GoCategory Parent { get; set; }
|
||||
|
||||
[JsonPropertyName("locations")] public GoLocation[] Locations { get; set; }
|
||||
[JsonPropertyName("locations")] public GoLocation[] Locations { get; set; }
|
||||
|
||||
[JsonPropertyName("categories")] public GoCategory[] Categories { get; set; }
|
||||
[JsonPropertyName("categories")] public GoCategory[] Categories { get; set; }
|
||||
|
||||
[JsonPropertyName("name")] public string Name { get; set; }
|
||||
}
|
||||
}
|
||||
[JsonPropertyName("name")] public string Name { get; set; }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue