C# Class AlbLib.SaveGame.SaveGameInfo

显示文件 Open project: IllidanS4/AlbLib

Public Methods

Method Description
SaveGameInfo ( Stream stream ) : System

Loads saved game from specified stream.

SaveGameInfo ( string path ) : System

Loads saved game from specified file.

ToRawData ( ) : byte[]

Converts saved game header to byte array.

Write ( Stream output ) : void

Writes saved game header to a stream.

Method Details

SaveGameInfo() public method

Loads saved game from specified stream.
public SaveGameInfo ( Stream stream ) : System
stream Stream /// Input stream. ///
return System

SaveGameInfo() public method

Loads saved game from specified file.
public SaveGameInfo ( string path ) : System
path string /// File where saved game is stored. ///
return System

ToRawData() public method

Converts saved game header to byte array.
public ToRawData ( ) : byte[]
return byte[]

Write() public method

Writes saved game header to a stream.
public Write ( Stream output ) : void
output Stream /// Output stream. ///
return void