Table of Contents

Class DLCBuildResult

Namespace
DLCToolkit.BuildTools
Assembly
DLCToolkit.BuildTools.dll

Contains information about which aspects of the DLC build request were successful and which were not.

public sealed class DLCBuildResult
Inheritance
DLCBuildResult

Properties

AllSuccessful

Were all build tasks that were started completed successfully. No errors no failed builds.

public bool AllSuccessful { get; }

Property Value

bool

BuildFailedCount

The total number of build tasks that failed.

public int BuildFailedCount { get; }

Property Value

int

BuildStartTime

The time that the DLC build request started.

public DateTime BuildStartTime { get; }

Property Value

DateTime

BuildSuccessCount

The total number of build taks that completed successfully.

public int BuildSuccessCount { get; }

Property Value

int

BuildTaskCount

The total number of build tasks that were run.

public int BuildTaskCount { get; }

Property Value

int

BuildTasks

All build tasks that were included in the request whether they were successful or not.

public IReadOnlyList<DLCBuildTask> BuildTasks { get; }

Property Value

IReadOnlyList<DLCBuildTask>

ElapsedBuildTime

The amount of time that the entire build batch took to complete.

public TimeSpan ElapsedBuildTime { get; }

Property Value

TimeSpan

Methods

GetBuildTasksForPlatform(BuildTarget)

Get all build tasks for the target platform.

public IEnumerable<DLCBuildTask> GetBuildTasksForPlatform(BuildTarget target)

Parameters

target BuildTarget

The platform of interest

Returns

IEnumerable<DLCBuildTask>

An enumerable of build tasks for the target platform

GetFailedBuildTasks()

Get all failed build tasks.

public IEnumerable<DLCBuildTask> GetFailedBuildTasks()

Returns

IEnumerable<DLCBuildTask>

An enumerable of failed build tasks

GetFailedBuildTasksForPlatform(BuildTarget)

Get all build tasks that failed for the target platform.

public IEnumerable<DLCBuildTask> GetFailedBuildTasksForPlatform(BuildTarget target)

Parameters

target BuildTarget

The platform of interest

Returns

IEnumerable<DLCBuildTask>

An enumerable of failed build tasks for the target platform

GetSuccessfulBuildTasks()

Get all successful build tasks.

public IEnumerable<DLCBuildTask> GetSuccessfulBuildTasks()

Returns

IEnumerable<DLCBuildTask>

An enumerable of successful build tasks

GetSuccessfulBuildTasksForPlatform(BuildTarget)

Get all build tasks that completed successfully for the target platform.

public IEnumerable<DLCBuildTask> GetSuccessfulBuildTasksForPlatform(BuildTarget target)

Parameters

target BuildTarget

The platform of interest

Returns

IEnumerable<DLCBuildTask>

An enumerable of successful build tasks for the target platform

HasBuildTasksForPlatform(BuildTarget)

Check if any build tasks were run for the specified platform.

public bool HasBuildTasksForPlatform(BuildTarget target)

Parameters

target BuildTarget

The platform to check

Returns

bool

True if one or more build tasks were run for the target platform whether successful or not