Allow caller to specify OverlayToStoreFlags when opening Store Overlay

This commit is contained in:
Simon Tang 2020-08-31 17:58:12 -07:00
parent f739f9b588
commit d373077c9a
2 changed files with 2 additions and 2 deletions

View File

@ -681,7 +681,7 @@ namespace Steamworks
//
// EOverlayToStoreFlag
//
internal enum OverlayToStoreFlag : int
public enum OverlayToStoreFlag : int
{
None = 0,
AddToCart = 1,

View File

@ -195,7 +195,7 @@ namespace Steamworks
/// <summary>
/// Activates the Steam Overlay to the Steam store page for the provided app.
/// </summary>
public static void OpenStoreOverlay( AppId id ) => Internal.ActivateGameOverlayToStore( id.Value, OverlayToStoreFlag.None );
public static void OpenStoreOverlay( AppId id, OverlayToStoreFlag overlayToStoreFlag = OverlayToStoreFlag.None ) => Internal.ActivateGameOverlayToStore( id.Value, OverlayToStoreFlag.None );
/// <summary>
/// Activates Steam Overlay web browser directly to the specified URL.