Made Region Serializable

This commit is contained in:
glax 2023-03-31 21:54:32 +02:00
parent 6a2ddf3277
commit 0d4597c12c

View File

@ -5,7 +5,7 @@ namespace OSMDatastructure;
[Serializable] [Serializable]
public class Region public class Region
{ {
[NonSerialized]public const float RegionSize = 0.01f; [NonSerialized]public const float RegionSize = 0.1f;
public readonly HashSet<OsmNode> nodes = new(); public readonly HashSet<OsmNode> nodes = new();
public ulong regionHash { get; } public ulong regionHash { get; }
public TagManager tagManager { get; } public TagManager tagManager { get; }