OSDN Git Service

Merge branch 'vgd' of into Split_renderers
[automap/automap.git] / Automap / Data / PointOfInterest.cs
index 16f49ff..a65c827 100644 (file)
@@ -1,11 +1,15 @@
 using System;
 using System.Collections.ObjectModel;
+using System.IO;
 
+using Vintagestory.API.Client;
 using Vintagestory.API.Common;
 using Vintagestory.API.MathTools;
 
 using ProtoBuf;
 
+using Newtonsoft.Json;
+
 namespace Automap
 {
        /// <summary>
@@ -17,14 +21,19 @@ namespace Automap
                [ProtoMember(1)]
                public string Name;
 
+               [DisplayName(1, "Notes")]
                [ProtoMember(2)]
                public string Notes;
 
+               [DisplayName(0, "Loc.")]
                [ProtoMember(3)]
                public BlockPos Location;
 
+               [DisplayName(2, "Time")]
                [ProtoMember(4)]
                public DateTime Timestamp;
+
+
        }
 
        public class PointsOfInterest : KeyedCollection<BlockPos, PointOfInterest>