OSDN Git Service
(root)
/
automap
/
automap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'vgd' of into Split_renderers
[automap/automap.git]
/
Automap
/
Data
/
PointOfInterest.cs
diff --git
a/Automap/Data/PointOfInterest.cs
b/Automap/Data/PointOfInterest.cs
index
16f49ff
..
a65c827
100644
(file)
--- a/
Automap/Data/PointOfInterest.cs
+++ b/
Automap/Data/PointOfInterest.cs
@@
-1,11
+1,15
@@
using System;
using System.Collections.ObjectModel;
using System;
using System.Collections.ObjectModel;
+using System.IO;
+using Vintagestory.API.Client;
using Vintagestory.API.Common;
using Vintagestory.API.MathTools;
using ProtoBuf;
using Vintagestory.API.Common;
using Vintagestory.API.MathTools;
using ProtoBuf;
+using Newtonsoft.Json;
+
namespace Automap
{
/// <summary>
namespace Automap
{
/// <summary>
@@
-17,14
+21,19
@@
namespace Automap
[ProtoMember(1)]
public string Name;
[ProtoMember(1)]
public string Name;
+ [DisplayName(1, "Notes")]
[ProtoMember(2)]
public string Notes;
[ProtoMember(2)]
public string Notes;
+ [DisplayName(0, "Loc.")]
[ProtoMember(3)]
public BlockPos Location;
[ProtoMember(3)]
public BlockPos Location;
+ [DisplayName(2, "Time")]
[ProtoMember(4)]
public DateTime Timestamp;
[ProtoMember(4)]
public DateTime Timestamp;
+
+
}
public class PointsOfInterest : KeyedCollection<BlockPos, PointOfInterest>
}
public class PointsOfInterest : KeyedCollection<BlockPos, PointOfInterest>