Files
sbox-public/engine/Sandbox.Engine/Platform/Steam/Structs/AppId.cs
s&box team 71f266059a Open source release
This commit imports the C# engine code and game files, excluding C++ source code.

[Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
2025-11-24 09:05:18 +00:00

31 lines
540 B
C#

using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
namespace Steamworks
{
internal struct AppId
{
internal 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;
}
}
}