DedicatedServers Module
This commit is contained in:
34
Source/DedicatedServers/DedicatedServers.build.cs
Normal file
34
Source/DedicatedServers/DedicatedServers.build.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
using UnrealBuildTool;
|
||||
|
||||
public class DedicatedServers : ModuleRules
|
||||
{
|
||||
public DedicatedServers(ReadOnlyTargetRules Target) : base(Target)
|
||||
{
|
||||
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
|
||||
|
||||
PublicDependencyModuleNames.AddRange(new string[]
|
||||
{
|
||||
"Core",
|
||||
"CoreUObject",
|
||||
"Engine",
|
||||
});
|
||||
|
||||
PrivateDependencyModuleNames.AddRange(new string[]
|
||||
{
|
||||
"Slate",
|
||||
"SlateCore",
|
||||
});
|
||||
|
||||
// Adds in the plugin for GameLiftServerSDK if it is the server build.
|
||||
|
||||
if (Target.Type == TargetType.Server)
|
||||
{
|
||||
PublicDependencyModuleNames.Add("GameLiftServerSDK");
|
||||
}
|
||||
else
|
||||
{
|
||||
PublicDefinitions.Add("WITH_GAMELIFT=0");
|
||||
}
|
||||
bEnableExceptions = true;
|
||||
}
|
||||
}
|
||||
6
Source/DedicatedServers/DedicatedServers.cpp
Normal file
6
Source/DedicatedServers/DedicatedServers.cpp
Normal file
@@ -0,0 +1,6 @@
|
||||
// Copyright Epic Games, Inc. All Rights Reserved.
|
||||
|
||||
#include "DedicatedServers.h"
|
||||
#include "Modules/ModuleManager.h"
|
||||
|
||||
IMPLEMENT_MODULE( FDefaultModuleImpl, DedicatedServers );
|
||||
5
Source/DedicatedServers/DedicatedServers.h
Normal file
5
Source/DedicatedServers/DedicatedServers.h
Normal file
@@ -0,0 +1,5 @@
|
||||
// Copyright Epic Games, Inc. All Rights Reserved.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
Reference in New Issue
Block a user