From 4871c634fb37bfe5b591caec54ec76a3089cef70 Mon Sep 17 00:00:00 2001 From: Garry Newman Date: Sun, 23 Feb 2020 19:14:27 +0000 Subject: [PATCH] Added IsSteamChinaLauncher --- Facepunch.Steamworks/SteamUtils.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Facepunch.Steamworks/SteamUtils.cs b/Facepunch.Steamworks/SteamUtils.cs index 0233c63..9d3eea0 100644 --- a/Facepunch.Steamworks/SteamUtils.cs +++ b/Facepunch.Steamworks/SteamUtils.cs @@ -255,5 +255,11 @@ internal static bool IsCallComplete( SteamAPICall_t call, out bool failed ) failed = false; return Internal.IsAPICallCompleted( call, ref failed ); } + + + /// + /// Returns whether this steam client is a Steam China specific client, vs the global client + /// + public static bool IsSteamChinaLauncher => Internal.IsSteamChinaLauncher(); } } \ No newline at end of file