mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-02-26 21:41:19 +03:00
Added SteamServer.UserHasLicenseForApp
This commit is contained in:
parent
32fbf63644
commit
04ad04f95d
@ -211,7 +211,7 @@ namespace Steamworks
|
|||||||
//
|
//
|
||||||
// EUserHasLicenseForAppResult
|
// EUserHasLicenseForAppResult
|
||||||
//
|
//
|
||||||
internal enum UserHasLicenseForAppResult : int
|
public enum UserHasLicenseForAppResult : int
|
||||||
{
|
{
|
||||||
HasLicense = 0,
|
HasLicense = 0,
|
||||||
DoesNotHaveLicense = 1,
|
DoesNotHaveLicense = 1,
|
||||||
|
@ -465,5 +465,13 @@ namespace Steamworks
|
|||||||
{
|
{
|
||||||
Internal.HandleIncomingPacket( ptr, size, address, port );
|
Internal.HandleIncomingPacket( ptr, size, address, port );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Does the user own this app (which could be DLC)
|
||||||
|
/// </summary>
|
||||||
|
public static UserHasLicenseForAppResult UserHasLicenseForApp( SteamId steamid, AppId appid )
|
||||||
|
{
|
||||||
|
return Internal.UserHasLicenseForApp( steamid, appid );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -87,6 +87,7 @@ public static class Cleanup
|
|||||||
if ( name == "P2PSessionError" ) return "public";
|
if ( name == "P2PSessionError" ) return "public";
|
||||||
if ( name == "InputType" ) return "public";
|
if ( name == "InputType" ) return "public";
|
||||||
if ( name == "InputSourceMode" ) return "public";
|
if ( name == "InputSourceMode" ) return "public";
|
||||||
|
if ( name == "UserHasLicenseForAppResult" ) return "public";
|
||||||
|
|
||||||
return "internal";
|
return "internal";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user