C# Class Alexandria.Engines.DarkSouls.ArchiveFormat

The AssetFormat for handling an Archive.
Inheritance: Glare.Assets.AssetFormat
Exibir arquivo Open project: Burton-Radons/Alexandria

Public Methods

Method Description
ArchiveFormat ( Engine engine ) : System

Initialise the archive format.

Load ( AssetLoader loader ) : Asset

Read the archive from the loader.

LoadMatch ( AssetLoader loader ) : LoadMatchStrength

Get whether the loader matches an archive.

Private Methods

Method Description
LoadKey ( string filename, string type ) : byte[]

Method Details

ArchiveFormat() public method

Initialise the archive format.
public ArchiveFormat ( Engine engine ) : System
engine Engine The engine to associate with.
return System

Load() public method

Read the archive from the loader.
public Load ( AssetLoader loader ) : Asset
loader Glare.Assets.AssetLoader The loader to read from.
return Asset

LoadMatch() public method

Get whether the loader matches an archive.
public LoadMatch ( AssetLoader loader ) : LoadMatchStrength
loader Glare.Assets.AssetLoader The loader to test.
return LoadMatchStrength