Unstable 1.1.14.0
This commit is contained in:
@@ -14,10 +14,14 @@ namespace Steamworks
|
||||
{
|
||||
internal static ISteamParentalSettings? Internal => Interface as ISteamParentalSettings;
|
||||
|
||||
internal override void InitializeInterface( bool server )
|
||||
internal override bool InitializeInterface( bool server )
|
||||
{
|
||||
SetInterface( server, new ISteamParentalSettings( server ) );
|
||||
if ( Interface is null || Interface.Self == IntPtr.Zero ) return false;
|
||||
|
||||
InstallEvents( server );
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
internal static void InstallEvents( bool server )
|
||||
@@ -61,4 +65,4 @@ namespace Steamworks
|
||||
/// </summary>
|
||||
public static bool BIsFeatureInBlockList( ParentalFeature feature ) => Internal != null && Internal.BIsFeatureInBlockList( feature );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user