(7788ec72a) Test issuing orders automatically.
This commit is contained in:
@@ -7,7 +7,15 @@ namespace Barotrauma.Steam
|
||||
{
|
||||
partial class SteamManager
|
||||
{
|
||||
#if DEBUG
|
||||
public static bool USE_STEAM
|
||||
{
|
||||
get { return GameMain.Config.UseSteam; }
|
||||
}
|
||||
#else
|
||||
//cannot enable/disable steam in release builds
|
||||
public const bool USE_STEAM = true;
|
||||
#endif
|
||||
|
||||
public const uint AppID = 602960;
|
||||
|
||||
@@ -58,16 +66,6 @@ namespace Barotrauma.Steam
|
||||
if (!USE_STEAM) return;
|
||||
instance = new SteamManager();
|
||||
}
|
||||
|
||||
public static void OverlayCustomURL(string url)
|
||||
{
|
||||
if (instance == null || !instance.isInitialized || instance.client == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
instance.client.Overlay.OpenUrl(url);
|
||||
}
|
||||
|
||||
public static bool UnlockAchievement(string achievementName)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user