Shegotwet/Assets/GUPS/AntiCheat/Source/Protected/Primitive/ULongDouble.cs

19 lines
401 B
C#
Raw Normal View History

2025-09-09 00:14:19 +00:00
// System
using System.Runtime.InteropServices;
namespace GUPS.AntiCheat.Protected
{
/// <summary>
/// Helper class to parse double to long and the other way around.
/// </summary>
[StructLayout(LayoutKind.Explicit)]
internal struct ULongDouble
{
[FieldOffset(0)]
public double doubleValue;
[FieldOffset(0)]
public ulong longValue;
}
}