Another attempt at ProtoBuf serialization of Inventory

This commit is contained in:
Cinder
2021-12-08 21:32:57 -06:00
parent 8e874c1d84
commit 12dc855afb
15 changed files with 177 additions and 77 deletions

View File

@@ -26,6 +26,7 @@
using System;
using System.Security.Cryptography;
using ProtoBuf;
namespace OpenMetaverse
{
@@ -34,9 +35,11 @@ namespace OpenMetaverse
/// Life networking protocol
/// </summary>
[Serializable]
[ProtoContract]
public struct UUID : IComparable<UUID>, IEquatable<UUID>
{
/// <summary>The System.Guid object this struct wraps around</summary>
[ProtoMember(1)]
public Guid Guid { get; set; }
#region Constructors