ZipLoadCustomContextData.cs 628 B

123456789101112131415161718192021222324
  1. using System.IO;
  2. using ICSharpCode.SharpZipLib.Zip;
  3. namespace TriLibCore
  4. {
  5. /// <summary>Represents a class passed as the custom data to the Asset Loader Context when loading Models from Zip files.</summary>
  6. public class ZipLoadCustomContextData
  7. {
  8. /// <summary>
  9. /// The zip file to be used.
  10. /// </summary>
  11. public ZipFile ZipFile;
  12. /// <summary>
  13. /// The stream used to load the zip file.
  14. /// </summary>
  15. public Stream Stream;
  16. /// <summary>
  17. /// The optional custom data.
  18. /// </summary>
  19. public object CustomData;
  20. }
  21. }