CnC_Remastered_Collection/CnCTDRAMapEditor/Steamworks.NET/autogen/isteamparentalsettings.cs
PG-SteveT e37e174be1 C&C Remastered Map Editor
Initial commit of C&C Remastered Map Editor code
2020-09-10 11:12:58 -07:00

52 lines
2 KiB
C#

// This file is provided under The MIT License as part of Steamworks.NET.
// Copyright (c) 2013-2019 Riley Labrecque
// Please see the included LICENSE.txt for additional information.
// This file is automatically generated.
// Changes to this file will be reverted when you update Steamworks.NET
#if UNITY_ANDROID || UNITY_IOS || UNITY_TIZEN || UNITY_TVOS || UNITY_WEBGL || UNITY_WSA || UNITY_PS4 || UNITY_WII || UNITY_XBOXONE || UNITY_SWITCH
#define DISABLESTEAMWORKS
#endif
#if !DISABLESTEAMWORKS
using System.Runtime.InteropServices;
using IntPtr = System.IntPtr;
namespace Steamworks {
public static class SteamParentalSettings {
public static bool BIsParentalLockEnabled() {
InteropHelp.TestIfAvailableClient();
return NativeMethods.ISteamParentalSettings_BIsParentalLockEnabled(CSteamAPIContext.GetSteamParentalSettings());
}
public static bool BIsParentalLockLocked() {
InteropHelp.TestIfAvailableClient();
return NativeMethods.ISteamParentalSettings_BIsParentalLockLocked(CSteamAPIContext.GetSteamParentalSettings());
}
public static bool BIsAppBlocked(AppId_t nAppID) {
InteropHelp.TestIfAvailableClient();
return NativeMethods.ISteamParentalSettings_BIsAppBlocked(CSteamAPIContext.GetSteamParentalSettings(), nAppID);
}
public static bool BIsAppInBlockList(AppId_t nAppID) {
InteropHelp.TestIfAvailableClient();
return NativeMethods.ISteamParentalSettings_BIsAppInBlockList(CSteamAPIContext.GetSteamParentalSettings(), nAppID);
}
public static bool BIsFeatureBlocked(EParentalFeature eFeature) {
InteropHelp.TestIfAvailableClient();
return NativeMethods.ISteamParentalSettings_BIsFeatureBlocked(CSteamAPIContext.GetSteamParentalSettings(), eFeature);
}
public static bool BIsFeatureInBlockList(EParentalFeature eFeature) {
InteropHelp.TestIfAvailableClient();
return NativeMethods.ISteamParentalSettings_BIsFeatureInBlockList(CSteamAPIContext.GetSteamParentalSettings(), eFeature);
}
}
}
#endif // !DISABLESTEAMWORKS