Files
TEngine/Assets/GameScripts/ThirdParty/Protobuf-net/SubItemToken.cs
ALEXTANG 0c8f3a5f92 [+] TEngineServer
[+] TEngineServer
2023-07-13 17:17:26 +08:00

17 lines
460 B
C#

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;
}
}