OSDN Git Service

1st attempt to fix Protocol buffer corruption issue
[automap/automap.git] / Automap / Data / EntitiesOfInterest.cs
index d22f328..e7b3438 100644 (file)
@@ -17,7 +17,7 @@ namespace Automap
        /// <summary>
        /// Basically the same as a POI but for an entity
        /// </summary>
-       [ProtoContract]
+       [ProtoContract(ImplicitFields = ImplicitFields.None)]
        public struct EntityOfInterest
        {
 
@@ -30,6 +30,7 @@ namespace Automap
                public string Notes;
 
                [DisplayName(1, "Loc.")]
+               [ProtoIgnore]
                public string PrettyLocation;
 
                [ProtoMember(3)]