using System;
using System.IO;
using ICSharpCode.SharpZipLib.Zip;
using TriLibCore.General;
namespace TriLibCore
{
/// Represents a class passed as the custom data to the Asset Loader Context when loading Models from Zip files.
public class ZipLoadCustomContextData
{
///
/// The zip file to be used.
///
public ZipFile ZipFile;
///
/// The model zip entry inside the zip file.
///
public ZipEntry ZipEntry;
///
/// The stream used to load the zip file.
///
public Stream Stream;
///
/// The original error event passed to the Zip loading method.
///
public Action OnError;
///
/// The original materials load event passed to the Zip loading method.
///
public Action OnMaterialsLoad;
}
}