2 using System.Collections.ObjectModel;
5 using Vintagestory.API.Client;
6 using Vintagestory.API.Common;
7 using Vintagestory.API.MathTools;
11 using Newtonsoft.Json;
16 /// Actual Physical Point in space - that is interesting.
19 public struct PointOfInterest
24 [DisplayName(1, "Notes")]
28 [DisplayName(0, "Loc.")]
30 public BlockPos Location;
32 [DisplayName(2, "Time")]
34 public DateTime Timestamp;
39 public class PointsOfInterest : KeyedCollection<BlockPos, PointOfInterest>
41 protected override BlockPos GetKeyForItem(PointOfInterest item)
44 internal void AddReplace(PointOfInterest poi)
46 if (Contains(poi.Location))