using System; using System.Collections.Generic; using UnityEditor.Build.Content; using UnityEditor.Build.Player; using UnityEngine; using UnityEngine.Build.Pipeline; namespace UnityEditor.Build.Pipeline.Interfaces { public struct AssetResultData { public GUID Guid; public Hash128 Hash; public List IncludedObjects; public List ReferencedObjects; public Dictionary ObjectTypes; } /// /// Base interface for the build results container /// public interface IBuildResults : IContextObject { /// /// Results from the script compiling step. /// ScriptCompilationResult ScriptResults { get; set; } /// /// Map of serialized file name to results for built content. /// Dictionary WriteResults { get; } /// /// Map of serialized file name to additional metadata associated with the write result. /// Dictionary WriteResultsMetaData { get; } /// /// Map of Asset data included in this build /// Dictionary AssetResults { get; } } /// /// Extended interface for Asset Bundle build results container. /// /// public interface IBundleBuildResults : IBuildResults { /// /// Map of Asset Bundle name to details about the built bundle. /// Dictionary BundleInfos { get; } } }