using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TinaXEditor.VFSKit; using TinaX.VFSKit; using System.IO; namespace TinaXEditor.VFSKit.Pipeline { public interface IBuildHandler { /// /// Called before builder sets the AssetBundle name and AssetBundleVarient of an asset | 在Builder设置资产的AssetBundle Name 和 AssetBundleVarient之前被调用 /// /// /// If return false , Pipeline will break | 如果返回False, Pipline将中断 bool BeforeSetAssetBundleSign(ref string assetbundleName, ref AssetsStatusQueryResult assetQueryResult); /// /// Before the AssetBundle files is saved by groups | 在AssetBundle文件被以组为单位处理保存时 /// /// Group by which the current file is processed | 处理当前文件依据的组 /// The name of the AssetBundle file currently being processed | 当前处理的AssetBundle文件名。 /// Current AssetBundle fileStream | 当前AssetBundle文件的FileStream /// bool BeforeAssetBundleFileSavedByGroup(ref VFSEditorGroup group, string assetBundleFileName, ref FileStream fileStream); } }