Tanoda
ZipLoadCustomContextData.cs
Go to the documentation of this file.
1using System;
2using System.IO;
3using ICSharpCode.SharpZipLib.Zip;
4using TriLibCore.General;
5
6namespace TriLibCore
7{
10 {
15
19 public Stream Stream;
20
24 public object CustomData;
25
29 public Action<IContextualizedError> OnError;
30
34 public Action<AssetLoaderContext> OnMaterialsLoad;
35 }
36}
Represents a class passed as the custom data to the Asset Loader Context when loading Models from Zip...
Stream Stream
The stream used to load the zip file.
Action< IContextualizedError > OnError
The original error event passed to the Zip loading method.
object CustomData
The optional custom data.
ZipFile ZipFile
The zip file to be used.
Action< AssetLoaderContext > OnMaterialsLoad
The original materials load event passed to the Zip loading method.