//------------------------------------------------------------ // Game Framework // Copyright © 2013-2021 loyalsoft. All rights reserved. // Homepage: http://www.game7000.com/ // Feedback: http://www.game7000.com/ //------------------------------------------------------------ using GameFramework; namespace UnityGameFramework.Runtime { /// /// System.UInt64 变量类。 /// public sealed class VarUInt64 : Variable { /// /// 初始化 System.UInt64 变量类的新实例。 /// public VarUInt64() { } /// /// 从 System.UInt64 到 System.UInt64 变量类的隐式转换。 /// /// 值。 public static implicit operator VarUInt64(ulong value) { VarUInt64 varValue = ReferencePool.Acquire(); varValue.Value = value; return varValue; } /// /// 从 System.UInt64 变量类到 System.UInt64 的隐式转换。 /// /// 值。 public static implicit operator ulong(VarUInt64 value) { return value.Value; } } }