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

30 lines
545 B
C#

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