Files
BoneSync/Facepunch.Steamworks/Structs/DepotId.cs
2025-02-25 12:58:41 +02:00

30 lines
563 B
C#

using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
namespace Facepunch.Steamworks.Data
{
public struct DepotId
{
public uint Value;
public static implicit operator DepotId( uint value )
{
return new DepotId { Value = value };
}
public static implicit operator DepotId( int value )
{
return new DepotId { Value = (uint) value };
}
public static implicit operator uint( DepotId value )
{
return value.Value;
}
public override string ToString() => Value.ToString();
}
}