// Copyright Epic Games, Inc. All Rights Reserved. using UnrealBuildTool; public class Party : ModuleRules { public Party(ReadOnlyTargetRules Target) : base(Target) { PublicDefinitions.Add("PARTY_PLATFORM_SESSIONS_PSN=" + (bUsesPSNSessions ? "1" : "0")); PublicDefinitions.Add("PARTY_PLATFORM_SESSIONS_XBL=" + (bUsesXBLSessions ? "1" : "0")); PublicDefinitions.Add("PARTY_PLATFORM_INVITE_PERMISSIONS=" + (bUsesPlatformInvitePermissions? "1" : "0")); PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs; PublicDependencyModuleNames.AddRange( new string[] { "CoreOnline", "OnlineSubsystem", "OnlineSubsystemUtils", } ); PrivateDependencyModuleNames.AddRange( new string[] { "Core", "CoreUObject", "Engine", } ); } protected virtual bool bUsesPSNSessions { get { return false; } } protected virtual bool bUsesXBLSessions { get { return false; } } protected virtual bool bUsesPlatformInvitePermissions { get { return false; } } }