/// <summary>
        ///     Serializes the payload of this message to a memory buffer.
        /// </summary>
        /// <param name="serializer">Serializer to read/write payload to.</param>
        protected override void SerializePayload(NetMessageSerializer serializer)
        {
            serializer.SerializeList(ref CandidateManifestIds);

            if (serializer.Version > 100000560)
            {
                serializer.SerializeEnum <ManifestStorageHeuristic>(ref Heuristic);
            }

            if (serializer.Version >= 100000603)
            {
                serializer.SerializeList(ref PrioritizeKeepingTagIds);
                serializer.SerializeList(ref PrioritizeDeletingTagIds);
            }
        }
Example #2
0
 /// <summary>
 ///     Serializes the payload of this message to a memory buffer.
 /// </summary>
 /// <param name="serializer">Serializer to read/write payload to.</param>
 protected override void SerializePayload(NetMessageSerializer serializer)
 {
     serializer.SerializeList(ref SelectTags);
     serializer.SerializeList(ref IgnoreTags);
     serializer.Serialize(ref NewerThan);
 }