forked from Unity-Technologies/UnityCsReference
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBuildSummary.cs
More file actions
39 lines (31 loc) · 1.34 KB
/
Copy pathBuildSummary.cs
File metadata and controls
39 lines (31 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// Unity C# reference source
// Copyright (c) Unity Technologies. For terms of use, see
// https://unity3d.com/legal/licenses/Unity_Reference_Only_License
using System;
using UnityEngine.Bindings;
namespace UnityEditor.Build.Reporting
{
[NativeType(Header = "Modules/BuildReportingEditor/Managed/BuildSummary.bindings.h", CodegenOptions = CodegenOptions.Custom)]
public struct BuildSummary
{
internal Int64 buildStartTimeTicks;
public DateTime buildStartedAt { get { return new DateTime(buildStartTimeTicks); } }
[NativeName("buildGUID")]
public GUID guid { get; }
public BuildTarget platform { get; }
public BuildTargetGroup platformGroup { get; }
public BuildOptions options { get; }
internal BuildAssetBundleOptions assetBundleOptions { get; }
public string outputPath { get; }
internal uint crc { get; }
public ulong totalSize { get; }
internal UInt64 totalTimeTicks;
public TimeSpan totalTime { get { return new TimeSpan((long)totalTimeTicks); } }
public DateTime buildEndedAt { get { return buildStartedAt + totalTime; } }
public int totalErrors { get; }
public int totalWarnings { get; }
[NativeName("buildResult")]
public BuildResult result { get; }
internal BuildType buildType { get; }
}
}