Files
LuaCsForBarotraumaEP/Libraries/Facepunch.Steamworks/Structs/DepotId.cs
2020-03-04 13:04:10 +01:00

30 lines
553 B
C#

using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
namespace 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();
}
}