提交修改
This commit is contained in:
16
Assets/Scripts/ThirdParty/Fantasy.Unity/Runtime/Plugins/Protobuf-net/SubItemToken.cs
vendored
Normal file
16
Assets/Scripts/ThirdParty/Fantasy.Unity/Runtime/Plugins/Protobuf-net/SubItemToken.cs
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
using System;
|
||||
|
||||
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 readonly struct SubItemToken
|
||||
{
|
||||
internal readonly long value64;
|
||||
internal SubItemToken(int value) => value64 = value;
|
||||
internal SubItemToken(long value) => value64 = value;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user