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 // EOverlayToStoreFlag
// //
internal enum OverlayToStoreFlag : int public enum OverlayToStoreFlag : int
{ {
None = 0, None = 0,
AddToCart = 1, AddToCart = 1,

View File

@ -195,7 +195,7 @@ namespace Steamworks
/// <summary> /// <summary>
/// Activates the Steam Overlay to the Steam store page for the provided app. /// Activates the Steam Overlay to the Steam store page for the provided app.
/// </summary> /// </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> /// <summary>
/// Activates Steam Overlay web browser directly to the specified URL. /// Activates Steam Overlay web browser directly to the specified URL.