mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-13 07:08:05 +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
|
||||
//
|
||||
internal enum OverlayToStoreFlag : int
|
||||
public enum OverlayToStoreFlag : int
|
||||
{
|
||||
None = 0,
|
||||
AddToCart = 1,
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user