Quasar/Server/Core/ProtoBuf/SubItemToken.cs

16 lines
402 B
C#

namespace ProtoBuf
{
/// <summary>
/// Used to hold particulars relating to nested objects. This is opaque to the caller - simply
/// give back the token you are given at the end of an object.
/// </summary>
public struct SubItemToken
{
internal readonly int value;
internal SubItemToken(int value)
{
this.value = value;
}
}
}