You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
fixed problem with IP not being set for CotF #ue4 #codereview daniel.lamb, chris.gagnon [CL 2303312 by Peter Sauerbrei in Main branch]
50 lines
1.1 KiB
C#
50 lines
1.1 KiB
C#
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Threading;
|
|
using System.Reflection;
|
|
using AutomationTool;
|
|
using UnrealBuildTool;
|
|
|
|
public partial class Project : CommandUtils
|
|
{
|
|
#region Package Command
|
|
|
|
public static void Package(ProjectParams Params, int WorkingCL=-1)
|
|
{
|
|
Params.ValidateAndLog();
|
|
/* if (!Params.Package)
|
|
{
|
|
return;
|
|
}*/
|
|
|
|
bool NeedsPackage = Params.Package;
|
|
List<DeploymentContext> DeployContextList = new List<DeploymentContext>();
|
|
if (!Params.NoClient)
|
|
{
|
|
DeployContextList.AddRange(CreateDeploymentContext(Params, false, false));
|
|
}
|
|
if (Params.DedicatedServer)
|
|
{
|
|
DeployContextList.AddRange(CreateDeploymentContext(Params, true, false));
|
|
}
|
|
if (DeployContextList.Count > 0)
|
|
{
|
|
Log("********** PACKAGE COMMAND STARTED **********");
|
|
|
|
foreach (var SC in DeployContextList)
|
|
{
|
|
if (Params.Package || (SC.StageTargetPlatform.RequiresPackageToDeploy && Params.Deploy))
|
|
{
|
|
SC.StageTargetPlatform.Package(Params, SC, WorkingCL);
|
|
}
|
|
}
|
|
|
|
Log("********** PACKAGE COMMAND COMPLETED **********");
|
|
}
|
|
}
|
|
|
|
#endregion
|
|
}
|