Added App.IsDlcInstalled

This commit is contained in:
Garry Newman 2018-02-15 13:15:39 +00:00
parent 1f121f508a
commit c4343ee318

View File

@ -73,6 +73,14 @@ namespace Facepunch.Steamworks
return client.native.apps.BIsAppInstalled(appId); return client.native.apps.BIsAppInstalled(appId);
} }
/// <summary>
/// Returns true if specified app is installed.
/// </summary>
public bool IsDlcInstalled( uint appId )
{
return client.native.apps.BIsDlcInstalled( appId );
}
/// <summary> /// <summary>
/// Returns the appid's name /// Returns the appid's name
/// Returns error if the current app Id does not have permission to use this interface /// Returns error if the current app Id does not have permission to use this interface