using System.Collections.Generic;
using UnityEditor.Build.Content;
namespace UnityEditor.Build.Pipeline.Interfaces
{
///
/// Base interface for the write data container.
///
public interface IWriteData : IContextObject
{
///
/// Map of asset to file dependencies.
/// First dependency in the list is the main file for an asset.
///
Dictionary> AssetToFiles { get; }
///
/// Map of file to list of objects in that file
///
Dictionary> FileToObjects { get; }
///
/// List of all write operations to serialize data to disk
///
List WriteOperations { get; }
}
///
/// Extended interface for Asset Bundle write data container.
///
public interface IBundleWriteData : IWriteData
{
///
/// Map of file name to bundle name
///
Dictionary FileToBundle { get; }
///
/// Map of file name to calculated usage set
///
Dictionary FileToUsageSet { get; }
///
/// Map of file name to calculated object references
///
Dictionary FileToReferenceMap { get; }
}
}