Public Member Functions | Properties | List of all members
IManifestLoader Interface Reference

Detailed Description

Standard interface for loading a concrete IBundleDirectory.

Using this the application can make a chain of loaders as long as each layer implements this interface. Augmented by the BundleDirectoryLoaderExtensions.

Inheritance diagram for IManifestLoader:
PackedManifest.Loader UnityManifest

Public Member Functions

IOperation  Initialize (BundleManager manager, string absolutePath, int version, string baseUrl)
 

Properties

IBundleManifest  ActiveDirectory [get]
 

Member Function Documentation

◆ Initialize()

IOperation Initialize ( BundleManager  manager,
string  absolutePath,
int  version,
string  baseUrl 
)

Sets the source URL to the manifest and where all remote content is expected to be found.

Can be updated during application run for a version change.

Parameters
version If cached locally and version number matches, won't hit network
absolutePath manifest path. Not necessarily from baseUrl
baseUrl prepended to all bundle requests. Ends with slash. Typically BundleManager.GetUrlPath(absolutePath).

Implemented in UnityManifest, and PackedManifest.Loader.

Property Documentation

◆ ActiveDirectory

IBundleManifest ActiveDirectory
get

Get the current directory

Only valid after Initialize completes without error.