TriLib 2.2.8
Loading...
Searching...
No Matches
Public Member Functions | List of all members
TriLibCore.Mappers.ZipFileExternalDataMapper Class Reference

Represents a Mapper class used to load external data from Zip files. More...

Inheritance diagram for TriLibCore.Mappers.ZipFileExternalDataMapper:
TriLibCore.Mappers.ExternalDataMapper

Public Member Functions

override Stream Map (AssetLoaderContext assetLoaderContext, string originalFilename, out string finalPath)
 Tries to find the given external data source using the original resource filename and the context parameters.
Parameters
assetLoaderContextThe Asset Loader Context reference. Asset Loader Context contains the Model loading data.
originalFilenameThe source data original filename.
finalPathThe found data final Path.
Returns
The external data source Stream, if found. Otherwise null.

 
abstract Stream Map (AssetLoaderContext assetLoaderContext, string originalFilename, out string finalPath)
 Tries to find the given external data source using the original resource filename and the context parameters.
 

Detailed Description

Represents a Mapper class used to load external data from Zip files.

Member Function Documentation

◆ Map()

override Stream TriLibCore.Mappers.ZipFileExternalDataMapper.Map ( AssetLoaderContext  assetLoaderContext,
string  originalFilename,
out string  finalPath 
)
virtual

Tries to find the given external data source using the original resource filename and the context parameters.

Parameters
assetLoaderContextThe Asset Loader Context reference. Asset Loader Context contains the Model loading data.
originalFilenameThe source data original filename.
finalPathThe found data final Path.
Returns
The external data source Stream, if found. Otherwise null.

Implements TriLibCore.Mappers.ExternalDataMapper.