C# Class Zyrenth.Zora.BatteryFileLoader

Battery file loader.
Show file Open project: kabili207/zora-sharp

Public Methods

Method Description
Load ( Stream stream, int offset ) : GameInfo

Loads a game info from the stream at the specified offset

This method has only been tested with the US version of the games

Load ( string filename, int offset ) : GameInfo

Loads a game info from the file at the specified offset

This method has only been tested with the US version of the games

LoadAll ( Stream stream ) : IEnumerable

Loads all the game data from the specified stream

LoadAll ( string filename ) : IEnumerable

Loads all the game data from the specified file

Method Details

Load() public static method

Loads a game info from the stream at the specified offset
This method has only been tested with the US version of the games
public static Load ( Stream stream, int offset ) : GameInfo
stream Stream Stream.
offset int Offset.
return GameInfo

Load() public static method

Loads a game info from the file at the specified offset
This method has only been tested with the US version of the games
public static Load ( string filename, int offset ) : GameInfo
filename string File.
offset int Offset.
return GameInfo

LoadAll() public static method

Loads all the game data from the specified stream
public static LoadAll ( Stream stream ) : IEnumerable
stream Stream The input stream.
return IEnumerable

LoadAll() public static method

Loads all the game data from the specified file
public static LoadAll ( string filename ) : IEnumerable
filename string The input file path.
return IEnumerable