mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-02-26 13:31:17 +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,
|
||||||
@ -580,7 +580,7 @@ namespace Steamworks
|
|||||||
LookingToPlay = 6,
|
LookingToPlay = 6,
|
||||||
Invisible = 7,
|
Invisible = 7,
|
||||||
Max = 8,
|
Max = 8,
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// EFriendFlags
|
// EFriendFlags
|
||||||
@ -600,7 +600,7 @@ namespace Steamworks
|
|||||||
ChatMember = 4096,
|
ChatMember = 4096,
|
||||||
All = 65535,
|
All = 65535,
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// EUserRestriction
|
// EUserRestriction
|
||||||
//
|
//
|
||||||
|
@ -464,6 +464,14 @@ namespace Steamworks
|
|||||||
public static unsafe void HandleIncomingPacket( IntPtr ptr, int size, uint address, ushort port )
|
public static unsafe void HandleIncomingPacket( IntPtr ptr, int size, uint address, ushort port )
|
||||||
{
|
{
|
||||||
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