Files
UnrealEngine/Engine/Plugins/Online/OnlineFramework/Source/Party/Party.Build.cs
2025-05-18 13:04:45 +08:00

36 lines
1000 B
C#

// 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; } }
}