Files
2023-10-02 16:43:54 +03:00

38 lines
928 B
C#

using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
namespace Steamworks.Data
{
/// <summary>
/// Represents a screenshot that was taken by a user.
/// </summary>
public struct Screenshot
{
internal ScreenshotHandle Value;
/// <summary>
/// Tags a user as being visible in the screenshot
/// </summary>
public bool TagUser( SteamId user )
{
return SteamScreenshots.Internal != null && SteamScreenshots.Internal.TagUser( Value, user );
}
/// <summary>
/// Sets the location of the screenshot.
/// </summary>
public bool SetLocation( string location )
{
return SteamScreenshots.Internal != null && SteamScreenshots.Internal.SetLocation( Value, location );
}
public bool TagPublishedFile( PublishedFileId file )
{
return SteamScreenshots.Internal != null && SteamScreenshots.Internal.TagPublishedFile( Value, file );
}
}
}