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
{
///
/// Asset data generated by the build
///
public struct AssetResultData
{
///
/// Asset GUID
///
public GUID Guid;
///
/// Asset hash
///
public Hash128 Hash;
///
/// Objects included with this asset
///
public List IncludedObjects;
///
/// Objects referenced by this asset
///
public List ReferencedObjects;
///
/// Map of Object IDs to their various types
///
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; }
}
}