mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-27 22:18:11 +03:00
Allow caller to specify OverlayToStoreFlags when opening Store Overlay
This commit is contained in:
parent
f739f9b588
commit
d373077c9a
@ -681,7 +681,7 @@ namespace Steamworks
|
|||||||
//
|
//
|
||||||
// EOverlayToStoreFlag
|
// EOverlayToStoreFlag
|
||||||
//
|
//
|
||||||
internal enum OverlayToStoreFlag : int
|
public enum OverlayToStoreFlag : int
|
||||||
{
|
{
|
||||||
None = 0,
|
None = 0,
|
||||||
AddToCart = 1,
|
AddToCart = 1,
|
||||||
|
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user